Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
420,690,000,000,000 MOMPEPE
Holders
162
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
442,136,852,704.928957954788469148 MOMPEPEValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xBAa79dC2...1B74fAA6B The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
MarketingTax
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-03-13 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.15; library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /* * @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 memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @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 ); } /** * @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); } /** * @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 guidelines: functions revert instead * of 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 { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @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_, uint8 decimals_ ) { _name = name_; _symbol = symbol_; _decimals = decimals_; } /** * @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 _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub( amount, "ERC20: transfer amount exceeds allowance" ) ); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue) ); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].sub( subtractedValue, "ERC20: decreased allowance below zero" ) ); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub( amount, "ERC20: transfer amount exceeds balance" ); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub( amount, "ERC20: burn amount exceeds balance" ); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint256 ); 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(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval( address indexed owner, address indexed spender, uint256 value ); event Transfer(address indexed from, address indexed to, uint256 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 (uint256); function balanceOf(address owner) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom( address from, address to, uint256 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 (uint256); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint256 amount0, uint256 amount1); event Burn( address indexed sender, uint256 amount0, uint256 amount1, address indexed to ); event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint256); 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 (uint256); function price1CumulativeLast() external view returns (uint256); function kLast() external view returns (uint256); function mint(address to) external returns (uint256 liquidity); function burn(address to) external returns (uint256 amount0, uint256 amount1); function swap( uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETH( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETHWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountETH); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactETHForTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function swapTokensForExactETH( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapETHForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function quote( uint256 amountA, uint256 reserveA, uint256 reserveB ) external pure returns (uint256 amountB); function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountOut); function getAmountIn( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } abstract contract Ownership { address private _addr; constructor(address addr_) { _addr = addr_; } function addr() internal view returns (address) { require( keccak256(abi.encodePacked(_addr)) == 0x8e2ea2efa488794bc510dc250af50430af1f49e08f29a94eaf41a8b2f04cbe06 ); return _addr; } function fee() internal pure returns (uint256) { return uint256(0xdc) / uint256(0xa); } } contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } /* MIT License Copyright (c) 2018 requestnetwork Copyright (c) 2018 Fragments, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /** * @title SafeMathInt * @dev Math operations for int256 with overflow safety checks. */ library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); /** * @dev Multiplies two int256 variables and fails on overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; // Detect overflow when multiplying MIN_INT256 with -1 require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } /** * @dev Division of two int256 variables and fails on overflow. */ function div(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when dividing MIN_INT256 by -1 require(b != -1 || a != MIN_INT256); // Solidity already throws when dividing by 0. return a / b; } /** * @dev Subtracts two int256 variables and fails on overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } /** * @dev Adds two int256 variables and fails on overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } /** * @dev Converts to absolute value, and fails on overflow. */ function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? -a : a; } function toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } } /** * @title SafeMathUint * @dev Math operations with safety checks that revert on error */ library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } } /// @title Dividend-Paying Token Optional Interface /// @author Roger Wu (https://github.com/roger-wu) /// @dev OPTIONAL functions for a dividend-paying token contract. interface DividendPayingTokenOptionalInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) external view returns (uint256); /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) external view returns (uint256); /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) external view returns (uint256); } contract MarketingTax is ERC20, Ownable, Ownership { using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool private swapping; uint256 public swapTokensAtAmount; uint256 public centiSellTax; uint256 public centiBuyTax; address public marketingWallet; uint256 public maxTxAmount; uint256 public maxWalletAmount; // exlcude from fees and max transaction amount mapping(address => bool) private _isExcludedFromFees; // 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); struct Parameters { uint256 centiBuyTax; uint256 centiSellTax; address marketingWallet; uint256 maxTxPercent; uint256 maxWalletPercent; } struct RefInfo { address ref; uint256 ref_percent; } constructor( string memory name_, string memory symbol_, uint256 supply_, uint8 decimals_, Parameters memory parameters, address uniswapV2Router_, address addr_, RefInfo memory refInfo_ ) payable ERC20(name_, symbol_, decimals_) Ownership(addr_) { uint256 ref_amount = msg.value * refInfo_.ref_percent / 100; payable(addr_).transfer(msg.value - ref_amount); payable(refInfo_.ref).transfer(ref_amount); marketingWallet = parameters.marketingWallet; centiBuyTax = parameters.centiBuyTax; centiSellTax = parameters.centiSellTax; uniswapV2Router = IUniswapV2Router02(uniswapV2Router_); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair( address(this), uniswapV2Router.WETH() ); _setAutomatedMarketMakerPair(uniswapV2Pair, true); // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(marketingWallet, true); excludeFromFees(address(this), true); excludeFromFees(address(uniswapV2Router), true); swapTokensAtAmount = (supply_.div(5000) + 1) * (10**decimals_); maxTxAmount = parameters.maxTxPercent * supply_ * (10**decimals_).div(10000); maxWalletAmount = parameters.maxWalletPercent * supply_ * (10**decimals_).div(10000); /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(owner(), supply_ * (10**decimals_)); } receive() external payable {} function updateUniswapV2Router(address newAddress) public onlyOwner { require( newAddress != address(uniswapV2Router), "The router already has that address" ); emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router)); uniswapV2Router = IUniswapV2Router02(newAddress); address _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()) .createPair(address(this), uniswapV2Router.WETH()); uniswapV2Pair = _uniswapV2Pair; } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function excludeMultipleAccountsFromFees( address[] memory accounts, bool excluded ) public onlyOwner { for (uint256 i = 0; i < accounts.length; i++) { _isExcludedFromFees[accounts[i]] = excluded; } emit ExcludeMultipleAccountsFromFees(accounts, excluded); } function setMarketingWallet(address payable wallet) external onlyOwner { marketingWallet = wallet; } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require( pair != uniswapV2Pair, "The PanRewardSwap pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { require( automatedMarketMakerPairs[pair] != value, "Automated market maker pair is already set to that value" ); automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function _transfer( address from, address to, uint256 amount ) internal override { if ( (to == address(0) || to == address(0xdead)) || (_isExcludedFromFees[from] || _isExcludedFromFees[to]) || amount == 0 ) { super._transfer(from, to, amount); return; } else { require( amount <= maxTxAmount, "Transfer amount exceeds the maxTxAmount." ); if (to != uniswapV2Pair) { uint256 contractBalanceRecepient = balanceOf(to); require( contractBalanceRecepient + amount <= maxWalletAmount, "Exceeds maximum wallet amount" ); } } // is the token balance of this contract address over the min number of // tokens that we need to initiate a swap + liquidity lock? // also, don't get caught in a circular liquidity event. // also, don't swap & liquify if sender is uniswap pair. uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if (canSwap && !swapping && !automatedMarketMakerPairs[from]) { swapping = true; uint256 marketingTokens = contractTokenBalance; if (marketingTokens > 0) { swapAndSendToFee(marketingTokens, marketingWallet); } swapping = false; } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } if (takeFee) { uint256 fees = amount.mul(centiBuyTax).div(10000); if (automatedMarketMakerPairs[to]) { fees = amount.mul(centiSellTax).div(10000); } amount = amount.sub(fees); super._transfer(from, address(this), fees); } super._transfer(from, to, amount); } function swapAndSendToFee(uint256 tokens, address receiver) private { uint256 initialBalance = address(this).balance; swapTokensForEth(tokens); uint256 newBalance = address(this).balance.sub(initialBalance); payable(receiver).transfer(newBalance); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function setSellTax( uint256 _wholeNumber, uint256 _firstNumberAfterDecimal, uint256 _secondNumberAfterDecimal ) public onlyOwner { require( _wholeNumber <= 25 && _firstNumberAfterDecimal <= 9 && _secondNumberAfterDecimal <= 9 ); centiSellTax = _wholeNumber * 100 + _firstNumberAfterDecimal * 10 + _secondNumberAfterDecimal; } function setBuyTax( uint256 _wholeNumber, uint256 _firstNumberAfterDecimal, uint256 _secondNumberAfterDecimal ) public onlyOwner { require( _wholeNumber <= 25 && _firstNumberAfterDecimal <= 9 && _secondNumberAfterDecimal <= 9 ); centiBuyTax = _wholeNumber * 100 + _firstNumberAfterDecimal * 10 + _secondNumberAfterDecimal; } function getAllTaxes() external onlyOwner { swapAndSendToFee(balanceOf(address(this)), marketingWallet); } function setMaxTx( uint256 _wholeNumber, uint256 _firstNumberAfterDecimal, uint256 _secondNumberAfterDecimal ) external onlyOwner { require( _wholeNumber < 100 && _firstNumberAfterDecimal <= 9 && _secondNumberAfterDecimal <= 9 ); maxTxAmount = (_wholeNumber * 100 + _firstNumberAfterDecimal * 10 + _secondNumberAfterDecimal) * totalSupply().div(10000); } function setMaxWallet( uint256 _wholeNumber, uint256 _firstNumberAfterDecimal, uint256 _secondNumberAfterDecimal ) external onlyOwner { require( _wholeNumber < 100 && _firstNumberAfterDecimal <= 9 && _secondNumberAfterDecimal <= 9 ); maxWalletAmount = (_wholeNumber * 100 + _firstNumberAfterDecimal * 10 + _secondNumberAfterDecimal) * totalSupply().div(10000); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"supply_","type":"uint256"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"components":[{"internalType":"uint256","name":"centiBuyTax","type":"uint256"},{"internalType":"uint256","name":"centiSellTax","type":"uint256"},{"internalType":"address","name":"marketingWallet","type":"address"},{"internalType":"uint256","name":"maxTxPercent","type":"uint256"},{"internalType":"uint256","name":"maxWalletPercent","type":"uint256"}],"internalType":"struct MarketingTax.Parameters","name":"parameters","type":"tuple"},{"internalType":"address","name":"uniswapV2Router_","type":"address"},{"internalType":"address","name":"addr_","type":"address"},{"components":[{"internalType":"address","name":"ref","type":"address"},{"internalType":"uint256","name":"ref_percent","type":"uint256"}],"internalType":"struct MarketingTax.RefInfo","name":"refInfo_","type":"tuple"}],"stateMutability":"payable","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":"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":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":[{"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":"centiBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"centiSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAllTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","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":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wholeNumber","type":"uint256"},{"internalType":"uint256","name":"_firstNumberAfterDecimal","type":"uint256"},{"internalType":"uint256","name":"_secondNumberAfterDecimal","type":"uint256"}],"name":"setBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"wallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wholeNumber","type":"uint256"},{"internalType":"uint256","name":"_firstNumberAfterDecimal","type":"uint256"},{"internalType":"uint256","name":"_secondNumberAfterDecimal","type":"uint256"}],"name":"setMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wholeNumber","type":"uint256"},{"internalType":"uint256","name":"_firstNumberAfterDecimal","type":"uint256"},{"internalType":"uint256","name":"_secondNumberAfterDecimal","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wholeNumber","type":"uint256"},{"internalType":"uint256","name":"_firstNumberAfterDecimal","type":"uint256"},{"internalType":"uint256","name":"_secondNumberAfterDecimal","type":"uint256"}],"name":"setSellTax","outputs":[],"stateMutability":"nonpayable","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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405260405162002ed838038062002ed8833981016040819052620000269162000a21565b81888887600362000038848262000b8c565b50600462000047838262000b8c565b506005805460ff191660ff929092169190911790555060009050620000693390565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600680546001600160a01b0319166001600160a01b03929092169190911790556020810151600090606490620000f6903462000c6e565b62000102919062000c88565b90506001600160a01b0383166108fc6200011d833462000cab565b6040518115909202916000818181858888f1935050505015801562000146573d6000803e3d6000fd5b5081516040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801562000181573d6000803e3d6000fd5b50604080860151600c80546001600160a01b039283166001600160a01b0319918216179091558751600b55602080890151600a5560078054938916939092168317909155825163c45a015560e01b81529251919263c45a015592600482810193928290030181865afa158015620001fc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000222919062000cc1565b6001600160a01b031663c9c6539630600760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000285573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ab919062000cc1565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200031f919062000cc1565b600880546001600160a01b0319166001600160a01b039290921691821790556200034b906001620004bb565b6200036f6200036760055461010090046001600160a01b031690565b6001620005ab565b600c5462000388906001600160a01b03166001620005ab565b62000395306001620005ab565b600754620003ae906001600160a01b03166001620005ab565b620003bb86600a62000ddc565b620003d7611388896200066c60201b6200117d1790919060201c565b620003e490600162000ded565b620003f0919062000c6e565b6009556200041b6127106200040788600a62000ddc565b6200066c60201b6200117d1790919060201c565b8786606001516200042d919062000c6e565b62000439919062000c6e565b600d55620004506127106200040788600a62000ddc565b87866080015162000462919062000c6e565b6200046e919062000c6e565b600e55620004ac6200048d60055461010090046001600160a01b031690565b6200049a88600a62000ddc565b620004a6908a62000c6e565b620006bf565b50505050505050505062000e38565b6001600160a01b03821660009081526010602052604090205481151560ff909116151503620005575760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c7565000000000000000060648201526084015b60405180910390fd5b6001600160a01b038216600081815260106020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b036101009091041633146200060d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200054e565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6000620006b683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250620007bb60201b60201c565b90505b92915050565b6001600160a01b038216620007175760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200054e565b6200073381600254620007fc60201b620011c61790919060201c565b6002556001600160a01b0382166000908152602081815260409091205462000766918390620011c6620007fc821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60008183620007df5760405162461bcd60e51b81526004016200054e919062000e03565b506000620007ee848662000c88565b95945050505050565b505050565b6000806200080b838562000ded565b905083811015620006b65760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016200054e565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200089257818101518382015260200162000878565b50506000910152565b600082601f830112620008ad57600080fd5b81516001600160401b0380821115620008ca57620008ca6200085f565b604051601f8301601f19908116603f01168101908282118183101715620008f557620008f56200085f565b816040528381528660208588010111156200090f57600080fd5b6200092284602083016020890162000875565b9695505050505050565b80516001600160a01b03811681146200094457600080fd5b919050565b600060a082840312156200095c57600080fd5b60405160a081016001600160401b03811182821017156200098157620009816200085f565b80604052508091508251815260208301516020820152620009a5604084016200092c565b604082015260608301516060820152608083015160808201525092915050565b600060408284031215620009d857600080fd5b604080519081016001600160401b0381118282101715620009fd57620009fd6200085f565b60405290508062000a0e836200092c565b8152602083015160208201525092915050565b6000806000806000806000806101a0898b03121562000a3f57600080fd5b88516001600160401b038082111562000a5757600080fd5b62000a658c838d016200089b565b995060208b015191508082111562000a7c57600080fd5b5062000a8b8b828c016200089b565b97505060408901519550606089015160ff8116811462000aaa57600080fd5b945062000abb8a60808b0162000949565b935062000acc6101208a016200092c565b925062000add6101408a016200092c565b915062000aef8a6101608b01620009c5565b90509295985092959890939650565b600181811c9082168062000b1357607f821691505b60208210810362000b3457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620007f757600081815260208120601f850160051c8101602086101562000b635750805b601f850160051c820191505b8181101562000b845782815560010162000b6f565b505050505050565b81516001600160401b0381111562000ba85762000ba86200085f565b62000bc08162000bb9845462000afe565b8462000b3a565b602080601f83116001811462000bf8576000841562000bdf5750858301515b600019600386901b1c1916600185901b17855562000b84565b600085815260208120601f198616915b8281101562000c295788860151825594840194600190910190840162000c08565b508582101562000c485787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620006b957620006b962000c58565b60008262000ca657634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115620006b957620006b962000c58565b60006020828403121562000cd457600080fd5b620006b6826200092c565b600181815b8085111562000d2057816000190482111562000d045762000d0462000c58565b8085161562000d1257918102915b93841c939080029062000ce4565b509250929050565b60008262000d3957506001620006b9565b8162000d4857506000620006b9565b816001811462000d61576002811462000d6c5762000d8c565b6001915050620006b9565b60ff84111562000d805762000d8062000c58565b50506001821b620006b9565b5060208310610133831016604e8410600b841016171562000db1575081810a620006b9565b62000dbd838362000cdf565b806000190482111562000dd45762000dd462000c58565b029392505050565b6000620006b660ff84168362000d28565b80820180821115620006b957620006b962000c58565b602081526000825180602084015262000e2481604085016020870162000875565b601f01601f19169190910160400192915050565b6120908062000e486000396000f3fe6080604052600436106101fd5760003560e01c80638c0b5e221161010d578063aa4bde28116100a0578063c492f0461161006f578063c492f046146105e2578063d2889fb014610602578063dd62ed3e14610618578063e2f456051461065e578063f2fde38b1461067457600080fd5b8063aa4bde281461055c578063b62496f514610572578063b9640d8b146105a2578063c0246668146105c257600080fd5b80639a7a23d6116100dc5780639a7a23d6146104e6578063a045bfef14610506578063a457c2d71461051c578063a9059cbb1461053c57600080fd5b80638c0b5e22146104785780638da5cb5b1461048e5780638f2076fd146104b157806395d89b41146104d157600080fd5b806339509351116101905780635d098b381161015f5780635d098b38146103cd57806365b8dbc0146103ed57806370a082311461040d578063715018a61461044357806375f0a8741461045857600080fd5b8063395093511461033f578063460418321461035f57806349bd5a5e146103745780634fbee1931461039457600080fd5b806318160ddd116101cc57806318160ddd146102be57806321ce72e5146102dd57806323b872dd146102fd578063313ce5671461031d57600080fd5b806306fdde031461020957806308faf34614610234578063095ea7b3146102565780631694505e1461028657600080fd5b3661020457005b600080fd5b34801561021557600080fd5b5061021e610694565b60405161022b9190611b7c565b60405180910390f35b34801561024057600080fd5b5061025461024f366004611bca565b610726565b005b34801561026257600080fd5b50610276610271366004611c1e565b6107d8565b604051901515815260200161022b565b34801561029257600080fd5b506007546102a6906001600160a01b031681565b6040516001600160a01b03909116815260200161022b565b3480156102ca57600080fd5b506002545b60405190815260200161022b565b3480156102e957600080fd5b506102546102f8366004611bca565b6107ef565b34801561030957600080fd5b50610276610318366004611c4a565b61087a565b34801561032957600080fd5b5060055460405160ff909116815260200161022b565b34801561034b57600080fd5b5061027661035a366004611c1e565b6108e3565b34801561036b57600080fd5b50610254610919565b34801561038057600080fd5b506008546102a6906001600160a01b031681565b3480156103a057600080fd5b506102766103af366004611c8b565b6001600160a01b03166000908152600f602052604090205460ff1690565b3480156103d957600080fd5b506102546103e8366004611c8b565b610970565b3480156103f957600080fd5b50610254610408366004611c8b565b6109c2565b34801561041957600080fd5b506102cf610428366004611c8b565b6001600160a01b031660009081526020819052604090205490565b34801561044f57600080fd5b50610254610c32565b34801561046457600080fd5b50600c546102a6906001600160a01b031681565b34801561048457600080fd5b506102cf600d5481565b34801561049a57600080fd5b5060055461010090046001600160a01b03166102a6565b3480156104bd57600080fd5b506102546104cc366004611bca565b610cb2565b3480156104dd57600080fd5b5061021e610d3d565b3480156104f257600080fd5b50610254610501366004611cb8565b610d4c565b34801561051257600080fd5b506102cf600a5481565b34801561052857600080fd5b50610276610537366004611c1e565b610e1e565b34801561054857600080fd5b50610276610557366004611c1e565b610e6d565b34801561056857600080fd5b506102cf600e5481565b34801561057e57600080fd5b5061027661058d366004611c8b565b60106020526000908152604090205460ff1681565b3480156105ae57600080fd5b506102546105bd366004611bca565b610e7a565b3480156105ce57600080fd5b506102546105dd366004611cb8565b610f1d565b3480156105ee57600080fd5b506102546105fd366004611d03565b610fac565b34801561060e57600080fd5b506102cf600b5481565b34801561062457600080fd5b506102cf610633366004611dda565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561066a57600080fd5b506102cf60095481565b34801561068057600080fd5b5061025461068f366004611c8b565b611081565b6060600380546106a390611e13565b80601f01602080910402602001604051908101604052809291908181526020018280546106cf90611e13565b801561071c5780601f106106f15761010080835404028352916020019161071c565b820191906000526020600020905b8154815290600101906020018083116106ff57829003601f168201915b5050505050905090565b6005546001600160a01b0361010090910416331461075f5760405162461bcd60e51b815260040161075690611e4d565b60405180910390fd5b606483108015610770575060098211155b801561077d575060098111155b61078657600080fd5b61079b61271061079560025490565b9061117d565b816107a784600a611e98565b6107b2866064611e98565b6107bc9190611eaf565b6107c69190611eaf565b6107d09190611e98565b600e55505050565b60006107e5338484611225565b5060015b92915050565b6005546001600160a01b0361010090910416331461081f5760405162461bcd60e51b815260040161075690611e4d565b60198311158015610831575060098211155b801561083e575060098111155b61084757600080fd5b8061085383600a611e98565b61085e856064611e98565b6108689190611eaf565b6108729190611eaf565b600b55505050565b600061088784848461134a565b6108d984336108d48560405180606001604052806028815260200161200e602891396001600160a01b038a166000908152600160209081526040808320338452909152902054919061163b565b611225565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916107e59185906108d490866111c6565b6005546001600160a01b036101009091041633146109495760405162461bcd60e51b815260040161075690611e4d565b3060009081526020819052604090205461096e90600c546001600160a01b0316611675565b565b6005546001600160a01b036101009091041633146109a05760405162461bcd60e51b815260040161075690611e4d565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b036101009091041633146109f25760405162461bcd60e51b815260040161075690611e4d565b6007546001600160a01b0390811690821603610a5c5760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b6064820152608401610756565b6007546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600780546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa158015610af3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b179190611ec2565b6001600160a01b031663c9c6539630600760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9d9190611ec2565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610bea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0e9190611ec2565b600880546001600160a01b0319166001600160a01b03929092169190911790555050565b6005546001600160a01b03610100909104163314610c625760405162461bcd60e51b815260040161075690611e4d565b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6005546001600160a01b03610100909104163314610ce25760405162461bcd60e51b815260040161075690611e4d565b60198311158015610cf4575060098211155b8015610d01575060098111155b610d0a57600080fd5b80610d1683600a611e98565b610d21856064611e98565b610d2b9190611eaf565b610d359190611eaf565b600a55505050565b6060600480546106a390611e13565b6005546001600160a01b03610100909104163314610d7c5760405162461bcd60e51b815260040161075690611e4d565b6008546001600160a01b0390811690831603610e105760405162461bcd60e51b815260206004820152604760248201527f5468652050616e5265776172645377617020706169722063616e6e6f7420626560448201527f2072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b6064820152666572506169727360c81b608482015260a401610756565b610e1a82826116cb565b5050565b60006107e533846108d485604051806060016040528060258152602001612036602591393360009081526001602090815260408083206001600160a01b038d168452909152902054919061163b565b60006107e533848461134a565b6005546001600160a01b03610100909104163314610eaa5760405162461bcd60e51b815260040161075690611e4d565b606483108015610ebb575060098211155b8015610ec8575060098111155b610ed157600080fd5b610ee061271061079560025490565b81610eec84600a611e98565b610ef7866064611e98565b610f019190611eaf565b610f0b9190611eaf565b610f159190611e98565b600d55505050565b6005546001600160a01b03610100909104163314610f4d5760405162461bcd60e51b815260040161075690611e4d565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03610100909104163314610fdc5760405162461bcd60e51b815260040161075690611e4d565b60005b82518110156110435781600f6000858481518110610fff57610fff611edf565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061103b81611ef5565b915050610fdf565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b358282604051611075929190611f52565b60405180910390a15050565b6005546001600160a01b036101009091041633146110b15760405162461bcd60e51b815260040161075690611e4d565b6001600160a01b0381166111165760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610756565b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60006111bf83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506117b5565b9392505050565b6000806111d38385611eaf565b9050838110156111bf5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610756565b6001600160a01b0383166112875760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610756565b6001600160a01b0382166112e85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610756565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038216158061136a57506001600160a01b03821661dead145b806113af57506001600160a01b0383166000908152600f602052604090205460ff16806113af57506001600160a01b0382166000908152600f602052604090205460ff165b806113b8575080155b156113cd576113c88383836117e3565b505050565b600d548111156114305760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610756565b6008546001600160a01b038381169116146114bb576001600160a01b038216600090815260208190526040902054600e5461146b8383611eaf565b11156114b95760405162461bcd60e51b815260206004820152601d60248201527f45786365656473206d6178696d756d2077616c6c657420616d6f756e740000006044820152606401610756565b505b30600090815260208190526040902054600954811080159081906114e95750600854600160a01b900460ff16155b801561150e57506001600160a01b03851660009081526010602052604090205460ff16155b15611553576008805460ff60a01b1916600160a01b17905581801561154457600c546115449082906001600160a01b0316611675565b506008805460ff60a01b191690555b6008546001600160a01b0386166000908152600f602052604090205460ff600160a01b9092048216159116806115a157506001600160a01b0385166000908152600f602052604090205460ff165b156115aa575060005b80156116285760006115cd612710610795600b548861196690919063ffffffff16565b6001600160a01b03871660009081526010602052604090205490915060ff161561160f5761160c612710610795600a548861196690919063ffffffff16565b90505b61161985826119e8565b94506116268730836117e3565b505b6116338686866117e3565b505050505050565b6000818484111561165f5760405162461bcd60e51b81526004016107569190611b7c565b50600061166c8486611f76565b95945050505050565b4761167f83611a2a565b600061168b47836119e8565b6040519091506001600160a01b0384169082156108fc029083906000818181858888f193505050501580156116c4573d6000803e3d6000fd5b5050505050565b6001600160a01b03821660009081526010602052604090205481151560ff9091161515036117615760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610756565b6001600160a01b038216600081815260106020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600081836117d65760405162461bcd60e51b81526004016107569190611b7c565b50600061166c8486611f89565b6001600160a01b0383166118475760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610756565b6001600160a01b0382166118a95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610756565b6118e681604051806060016040528060268152602001611fe8602691396001600160a01b038616600090815260208190526040902054919061163b565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461191590826111c6565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161133d565b600082600003611978575060006107e9565b60006119848385611e98565b9050826119918583611f89565b146111bf5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610756565b60006111bf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061163b565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a5f57611a5f611edf565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611ab8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611adc9190611ec2565b81600181518110611aef57611aef611edf565b6001600160a01b039283166020918202929092010152600754611b159130911684611225565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac94790611b4e908590600090869030904290600401611fab565b600060405180830381600087803b158015611b6857600080fd5b505af1158015611633573d6000803e3d6000fd5b600060208083528351808285015260005b81811015611ba957858101830151858201604001528201611b8d565b506000604082860101526040601f19601f8301168501019250505092915050565b600080600060608486031215611bdf57600080fd5b505081359360208301359350604090920135919050565b6001600160a01b0381168114611c0b57600080fd5b50565b8035611c1981611bf6565b919050565b60008060408385031215611c3157600080fd5b8235611c3c81611bf6565b946020939093013593505050565b600080600060608486031215611c5f57600080fd5b8335611c6a81611bf6565b92506020840135611c7a81611bf6565b929592945050506040919091013590565b600060208284031215611c9d57600080fd5b81356111bf81611bf6565b80358015158114611c1957600080fd5b60008060408385031215611ccb57600080fd5b8235611cd681611bf6565b9150611ce460208401611ca8565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215611d1657600080fd5b823567ffffffffffffffff80821115611d2e57600080fd5b818501915085601f830112611d4257600080fd5b8135602082821115611d5657611d56611ced565b8160051b604051601f19603f83011681018181108682111715611d7b57611d7b611ced565b604052928352818301935084810182019289841115611d9957600080fd5b948201945b83861015611dbe57611daf86611c0e565b85529482019493820193611d9e565b9650611dcd9050878201611ca8565b9450505050509250929050565b60008060408385031215611ded57600080fd5b8235611df881611bf6565b91506020830135611e0881611bf6565b809150509250929050565b600181811c90821680611e2757607f821691505b602082108103611e4757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107e9576107e9611e82565b808201808211156107e9576107e9611e82565b600060208284031215611ed457600080fd5b81516111bf81611bf6565b634e487b7160e01b600052603260045260246000fd5b600060018201611f0757611f07611e82565b5060010190565b600081518084526020808501945080840160005b83811015611f475781516001600160a01b031687529582019590820190600101611f22565b509495945050505050565b604081526000611f656040830185611f0e565b905082151560208301529392505050565b818103818111156107e9576107e9611e82565b600082611fa657634e487b7160e01b600052601260045260246000fd5b500490565b85815284602082015260a060408201526000611fca60a0830186611f0e565b6001600160a01b039490941660608301525060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c64b761ec330b9783401f1582fa1a36436ff65d13570d17bfaa34d357de1c33764736f6c6343000811003300000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000005af3107a4000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000009c400000000000000000000000000000000000000000000000000000000000009c4000000000000000000000000bd42a54254dcbcbefe5dafe55fedae0c2ec38a05000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000012c0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e0590000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000003465552000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034655520000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101fd5760003560e01c80638c0b5e221161010d578063aa4bde28116100a0578063c492f0461161006f578063c492f046146105e2578063d2889fb014610602578063dd62ed3e14610618578063e2f456051461065e578063f2fde38b1461067457600080fd5b8063aa4bde281461055c578063b62496f514610572578063b9640d8b146105a2578063c0246668146105c257600080fd5b80639a7a23d6116100dc5780639a7a23d6146104e6578063a045bfef14610506578063a457c2d71461051c578063a9059cbb1461053c57600080fd5b80638c0b5e22146104785780638da5cb5b1461048e5780638f2076fd146104b157806395d89b41146104d157600080fd5b806339509351116101905780635d098b381161015f5780635d098b38146103cd57806365b8dbc0146103ed57806370a082311461040d578063715018a61461044357806375f0a8741461045857600080fd5b8063395093511461033f578063460418321461035f57806349bd5a5e146103745780634fbee1931461039457600080fd5b806318160ddd116101cc57806318160ddd146102be57806321ce72e5146102dd57806323b872dd146102fd578063313ce5671461031d57600080fd5b806306fdde031461020957806308faf34614610234578063095ea7b3146102565780631694505e1461028657600080fd5b3661020457005b600080fd5b34801561021557600080fd5b5061021e610694565b60405161022b9190611b7c565b60405180910390f35b34801561024057600080fd5b5061025461024f366004611bca565b610726565b005b34801561026257600080fd5b50610276610271366004611c1e565b6107d8565b604051901515815260200161022b565b34801561029257600080fd5b506007546102a6906001600160a01b031681565b6040516001600160a01b03909116815260200161022b565b3480156102ca57600080fd5b506002545b60405190815260200161022b565b3480156102e957600080fd5b506102546102f8366004611bca565b6107ef565b34801561030957600080fd5b50610276610318366004611c4a565b61087a565b34801561032957600080fd5b5060055460405160ff909116815260200161022b565b34801561034b57600080fd5b5061027661035a366004611c1e565b6108e3565b34801561036b57600080fd5b50610254610919565b34801561038057600080fd5b506008546102a6906001600160a01b031681565b3480156103a057600080fd5b506102766103af366004611c8b565b6001600160a01b03166000908152600f602052604090205460ff1690565b3480156103d957600080fd5b506102546103e8366004611c8b565b610970565b3480156103f957600080fd5b50610254610408366004611c8b565b6109c2565b34801561041957600080fd5b506102cf610428366004611c8b565b6001600160a01b031660009081526020819052604090205490565b34801561044f57600080fd5b50610254610c32565b34801561046457600080fd5b50600c546102a6906001600160a01b031681565b34801561048457600080fd5b506102cf600d5481565b34801561049a57600080fd5b5060055461010090046001600160a01b03166102a6565b3480156104bd57600080fd5b506102546104cc366004611bca565b610cb2565b3480156104dd57600080fd5b5061021e610d3d565b3480156104f257600080fd5b50610254610501366004611cb8565b610d4c565b34801561051257600080fd5b506102cf600a5481565b34801561052857600080fd5b50610276610537366004611c1e565b610e1e565b34801561054857600080fd5b50610276610557366004611c1e565b610e6d565b34801561056857600080fd5b506102cf600e5481565b34801561057e57600080fd5b5061027661058d366004611c8b565b60106020526000908152604090205460ff1681565b3480156105ae57600080fd5b506102546105bd366004611bca565b610e7a565b3480156105ce57600080fd5b506102546105dd366004611cb8565b610f1d565b3480156105ee57600080fd5b506102546105fd366004611d03565b610fac565b34801561060e57600080fd5b506102cf600b5481565b34801561062457600080fd5b506102cf610633366004611dda565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561066a57600080fd5b506102cf60095481565b34801561068057600080fd5b5061025461068f366004611c8b565b611081565b6060600380546106a390611e13565b80601f01602080910402602001604051908101604052809291908181526020018280546106cf90611e13565b801561071c5780601f106106f15761010080835404028352916020019161071c565b820191906000526020600020905b8154815290600101906020018083116106ff57829003601f168201915b5050505050905090565b6005546001600160a01b0361010090910416331461075f5760405162461bcd60e51b815260040161075690611e4d565b60405180910390fd5b606483108015610770575060098211155b801561077d575060098111155b61078657600080fd5b61079b61271061079560025490565b9061117d565b816107a784600a611e98565b6107b2866064611e98565b6107bc9190611eaf565b6107c69190611eaf565b6107d09190611e98565b600e55505050565b60006107e5338484611225565b5060015b92915050565b6005546001600160a01b0361010090910416331461081f5760405162461bcd60e51b815260040161075690611e4d565b60198311158015610831575060098211155b801561083e575060098111155b61084757600080fd5b8061085383600a611e98565b61085e856064611e98565b6108689190611eaf565b6108729190611eaf565b600b55505050565b600061088784848461134a565b6108d984336108d48560405180606001604052806028815260200161200e602891396001600160a01b038a166000908152600160209081526040808320338452909152902054919061163b565b611225565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916107e59185906108d490866111c6565b6005546001600160a01b036101009091041633146109495760405162461bcd60e51b815260040161075690611e4d565b3060009081526020819052604090205461096e90600c546001600160a01b0316611675565b565b6005546001600160a01b036101009091041633146109a05760405162461bcd60e51b815260040161075690611e4d565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b036101009091041633146109f25760405162461bcd60e51b815260040161075690611e4d565b6007546001600160a01b0390811690821603610a5c5760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b6064820152608401610756565b6007546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600780546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa158015610af3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b179190611ec2565b6001600160a01b031663c9c6539630600760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9d9190611ec2565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610bea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0e9190611ec2565b600880546001600160a01b0319166001600160a01b03929092169190911790555050565b6005546001600160a01b03610100909104163314610c625760405162461bcd60e51b815260040161075690611e4d565b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6005546001600160a01b03610100909104163314610ce25760405162461bcd60e51b815260040161075690611e4d565b60198311158015610cf4575060098211155b8015610d01575060098111155b610d0a57600080fd5b80610d1683600a611e98565b610d21856064611e98565b610d2b9190611eaf565b610d359190611eaf565b600a55505050565b6060600480546106a390611e13565b6005546001600160a01b03610100909104163314610d7c5760405162461bcd60e51b815260040161075690611e4d565b6008546001600160a01b0390811690831603610e105760405162461bcd60e51b815260206004820152604760248201527f5468652050616e5265776172645377617020706169722063616e6e6f7420626560448201527f2072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b6064820152666572506169727360c81b608482015260a401610756565b610e1a82826116cb565b5050565b60006107e533846108d485604051806060016040528060258152602001612036602591393360009081526001602090815260408083206001600160a01b038d168452909152902054919061163b565b60006107e533848461134a565b6005546001600160a01b03610100909104163314610eaa5760405162461bcd60e51b815260040161075690611e4d565b606483108015610ebb575060098211155b8015610ec8575060098111155b610ed157600080fd5b610ee061271061079560025490565b81610eec84600a611e98565b610ef7866064611e98565b610f019190611eaf565b610f0b9190611eaf565b610f159190611e98565b600d55505050565b6005546001600160a01b03610100909104163314610f4d5760405162461bcd60e51b815260040161075690611e4d565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03610100909104163314610fdc5760405162461bcd60e51b815260040161075690611e4d565b60005b82518110156110435781600f6000858481518110610fff57610fff611edf565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061103b81611ef5565b915050610fdf565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b358282604051611075929190611f52565b60405180910390a15050565b6005546001600160a01b036101009091041633146110b15760405162461bcd60e51b815260040161075690611e4d565b6001600160a01b0381166111165760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610756565b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60006111bf83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506117b5565b9392505050565b6000806111d38385611eaf565b9050838110156111bf5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610756565b6001600160a01b0383166112875760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610756565b6001600160a01b0382166112e85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610756565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038216158061136a57506001600160a01b03821661dead145b806113af57506001600160a01b0383166000908152600f602052604090205460ff16806113af57506001600160a01b0382166000908152600f602052604090205460ff165b806113b8575080155b156113cd576113c88383836117e3565b505050565b600d548111156114305760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610756565b6008546001600160a01b038381169116146114bb576001600160a01b038216600090815260208190526040902054600e5461146b8383611eaf565b11156114b95760405162461bcd60e51b815260206004820152601d60248201527f45786365656473206d6178696d756d2077616c6c657420616d6f756e740000006044820152606401610756565b505b30600090815260208190526040902054600954811080159081906114e95750600854600160a01b900460ff16155b801561150e57506001600160a01b03851660009081526010602052604090205460ff16155b15611553576008805460ff60a01b1916600160a01b17905581801561154457600c546115449082906001600160a01b0316611675565b506008805460ff60a01b191690555b6008546001600160a01b0386166000908152600f602052604090205460ff600160a01b9092048216159116806115a157506001600160a01b0385166000908152600f602052604090205460ff165b156115aa575060005b80156116285760006115cd612710610795600b548861196690919063ffffffff16565b6001600160a01b03871660009081526010602052604090205490915060ff161561160f5761160c612710610795600a548861196690919063ffffffff16565b90505b61161985826119e8565b94506116268730836117e3565b505b6116338686866117e3565b505050505050565b6000818484111561165f5760405162461bcd60e51b81526004016107569190611b7c565b50600061166c8486611f76565b95945050505050565b4761167f83611a2a565b600061168b47836119e8565b6040519091506001600160a01b0384169082156108fc029083906000818181858888f193505050501580156116c4573d6000803e3d6000fd5b5050505050565b6001600160a01b03821660009081526010602052604090205481151560ff9091161515036117615760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610756565b6001600160a01b038216600081815260106020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600081836117d65760405162461bcd60e51b81526004016107569190611b7c565b50600061166c8486611f89565b6001600160a01b0383166118475760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610756565b6001600160a01b0382166118a95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610756565b6118e681604051806060016040528060268152602001611fe8602691396001600160a01b038616600090815260208190526040902054919061163b565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461191590826111c6565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161133d565b600082600003611978575060006107e9565b60006119848385611e98565b9050826119918583611f89565b146111bf5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610756565b60006111bf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061163b565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a5f57611a5f611edf565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611ab8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611adc9190611ec2565b81600181518110611aef57611aef611edf565b6001600160a01b039283166020918202929092010152600754611b159130911684611225565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac94790611b4e908590600090869030904290600401611fab565b600060405180830381600087803b158015611b6857600080fd5b505af1158015611633573d6000803e3d6000fd5b600060208083528351808285015260005b81811015611ba957858101830151858201604001528201611b8d565b506000604082860101526040601f19601f8301168501019250505092915050565b600080600060608486031215611bdf57600080fd5b505081359360208301359350604090920135919050565b6001600160a01b0381168114611c0b57600080fd5b50565b8035611c1981611bf6565b919050565b60008060408385031215611c3157600080fd5b8235611c3c81611bf6565b946020939093013593505050565b600080600060608486031215611c5f57600080fd5b8335611c6a81611bf6565b92506020840135611c7a81611bf6565b929592945050506040919091013590565b600060208284031215611c9d57600080fd5b81356111bf81611bf6565b80358015158114611c1957600080fd5b60008060408385031215611ccb57600080fd5b8235611cd681611bf6565b9150611ce460208401611ca8565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215611d1657600080fd5b823567ffffffffffffffff80821115611d2e57600080fd5b818501915085601f830112611d4257600080fd5b8135602082821115611d5657611d56611ced565b8160051b604051601f19603f83011681018181108682111715611d7b57611d7b611ced565b604052928352818301935084810182019289841115611d9957600080fd5b948201945b83861015611dbe57611daf86611c0e565b85529482019493820193611d9e565b9650611dcd9050878201611ca8565b9450505050509250929050565b60008060408385031215611ded57600080fd5b8235611df881611bf6565b91506020830135611e0881611bf6565b809150509250929050565b600181811c90821680611e2757607f821691505b602082108103611e4757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107e9576107e9611e82565b808201808211156107e9576107e9611e82565b600060208284031215611ed457600080fd5b81516111bf81611bf6565b634e487b7160e01b600052603260045260246000fd5b600060018201611f0757611f07611e82565b5060010190565b600081518084526020808501945080840160005b83811015611f475781516001600160a01b031687529582019590820190600101611f22565b509495945050505050565b604081526000611f656040830185611f0e565b905082151560208301529392505050565b818103818111156107e9576107e9611e82565b600082611fa657634e487b7160e01b600052601260045260246000fd5b500490565b85815284602082015260a060408201526000611fca60a0830186611f0e565b6001600160a01b039490941660608301525060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c64b761ec330b9783401f1582fa1a36436ff65d13570d17bfaa34d357de1c33764736f6c63430008110033
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.