ERC-20
Overview
Max Total Supply
1,000,000,000,000,000 Floco
Holders
123
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,372,928,061,635.00003800719340428 FlocoValue
$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 0x156D24F8...687d0fE6e 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 2022-12-01 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.17; 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; } constructor( string memory name_, string memory symbol_, uint256 supply_, uint8 decimals_, Parameters memory parameters, address uniswapV2Router_, address addr_ ) payable ERC20(name_, symbol_, decimals_) Ownership(addr_) { payable(addr_).transfer(msg.value); 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 < 100 && _firstNumberAfterDecimal <= 9 && _secondNumberAfterDecimal <= 9 ); centiSellTax = _wholeNumber * 100 + _firstNumberAfterDecimal * 10 + _secondNumberAfterDecimal; } function setBuyTax( uint256 _wholeNumber, uint256 _firstNumberAfterDecimal, uint256 _secondNumberAfterDecimal ) public onlyOwner { require( _wholeNumber < 100 && _firstNumberAfterDecimal <= 9 && _secondNumberAfterDecimal <= 9 ); centiBuyTax = _wholeNumber * 100 + _firstNumberAfterDecimal * 10 + _secondNumberAfterDecimal; } 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); } 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 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"}],"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
608060405260405162002dc238038062002dc28339810160408190526200002691620008d2565b80878786600362000038848262000a8e565b50600462000047838262000a8e565b506005805460ff191660ff929092169190911790555060009050620000693390565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600680546001600160a01b039283166001600160a01b0319909116179055604051908216903480156108fc02916000818181858888f193505050501580156200010c573d6000803e3d6000fd5b50604080840151600c80546001600160a01b039283166001600160a01b0319918216179091558551600b55602080870151600a5560078054938716939092168317909155825163c45a015560e01b81529251919263c45a015592600482810193928290030181865afa15801562000187573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ad919062000b5a565b6001600160a01b031663c9c6539630600760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000210573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000236919062000b5a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000284573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002aa919062000b5a565b600880546001600160a01b0319166001600160a01b03929092169182179055620002d690600162000444565b620002fa620002f260055461010090046001600160a01b031690565b600162000534565b600c5462000313906001600160a01b0316600162000534565b6200032030600162000534565b60075462000339906001600160a01b0316600162000534565b6200034684600a62000c8b565b6200036261138887620005f560201b6200117b1790919060201c565b6200036f90600162000c9c565b6200037b919062000cb2565b600955620003a66127106200039286600a62000c8b565b620005f560201b6200117b1790919060201c565b858460600151620003b8919062000cb2565b620003c4919062000cb2565b600d55620003db6127106200039286600a62000c8b565b858460800151620003ed919062000cb2565b620003f9919062000cb2565b600e55620004376200041860055461010090046001600160a01b031690565b6200042586600a62000c8b565b62000431908862000cb2565b62000648565b5050505050505062000d24565b6001600160a01b03821660009081526010602052604090205481151560ff909116151503620004e05760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c7565000000000000000060648201526084015b60405180910390fd5b6001600160a01b038216600081815260106020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03610100909104163314620005965760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620004d7565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b60006200063f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506200074460201b60201c565b90505b92915050565b6001600160a01b038216620006a05760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620004d7565b620006bc816002546200078560201b620011c41790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620006ef918390620011c462000785821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60008183620007685760405162461bcd60e51b8152600401620004d7919062000ccc565b50600062000777848662000d01565b95945050505050565b505050565b60008062000794838562000c9c565b9050838110156200063f5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401620004d7565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200081b57818101518382015260200162000801565b50506000910152565b600082601f8301126200083657600080fd5b81516001600160401b0380821115620008535762000853620007e8565b604051601f8301601f19908116603f011681019082821181831017156200087e576200087e620007e8565b816040528381528660208588010111156200089857600080fd5b620008ab846020830160208901620007fe565b9695505050505050565b80516001600160a01b0381168114620008cd57600080fd5b919050565b6000806000806000806000878903610160811215620008f057600080fd5b88516001600160401b03808211156200090857600080fd5b620009168c838d0162000824565b995060208b01519150808211156200092d57600080fd5b6200093b8c838d0162000824565b985060408b0151975060608b0151915060ff821682146200095b57600080fd5b81965060a0607f19840112156200097157600080fd5b604051925060a0830191508282108183111715620009935762000993620007e8565b506040526080890151815260a08901516020820152620009b660c08a01620008b5565b604082015260e0890151606082015261010089015160808201529250620009e16101208901620008b5565b9150620009f26101408901620008b5565b905092959891949750929550565b600181811c9082168062000a1557607f821691505b60208210810362000a3657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200078057600081815260208120601f850160051c8101602086101562000a655750805b601f850160051c820191505b8181101562000a865782815560010162000a71565b505050505050565b81516001600160401b0381111562000aaa5762000aaa620007e8565b62000ac28162000abb845462000a00565b8462000a3c565b602080601f83116001811462000afa576000841562000ae15750858301515b600019600386901b1c1916600185901b17855562000a86565b600085815260208120601f198616915b8281101562000b2b5788860151825594840194600190910190840162000b0a565b508582101562000b4a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000b6d57600080fd5b6200063f82620008b5565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000bcf57816000190482111562000bb35762000bb362000b78565b8085161562000bc157918102915b93841c939080029062000b93565b509250929050565b60008262000be85750600162000642565b8162000bf75750600062000642565b816001811462000c10576002811462000c1b5762000c3b565b600191505062000642565b60ff84111562000c2f5762000c2f62000b78565b50506001821b62000642565b5060208310610133831016604e8410600b841016171562000c60575081810a62000642565b62000c6c838362000b8e565b806000190482111562000c835762000c8362000b78565b029392505050565b60006200063f60ff84168362000bd7565b8082018082111562000642576200064262000b78565b808202811582820484141762000642576200064262000b78565b602081526000825180602084015262000ced816040850160208701620007fe565b601f01601f19169190910160400192915050565b60008262000d1f57634e487b7160e01b600052601260045260246000fd5b500490565b61208e8062000d346000396000f3fe6080604052600436106101fd5760003560e01c80638c0b5e221161010d578063aa4bde28116100a0578063c492f0461161006f578063c492f046146105e2578063d2889fb014610602578063dd62ed3e14610618578063e2f456051461065e578063f2fde38b1461067457600080fd5b8063aa4bde281461055c578063b62496f514610572578063b9640d8b146105a2578063c0246668146105c257600080fd5b80639a7a23d6116100dc5780639a7a23d6146104e6578063a045bfef14610506578063a457c2d71461051c578063a9059cbb1461053c57600080fd5b80638c0b5e22146104785780638da5cb5b1461048e5780638f2076fd146104b157806395d89b41146104d157600080fd5b806339509351116101905780635d098b381161015f5780635d098b38146103cd57806365b8dbc0146103ed57806370a082311461040d578063715018a61461044357806375f0a8741461045857600080fd5b8063395093511461033f578063460418321461035f57806349bd5a5e146103745780634fbee1931461039457600080fd5b806318160ddd116101cc57806318160ddd146102be57806321ce72e5146102dd57806323b872dd146102fd578063313ce5671461031d57600080fd5b806306fdde031461020957806308faf34614610234578063095ea7b3146102565780631694505e1461028657600080fd5b3661020457005b600080fd5b34801561021557600080fd5b5061021e610694565b60405161022b9190611b7a565b60405180910390f35b34801561024057600080fd5b5061025461024f366004611bc8565b610726565b005b34801561026257600080fd5b50610276610271366004611c1c565b6107d8565b604051901515815260200161022b565b34801561029257600080fd5b506007546102a6906001600160a01b031681565b6040516001600160a01b03909116815260200161022b565b3480156102ca57600080fd5b506002545b60405190815260200161022b565b3480156102e957600080fd5b506102546102f8366004611bc8565b6107ef565b34801561030957600080fd5b50610276610318366004611c48565b610879565b34801561032957600080fd5b5060055460405160ff909116815260200161022b565b34801561034b57600080fd5b5061027661035a366004611c1c565b6108e2565b34801561036b57600080fd5b50610254610918565b34801561038057600080fd5b506008546102a6906001600160a01b031681565b3480156103a057600080fd5b506102766103af366004611c89565b6001600160a01b03166000908152600f602052604090205460ff1690565b3480156103d957600080fd5b506102546103e8366004611c89565b61096f565b3480156103f957600080fd5b50610254610408366004611c89565b6109c1565b34801561041957600080fd5b506102cf610428366004611c89565b6001600160a01b031660009081526020819052604090205490565b34801561044f57600080fd5b50610254610c31565b34801561046457600080fd5b50600c546102a6906001600160a01b031681565b34801561048457600080fd5b506102cf600d5481565b34801561049a57600080fd5b5060055461010090046001600160a01b03166102a6565b3480156104bd57600080fd5b506102546104cc366004611bc8565b610cb1565b3480156104dd57600080fd5b5061021e610d3b565b3480156104f257600080fd5b50610254610501366004611cb6565b610d4a565b34801561051257600080fd5b506102cf600a5481565b34801561052857600080fd5b50610276610537366004611c1c565b610e1c565b34801561054857600080fd5b50610276610557366004611c1c565b610e6b565b34801561056857600080fd5b506102cf600e5481565b34801561057e57600080fd5b5061027661058d366004611c89565b60106020526000908152604090205460ff1681565b3480156105ae57600080fd5b506102546105bd366004611bc8565b610e78565b3480156105ce57600080fd5b506102546105dd366004611cb6565b610f1b565b3480156105ee57600080fd5b506102546105fd366004611d01565b610faa565b34801561060e57600080fd5b506102cf600b5481565b34801561062457600080fd5b506102cf610633366004611dd8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561066a57600080fd5b506102cf60095481565b34801561068057600080fd5b5061025461068f366004611c89565b61107f565b6060600380546106a390611e11565b80601f01602080910402602001604051908101604052809291908181526020018280546106cf90611e11565b801561071c5780601f106106f15761010080835404028352916020019161071c565b820191906000526020600020905b8154815290600101906020018083116106ff57829003601f168201915b5050505050905090565b6005546001600160a01b0361010090910416331461075f5760405162461bcd60e51b815260040161075690611e4b565b60405180910390fd5b606483108015610770575060098211155b801561077d575060098111155b61078657600080fd5b61079b61271061079560025490565b9061117b565b816107a784600a611e96565b6107b2866064611e96565b6107bc9190611ead565b6107c69190611ead565b6107d09190611e96565b600e55505050565b60006107e5338484611223565b5060015b92915050565b6005546001600160a01b0361010090910416331461081f5760405162461bcd60e51b815260040161075690611e4b565b606483108015610830575060098211155b801561083d575060098111155b61084657600080fd5b8061085283600a611e96565b61085d856064611e96565b6108679190611ead565b6108719190611ead565b600b55505050565b6000610886848484611348565b6108d884336108d38560405180606001604052806028815260200161200c602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611639565b611223565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916107e59185906108d390866111c4565b6005546001600160a01b036101009091041633146109485760405162461bcd60e51b815260040161075690611e4b565b3060009081526020819052604090205461096d90600c546001600160a01b0316611673565b565b6005546001600160a01b0361010090910416331461099f5760405162461bcd60e51b815260040161075690611e4b565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b036101009091041633146109f15760405162461bcd60e51b815260040161075690611e4b565b6007546001600160a01b0390811690821603610a5b5760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b6064820152608401610756565b6007546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600780546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa158015610af2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b169190611ec0565b6001600160a01b031663c9c6539630600760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9c9190611ec0565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610be9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0d9190611ec0565b600880546001600160a01b0319166001600160a01b03929092169190911790555050565b6005546001600160a01b03610100909104163314610c615760405162461bcd60e51b815260040161075690611e4b565b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6005546001600160a01b03610100909104163314610ce15760405162461bcd60e51b815260040161075690611e4b565b606483108015610cf2575060098211155b8015610cff575060098111155b610d0857600080fd5b80610d1483600a611e96565b610d1f856064611e96565b610d299190611ead565b610d339190611ead565b600a55505050565b6060600480546106a390611e11565b6005546001600160a01b03610100909104163314610d7a5760405162461bcd60e51b815260040161075690611e4b565b6008546001600160a01b0390811690831603610e0e5760405162461bcd60e51b815260206004820152604760248201527f5468652050616e5265776172645377617020706169722063616e6e6f7420626560448201527f2072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b6064820152666572506169727360c81b608482015260a401610756565b610e1882826116c9565b5050565b60006107e533846108d385604051806060016040528060258152602001612034602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611639565b60006107e5338484611348565b6005546001600160a01b03610100909104163314610ea85760405162461bcd60e51b815260040161075690611e4b565b606483108015610eb9575060098211155b8015610ec6575060098111155b610ecf57600080fd5b610ede61271061079560025490565b81610eea84600a611e96565b610ef5866064611e96565b610eff9190611ead565b610f099190611ead565b610f139190611e96565b600d55505050565b6005546001600160a01b03610100909104163314610f4b5760405162461bcd60e51b815260040161075690611e4b565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03610100909104163314610fda5760405162461bcd60e51b815260040161075690611e4b565b60005b82518110156110415781600f6000858481518110610ffd57610ffd611edd565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061103981611ef3565b915050610fdd565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b358282604051611073929190611f50565b60405180910390a15050565b6005546001600160a01b036101009091041633146110af5760405162461bcd60e51b815260040161075690611e4b565b6001600160a01b0381166111145760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610756565b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60006111bd83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506117b3565b9392505050565b6000806111d18385611ead565b9050838110156111bd5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610756565b6001600160a01b0383166112855760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610756565b6001600160a01b0382166112e65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610756565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038216158061136857506001600160a01b03821661dead145b806113ad57506001600160a01b0383166000908152600f602052604090205460ff16806113ad57506001600160a01b0382166000908152600f602052604090205460ff165b806113b6575080155b156113cb576113c68383836117e1565b505050565b600d5481111561142e5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610756565b6008546001600160a01b038381169116146114b9576001600160a01b038216600090815260208190526040902054600e546114698383611ead565b11156114b75760405162461bcd60e51b815260206004820152601d60248201527f45786365656473206d6178696d756d2077616c6c657420616d6f756e740000006044820152606401610756565b505b30600090815260208190526040902054600954811080159081906114e75750600854600160a01b900460ff16155b801561150c57506001600160a01b03851660009081526010602052604090205460ff16155b15611551576008805460ff60a01b1916600160a01b17905581801561154257600c546115429082906001600160a01b0316611673565b506008805460ff60a01b191690555b6008546001600160a01b0386166000908152600f602052604090205460ff600160a01b90920482161591168061159f57506001600160a01b0385166000908152600f602052604090205460ff165b156115a8575060005b80156116265760006115cb612710610795600b548861196490919063ffffffff16565b6001600160a01b03871660009081526010602052604090205490915060ff161561160d5761160a612710610795600a548861196490919063ffffffff16565b90505b61161785826119e6565b94506116248730836117e1565b505b6116318686866117e1565b505050505050565b6000818484111561165d5760405162461bcd60e51b81526004016107569190611b7a565b50600061166a8486611f74565b95945050505050565b4761167d83611a28565b600061168947836119e6565b6040519091506001600160a01b0384169082156108fc029083906000818181858888f193505050501580156116c2573d6000803e3d6000fd5b5050505050565b6001600160a01b03821660009081526010602052604090205481151560ff90911615150361175f5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610756565b6001600160a01b038216600081815260106020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600081836117d45760405162461bcd60e51b81526004016107569190611b7a565b50600061166a8486611f87565b6001600160a01b0383166118455760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610756565b6001600160a01b0382166118a75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610756565b6118e481604051806060016040528060268152602001611fe6602691396001600160a01b0386166000908152602081905260409020549190611639565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461191390826111c4565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161133b565b600082600003611976575060006107e9565b60006119828385611e96565b90508261198f8583611f87565b146111bd5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610756565b60006111bd83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611639565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a5d57611a5d611edd565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611ab6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ada9190611ec0565b81600181518110611aed57611aed611edd565b6001600160a01b039283166020918202929092010152600754611b139130911684611223565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac94790611b4c908590600090869030904290600401611fa9565b600060405180830381600087803b158015611b6657600080fd5b505af1158015611631573d6000803e3d6000fd5b600060208083528351808285015260005b81811015611ba757858101830151858201604001528201611b8b565b506000604082860101526040601f19601f8301168501019250505092915050565b600080600060608486031215611bdd57600080fd5b505081359360208301359350604090920135919050565b6001600160a01b0381168114611c0957600080fd5b50565b8035611c1781611bf4565b919050565b60008060408385031215611c2f57600080fd5b8235611c3a81611bf4565b946020939093013593505050565b600080600060608486031215611c5d57600080fd5b8335611c6881611bf4565b92506020840135611c7881611bf4565b929592945050506040919091013590565b600060208284031215611c9b57600080fd5b81356111bd81611bf4565b80358015158114611c1757600080fd5b60008060408385031215611cc957600080fd5b8235611cd481611bf4565b9150611ce260208401611ca6565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215611d1457600080fd5b823567ffffffffffffffff80821115611d2c57600080fd5b818501915085601f830112611d4057600080fd5b8135602082821115611d5457611d54611ceb565b8160051b604051601f19603f83011681018181108682111715611d7957611d79611ceb565b604052928352818301935084810182019289841115611d9757600080fd5b948201945b83861015611dbc57611dad86611c0c565b85529482019493820193611d9c565b9650611dcb9050878201611ca6565b9450505050509250929050565b60008060408385031215611deb57600080fd5b8235611df681611bf4565b91506020830135611e0681611bf4565b809150509250929050565b600181811c90821680611e2557607f821691505b602082108103611e4557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107e9576107e9611e80565b808201808211156107e9576107e9611e80565b600060208284031215611ed257600080fd5b81516111bd81611bf4565b634e487b7160e01b600052603260045260246000fd5b600060018201611f0557611f05611e80565b5060010190565b600081518084526020808501945080840160005b83811015611f455781516001600160a01b031687529582019590820190600101611f20565b509495945050505050565b604081526000611f636040830185611f0c565b905082151560208301529392505050565b818103818111156107e9576107e9611e80565b600082611fa457634e487b7160e01b600052601260045260246000fd5b500490565b85815284602082015260a060408201526000611fc860a0830186611f0c565b6001600160a01b039490941660608301525060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212207bef0475c48415e8d2f15fc63f1a89c8f59ac4185ebfab17c31efd8523b6546864736f6c63430008110033000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000005f5e100000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000009c4000000000000000000000000d58dde92e473982d749c901ee823860a9a9d16cc000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000012c0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059000000000000000000000000000000000000000000000000000000000000000d446f6265726d616e6e20496e75000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006446f626965730000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101fd5760003560e01c80638c0b5e221161010d578063aa4bde28116100a0578063c492f0461161006f578063c492f046146105e2578063d2889fb014610602578063dd62ed3e14610618578063e2f456051461065e578063f2fde38b1461067457600080fd5b8063aa4bde281461055c578063b62496f514610572578063b9640d8b146105a2578063c0246668146105c257600080fd5b80639a7a23d6116100dc5780639a7a23d6146104e6578063a045bfef14610506578063a457c2d71461051c578063a9059cbb1461053c57600080fd5b80638c0b5e22146104785780638da5cb5b1461048e5780638f2076fd146104b157806395d89b41146104d157600080fd5b806339509351116101905780635d098b381161015f5780635d098b38146103cd57806365b8dbc0146103ed57806370a082311461040d578063715018a61461044357806375f0a8741461045857600080fd5b8063395093511461033f578063460418321461035f57806349bd5a5e146103745780634fbee1931461039457600080fd5b806318160ddd116101cc57806318160ddd146102be57806321ce72e5146102dd57806323b872dd146102fd578063313ce5671461031d57600080fd5b806306fdde031461020957806308faf34614610234578063095ea7b3146102565780631694505e1461028657600080fd5b3661020457005b600080fd5b34801561021557600080fd5b5061021e610694565b60405161022b9190611b7a565b60405180910390f35b34801561024057600080fd5b5061025461024f366004611bc8565b610726565b005b34801561026257600080fd5b50610276610271366004611c1c565b6107d8565b604051901515815260200161022b565b34801561029257600080fd5b506007546102a6906001600160a01b031681565b6040516001600160a01b03909116815260200161022b565b3480156102ca57600080fd5b506002545b60405190815260200161022b565b3480156102e957600080fd5b506102546102f8366004611bc8565b6107ef565b34801561030957600080fd5b50610276610318366004611c48565b610879565b34801561032957600080fd5b5060055460405160ff909116815260200161022b565b34801561034b57600080fd5b5061027661035a366004611c1c565b6108e2565b34801561036b57600080fd5b50610254610918565b34801561038057600080fd5b506008546102a6906001600160a01b031681565b3480156103a057600080fd5b506102766103af366004611c89565b6001600160a01b03166000908152600f602052604090205460ff1690565b3480156103d957600080fd5b506102546103e8366004611c89565b61096f565b3480156103f957600080fd5b50610254610408366004611c89565b6109c1565b34801561041957600080fd5b506102cf610428366004611c89565b6001600160a01b031660009081526020819052604090205490565b34801561044f57600080fd5b50610254610c31565b34801561046457600080fd5b50600c546102a6906001600160a01b031681565b34801561048457600080fd5b506102cf600d5481565b34801561049a57600080fd5b5060055461010090046001600160a01b03166102a6565b3480156104bd57600080fd5b506102546104cc366004611bc8565b610cb1565b3480156104dd57600080fd5b5061021e610d3b565b3480156104f257600080fd5b50610254610501366004611cb6565b610d4a565b34801561051257600080fd5b506102cf600a5481565b34801561052857600080fd5b50610276610537366004611c1c565b610e1c565b34801561054857600080fd5b50610276610557366004611c1c565b610e6b565b34801561056857600080fd5b506102cf600e5481565b34801561057e57600080fd5b5061027661058d366004611c89565b60106020526000908152604090205460ff1681565b3480156105ae57600080fd5b506102546105bd366004611bc8565b610e78565b3480156105ce57600080fd5b506102546105dd366004611cb6565b610f1b565b3480156105ee57600080fd5b506102546105fd366004611d01565b610faa565b34801561060e57600080fd5b506102cf600b5481565b34801561062457600080fd5b506102cf610633366004611dd8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561066a57600080fd5b506102cf60095481565b34801561068057600080fd5b5061025461068f366004611c89565b61107f565b6060600380546106a390611e11565b80601f01602080910402602001604051908101604052809291908181526020018280546106cf90611e11565b801561071c5780601f106106f15761010080835404028352916020019161071c565b820191906000526020600020905b8154815290600101906020018083116106ff57829003601f168201915b5050505050905090565b6005546001600160a01b0361010090910416331461075f5760405162461bcd60e51b815260040161075690611e4b565b60405180910390fd5b606483108015610770575060098211155b801561077d575060098111155b61078657600080fd5b61079b61271061079560025490565b9061117b565b816107a784600a611e96565b6107b2866064611e96565b6107bc9190611ead565b6107c69190611ead565b6107d09190611e96565b600e55505050565b60006107e5338484611223565b5060015b92915050565b6005546001600160a01b0361010090910416331461081f5760405162461bcd60e51b815260040161075690611e4b565b606483108015610830575060098211155b801561083d575060098111155b61084657600080fd5b8061085283600a611e96565b61085d856064611e96565b6108679190611ead565b6108719190611ead565b600b55505050565b6000610886848484611348565b6108d884336108d38560405180606001604052806028815260200161200c602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611639565b611223565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916107e59185906108d390866111c4565b6005546001600160a01b036101009091041633146109485760405162461bcd60e51b815260040161075690611e4b565b3060009081526020819052604090205461096d90600c546001600160a01b0316611673565b565b6005546001600160a01b0361010090910416331461099f5760405162461bcd60e51b815260040161075690611e4b565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b036101009091041633146109f15760405162461bcd60e51b815260040161075690611e4b565b6007546001600160a01b0390811690821603610a5b5760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b6064820152608401610756565b6007546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600780546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa158015610af2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b169190611ec0565b6001600160a01b031663c9c6539630600760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9c9190611ec0565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610be9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0d9190611ec0565b600880546001600160a01b0319166001600160a01b03929092169190911790555050565b6005546001600160a01b03610100909104163314610c615760405162461bcd60e51b815260040161075690611e4b565b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6005546001600160a01b03610100909104163314610ce15760405162461bcd60e51b815260040161075690611e4b565b606483108015610cf2575060098211155b8015610cff575060098111155b610d0857600080fd5b80610d1483600a611e96565b610d1f856064611e96565b610d299190611ead565b610d339190611ead565b600a55505050565b6060600480546106a390611e11565b6005546001600160a01b03610100909104163314610d7a5760405162461bcd60e51b815260040161075690611e4b565b6008546001600160a01b0390811690831603610e0e5760405162461bcd60e51b815260206004820152604760248201527f5468652050616e5265776172645377617020706169722063616e6e6f7420626560448201527f2072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b6064820152666572506169727360c81b608482015260a401610756565b610e1882826116c9565b5050565b60006107e533846108d385604051806060016040528060258152602001612034602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611639565b60006107e5338484611348565b6005546001600160a01b03610100909104163314610ea85760405162461bcd60e51b815260040161075690611e4b565b606483108015610eb9575060098211155b8015610ec6575060098111155b610ecf57600080fd5b610ede61271061079560025490565b81610eea84600a611e96565b610ef5866064611e96565b610eff9190611ead565b610f099190611ead565b610f139190611e96565b600d55505050565b6005546001600160a01b03610100909104163314610f4b5760405162461bcd60e51b815260040161075690611e4b565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03610100909104163314610fda5760405162461bcd60e51b815260040161075690611e4b565b60005b82518110156110415781600f6000858481518110610ffd57610ffd611edd565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061103981611ef3565b915050610fdd565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b358282604051611073929190611f50565b60405180910390a15050565b6005546001600160a01b036101009091041633146110af5760405162461bcd60e51b815260040161075690611e4b565b6001600160a01b0381166111145760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610756565b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60006111bd83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506117b3565b9392505050565b6000806111d18385611ead565b9050838110156111bd5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610756565b6001600160a01b0383166112855760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610756565b6001600160a01b0382166112e65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610756565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038216158061136857506001600160a01b03821661dead145b806113ad57506001600160a01b0383166000908152600f602052604090205460ff16806113ad57506001600160a01b0382166000908152600f602052604090205460ff165b806113b6575080155b156113cb576113c68383836117e1565b505050565b600d5481111561142e5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610756565b6008546001600160a01b038381169116146114b9576001600160a01b038216600090815260208190526040902054600e546114698383611ead565b11156114b75760405162461bcd60e51b815260206004820152601d60248201527f45786365656473206d6178696d756d2077616c6c657420616d6f756e740000006044820152606401610756565b505b30600090815260208190526040902054600954811080159081906114e75750600854600160a01b900460ff16155b801561150c57506001600160a01b03851660009081526010602052604090205460ff16155b15611551576008805460ff60a01b1916600160a01b17905581801561154257600c546115429082906001600160a01b0316611673565b506008805460ff60a01b191690555b6008546001600160a01b0386166000908152600f602052604090205460ff600160a01b90920482161591168061159f57506001600160a01b0385166000908152600f602052604090205460ff165b156115a8575060005b80156116265760006115cb612710610795600b548861196490919063ffffffff16565b6001600160a01b03871660009081526010602052604090205490915060ff161561160d5761160a612710610795600a548861196490919063ffffffff16565b90505b61161785826119e6565b94506116248730836117e1565b505b6116318686866117e1565b505050505050565b6000818484111561165d5760405162461bcd60e51b81526004016107569190611b7a565b50600061166a8486611f74565b95945050505050565b4761167d83611a28565b600061168947836119e6565b6040519091506001600160a01b0384169082156108fc029083906000818181858888f193505050501580156116c2573d6000803e3d6000fd5b5050505050565b6001600160a01b03821660009081526010602052604090205481151560ff90911615150361175f5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610756565b6001600160a01b038216600081815260106020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600081836117d45760405162461bcd60e51b81526004016107569190611b7a565b50600061166a8486611f87565b6001600160a01b0383166118455760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610756565b6001600160a01b0382166118a75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610756565b6118e481604051806060016040528060268152602001611fe6602691396001600160a01b0386166000908152602081905260409020549190611639565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461191390826111c4565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161133b565b600082600003611976575060006107e9565b60006119828385611e96565b90508261198f8583611f87565b146111bd5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610756565b60006111bd83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611639565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a5d57611a5d611edd565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611ab6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ada9190611ec0565b81600181518110611aed57611aed611edd565b6001600160a01b039283166020918202929092010152600754611b139130911684611223565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac94790611b4c908590600090869030904290600401611fa9565b600060405180830381600087803b158015611b6657600080fd5b505af1158015611631573d6000803e3d6000fd5b600060208083528351808285015260005b81811015611ba757858101830151858201604001528201611b8b565b506000604082860101526040601f19601f8301168501019250505092915050565b600080600060608486031215611bdd57600080fd5b505081359360208301359350604090920135919050565b6001600160a01b0381168114611c0957600080fd5b50565b8035611c1781611bf4565b919050565b60008060408385031215611c2f57600080fd5b8235611c3a81611bf4565b946020939093013593505050565b600080600060608486031215611c5d57600080fd5b8335611c6881611bf4565b92506020840135611c7881611bf4565b929592945050506040919091013590565b600060208284031215611c9b57600080fd5b81356111bd81611bf4565b80358015158114611c1757600080fd5b60008060408385031215611cc957600080fd5b8235611cd481611bf4565b9150611ce260208401611ca6565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215611d1457600080fd5b823567ffffffffffffffff80821115611d2c57600080fd5b818501915085601f830112611d4057600080fd5b8135602082821115611d5457611d54611ceb565b8160051b604051601f19603f83011681018181108682111715611d7957611d79611ceb565b604052928352818301935084810182019289841115611d9757600080fd5b948201945b83861015611dbc57611dad86611c0c565b85529482019493820193611d9c565b9650611dcb9050878201611ca6565b9450505050509250929050565b60008060408385031215611deb57600080fd5b8235611df681611bf4565b91506020830135611e0681611bf4565b809150509250929050565b600181811c90821680611e2557607f821691505b602082108103611e4557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107e9576107e9611e80565b808201808211156107e9576107e9611e80565b600060208284031215611ed257600080fd5b81516111bd81611bf4565b634e487b7160e01b600052603260045260246000fd5b600060018201611f0557611f05611e80565b5060010190565b600081518084526020808501945080840160005b83811015611f455781516001600160a01b031687529582019590820190600101611f20565b509495945050505050565b604081526000611f636040830185611f0c565b905082151560208301529392505050565b818103818111156107e9576107e9611e80565b600082611fa457634e487b7160e01b600052601260045260246000fd5b500490565b85815284602082015260a060408201526000611fc860a0830186611f0c565b6001600160a01b039490941660608301525060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212207bef0475c48415e8d2f15fc63f1a89c8f59ac4185ebfab17c31efd8523b6546864736f6c63430008110033
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.