ERC-20
Overview
Max Total Supply
1,000,000,000,000 GUY
Holders
1,386
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.76974031265615508 GUYValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MarketingTax
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-05-16 */ // 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); } }
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":"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
608060405260405162002d3c38038062002d3c833981016040819052620000269162000a21565b81888887600362000038848262000b8c565b50600462000047838262000b8c565b506005805460ff191660ff929092169190911790555060009050620000693390565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600680546001600160a01b0319166001600160a01b03929092169190911790556020810151600090606490620000f6903462000c6e565b62000102919062000c88565b90506001600160a01b0383166108fc6200011d833462000cab565b6040518115909202916000818181858888f1935050505015801562000146573d6000803e3d6000fd5b5081516040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801562000181573d6000803e3d6000fd5b50604080860151600c80546001600160a01b039283166001600160a01b0319918216179091558751600b55602080890151600a5560078054938916939092168317909155825163c45a015560e01b81529251919263c45a015592600482810193928290030181865afa158015620001fc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000222919062000cc1565b6001600160a01b031663c9c6539630600760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000285573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ab919062000cc1565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200031f919062000cc1565b600880546001600160a01b0319166001600160a01b039290921691821790556200034b906001620004bb565b6200036f6200036760055461010090046001600160a01b031690565b6001620005ab565b600c5462000388906001600160a01b03166001620005ab565b62000395306001620005ab565b600754620003ae906001600160a01b03166001620005ab565b620003bb86600a62000ddc565b620003d7611388896200066c60201b62000fdb1790919060201c565b620003e490600162000ded565b620003f0919062000c6e565b6009556200041b6127106200040788600a62000ddc565b6200066c60201b62000fdb1790919060201c565b8786606001516200042d919062000c6e565b62000439919062000c6e565b600d55620004506127106200040788600a62000ddc565b87866080015162000462919062000c6e565b6200046e919062000c6e565b600e55620004ac6200048d60055461010090046001600160a01b031690565b6200049a88600a62000ddc565b620004a6908a62000c6e565b620006bf565b50505050505050505062000e38565b6001600160a01b03821660009081526010602052604090205481151560ff909116151503620005575760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c7565000000000000000060648201526084015b60405180910390fd5b6001600160a01b038216600081815260106020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b036101009091041633146200060d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200054e565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6000620006b683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250620007bb60201b60201c565b90505b92915050565b6001600160a01b038216620007175760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200054e565b6200073381600254620007fc60201b620010241790919060201c565b6002556001600160a01b038216600090815260208181526040909120546200076691839062001024620007fc821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60008183620007df5760405162461bcd60e51b81526004016200054e919062000e03565b506000620007ee848662000c88565b95945050505050565b505050565b6000806200080b838562000ded565b905083811015620006b65760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016200054e565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200089257818101518382015260200162000878565b50506000910152565b600082601f830112620008ad57600080fd5b81516001600160401b0380821115620008ca57620008ca6200085f565b604051601f8301601f19908116603f01168101908282118183101715620008f557620008f56200085f565b816040528381528660208588010111156200090f57600080fd5b6200092284602083016020890162000875565b9695505050505050565b80516001600160a01b03811681146200094457600080fd5b919050565b600060a082840312156200095c57600080fd5b60405160a081016001600160401b03811182821017156200098157620009816200085f565b80604052508091508251815260208301516020820152620009a5604084016200092c565b604082015260608301516060820152608083015160808201525092915050565b600060408284031215620009d857600080fd5b604080519081016001600160401b0381118282101715620009fd57620009fd6200085f565b60405290508062000a0e836200092c565b8152602083015160208201525092915050565b6000806000806000806000806101a0898b03121562000a3f57600080fd5b88516001600160401b038082111562000a5757600080fd5b62000a658c838d016200089b565b995060208b015191508082111562000a7c57600080fd5b5062000a8b8b828c016200089b565b97505060408901519550606089015160ff8116811462000aaa57600080fd5b945062000abb8a60808b0162000949565b935062000acc6101208a016200092c565b925062000add6101408a016200092c565b915062000aef8a6101608b01620009c5565b90509295985092959890939650565b600181811c9082168062000b1357607f821691505b60208210810362000b3457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620007f757600081815260208120601f850160051c8101602086101562000b635750805b601f850160051c820191505b8181101562000b845782815560010162000b6f565b505050505050565b81516001600160401b0381111562000ba85762000ba86200085f565b62000bc08162000bb9845462000afe565b8462000b3a565b602080601f83116001811462000bf8576000841562000bdf5750858301515b600019600386901b1c1916600185901b17855562000b84565b600085815260208120601f198616915b8281101562000c295788860151825594840194600190910190840162000c08565b508582101562000c485787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620006b957620006b962000c58565b60008262000ca657634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115620006b957620006b962000c58565b60006020828403121562000cd457600080fd5b620006b6826200092c565b600181815b8085111562000d2057816000190482111562000d045762000d0462000c58565b8085161562000d1257918102915b93841c939080029062000ce4565b509250929050565b60008262000d3957506001620006b9565b8162000d4857506000620006b9565b816001811462000d61576002811462000d6c5762000d8c565b6001915050620006b9565b60ff84111562000d805762000d8062000c58565b50506001821b620006b9565b5060208310610133831016604e8410600b841016171562000db1575081810a620006b9565b62000dbd838362000cdf565b806000190482111562000dd45762000dd462000c58565b029392505050565b6000620006b660ff84168362000d28565b80820180821115620006b957620006b962000c58565b602081526000825180602084015262000e2481604085016020870162000875565b601f01601f19169190910160400192915050565b611ef48062000e486000396000f3fe6080604052600436106101e75760003560e01c80638c0b5e2211610102578063aa4bde2811610095578063d2889fb011610064578063d2889fb0146105ac578063dd62ed3e146105c2578063e2f4560514610608578063f2fde38b1461061e57600080fd5b8063aa4bde2814610526578063b62496f51461053c578063c02466681461056c578063c492f0461461058c57600080fd5b80639a7a23d6116100d15780639a7a23d6146104b0578063a045bfef146104d0578063a457c2d7146104e6578063a9059cbb1461050657600080fd5b80638c0b5e22146104425780638da5cb5b146104585780638f2076fd1461047b57806395d89b411461049b57600080fd5b8063460418321161017a57806365b8dbc01161014957806365b8dbc0146103b757806370a08231146103d7578063715018a61461040d57806375f0a8741461042257600080fd5b8063460418321461032957806349bd5a5e1461033e5780634fbee1931461035e5780635d098b381461039757600080fd5b806321ce72e5116101b657806321ce72e5146102a557806323b872dd146102c7578063313ce567146102e7578063395093511461030957600080fd5b806306fdde03146101f3578063095ea7b31461021e5780631694505e1461024e57806318160ddd1461028657600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b5061020861063e565b60405161021591906119e0565b60405180910390f35b34801561022a57600080fd5b5061023e610239366004611a56565b6106d0565b6040519015158152602001610215565b34801561025a57600080fd5b5060075461026e906001600160a01b031681565b6040516001600160a01b039091168152602001610215565b34801561029257600080fd5b506002545b604051908152602001610215565b3480156102b157600080fd5b506102c56102c0366004611a82565b6106e7565b005b3480156102d357600080fd5b5061023e6102e2366004611aae565b61077b565b3480156102f357600080fd5b5060055460405160ff9091168152602001610215565b34801561031557600080fd5b5061023e610324366004611a56565b6107e4565b34801561033557600080fd5b506102c561081a565b34801561034a57600080fd5b5060085461026e906001600160a01b031681565b34801561036a57600080fd5b5061023e610379366004611aef565b6001600160a01b03166000908152600f602052604090205460ff1690565b3480156103a357600080fd5b506102c56103b2366004611aef565b610871565b3480156103c357600080fd5b506102c56103d2366004611aef565b6108c3565b3480156103e357600080fd5b506102976103f2366004611aef565b6001600160a01b031660009081526020819052604090205490565b34801561041957600080fd5b506102c5610b33565b34801561042e57600080fd5b50600c5461026e906001600160a01b031681565b34801561044e57600080fd5b50610297600d5481565b34801561046457600080fd5b5060055461010090046001600160a01b031661026e565b34801561048757600080fd5b506102c5610496366004611a82565b610bb3565b3480156104a757600080fd5b50610208610c3e565b3480156104bc57600080fd5b506102c56104cb366004611b1c565b610c4d565b3480156104dc57600080fd5b50610297600a5481565b3480156104f257600080fd5b5061023e610501366004611a56565b610d1f565b34801561051257600080fd5b5061023e610521366004611a56565b610d6e565b34801561053257600080fd5b50610297600e5481565b34801561054857600080fd5b5061023e610557366004611aef565b60106020526000908152604090205460ff1681565b34801561057857600080fd5b506102c5610587366004611b1c565b610d7b565b34801561059857600080fd5b506102c56105a7366004611b67565b610e0a565b3480156105b857600080fd5b50610297600b5481565b3480156105ce57600080fd5b506102976105dd366004611c3e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561061457600080fd5b5061029760095481565b34801561062a57600080fd5b506102c5610639366004611aef565b610edf565b60606003805461064d90611c77565b80601f016020809104026020016040519081016040528092919081815260200182805461067990611c77565b80156106c65780601f1061069b576101008083540402835291602001916106c6565b820191906000526020600020905b8154815290600101906020018083116106a957829003601f168201915b5050505050905090565b60006106dd338484611083565b5060015b92915050565b6005546001600160a01b036101009091041633146107205760405162461bcd60e51b815260040161071790611cb1565b60405180910390fd5b60198311158015610732575060098211155b801561073f575060098111155b61074857600080fd5b8061075483600a611cfc565b61075f856064611cfc565b6107699190611d13565b6107739190611d13565b600b55505050565b60006107888484846111a8565b6107da84336107d585604051806060016040528060288152602001611e72602891396001600160a01b038a166000908152600160209081526040808320338452909152902054919061149f565b611083565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916106dd9185906107d59086611024565b6005546001600160a01b0361010090910416331461084a5760405162461bcd60e51b815260040161071790611cb1565b3060009081526020819052604090205461086f90600c546001600160a01b03166114d9565b565b6005546001600160a01b036101009091041633146108a15760405162461bcd60e51b815260040161071790611cb1565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b036101009091041633146108f35760405162461bcd60e51b815260040161071790611cb1565b6007546001600160a01b039081169082160361095d5760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b6064820152608401610717565b6007546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600780546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa1580156109f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a189190611d26565b6001600160a01b031663c9c6539630600760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9e9190611d26565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610aeb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0f9190611d26565b600880546001600160a01b0319166001600160a01b03929092169190911790555050565b6005546001600160a01b03610100909104163314610b635760405162461bcd60e51b815260040161071790611cb1565b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6005546001600160a01b03610100909104163314610be35760405162461bcd60e51b815260040161071790611cb1565b60198311158015610bf5575060098211155b8015610c02575060098111155b610c0b57600080fd5b80610c1783600a611cfc565b610c22856064611cfc565b610c2c9190611d13565b610c369190611d13565b600a55505050565b60606004805461064d90611c77565b6005546001600160a01b03610100909104163314610c7d5760405162461bcd60e51b815260040161071790611cb1565b6008546001600160a01b0390811690831603610d115760405162461bcd60e51b815260206004820152604760248201527f5468652050616e5265776172645377617020706169722063616e6e6f7420626560448201527f2072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b6064820152666572506169727360c81b608482015260a401610717565b610d1b828261152f565b5050565b60006106dd33846107d585604051806060016040528060258152602001611e9a602591393360009081526001602090815260408083206001600160a01b038d168452909152902054919061149f565b60006106dd3384846111a8565b6005546001600160a01b03610100909104163314610dab5760405162461bcd60e51b815260040161071790611cb1565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03610100909104163314610e3a5760405162461bcd60e51b815260040161071790611cb1565b60005b8251811015610ea15781600f6000858481518110610e5d57610e5d611d43565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610e9981611d59565b915050610e3d565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b358282604051610ed3929190611db6565b60405180910390a15050565b6005546001600160a01b03610100909104163314610f0f5760405162461bcd60e51b815260040161071790611cb1565b6001600160a01b038116610f745760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610717565b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b600061101d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611619565b9392505050565b6000806110318385611d13565b90508381101561101d5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610717565b6001600160a01b0383166110e55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610717565b6001600160a01b0382166111465760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610717565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03821615806111c857506001600160a01b03821661dead145b8061120d57506001600160a01b0383166000908152600f602052604090205460ff168061120d57506001600160a01b0382166000908152600f602052604090205460ff165b80611216575080155b1561122b57611226838383611647565b505050565b600d5481111561128e5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610717565b6008546001600160a01b03838116911614611319576001600160a01b038216600090815260208190526040902054600e546112c98383611d13565b11156113175760405162461bcd60e51b815260206004820152601d60248201527f45786365656473206d6178696d756d2077616c6c657420616d6f756e740000006044820152606401610717565b505b30600090815260208190526040902054600954811080159081906113475750600854600160a01b900460ff16155b801561136c57506001600160a01b03851660009081526010602052604090205460ff16155b156113b1576008805460ff60a01b1916600160a01b1790558180156113a257600c546113a29082906001600160a01b03166114d9565b506008805460ff60a01b191690555b6008546001600160a01b0386166000908152600f602052604090205460ff600160a01b9092048216159116806113ff57506001600160a01b0385166000908152600f602052604090205460ff165b15611408575060005b801561148c57600061143161271061142b600b54886117ca90919063ffffffff16565b90610fdb565b6001600160a01b03871660009081526010602052604090205490915060ff16156114735761147061271061142b600a54886117ca90919063ffffffff16565b90505b61147d858261184c565b945061148a873083611647565b505b611497868686611647565b505050505050565b600081848411156114c35760405162461bcd60e51b815260040161071791906119e0565b5060006114d08486611dda565b95945050505050565b476114e38361188e565b60006114ef478361184c565b6040519091506001600160a01b0384169082156108fc029083906000818181858888f19350505050158015611528573d6000803e3d6000fd5b5050505050565b6001600160a01b03821660009081526010602052604090205481151560ff9091161515036115c55760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610717565b6001600160a01b038216600081815260106020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6000818361163a5760405162461bcd60e51b815260040161071791906119e0565b5060006114d08486611ded565b6001600160a01b0383166116ab5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610717565b6001600160a01b03821661170d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610717565b61174a81604051806060016040528060268152602001611e4c602691396001600160a01b038616600090815260208190526040902054919061149f565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546117799082611024565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161119b565b6000826000036117dc575060006106e1565b60006117e88385611cfc565b9050826117f58583611ded565b1461101d5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610717565b600061101d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061149f565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106118c3576118c3611d43565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561191c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119409190611d26565b8160018151811061195357611953611d43565b6001600160a01b0392831660209182029290920101526007546119799130911684611083565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac947906119b2908590600090869030904290600401611e0f565b600060405180830381600087803b1580156119cc57600080fd5b505af1158015611497573d6000803e3d6000fd5b600060208083528351808285015260005b81811015611a0d578581018301518582016040015282016119f1565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611a4357600080fd5b50565b8035611a5181611a2e565b919050565b60008060408385031215611a6957600080fd5b8235611a7481611a2e565b946020939093013593505050565b600080600060608486031215611a9757600080fd5b505081359360208301359350604090920135919050565b600080600060608486031215611ac357600080fd5b8335611ace81611a2e565b92506020840135611ade81611a2e565b929592945050506040919091013590565b600060208284031215611b0157600080fd5b813561101d81611a2e565b80358015158114611a5157600080fd5b60008060408385031215611b2f57600080fd5b8235611b3a81611a2e565b9150611b4860208401611b0c565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215611b7a57600080fd5b823567ffffffffffffffff80821115611b9257600080fd5b818501915085601f830112611ba657600080fd5b8135602082821115611bba57611bba611b51565b8160051b604051601f19603f83011681018181108682111715611bdf57611bdf611b51565b604052928352818301935084810182019289841115611bfd57600080fd5b948201945b83861015611c2257611c1386611a46565b85529482019493820193611c02565b9650611c319050878201611b0c565b9450505050509250929050565b60008060408385031215611c5157600080fd5b8235611c5c81611a2e565b91506020830135611c6c81611a2e565b809150509250929050565b600181811c90821680611c8b57607f821691505b602082108103611cab57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176106e1576106e1611ce6565b808201808211156106e1576106e1611ce6565b600060208284031215611d3857600080fd5b815161101d81611a2e565b634e487b7160e01b600052603260045260246000fd5b600060018201611d6b57611d6b611ce6565b5060010190565b600081518084526020808501945080840160005b83811015611dab5781516001600160a01b031687529582019590820190600101611d86565b509495945050505050565b604081526000611dc96040830185611d72565b905082151560208301529392505050565b818103818111156106e1576106e1611ce6565b600082611e0a57634e487b7160e01b600052601260045260246000fd5b500490565b85815284602082015260a060408201526000611e2e60a0830186611d72565b6001600160a01b039490941660608301525060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c35137f258f9957601d314201e04d029c216d1a491ff577745825437f7002d8364736f6c6343000811003300000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000e8d4a51000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000003e800000000000000000000000070b7b470b0c2fd89a84646b909f9c0c43070945a000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000027100000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e0590000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a46616d696c79204775790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034755590000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101e75760003560e01c80638c0b5e2211610102578063aa4bde2811610095578063d2889fb011610064578063d2889fb0146105ac578063dd62ed3e146105c2578063e2f4560514610608578063f2fde38b1461061e57600080fd5b8063aa4bde2814610526578063b62496f51461053c578063c02466681461056c578063c492f0461461058c57600080fd5b80639a7a23d6116100d15780639a7a23d6146104b0578063a045bfef146104d0578063a457c2d7146104e6578063a9059cbb1461050657600080fd5b80638c0b5e22146104425780638da5cb5b146104585780638f2076fd1461047b57806395d89b411461049b57600080fd5b8063460418321161017a57806365b8dbc01161014957806365b8dbc0146103b757806370a08231146103d7578063715018a61461040d57806375f0a8741461042257600080fd5b8063460418321461032957806349bd5a5e1461033e5780634fbee1931461035e5780635d098b381461039757600080fd5b806321ce72e5116101b657806321ce72e5146102a557806323b872dd146102c7578063313ce567146102e7578063395093511461030957600080fd5b806306fdde03146101f3578063095ea7b31461021e5780631694505e1461024e57806318160ddd1461028657600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b5061020861063e565b60405161021591906119e0565b60405180910390f35b34801561022a57600080fd5b5061023e610239366004611a56565b6106d0565b6040519015158152602001610215565b34801561025a57600080fd5b5060075461026e906001600160a01b031681565b6040516001600160a01b039091168152602001610215565b34801561029257600080fd5b506002545b604051908152602001610215565b3480156102b157600080fd5b506102c56102c0366004611a82565b6106e7565b005b3480156102d357600080fd5b5061023e6102e2366004611aae565b61077b565b3480156102f357600080fd5b5060055460405160ff9091168152602001610215565b34801561031557600080fd5b5061023e610324366004611a56565b6107e4565b34801561033557600080fd5b506102c561081a565b34801561034a57600080fd5b5060085461026e906001600160a01b031681565b34801561036a57600080fd5b5061023e610379366004611aef565b6001600160a01b03166000908152600f602052604090205460ff1690565b3480156103a357600080fd5b506102c56103b2366004611aef565b610871565b3480156103c357600080fd5b506102c56103d2366004611aef565b6108c3565b3480156103e357600080fd5b506102976103f2366004611aef565b6001600160a01b031660009081526020819052604090205490565b34801561041957600080fd5b506102c5610b33565b34801561042e57600080fd5b50600c5461026e906001600160a01b031681565b34801561044e57600080fd5b50610297600d5481565b34801561046457600080fd5b5060055461010090046001600160a01b031661026e565b34801561048757600080fd5b506102c5610496366004611a82565b610bb3565b3480156104a757600080fd5b50610208610c3e565b3480156104bc57600080fd5b506102c56104cb366004611b1c565b610c4d565b3480156104dc57600080fd5b50610297600a5481565b3480156104f257600080fd5b5061023e610501366004611a56565b610d1f565b34801561051257600080fd5b5061023e610521366004611a56565b610d6e565b34801561053257600080fd5b50610297600e5481565b34801561054857600080fd5b5061023e610557366004611aef565b60106020526000908152604090205460ff1681565b34801561057857600080fd5b506102c5610587366004611b1c565b610d7b565b34801561059857600080fd5b506102c56105a7366004611b67565b610e0a565b3480156105b857600080fd5b50610297600b5481565b3480156105ce57600080fd5b506102976105dd366004611c3e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561061457600080fd5b5061029760095481565b34801561062a57600080fd5b506102c5610639366004611aef565b610edf565b60606003805461064d90611c77565b80601f016020809104026020016040519081016040528092919081815260200182805461067990611c77565b80156106c65780601f1061069b576101008083540402835291602001916106c6565b820191906000526020600020905b8154815290600101906020018083116106a957829003601f168201915b5050505050905090565b60006106dd338484611083565b5060015b92915050565b6005546001600160a01b036101009091041633146107205760405162461bcd60e51b815260040161071790611cb1565b60405180910390fd5b60198311158015610732575060098211155b801561073f575060098111155b61074857600080fd5b8061075483600a611cfc565b61075f856064611cfc565b6107699190611d13565b6107739190611d13565b600b55505050565b60006107888484846111a8565b6107da84336107d585604051806060016040528060288152602001611e72602891396001600160a01b038a166000908152600160209081526040808320338452909152902054919061149f565b611083565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916106dd9185906107d59086611024565b6005546001600160a01b0361010090910416331461084a5760405162461bcd60e51b815260040161071790611cb1565b3060009081526020819052604090205461086f90600c546001600160a01b03166114d9565b565b6005546001600160a01b036101009091041633146108a15760405162461bcd60e51b815260040161071790611cb1565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b036101009091041633146108f35760405162461bcd60e51b815260040161071790611cb1565b6007546001600160a01b039081169082160361095d5760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b6064820152608401610717565b6007546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600780546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa1580156109f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a189190611d26565b6001600160a01b031663c9c6539630600760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9e9190611d26565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610aeb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0f9190611d26565b600880546001600160a01b0319166001600160a01b03929092169190911790555050565b6005546001600160a01b03610100909104163314610b635760405162461bcd60e51b815260040161071790611cb1565b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6005546001600160a01b03610100909104163314610be35760405162461bcd60e51b815260040161071790611cb1565b60198311158015610bf5575060098211155b8015610c02575060098111155b610c0b57600080fd5b80610c1783600a611cfc565b610c22856064611cfc565b610c2c9190611d13565b610c369190611d13565b600a55505050565b60606004805461064d90611c77565b6005546001600160a01b03610100909104163314610c7d5760405162461bcd60e51b815260040161071790611cb1565b6008546001600160a01b0390811690831603610d115760405162461bcd60e51b815260206004820152604760248201527f5468652050616e5265776172645377617020706169722063616e6e6f7420626560448201527f2072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b6064820152666572506169727360c81b608482015260a401610717565b610d1b828261152f565b5050565b60006106dd33846107d585604051806060016040528060258152602001611e9a602591393360009081526001602090815260408083206001600160a01b038d168452909152902054919061149f565b60006106dd3384846111a8565b6005546001600160a01b03610100909104163314610dab5760405162461bcd60e51b815260040161071790611cb1565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03610100909104163314610e3a5760405162461bcd60e51b815260040161071790611cb1565b60005b8251811015610ea15781600f6000858481518110610e5d57610e5d611d43565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610e9981611d59565b915050610e3d565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b358282604051610ed3929190611db6565b60405180910390a15050565b6005546001600160a01b03610100909104163314610f0f5760405162461bcd60e51b815260040161071790611cb1565b6001600160a01b038116610f745760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610717565b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b600061101d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611619565b9392505050565b6000806110318385611d13565b90508381101561101d5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610717565b6001600160a01b0383166110e55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610717565b6001600160a01b0382166111465760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610717565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03821615806111c857506001600160a01b03821661dead145b8061120d57506001600160a01b0383166000908152600f602052604090205460ff168061120d57506001600160a01b0382166000908152600f602052604090205460ff165b80611216575080155b1561122b57611226838383611647565b505050565b600d5481111561128e5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610717565b6008546001600160a01b03838116911614611319576001600160a01b038216600090815260208190526040902054600e546112c98383611d13565b11156113175760405162461bcd60e51b815260206004820152601d60248201527f45786365656473206d6178696d756d2077616c6c657420616d6f756e740000006044820152606401610717565b505b30600090815260208190526040902054600954811080159081906113475750600854600160a01b900460ff16155b801561136c57506001600160a01b03851660009081526010602052604090205460ff16155b156113b1576008805460ff60a01b1916600160a01b1790558180156113a257600c546113a29082906001600160a01b03166114d9565b506008805460ff60a01b191690555b6008546001600160a01b0386166000908152600f602052604090205460ff600160a01b9092048216159116806113ff57506001600160a01b0385166000908152600f602052604090205460ff165b15611408575060005b801561148c57600061143161271061142b600b54886117ca90919063ffffffff16565b90610fdb565b6001600160a01b03871660009081526010602052604090205490915060ff16156114735761147061271061142b600a54886117ca90919063ffffffff16565b90505b61147d858261184c565b945061148a873083611647565b505b611497868686611647565b505050505050565b600081848411156114c35760405162461bcd60e51b815260040161071791906119e0565b5060006114d08486611dda565b95945050505050565b476114e38361188e565b60006114ef478361184c565b6040519091506001600160a01b0384169082156108fc029083906000818181858888f19350505050158015611528573d6000803e3d6000fd5b5050505050565b6001600160a01b03821660009081526010602052604090205481151560ff9091161515036115c55760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610717565b6001600160a01b038216600081815260106020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6000818361163a5760405162461bcd60e51b815260040161071791906119e0565b5060006114d08486611ded565b6001600160a01b0383166116ab5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610717565b6001600160a01b03821661170d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610717565b61174a81604051806060016040528060268152602001611e4c602691396001600160a01b038616600090815260208190526040902054919061149f565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546117799082611024565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161119b565b6000826000036117dc575060006106e1565b60006117e88385611cfc565b9050826117f58583611ded565b1461101d5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610717565b600061101d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061149f565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106118c3576118c3611d43565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561191c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119409190611d26565b8160018151811061195357611953611d43565b6001600160a01b0392831660209182029290920101526007546119799130911684611083565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac947906119b2908590600090869030904290600401611e0f565b600060405180830381600087803b1580156119cc57600080fd5b505af1158015611497573d6000803e3d6000fd5b600060208083528351808285015260005b81811015611a0d578581018301518582016040015282016119f1565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611a4357600080fd5b50565b8035611a5181611a2e565b919050565b60008060408385031215611a6957600080fd5b8235611a7481611a2e565b946020939093013593505050565b600080600060608486031215611a9757600080fd5b505081359360208301359350604090920135919050565b600080600060608486031215611ac357600080fd5b8335611ace81611a2e565b92506020840135611ade81611a2e565b929592945050506040919091013590565b600060208284031215611b0157600080fd5b813561101d81611a2e565b80358015158114611a5157600080fd5b60008060408385031215611b2f57600080fd5b8235611b3a81611a2e565b9150611b4860208401611b0c565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215611b7a57600080fd5b823567ffffffffffffffff80821115611b9257600080fd5b818501915085601f830112611ba657600080fd5b8135602082821115611bba57611bba611b51565b8160051b604051601f19603f83011681018181108682111715611bdf57611bdf611b51565b604052928352818301935084810182019289841115611bfd57600080fd5b948201945b83861015611c2257611c1386611a46565b85529482019493820193611c02565b9650611c319050878201611b0c565b9450505050509250929050565b60008060408385031215611c5157600080fd5b8235611c5c81611a2e565b91506020830135611c6c81611a2e565b809150509250929050565b600181811c90821680611c8b57607f821691505b602082108103611cab57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176106e1576106e1611ce6565b808201808211156106e1576106e1611ce6565b600060208284031215611d3857600080fd5b815161101d81611a2e565b634e487b7160e01b600052603260045260246000fd5b600060018201611d6b57611d6b611ce6565b5060010190565b600081518084526020808501945080840160005b83811015611dab5781516001600160a01b031687529582019590820190600101611d86565b509495945050505050565b604081526000611dc96040830185611d72565b905082151560208301529392505050565b818103818111156106e1576106e1611ce6565b600082611e0a57634e487b7160e01b600052601260045260246000fd5b500490565b85815284602082015260a060408201526000611e2e60a0830186611d72565b6001600160a01b039490941660608301525060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c35137f258f9957601d314201e04d029c216d1a491ff577745825437f7002d8364736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000e8d4a51000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000003e800000000000000000000000070b7b470b0c2fd89a84646b909f9c0c43070945a000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000027100000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e0590000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a46616d696c79204775790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034755590000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Family Guy
Arg [1] : symbol_ (string): GUY
Arg [2] : supply_ (uint256): 1000000000000
Arg [3] : decimals_ (uint8): 18
Arg [4] : parameters (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [5] : uniswapV2Router_ (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [6] : addr_ (address): 0x5B8A969814AEa42CC1faC408e95383eb5c44e059
Arg [7] : refInfo_ (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [2] : 000000000000000000000000000000000000000000000000000000e8d4a51000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 00000000000000000000000000000000000000000000000000000000000005dc
Arg [5] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [6] : 00000000000000000000000070b7b470b0c2fd89a84646b909f9c0c43070945a
Arg [7] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [8] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [9] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [10] : 0000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059
Arg [11] : 0000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059
Arg [12] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [13] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [14] : 46616d696c792047757900000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [16] : 4755590000000000000000000000000000000000000000000000000000000000
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.