ETH Price: $2,489.37 (-1.13%)

Token

King Of Shiba (KOS)
 

Overview

Max Total Supply

100,000,000,000 KOS

Holders

79

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
9,903,982.109557321962598108 KOS

Value
$0.00
0xf9e6e1ff964aeae621eea7a9737c31e176406dab
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
KingOfShiba

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-02-25
*/

// SPDX-License-Identifier: MIT


  pragma solidity ^0.8.9;
  
  /**
   * @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 Provides information about the current execution context, including the
   * sender of the transaction and its data. While these are generally available
   * via msg.sender and msg.data, they should not be accessed in such a direct
   * manner, since when dealing with meta-transactions the account sending and
   * paying for execution may not be the actual sender (as far as an application
   * is concerned).
   *
   * This contract is only required for intermediate, library-like contracts.
   */
  abstract contract Context {
      function _msgSender() internal view virtual returns (address) {
          return msg.sender;
      }
  
      function _msgData() internal view virtual returns (bytes calldata) {
          return msg.data;
      }
  }
  
  /**
   * @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 {
      mapping(address => uint256) private _balances;
  
      mapping(address => mapping(address => uint256)) private _allowances;
  
      uint256 private _totalSupply;
  
      string private _name;
      string private _symbol;
  
      /**
       * @dev Sets the values for {name} and {symbol}.
       *
       * The default value of {decimals} is 18. To select a different value for
       * {decimals} you should overload it.
       *
       * All two of these values are immutable: they can only be set once during
       * construction.
       */
      constructor(string memory name_, string memory symbol_) {
          _name = name_;
          _symbol = symbol_;
      }
  
      /**
       * @dev Returns the name of the token.
       */
      function name() public view virtual override returns (string memory) {
          return _name;
      }
  
      /**
       * @dev Returns the symbol of the token, usually a shorter version of the
       * name.
       */
      function symbol() public view virtual override returns (string memory) {
          return _symbol;
      }
  
      /**
       * @dev Returns the number of decimals used to get its user representation.
       * For example, if 'decimals' equals '2', a balance of '505' tokens should
       * be displayed to a user as '5,05' ('505 / 10 ** 2').
       *
       * Tokens usually opt for a value of 18, imitating the relationship between
       * Ether and Wei. This is the value {ERC20} uses, unless this function is
       * overridden;
       *
       * NOTE: This information is only used for _display_ purposes: it in
       * no way affects any of the arithmetic of the contract, including
       * {IERC20-balanceOf} and {IERC20-transfer}.
       */
      function decimals() public view virtual override returns (uint8) {
          return 18;
      }
  
      /**
       * @dev See {IERC20-totalSupply}.
       */
      function totalSupply() public view virtual override returns (uint256) {
          return _totalSupply;
      }
  
      /**
       * @dev See {IERC20-balanceOf}.
       */
      function balanceOf(address account) public view virtual override returns (uint256) {
          return _balances[account];
      }
  
      /**
       * @dev See {IERC20-transfer}.
       *
       * Requirements:
       *
       * - 'recipient' cannot be the zero address.
       * - the caller must have a balance of at least 'amount'.
       */
      function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
          _transfer(_msgSender(), recipient, amount);
          return true;
      }
  
      /**
       * @dev See {IERC20-allowance}.
       */
      function allowance(address owner, address spender) public view virtual override returns (uint256) {
          return _allowances[owner][spender];
      }
  
      /**
       * @dev See {IERC20-approve}.
       *
       * Requirements:
       *
       * - 'spender' cannot be the zero address.
       */
      function approve(address spender, uint256 amount) public virtual override returns (bool) {
          _approve(_msgSender(), spender, amount);
          return true;
      }
  
      /**
       * @dev See {IERC20-transferFrom}.
       *
       * Emits an {Approval} event indicating the updated allowance. This is not
       * required by the EIP. See the note at the beginning of {ERC20}.
       *
       * Requirements:
       *
       * - 'sender' and 'recipient' cannot be the zero address.
       * - 'sender' must have a balance of at least 'amount'.
       * - the caller must have allowance for ''sender'''s tokens of at least
       * 'amount'.
       */
      function transferFrom(
          address sender,
          address recipient,
          uint256 amount
      ) public virtual override returns (bool) {
          _transfer(sender, recipient, amount);
  
          uint256 currentAllowance = _allowances[sender][_msgSender()];
          require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
          unchecked {
              _approve(sender, _msgSender(), currentAllowance - amount);
          }
  
          return true;
      }
  
      /**
       * @dev Atomically increases the allowance granted to 'spender' by the caller.
       *
       * This is an alternative to {approve} that can be used as a mitigation for
       * problems described in {IERC20-approve}.
       *
       * Emits an {Approval} event indicating the updated allowance.
       *
       * Requirements:
       *
       * - 'spender' cannot be the zero address.
       */
      function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
          _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
          return true;
      }
  
      /**
       * @dev Atomically decreases the allowance granted to 'spender' by the caller.
       *
       * This is an alternative to {approve} that can be used as a mitigation for
       * problems described in {IERC20-approve}.
       *
       * Emits an {Approval} event indicating the updated allowance.
       *
       * Requirements:
       *
       * - 'spender' cannot be the zero address.
       * - 'spender' must have allowance for the caller of at least
       * 'subtractedValue'.
       */
      function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
          uint256 currentAllowance = _allowances[_msgSender()][spender];
          require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
          unchecked {
              _approve(_msgSender(), spender, currentAllowance - subtractedValue);
          }
  
          return true;
      }
  
      /**
       * @dev Moves 'amount' of tokens from 'sender' to 'recipient'.
       *
       * This internal function is equivalent to {transfer}, and can be used to
       * e.g. implement automatic token fees, slashing mechanisms, etc.
       *
       * Emits a {Transfer} event.
       *
       * Requirements:
       *
       * - 'sender' cannot be the zero address.
       * - 'recipient' cannot be the zero address.
       * - 'sender' must have a balance of at least 'amount'.
       */
      function _transfer(
          address sender,
          address recipient,
          uint256 amount
      ) internal virtual {
          require(sender != address(0), "ERC20: transfer from the zero address");
          require(recipient != address(0), "ERC20: transfer to the zero address");
  
          _beforeTokenTransfer(sender, recipient, amount);
  
          uint256 senderBalance = _balances[sender];
          require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
          unchecked {
              _balances[sender] = senderBalance - amount;
          }
          _balances[recipient] += amount;
  
          emit Transfer(sender, recipient, amount);
  
          _afterTokenTransfer(sender, recipient, amount);
      }
  
      /** @dev Creates 'amount' tokens and assigns them to 'account', increasing
       * the total supply.
       *
       * Emits a {Transfer} event with 'from' set to the zero address.
       *
       * Requirements:
       *
       * - 'account' cannot be the zero address.
       */
      function _mint(address account, uint256 amount) internal virtual {
          require(account != address(0), "ERC20: mint to the zero address");
  
          _beforeTokenTransfer(address(0), account, amount);
  
          _totalSupply += amount;
          _balances[account] += amount;
          emit Transfer(address(0), account, amount);
  
          _afterTokenTransfer(address(0), account, amount);
      }
  
      /**
       * @dev Destroys 'amount' tokens from 'account', reducing the
       * total supply.
       *
       * Emits a {Transfer} event with 'to' set to the zero address.
       *
       * Requirements:
       *
       * - 'account' cannot be the zero address.
       * - 'account' must have at least 'amount' tokens.
       */
      function _burn(address account, uint256 amount) internal virtual {
          require(account != address(0), "ERC20: burn from the zero address");
  
          _beforeTokenTransfer(account, address(0), amount);
  
          uint256 accountBalance = _balances[account];
          require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
          unchecked {
              _balances[account] = accountBalance - amount;
          }
          _totalSupply -= amount;
  
          emit Transfer(account, address(0), amount);
  
          _afterTokenTransfer(account, address(0), amount);
      }
  
      /**
       * @dev Sets 'amount' as the allowance of 'spender' over the 'owner' s tokens.
       *
       * This internal function is equivalent to 'approve', and can be used to
       * e.g. set automatic allowances for certain subsystems, etc.
       *
       * Emits an {Approval} event.
       *
       * Requirements:
       *
       * - 'owner' cannot be the zero address.
       * - 'spender' cannot be the zero address.
       */
      function _approve(
          address owner,
          address spender,
          uint256 amount
      ) internal virtual {
          require(owner != address(0), "ERC20: approve from the zero address");
          require(spender != address(0), "ERC20: approve to the zero address");
  
          _allowances[owner][spender] = amount;
          emit Approval(owner, spender, amount);
      }
  
      /**
       * @dev Hook that is called before any transfer of tokens. This includes
       * minting and burning.
       *
       * Calling conditions:
       *
       * - when 'from' and 'to' are both non-zero, 'amount' of ''from'''s tokens
       * will be transferred to 'to'.
       * - when 'from' is zero, 'amount' tokens will be minted for 'to'.
       * - when 'to' is zero, 'amount' of ''from'''s tokens will be burned.
       * - 'from' and 'to' are never both zero.
       *
       * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
       */
      function _beforeTokenTransfer(
          address from,
          address to,
          uint256 amount
      ) internal virtual {}
  
      /**
       * @dev Hook that is called after any transfer of tokens. This includes
       * minting and burning.
       *
       * Calling conditions:
       *
       * - when 'from' and 'to' are both non-zero, 'amount' of ''from'''s tokens
       * has been transferred to 'to'.
       * - when 'from' is zero, 'amount' tokens have been minted for 'to'.
       * - when 'to' is zero, 'amount' of ''from'''s tokens have been burned.
       * - 'from' and 'to' are never both zero.
       *
       * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
       */
      function _afterTokenTransfer(
          address from,
          address to,
          uint256 amount
      ) internal virtual {}
  }
  
  /**
   * @dev Contract module which provides a basic access control mechanism, where
   * there is an account (an owner) that can be granted exclusive access to
   * specific functions.
   *
   * By default, the owner account will be the one that deploys the contract. This
   * can later be changed with {transferOwnership}.
   *
   * This module is used through inheritance. It will make available the modifier
   * 'onlyOwner', which can be applied to your functions to restrict their use to
   * the owner.
   */
  abstract contract Ownable is Context {
      address private _owner;
  
      event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
  
      /**
       * @dev Initializes the contract setting the deployer as the initial owner.
       */
      constructor() {
      }
  
      /**
       * @dev Returns the address of the current owner.
       */
      function owner() public view virtual returns (address) {
          return _owner;
      }
  
      /**
       * @dev Throws if called by any account other than the owner.
       */
      modifier onlyOwner() {
          require(owner() == _msgSender(), "Ownable: caller is not the owner");
          _;
      }
  
      /**
       * @dev Leaves the contract without owner. It will not be possible to call
       * 'onlyOwner' functions anymore. Can only be called by the current owner.
       *
       * NOTE: Renouncing ownership will leave the contract without an owner,
       * thereby removing any functionality that is only available to the owner.
       */
      function renounceOwnership() public virtual onlyOwner {
          _setOwner(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");
          _setOwner(newOwner);
      }
  
      function _setOwner(address newOwner) internal {
          address oldOwner = _owner;
          _owner = newOwner;
          emit OwnershipTransferred(oldOwner, newOwner);
      }
  }
  
  /**
   * @dev Contract module which allows children to implement an emergency stop
   * mechanism that can be triggered by an authorized account.
   *
   * This module is used through inheritance. It will make available the
   * modifiers 'whenNotPaused' and 'whenPaused', which can be applied to
   * the functions of your contract. Note that they will not be pausable by
   * simply including this module, only once the modifiers are put in place.
   */
  abstract contract Pausable is Context {
      /**
       * @dev Emitted when the pause is triggered by 'account'.
       */
      event Paused(address account);
  
      /**
       * @dev Emitted when the pause is lifted by 'account'.
       */
      event Unpaused(address account);
  
      bool private _paused;
  
      /**
       * @dev Initializes the contract in unpaused state.
       */
      constructor() {
          _paused = false;
      }
  
      /**
       * @dev Returns true if the contract is paused, and false otherwise.
       */
      function paused() public view virtual returns (bool) {
          return _paused;
      }
  
      /**
       * @dev Modifier to make a function callable only when the contract is not paused.
       *
       * Requirements:
       *
       * - The contract must not be paused.
       */
      modifier whenNotPaused() {
          require(!paused(), "Pausable: paused");
          _;
      }
  
      /**
       * @dev Modifier to make a function callable only when the contract is paused.
       *
       * Requirements:
       *
       * - The contract must be paused.
       */
      modifier whenPaused() {
          require(paused(), "Pausable: not paused");
          _;
      }
  
      /**
       * @dev Triggers stopped state.
       *
       * Requirements:
       *
       * - The contract must not be paused.
       */
      function _pause() internal virtual whenNotPaused {
          _paused = true;
          emit Paused(_msgSender());
      }
  
      /**
       * @dev Returns to normal state.
       *
       * Requirements:
       *
       * - The contract must be paused.
       */
      function _unpause() internal virtual whenPaused {
          _paused = false;
          emit Unpaused(_msgSender());
      }
  }
  
  interface IUniswapV2Pair {
      event Approval(address indexed owner, address indexed spender, uint value);
      event Transfer(address indexed from, address indexed to, uint value);
  
      function name() external pure returns (string memory);
      function symbol() external pure returns (string memory);
      function decimals() external pure returns (uint8);
      function totalSupply() external view returns (uint);
      function balanceOf(address owner) external view returns (uint);
      function allowance(address owner, address spender) external view returns (uint);
  
      function approve(address spender, uint value) external returns (bool);
      function transfer(address to, uint value) external returns (bool);
      function transferFrom(address from, address to, uint value) external returns (bool);
  
      function DOMAIN_SEPARATOR() external view returns (bytes32);
      function PERMIT_TYPEHASH() external pure returns (bytes32);
      function nonces(address owner) external view returns (uint);
  
      function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
  
      event Mint(address indexed sender, uint amount0, uint amount1);
      event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
      event Swap(
          address indexed sender,
          uint amount0In,
          uint amount1In,
          uint amount0Out,
          uint amount1Out,
          address indexed to
      );
      event Sync(uint112 reserve0, uint112 reserve1);
  
      function MINIMUM_LIQUIDITY() external pure returns (uint);
      function factory() external view returns (address);
      function token0() external view returns (address);
      function token1() external view returns (address);
      function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
      function price0CumulativeLast() external view returns (uint);
      function price1CumulativeLast() external view returns (uint);
      function kLast() external view returns (uint);
  
      function mint(address to) external returns (uint liquidity);
      function burn(address to) external returns (uint amount0, uint amount1);
      function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
      function skim(address to) external;
      function sync() external;
  
      function initialize(address, address) external;
  }
  
  interface IUniswapV2Factory {
      event PairCreated(address indexed token0, address indexed token1, address pair, uint);
  
      function feeTo() external view returns (address);
      function feeToSetter() external view returns (address);
  
      function getPair(address tokenA, address tokenB) external view returns (address pair);
      function allPairs(uint) external view returns (address pair);
      function allPairsLength() external view returns (uint);
  
      function createPair(address tokenA, address tokenB) external returns (address pair);
  
      function setFeeTo(address) external;
      function setFeeToSetter(address) external;
  }
  
  interface IUniswapV2Router01 {
      function factory() external pure returns (address);
      function WETH() external pure returns (address);
  
      function addLiquidity(
          address tokenA,
          address tokenB,
          uint amountADesired,
          uint amountBDesired,
          uint amountAMin,
          uint amountBMin,
          address to,
          uint deadline
      ) external returns (uint amountA, uint amountB, uint liquidity);
      function addLiquidityETH(
          address token,
          uint amountTokenDesired,
          uint amountTokenMin,
          uint amountETHMin,
          address to,
          uint deadline
      ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
      function removeLiquidity(
          address tokenA,
          address tokenB,
          uint liquidity,
          uint amountAMin,
          uint amountBMin,
          address to,
          uint deadline
      ) external returns (uint amountA, uint amountB);
      function removeLiquidityETH(
          address token,
          uint liquidity,
          uint amountTokenMin,
          uint amountETHMin,
          address to,
          uint deadline
      ) external returns (uint amountToken, uint amountETH);
      function removeLiquidityWithPermit(
          address tokenA,
          address tokenB,
          uint liquidity,
          uint amountAMin,
          uint amountBMin,
          address to,
          uint deadline,
          bool approveMax, uint8 v, bytes32 r, bytes32 s
      ) external returns (uint amountA, uint amountB);
      function removeLiquidityETHWithPermit(
          address token,
          uint liquidity,
          uint amountTokenMin,
          uint amountETHMin,
          address to,
          uint deadline,
          bool approveMax, uint8 v, bytes32 r, bytes32 s
      ) external returns (uint amountToken, uint amountETH);
      function swapExactTokensForTokens(
          uint amountIn,
          uint amountOutMin,
          address[] calldata path,
          address to,
          uint deadline
      ) external returns (uint[] memory amounts);
      function swapTokensForExactTokens(
          uint amountOut,
          uint amountInMax,
          address[] calldata path,
          address to,
          uint deadline
      ) external returns (uint[] memory amounts);
      function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
          external
          payable
          returns (uint[] memory amounts);
      function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
          external
          returns (uint[] memory amounts);
      function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
          external
          returns (uint[] memory amounts);
      function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
          external
          payable
          returns (uint[] memory amounts);
  
      function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
      function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
      function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
      function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
      function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
  }
  
  interface IUniswapV2Router02 is IUniswapV2Router01 {
      function removeLiquidityETHSupportingFeeOnTransferTokens(
          address token,
          uint liquidity,
          uint amountTokenMin,
          uint amountETHMin,
          address to,
          uint deadline
      ) external returns (uint amountETH);
      function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
          address token,
          uint liquidity,
          uint amountTokenMin,
          uint amountETHMin,
          address to,
          uint deadline,
          bool approveMax, uint8 v, bytes32 r, bytes32 s
      ) external returns (uint amountETH);
  
      function swapExactTokensForTokensSupportingFeeOnTransferTokens(
          uint amountIn,
          uint amountOutMin,
          address[] calldata path,
          address to,
          uint deadline
      ) external;
      function swapExactETHForTokensSupportingFeeOnTransferTokens(
          uint amountOutMin,
          address[] calldata path,
          address to,
          uint deadline
      ) external payable;
      function swapExactTokensForETHSupportingFeeOnTransferTokens(
          uint amountIn,
          uint amountOutMin,
          address[] calldata path,
          address to,
          uint deadline
      ) external;
  }
  
  contract KingOfShiba is ERC20, Ownable, Pausable {
  
      // CONFIG START
      
      uint256 private initialSupply;
     
      uint256 private denominator = 100;
  
      uint256 private swapThreshold = 0.0000005 ether; // The contract will only swap to ETH, once the fee tokens reach the specified threshold
      
      uint256 private devTaxBuy;
      uint256 private marketingTaxBuy;
      uint256 private liquidityTaxBuy;
      uint256 private charityTaxBuy;
      
      uint256 private devTaxSell;
      uint256 private marketingTaxSell;
      uint256 private liquidityTaxSell;
      uint256 private charityTaxSell;
      
      address private devTaxWallet;
      address private marketingTaxWallet;
      address private liquidityTaxWallet;
      address private charityTaxWallet;
      
      // CONFIG END
    
    
      uint256 public Optimization = 7312006081337602839229464586;
      mapping (address => bool) private excludeList;
      
      mapping (string => uint256) private buyTaxes;
      mapping (string => uint256) private sellTaxes;
      mapping (string => address) private taxWallets;
      
      bool public taxStatus = true;
      
      IUniswapV2Router02 private uniswapV2Router02;
      IUniswapV2Factory private uniswapV2Factory;
      IUniswapV2Pair private uniswapV2Pair;
      
      constructor(string memory _tokenName,string memory _tokenSymbol,uint256 _supply,address[6] memory _addr,uint256[8] memory _value) ERC20(_tokenName, _tokenSymbol) payable
      {
          initialSupply =_supply * (10**18);
          _setOwner(_addr[5]);
          uniswapV2Router02 = IUniswapV2Router02(_addr[1]);
          uniswapV2Factory = IUniswapV2Factory(uniswapV2Router02.factory());
          uniswapV2Pair = IUniswapV2Pair(uniswapV2Factory.createPair(address(this), uniswapV2Router02.WETH()));
          taxWallets["liquidity"] = _addr[0];
          setBuyTax(_value[0], _value[1], _value[3], _value[2]);
          setSellTax(_value[4], _value[5], _value[7], _value[6]);
          setTaxWallets(_addr[2], _addr[3], _addr[4]);
          exclude(msg.sender);
          exclude(address(this));
          payable(_addr[0]).transfer(msg.value);
          _mint(msg.sender, initialSupply);
      }
      
      uint256 private marketingTokens;
      uint256 private devTokens;
      uint256 private liquidityTokens;
      uint256 private charityTokens;
      
      /**
       * @dev Calculates the tax, transfer it to the contract. If the user is selling, and the swap threshold is met, it executes the tax.
       */
      function handleTax(address from, address to, uint256 amount) private returns (uint256) {
          address[] memory sellPath = new address[](2);
          sellPath[0] = address(this);
          sellPath[1] = uniswapV2Router02.WETH();
          
          if(!isExcluded(from) && !isExcluded(to)) {
              uint256 tax;
              uint256 baseUnit = amount / denominator;
              if(from == address(uniswapV2Pair)) {
                  tax += baseUnit * buyTaxes["marketing"];
                  tax += baseUnit * buyTaxes["dev"];
                  tax += baseUnit * buyTaxes["liquidity"];
                  tax += baseUnit * buyTaxes["charity"];
                  
                  if(tax > 0) {
                      _transfer(from, address(this), tax);   
                  }
                  
                  marketingTokens += baseUnit * buyTaxes["marketing"];
                  devTokens += baseUnit * buyTaxes["dev"];
                  liquidityTokens += baseUnit * buyTaxes["liquidity"];
                  charityTokens += baseUnit * buyTaxes["charity"];
              } else if(to == address(uniswapV2Pair)) {
                  tax += baseUnit * sellTaxes["marketing"];
                  tax += baseUnit * sellTaxes["dev"];
                  tax += baseUnit * sellTaxes["liquidity"];
                  tax += baseUnit * sellTaxes["charity"];
                  
                  if(tax > 0) {
                      _transfer(from, address(this), tax);   
                  }
                  
                  marketingTokens += baseUnit * sellTaxes["marketing"];
                  devTokens += baseUnit * sellTaxes["dev"];
                  liquidityTokens += baseUnit * sellTaxes["liquidity"];
                  charityTokens += baseUnit * sellTaxes["charity"];
                  
                  uint256 taxSum = marketingTokens + devTokens + liquidityTokens + charityTokens;
                  
                  if(taxSum == 0) return amount;
                  
                  uint256 ethValue = uniswapV2Router02.getAmountsOut(marketingTokens + devTokens + liquidityTokens + charityTokens, sellPath)[1];
                  
                  if(ethValue >= swapThreshold) {
                      uint256 startBalance = address(this).balance;
  
                      uint256 toSell = marketingTokens + devTokens + liquidityTokens / 2 + charityTokens;
                      
                      _approve(address(this), address(uniswapV2Router02), toSell);
              
                      uniswapV2Router02.swapExactTokensForETH(
                          toSell,
                          0,
                          sellPath,
                          address(this),
                          block.timestamp
                      );
                      
                      uint256 ethGained = address(this).balance - startBalance;
                      
                      uint256 liquidityToken = liquidityTokens / 2;
                      uint256 liquidityETH = (ethGained * ((liquidityTokens / 2 * 10**18) / taxSum)) / 10**18;
                      
                      uint256 marketingETH = (ethGained * ((marketingTokens * 10**18) / taxSum)) / 10**18;
                      uint256 devETH = (ethGained * ((devTokens * 10**18) / taxSum)) / 10**18;
                      uint256 charityETH = (ethGained * ((charityTokens * 10**18) / taxSum)) / 10**18;
                      
                      _approve(address(this), address(uniswapV2Router02), liquidityToken);
                      
                      (uint amountToken, uint amountETH, uint liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(
                          address(this),
                          liquidityToken,
                          0,
                          0,
                          taxWallets["liquidity"],
                          block.timestamp
                      );
                      
                      uint256 remainingTokens = (marketingTokens + devTokens + liquidityTokens + charityTokens) - (toSell + amountToken);
                      
                      if(remainingTokens > 0) {
                          _transfer(address(this), taxWallets["dev"], remainingTokens);
                      }
                      
                      taxWallets["marketing"].call{value: marketingETH}("");
                      taxWallets["dev"].call{value: devETH}("");
                      taxWallets["charity"].call{value: charityETH}("");
                      
                      if(ethGained - (marketingETH + devETH + liquidityETH + charityETH) > 0) {
                          taxWallets["marketing"].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}("");
                      }
                      
                      marketingTokens = 0;
                      devTokens = 0;
                      liquidityTokens = 0;
                      charityTokens = 0;
                  }
                  
              }
              
              amount -= tax;
          }
          
          return amount;
      }
      
      function _transfer(
          address sender,
          address recipient,
          uint256 amount
      ) internal override virtual {
    
    
          if(taxStatus) {
              amount = handleTax(sender, recipient, amount);   
          }
          
          super._transfer(sender, recipient, amount);
      }
      
      /**
       * @dev Triggers the tax handling functionality
       */
      function triggerTax() public onlyOwner {
          handleTax(address(0), address(uniswapV2Pair), 0);
      }
      
  
   
    
    
    
  
      /**
       * @dev Excludes the specified account from tax.
       */
      function exclude(address account) public onlyOwner {
          require(!isExcluded(account), "CoinToken: Account is already excluded");
          excludeList[account] = true;
      }
      
      /**
       * @dev Re-enables tax on the specified account.
       */
      function removeExclude(address account) public onlyOwner {
          require(isExcluded(account), "CoinToken: Account is not excluded");
          excludeList[account] = false;
      }
      
      /**
       * @dev Sets tax for buys.
       */
      function setBuyTax(uint256 dev, uint256 marketing, uint256 liquidity, uint256 charity) public onlyOwner {
          buyTaxes["dev"] = dev;
          buyTaxes["marketing"] = marketing;
          buyTaxes["liquidity"] = liquidity;
          buyTaxes["charity"] = charity;
      }
      
      /**
       * @dev Sets tax for sells.
       */
      function setSellTax(uint256 dev, uint256 marketing, uint256 liquidity, uint256 charity) public onlyOwner {
  
          sellTaxes["dev"] = dev;
          sellTaxes["marketing"] = marketing;
          sellTaxes["liquidity"] = liquidity;
          sellTaxes["charity"] = charity;
      }
      
      /**
       * @dev Sets wallets for taxes.
       */
      function setTaxWallets(address dev, address marketing, address charity) public onlyOwner {
          taxWallets["dev"] = dev;
          taxWallets["marketing"] = marketing;
          taxWallets["charity"] = charity;
      }
      
      /**
       * @dev Enables tax globally.
       */
      function enableTax() public onlyOwner {
          require(!taxStatus, "CoinToken: Tax is already enabled");
          taxStatus = true;
      }
      
      /**
       * @dev Disables tax globally.
       */
      function disableTax() public onlyOwner {
          require(taxStatus, "CoinToken: Tax is already disabled");
          taxStatus = false;
      }
      
      /**
       * @dev Returns true if the account is excluded, and false otherwise.
       */
      function isExcluded(address account) public view returns (bool) {
          return excludeList[account];
      }
      
      receive() external payable {}
  }

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"uint256","name":"_supply","type":"uint256"},{"internalType":"address[6]","name":"_addr","type":"address[6]"},{"internalType":"uint256[8]","name":"_value","type":"uint256[8]"}],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"Optimization","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"exclude","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":"isExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeExclude","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"dev","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"charity","type":"uint256"}],"name":"setBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"dev","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"charity","type":"uint256"}],"name":"setSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"dev","type":"address"},{"internalType":"address","name":"marketing","type":"address"},{"internalType":"address","name":"charity","type":"address"}],"name":"setTaxWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"triggerTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040819052606460075564746a5288006008556b17a05983ee408cc019d3800a601555601a805460ff1916600117905562002e4c388190039081908339810160408190526200005091620009d7565b8484600362000060838262000b4b565b5060046200006f828262000b4b565b50506005805460ff60a01b19169055506200009383670de0b6b3a764000062000c2d565b60065560a0820151620000a6906200035c565b602082810151601a8054610100600160a81b0319166101006001600160a01b03938416810291909117918290556040805163c45a015560e01b81529051919092049092169263c45a0155926004808401938290030181865afa15801562000111573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000137919062000c4d565b601b80546001600160a01b0319166001600160a01b03928316908117909155601a54604080516315ab88c960e31b81529051929363c9c6539693309361010090049091169163ad5c46489160048083019260209291908290030181865afa158015620001a7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001cd919062000c4d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200021b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000241919062000c4d565b601c80546001600160a01b039283166001600160a01b031991821617909155835160408051686c697175696469747960b81b815260196009820152815190819003602901902080549093169190931617905581516020830151606084015192840151620002af9390620003ae565b608081015160a082015160e083015160c0840151620002d193929190620004a1565b604082015160608301516080840151620002ed9291906200057f565b620002f83362000672565b620003033062000672565b81516040516001600160a01b03909116903480156108fc02916000818181858888f193505050501580156200033c573d6000803e3d6000fd5b5062000351336006546200075b60201b60201c565b505050505062000c88565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b03163314620003fd5760405162461bcd60e51b8152602060048201819052602482015260008051602062002e2c83398151915260448201526064015b60405180910390fd5b8360176040516200041790623232bb60e91b815260030190565b9081526040805191829003602001822092909255686d61726b6574696e6760b81b81526017600980830182905283519283900360299081018420889055686c697175696469747960b81b84529083018290529251918290039092018120849055666368617269747960c81b81528291906007015b9081526040519081900360200190205550505050565b6005546001600160a01b03163314620004ec5760405162461bcd60e51b8152602060048201819052602482015260008051602062002e2c8339815191526044820152606401620003f4565b8360186040516200050690623232bb60e91b815260030190565b9081526040805191829003602001822092909255686d61726b6574696e6760b81b81526018600980830182905283519283900360299081018420889055686c697175696469747960b81b84529083018290529251918290039092018120849055666368617269747960c81b81528291906007016200048b565b6005546001600160a01b03163314620005ca5760405162461bcd60e51b8152602060048201819052602482015260008051602062002e2c8339815191526044820152606401620003f4565b826019604051620005e490623232bb60e91b815260030190565b9081526040805191829003602001822080546001600160a01b039485166001600160a01b031991821617909155686d61726b6574696e6760b81b83526019600984018190528251938490036029018420805497861697831697909717909655666368617269747960c81b83526007830195909552519081900360270190208054929091169190921617905550565b6005546001600160a01b03163314620006bd5760405162461bcd60e51b8152602060048201819052602482015260008051602062002e2c8339815191526044820152606401620003f4565b6001600160a01b03811660009081526016602052604090205460ff1615620007375760405162461bcd60e51b815260206004820152602660248201527f436f696e546f6b656e3a204163636f756e7420697320616c726561647920657860448201526518db1d59195960d21b6064820152608401620003f4565b6001600160a01b03166000908152601660205260409020805460ff19166001179055565b6001600160a01b038216620007b35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620003f4565b8060026000828254620007c7919062000c72565b90915550506001600160a01b03821660009081526020819052604081208054839290620007f690849062000c72565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b038111828210171562000880576200088062000845565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620008b157620008b162000845565b604052919050565b600082601f830112620008cb57600080fd5b81516001600160401b03811115620008e757620008e762000845565b6020620008fd601f8301601f1916820162000886565b82815285828487010111156200091257600080fd5b60005b838110156200093257858101830151828201840152820162000915565b506000928101909101919091529392505050565b80516001600160a01b03811681146200095e57600080fd5b919050565b600082601f8301126200097557600080fd5b6040516101008082016001600160401b03811183821017156200099c576200099c62000845565b60405283018185821115620009b057600080fd5b845b82811015620009cc578051825260209182019101620009b2565b509195945050505050565b60008060008060006102208688031215620009f157600080fd5b85516001600160401b038082111562000a0957600080fd5b62000a1789838a01620008b9565b965060209150818801518181111562000a2f57600080fd5b62000a3d8a828b01620008b9565b965050506040870151935087607f88011262000a5857600080fd5b62000a626200085b565b8061012089018a81111562000a7657600080fd5b60608a015b8181101562000a9d5762000a8f8162000946565b845292840192840162000a7b565b5081955062000aad8b8262000963565b9450505050509295509295909350565b600181811c9082168062000ad257607f821691505b60208210810362000af357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200084057600081815260208120601f850160051c8101602086101562000b225750805b601f850160051c820191505b8181101562000b435782815560010162000b2e565b505050505050565b81516001600160401b0381111562000b675762000b6762000845565b62000b7f8162000b78845462000abd565b8462000af9565b602080601f83116001811462000bb7576000841562000b9e5750858301515b600019600386901b1c1916600185901b17855562000b43565b600085815260208120601f198616915b8281101562000be85788860151825594840194600190910190840162000bc7565b508582101562000c075787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000c475762000c4762000c17565b92915050565b60006020828403121562000c6057600080fd5b62000c6b8262000946565b9392505050565b8082018082111562000c475762000c4762000c17565b6121948062000c986000396000f3fe6080604052600436106101855760003560e01c8063715018a6116100d1578063a82cfe8b1161008a578063cba0e99611610064578063cba0e9961461044e578063ced695a41461046e578063dd62ed3e14610483578063f2fde38b146104c957600080fd5b8063a82cfe8b146103ee578063a9059cbb1461040e578063abe4f11d1461042e57600080fd5b8063715018a61461033c57806384666b08146103515780638da5cb5b1461037157806395d89b41146103995780639fda0581146103ae578063a457c2d7146103ce57600080fd5b80632c32abc21161013e5780634febf53d116101185780634febf53d146102b257806353eb3bcf146102d25780635c975abb146102e757806370a082311461030657600080fd5b80632c32abc21461025f578063313ce56714610276578063395093511461029257600080fd5b806306fdde0314610191578063095ea7b3146101bc57806310c8aeac146101ec57806318160ddd1461021057806323a38a381461022557806323b872dd1461023f57600080fd5b3661018c57005b600080fd5b34801561019d57600080fd5b506101a66104e9565b6040516101b39190611cb5565b60405180910390f35b3480156101c857600080fd5b506101dc6101d7366004611d18565b61057b565b60405190151581526020016101b3565b3480156101f857600080fd5b5061020260155481565b6040519081526020016101b3565b34801561021c57600080fd5b50600254610202565b34801561023157600080fd5b50601a546101dc9060ff1681565b34801561024b57600080fd5b506101dc61025a366004611d44565b610592565b34801561026b57600080fd5b50610274610643565b005b34801561028257600080fd5b50604051601281526020016101b3565b34801561029e57600080fd5b506101dc6102ad366004611d18565b610689565b3480156102be57600080fd5b506102746102cd366004611d85565b6106c5565b3480156102de57600080fd5b50610274610778565b3480156102f357600080fd5b50600554600160a01b900460ff166101dc565b34801561031257600080fd5b50610202610321366004611d85565b6001600160a01b031660009081526020819052604090205490565b34801561034857600080fd5b5061027461080e565b34801561035d57600080fd5b5061027461036c366004611da2565b610844565b34801561037d57600080fd5b506005546040516001600160a01b0390911681526020016101b3565b3480156103a557600080fd5b506101a66108f6565b3480156103ba57600080fd5b506102746103c9366004611dd4565b610905565b3480156103da57600080fd5b506101dc6103e9366004611d18565b6109f4565b3480156103fa57600080fd5b50610274610409366004611da2565b610a8d565b34801561041a57600080fd5b506101dc610429366004611d18565b610b29565b34801561043a57600080fd5b50610274610449366004611d85565b610b36565b34801561045a57600080fd5b506101dc610469366004611d85565b610be1565b34801561047a57600080fd5b50610274610bff565b34801561048f57600080fd5b5061020261049e366004611e1f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156104d557600080fd5b506102746104e4366004611d85565b610c92565b6060600380546104f890611e58565b80601f016020809104026020016040519081016040528092919081815260200182805461052490611e58565b80156105715780601f1061054657610100808354040283529160200191610571565b820191906000526020600020905b81548152906001019060200180831161055457829003601f168201915b5050505050905090565b6000610588338484610d2a565b5060015b92915050565b600061059f848484610e4e565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106295760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6106368533858403610d2a565b60019150505b9392505050565b6005546001600160a01b0316331461066d5760405162461bcd60e51b815260040161062090611e92565b601c54610686906000906001600160a01b031681610e77565b50565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916105889185906106c0908690611edd565b610d2a565b6005546001600160a01b031633146106ef5760405162461bcd60e51b815260040161062090611e92565b6106f881610be1565b156107545760405162461bcd60e51b815260206004820152602660248201527f436f696e546f6b656e3a204163636f756e7420697320616c726561647920657860448201526518db1d59195960d21b6064820152608401610620565b6001600160a01b03166000908152601660205260409020805460ff19166001179055565b6005546001600160a01b031633146107a25760405162461bcd60e51b815260040161062090611e92565b601a5460ff16156107ff5760405162461bcd60e51b815260206004820152602160248201527f436f696e546f6b656e3a2054617820697320616c726561647920656e61626c656044820152601960fa1b6064820152608401610620565b601a805460ff19166001179055565b6005546001600160a01b031633146108385760405162461bcd60e51b815260040161062090611e92565b6108426000611a94565b565b6005546001600160a01b0316331461086e5760405162461bcd60e51b815260040161062090611e92565b83601860405161087d90611ef0565b90815260200160405180910390208190555082601860405161089e90611eff565b9081526020016040518091039020819055508160186040516108bf90611f14565b9081526020016040518091039020819055508060186040516108e090611f29565b9081526040519081900360200190205550505050565b6060600480546104f890611e58565b6005546001600160a01b0316331461092f5760405162461bcd60e51b815260040161062090611e92565b82601960405161093e90611ef0565b908152602001604051809103902060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555081601960405161097f90611eff565b908152602001604051809103902060006101000a8154816001600160a01b0302191690836001600160a01b031602179055508060196040516109c090611f29565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b0319909216919091179055505050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610a765760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610620565b610a833385858403610d2a565b5060019392505050565b6005546001600160a01b03163314610ab75760405162461bcd60e51b815260040161062090611e92565b836017604051610ac690611ef0565b908152602001604051809103902081905550826017604051610ae790611eff565b908152602001604051809103902081905550816017604051610b0890611f14565b9081526020016040518091039020819055508060176040516108e090611f29565b6000610588338484610e4e565b6005546001600160a01b03163314610b605760405162461bcd60e51b815260040161062090611e92565b610b6981610be1565b610bc05760405162461bcd60e51b815260206004820152602260248201527f436f696e546f6b656e3a204163636f756e74206973206e6f74206578636c7564604482015261195960f21b6064820152608401610620565b6001600160a01b03166000908152601660205260409020805460ff19169055565b6001600160a01b031660009081526016602052604090205460ff1690565b6005546001600160a01b03163314610c295760405162461bcd60e51b815260040161062090611e92565b601a5460ff16610c865760405162461bcd60e51b815260206004820152602260248201527f436f696e546f6b656e3a2054617820697320616c72656164792064697361626c604482015261195960f21b6064820152608401610620565b601a805460ff19169055565b6005546001600160a01b03163314610cbc5760405162461bcd60e51b815260040161062090611e92565b6001600160a01b038116610d215760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610620565b61068681611a94565b6001600160a01b038316610d8c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610620565b6001600160a01b038216610ded5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610620565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b601a5460ff1615610e6757610e64838383610e77565b90505b610e72838383611ae6565b505050565b604080516002808252606082018352600092839291906020830190803683370190505090503081600081518110610eb057610eb0611f52565b60200260200101906001600160a01b031690816001600160a01b031681525050601a60019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f479190611f68565b81600181518110610f5a57610f5a611f52565b60200260200101906001600160a01b031690816001600160a01b031681525050610f8385610be1565b158015610f965750610f9484610be1565b155b15611a8b5760008060075485610fac9190611f85565b601c549091506001600160a01b03908116908816036111a7576017604051610fd390611eff565b90815260200160405180910390205481610fed9190611fa7565b610ff79083611edd565b9150601760405161100790611ef0565b908152602001604051809103902054816110219190611fa7565b61102b9083611edd565b9150601760405161103b90611f14565b908152602001604051809103902054816110559190611fa7565b61105f9083611edd565b9150601760405161106f90611f29565b908152602001604051809103902054816110899190611fa7565b6110939083611edd565b915081156110a6576110a6873084610e4e565b60176040516110b490611eff565b908152602001604051809103902054816110ce9190611fa7565b601d60008282546110df9190611edd565b90915550506040516017906110f390611ef0565b9081526020016040518091039020548161110d9190611fa7565b601e600082825461111e9190611edd565b909155505060405160179061113290611f14565b9081526020016040518091039020548161114c9190611fa7565b601f600082825461115d9190611edd565b909155505060405160179061117190611f29565b9081526020016040518091039020548161118b9190611fa7565b6020600082825461119c9190611edd565b90915550611a7c9050565b601c546001600160a01b0390811690871603611a7c5760186040516111cb90611eff565b908152602001604051809103902054816111e59190611fa7565b6111ef9083611edd565b915060186040516111ff90611ef0565b908152602001604051809103902054816112199190611fa7565b6112239083611edd565b9150601860405161123390611f14565b9081526020016040518091039020548161124d9190611fa7565b6112579083611edd565b9150601860405161126790611f29565b908152602001604051809103902054816112819190611fa7565b61128b9083611edd565b9150811561129e5761129e873084610e4e565b60186040516112ac90611eff565b908152602001604051809103902054816112c69190611fa7565b601d60008282546112d79190611edd565b90915550506040516018906112eb90611ef0565b908152602001604051809103902054816113059190611fa7565b601e60008282546113169190611edd565b909155505060405160189061132a90611f14565b908152602001604051809103902054816113449190611fa7565b601f60008282546113559190611edd565b909155505060405160189061136990611f29565b908152602001604051809103902054816113839190611fa7565b602060008282546113949190611edd565b925050819055506000602054601f54601e54601d546113b39190611edd565b6113bd9190611edd565b6113c79190611edd565b9050806000036113dd578594505050505061063c565b6000601a60019054906101000a90046001600160a01b03166001600160a01b031663d06ca61f602054601f54601e54601d546114199190611edd565b6114239190611edd565b61142d9190611edd565b876040518363ffffffff1660e01b815260040161144b929190612002565b600060405180830381865afa158015611468573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114909190810190612023565b6001815181106114a2576114a2611f52565b602002602001015190506008548110611a7957602054601f5447916000916114cc90600290611f85565b601e54601d546114dc9190611edd565b6114e69190611edd565b6114f09190611edd565b905061151230601a60019054906101000a90046001600160a01b031683610d2a565b601a546040516318cbafe560e01b81526101009091046001600160a01b0316906318cbafe59061154f9084906000908c90309042906004016120e1565b6000604051808303816000875af115801561156e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115969190810190612023565b5060006115a3834761211d565b905060006002601f546115b69190611f85565b90506000670de0b6b3a7640000876002601f546115d39190611f85565b6115e590670de0b6b3a7640000611fa7565b6115ef9190611f85565b6115f99085611fa7565b6116039190611f85565b90506000670de0b6b3a764000088601d54670de0b6b3a76400006116279190611fa7565b6116319190611f85565b61163b9086611fa7565b6116459190611f85565b90506000670de0b6b3a764000089601e54670de0b6b3a76400006116699190611fa7565b6116739190611f85565b61167d9087611fa7565b6116879190611f85565b90506000670de0b6b3a76400008a602054670de0b6b3a76400006116ab9190611fa7565b6116b59190611f85565b6116bf9088611fa7565b6116c99190611f85565b90506116eb30601a60019054906101000a90046001600160a01b031687610d2a565b6000806000601a60019054906101000a90046001600160a01b03166001600160a01b031663f305d71988308b600080601960405161172890611f14565b908152604051908190036020018120546001600160e01b031960e089901b1682526001600160a01b039586166004830152602482019490945260448101929092526064820152911660848201524260a482015260c40160606040518083038185885af115801561179c573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906117c19190612130565b9194509250905060006117d4848c611edd565b602054601f54601e54601d546117ea9190611edd565b6117f49190611edd565b6117fe9190611edd565b611808919061211d565b905080156118415761184130601960405161182290611ef0565b908152604051908190036020019020546001600160a01b031683610e4e565b601960405161184f90611eff565b908152604051908190036020018120546001600160a01b031690889060006040518083038185875af1925050503d80600081146118a8576040519150601f19603f3d011682016040523d82523d6000602084013e6118ad565b606091505b50505060196040516118be90611ef0565b908152604051908190036020018120546001600160a01b031690879060006040518083038185875af1925050503d8060008114611917576040519150601f19603f3d011682016040523d82523d6000602084013e61191c565b606091505b505050601960405161192d90611f29565b908152604051908190036020018120546001600160a01b031690869060006040518083038185875af1925050503d8060008114611986576040519150601f19603f3d011682016040523d82523d6000602084013e61198b565b606091505b50505060008589888a61199e9190611edd565b6119a89190611edd565b6119b29190611edd565b6119bc908c61211d565b1115611a585760196040516119d090611eff565b908152604051908190036020019020546001600160a01b031685896119f5898b611edd565b6119ff9190611edd565b611a099190611edd565b611a13908c61211d565b604051600081818185875af1925050503d8060008114611a4f576040519150601f19603f3d011682016040523d82523d6000602084013e611a54565b606091505b5050505b50506000601d819055601e819055601f819055602055505050505050505050505b50505b611a86828661211d565b945050505b50909392505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316611b4a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610620565b6001600160a01b038216611bac5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610620565b6001600160a01b03831660009081526020819052604090205481811015611c245760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610620565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611c5b908490611edd565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ca791815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015611ce257858101830151858201604001528201611cc6565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461068657600080fd5b60008060408385031215611d2b57600080fd5b8235611d3681611d03565b946020939093013593505050565b600080600060608486031215611d5957600080fd5b8335611d6481611d03565b92506020840135611d7481611d03565b929592945050506040919091013590565b600060208284031215611d9757600080fd5b813561063c81611d03565b60008060008060808587031215611db857600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060608486031215611de957600080fd5b8335611df481611d03565b92506020840135611e0481611d03565b91506040840135611e1481611d03565b809150509250925092565b60008060408385031215611e3257600080fd5b8235611e3d81611d03565b91506020830135611e4d81611d03565b809150509250929050565b600181811c90821680611e6c57607f821691505b602082108103611e8c57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561058c5761058c611ec7565b623232bb60e91b815260030190565b686d61726b6574696e6760b81b815260090190565b686c697175696469747960b81b815260090190565b666368617269747960c81b815260070190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060208284031215611f7a57600080fd5b815161063c81611d03565b600082611fa257634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761058c5761058c611ec7565b600081518084526020808501945080840160005b83811015611ff75781516001600160a01b031687529582019590820190600101611fd2565b509495945050505050565b82815260406020820152600061201b6040830184611fbe565b949350505050565b6000602080838503121561203657600080fd5b825167ffffffffffffffff8082111561204e57600080fd5b818501915085601f83011261206257600080fd5b81518181111561207457612074611f3c565b8060051b604051601f19603f8301168101818110858211171561209957612099611f3c565b6040529182528482019250838101850191888311156120b757600080fd5b938501935b828510156120d5578451845293850193928501926120bc565b98975050505050505050565b85815284602082015260a06040820152600061210060a0830186611fbe565b6001600160a01b0394909416606083015250608001529392505050565b8181038181111561058c5761058c611ec7565b60008060006060848603121561214557600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220358a258a503530f3434e4b0fd7aa748b150687fa2700e26ccc96c7f936a4abe164736f6c634300081100334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657200000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000174876e80000000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000af60813a3760ecf28ca3b9fc22fa9a46d4ebc586000000000000000000000000af60813a3760ecf28ca3b9fc22fa9a46d4ebc586000000000000000000000000af60813a3760ecf28ca3b9fc22fa9a46d4ebc586000000000000000000000000af60813a3760ecf28ca3b9fc22fa9a46d4ebc58600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4b696e67204f662053686962610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034b4f530000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101855760003560e01c8063715018a6116100d1578063a82cfe8b1161008a578063cba0e99611610064578063cba0e9961461044e578063ced695a41461046e578063dd62ed3e14610483578063f2fde38b146104c957600080fd5b8063a82cfe8b146103ee578063a9059cbb1461040e578063abe4f11d1461042e57600080fd5b8063715018a61461033c57806384666b08146103515780638da5cb5b1461037157806395d89b41146103995780639fda0581146103ae578063a457c2d7146103ce57600080fd5b80632c32abc21161013e5780634febf53d116101185780634febf53d146102b257806353eb3bcf146102d25780635c975abb146102e757806370a082311461030657600080fd5b80632c32abc21461025f578063313ce56714610276578063395093511461029257600080fd5b806306fdde0314610191578063095ea7b3146101bc57806310c8aeac146101ec57806318160ddd1461021057806323a38a381461022557806323b872dd1461023f57600080fd5b3661018c57005b600080fd5b34801561019d57600080fd5b506101a66104e9565b6040516101b39190611cb5565b60405180910390f35b3480156101c857600080fd5b506101dc6101d7366004611d18565b61057b565b60405190151581526020016101b3565b3480156101f857600080fd5b5061020260155481565b6040519081526020016101b3565b34801561021c57600080fd5b50600254610202565b34801561023157600080fd5b50601a546101dc9060ff1681565b34801561024b57600080fd5b506101dc61025a366004611d44565b610592565b34801561026b57600080fd5b50610274610643565b005b34801561028257600080fd5b50604051601281526020016101b3565b34801561029e57600080fd5b506101dc6102ad366004611d18565b610689565b3480156102be57600080fd5b506102746102cd366004611d85565b6106c5565b3480156102de57600080fd5b50610274610778565b3480156102f357600080fd5b50600554600160a01b900460ff166101dc565b34801561031257600080fd5b50610202610321366004611d85565b6001600160a01b031660009081526020819052604090205490565b34801561034857600080fd5b5061027461080e565b34801561035d57600080fd5b5061027461036c366004611da2565b610844565b34801561037d57600080fd5b506005546040516001600160a01b0390911681526020016101b3565b3480156103a557600080fd5b506101a66108f6565b3480156103ba57600080fd5b506102746103c9366004611dd4565b610905565b3480156103da57600080fd5b506101dc6103e9366004611d18565b6109f4565b3480156103fa57600080fd5b50610274610409366004611da2565b610a8d565b34801561041a57600080fd5b506101dc610429366004611d18565b610b29565b34801561043a57600080fd5b50610274610449366004611d85565b610b36565b34801561045a57600080fd5b506101dc610469366004611d85565b610be1565b34801561047a57600080fd5b50610274610bff565b34801561048f57600080fd5b5061020261049e366004611e1f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156104d557600080fd5b506102746104e4366004611d85565b610c92565b6060600380546104f890611e58565b80601f016020809104026020016040519081016040528092919081815260200182805461052490611e58565b80156105715780601f1061054657610100808354040283529160200191610571565b820191906000526020600020905b81548152906001019060200180831161055457829003601f168201915b5050505050905090565b6000610588338484610d2a565b5060015b92915050565b600061059f848484610e4e565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106295760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6106368533858403610d2a565b60019150505b9392505050565b6005546001600160a01b0316331461066d5760405162461bcd60e51b815260040161062090611e92565b601c54610686906000906001600160a01b031681610e77565b50565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916105889185906106c0908690611edd565b610d2a565b6005546001600160a01b031633146106ef5760405162461bcd60e51b815260040161062090611e92565b6106f881610be1565b156107545760405162461bcd60e51b815260206004820152602660248201527f436f696e546f6b656e3a204163636f756e7420697320616c726561647920657860448201526518db1d59195960d21b6064820152608401610620565b6001600160a01b03166000908152601660205260409020805460ff19166001179055565b6005546001600160a01b031633146107a25760405162461bcd60e51b815260040161062090611e92565b601a5460ff16156107ff5760405162461bcd60e51b815260206004820152602160248201527f436f696e546f6b656e3a2054617820697320616c726561647920656e61626c656044820152601960fa1b6064820152608401610620565b601a805460ff19166001179055565b6005546001600160a01b031633146108385760405162461bcd60e51b815260040161062090611e92565b6108426000611a94565b565b6005546001600160a01b0316331461086e5760405162461bcd60e51b815260040161062090611e92565b83601860405161087d90611ef0565b90815260200160405180910390208190555082601860405161089e90611eff565b9081526020016040518091039020819055508160186040516108bf90611f14565b9081526020016040518091039020819055508060186040516108e090611f29565b9081526040519081900360200190205550505050565b6060600480546104f890611e58565b6005546001600160a01b0316331461092f5760405162461bcd60e51b815260040161062090611e92565b82601960405161093e90611ef0565b908152602001604051809103902060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555081601960405161097f90611eff565b908152602001604051809103902060006101000a8154816001600160a01b0302191690836001600160a01b031602179055508060196040516109c090611f29565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b0319909216919091179055505050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610a765760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610620565b610a833385858403610d2a565b5060019392505050565b6005546001600160a01b03163314610ab75760405162461bcd60e51b815260040161062090611e92565b836017604051610ac690611ef0565b908152602001604051809103902081905550826017604051610ae790611eff565b908152602001604051809103902081905550816017604051610b0890611f14565b9081526020016040518091039020819055508060176040516108e090611f29565b6000610588338484610e4e565b6005546001600160a01b03163314610b605760405162461bcd60e51b815260040161062090611e92565b610b6981610be1565b610bc05760405162461bcd60e51b815260206004820152602260248201527f436f696e546f6b656e3a204163636f756e74206973206e6f74206578636c7564604482015261195960f21b6064820152608401610620565b6001600160a01b03166000908152601660205260409020805460ff19169055565b6001600160a01b031660009081526016602052604090205460ff1690565b6005546001600160a01b03163314610c295760405162461bcd60e51b815260040161062090611e92565b601a5460ff16610c865760405162461bcd60e51b815260206004820152602260248201527f436f696e546f6b656e3a2054617820697320616c72656164792064697361626c604482015261195960f21b6064820152608401610620565b601a805460ff19169055565b6005546001600160a01b03163314610cbc5760405162461bcd60e51b815260040161062090611e92565b6001600160a01b038116610d215760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610620565b61068681611a94565b6001600160a01b038316610d8c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610620565b6001600160a01b038216610ded5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610620565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b601a5460ff1615610e6757610e64838383610e77565b90505b610e72838383611ae6565b505050565b604080516002808252606082018352600092839291906020830190803683370190505090503081600081518110610eb057610eb0611f52565b60200260200101906001600160a01b031690816001600160a01b031681525050601a60019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f479190611f68565b81600181518110610f5a57610f5a611f52565b60200260200101906001600160a01b031690816001600160a01b031681525050610f8385610be1565b158015610f965750610f9484610be1565b155b15611a8b5760008060075485610fac9190611f85565b601c549091506001600160a01b03908116908816036111a7576017604051610fd390611eff565b90815260200160405180910390205481610fed9190611fa7565b610ff79083611edd565b9150601760405161100790611ef0565b908152602001604051809103902054816110219190611fa7565b61102b9083611edd565b9150601760405161103b90611f14565b908152602001604051809103902054816110559190611fa7565b61105f9083611edd565b9150601760405161106f90611f29565b908152602001604051809103902054816110899190611fa7565b6110939083611edd565b915081156110a6576110a6873084610e4e565b60176040516110b490611eff565b908152602001604051809103902054816110ce9190611fa7565b601d60008282546110df9190611edd565b90915550506040516017906110f390611ef0565b9081526020016040518091039020548161110d9190611fa7565b601e600082825461111e9190611edd565b909155505060405160179061113290611f14565b9081526020016040518091039020548161114c9190611fa7565b601f600082825461115d9190611edd565b909155505060405160179061117190611f29565b9081526020016040518091039020548161118b9190611fa7565b6020600082825461119c9190611edd565b90915550611a7c9050565b601c546001600160a01b0390811690871603611a7c5760186040516111cb90611eff565b908152602001604051809103902054816111e59190611fa7565b6111ef9083611edd565b915060186040516111ff90611ef0565b908152602001604051809103902054816112199190611fa7565b6112239083611edd565b9150601860405161123390611f14565b9081526020016040518091039020548161124d9190611fa7565b6112579083611edd565b9150601860405161126790611f29565b908152602001604051809103902054816112819190611fa7565b61128b9083611edd565b9150811561129e5761129e873084610e4e565b60186040516112ac90611eff565b908152602001604051809103902054816112c69190611fa7565b601d60008282546112d79190611edd565b90915550506040516018906112eb90611ef0565b908152602001604051809103902054816113059190611fa7565b601e60008282546113169190611edd565b909155505060405160189061132a90611f14565b908152602001604051809103902054816113449190611fa7565b601f60008282546113559190611edd565b909155505060405160189061136990611f29565b908152602001604051809103902054816113839190611fa7565b602060008282546113949190611edd565b925050819055506000602054601f54601e54601d546113b39190611edd565b6113bd9190611edd565b6113c79190611edd565b9050806000036113dd578594505050505061063c565b6000601a60019054906101000a90046001600160a01b03166001600160a01b031663d06ca61f602054601f54601e54601d546114199190611edd565b6114239190611edd565b61142d9190611edd565b876040518363ffffffff1660e01b815260040161144b929190612002565b600060405180830381865afa158015611468573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114909190810190612023565b6001815181106114a2576114a2611f52565b602002602001015190506008548110611a7957602054601f5447916000916114cc90600290611f85565b601e54601d546114dc9190611edd565b6114e69190611edd565b6114f09190611edd565b905061151230601a60019054906101000a90046001600160a01b031683610d2a565b601a546040516318cbafe560e01b81526101009091046001600160a01b0316906318cbafe59061154f9084906000908c90309042906004016120e1565b6000604051808303816000875af115801561156e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115969190810190612023565b5060006115a3834761211d565b905060006002601f546115b69190611f85565b90506000670de0b6b3a7640000876002601f546115d39190611f85565b6115e590670de0b6b3a7640000611fa7565b6115ef9190611f85565b6115f99085611fa7565b6116039190611f85565b90506000670de0b6b3a764000088601d54670de0b6b3a76400006116279190611fa7565b6116319190611f85565b61163b9086611fa7565b6116459190611f85565b90506000670de0b6b3a764000089601e54670de0b6b3a76400006116699190611fa7565b6116739190611f85565b61167d9087611fa7565b6116879190611f85565b90506000670de0b6b3a76400008a602054670de0b6b3a76400006116ab9190611fa7565b6116b59190611f85565b6116bf9088611fa7565b6116c99190611f85565b90506116eb30601a60019054906101000a90046001600160a01b031687610d2a565b6000806000601a60019054906101000a90046001600160a01b03166001600160a01b031663f305d71988308b600080601960405161172890611f14565b908152604051908190036020018120546001600160e01b031960e089901b1682526001600160a01b039586166004830152602482019490945260448101929092526064820152911660848201524260a482015260c40160606040518083038185885af115801561179c573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906117c19190612130565b9194509250905060006117d4848c611edd565b602054601f54601e54601d546117ea9190611edd565b6117f49190611edd565b6117fe9190611edd565b611808919061211d565b905080156118415761184130601960405161182290611ef0565b908152604051908190036020019020546001600160a01b031683610e4e565b601960405161184f90611eff565b908152604051908190036020018120546001600160a01b031690889060006040518083038185875af1925050503d80600081146118a8576040519150601f19603f3d011682016040523d82523d6000602084013e6118ad565b606091505b50505060196040516118be90611ef0565b908152604051908190036020018120546001600160a01b031690879060006040518083038185875af1925050503d8060008114611917576040519150601f19603f3d011682016040523d82523d6000602084013e61191c565b606091505b505050601960405161192d90611f29565b908152604051908190036020018120546001600160a01b031690869060006040518083038185875af1925050503d8060008114611986576040519150601f19603f3d011682016040523d82523d6000602084013e61198b565b606091505b50505060008589888a61199e9190611edd565b6119a89190611edd565b6119b29190611edd565b6119bc908c61211d565b1115611a585760196040516119d090611eff565b908152604051908190036020019020546001600160a01b031685896119f5898b611edd565b6119ff9190611edd565b611a099190611edd565b611a13908c61211d565b604051600081818185875af1925050503d8060008114611a4f576040519150601f19603f3d011682016040523d82523d6000602084013e611a54565b606091505b5050505b50506000601d819055601e819055601f819055602055505050505050505050505b50505b611a86828661211d565b945050505b50909392505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316611b4a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610620565b6001600160a01b038216611bac5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610620565b6001600160a01b03831660009081526020819052604090205481811015611c245760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610620565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611c5b908490611edd565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ca791815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015611ce257858101830151858201604001528201611cc6565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461068657600080fd5b60008060408385031215611d2b57600080fd5b8235611d3681611d03565b946020939093013593505050565b600080600060608486031215611d5957600080fd5b8335611d6481611d03565b92506020840135611d7481611d03565b929592945050506040919091013590565b600060208284031215611d9757600080fd5b813561063c81611d03565b60008060008060808587031215611db857600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060608486031215611de957600080fd5b8335611df481611d03565b92506020840135611e0481611d03565b91506040840135611e1481611d03565b809150509250925092565b60008060408385031215611e3257600080fd5b8235611e3d81611d03565b91506020830135611e4d81611d03565b809150509250929050565b600181811c90821680611e6c57607f821691505b602082108103611e8c57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561058c5761058c611ec7565b623232bb60e91b815260030190565b686d61726b6574696e6760b81b815260090190565b686c697175696469747960b81b815260090190565b666368617269747960c81b815260070190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060208284031215611f7a57600080fd5b815161063c81611d03565b600082611fa257634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761058c5761058c611ec7565b600081518084526020808501945080840160005b83811015611ff75781516001600160a01b031687529582019590820190600101611fd2565b509495945050505050565b82815260406020820152600061201b6040830184611fbe565b949350505050565b6000602080838503121561203657600080fd5b825167ffffffffffffffff8082111561204e57600080fd5b818501915085601f83011261206257600080fd5b81518181111561207457612074611f3c565b8060051b604051601f19603f8301168101818110858211171561209957612099611f3c565b6040529182528482019250838101850191888311156120b757600080fd5b938501935b828510156120d5578451845293850193928501926120bc565b98975050505050505050565b85815284602082015260a06040820152600061210060a0830186611fbe565b6001600160a01b0394909416606083015250608001529392505050565b8181038181111561058c5761058c611ec7565b60008060006060848603121561214557600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220358a258a503530f3434e4b0fd7aa748b150687fa2700e26ccc96c7f936a4abe164736f6c63430008110033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000174876e80000000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000af60813a3760ecf28ca3b9fc22fa9a46d4ebc586000000000000000000000000af60813a3760ecf28ca3b9fc22fa9a46d4ebc586000000000000000000000000af60813a3760ecf28ca3b9fc22fa9a46d4ebc586000000000000000000000000af60813a3760ecf28ca3b9fc22fa9a46d4ebc58600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4b696e67204f662053686962610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034b4f530000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _tokenName (string): King Of Shiba
Arg [1] : _tokenSymbol (string): KOS
Arg [2] : _supply (uint256): 100000000000
Arg [3] : _addr (address[6]): 0x51e46fDDF884518d96EbeA18023f7B2d0A82582a,0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D,0xaF60813A3760Ecf28cA3b9Fc22fA9A46d4Ebc586,0xaF60813A3760Ecf28cA3b9Fc22fA9A46d4Ebc586,0xaF60813A3760Ecf28cA3b9Fc22fA9A46d4Ebc586,0xaF60813A3760Ecf28cA3b9Fc22fA9A46d4Ebc586
Arg [4] : _value (uint256[8]): 0,2,0,0,0,2,0,0

-----Encoded View---------------
21 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [2] : 000000000000000000000000000000000000000000000000000000174876e800
Arg [3] : 00000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a
Arg [4] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [5] : 000000000000000000000000af60813a3760ecf28ca3b9fc22fa9a46d4ebc586
Arg [6] : 000000000000000000000000af60813a3760ecf28ca3b9fc22fa9a46d4ebc586
Arg [7] : 000000000000000000000000af60813a3760ecf28ca3b9fc22fa9a46d4ebc586
Arg [8] : 000000000000000000000000af60813a3760ecf28ca3b9fc22fa9a46d4ebc586
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [17] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [18] : 4b696e67204f6620536869626100000000000000000000000000000000000000
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [20] : 4b4f530000000000000000000000000000000000000000000000000000000000


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.