ETH Price: $2,347.29 (+0.40%)

Token

czz-eth (ECZZ)
 

Overview

Max Total Supply

35,108,553.52360027 ECZZ

Holders

141

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 8 Decimals)

Filtered by Token Holder
iooi.eth
Balance
106.55505469 ECZZ

Value
$0.00
0x0a22fbc2545307398ff89e26a17bae50bae22634
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:
CzzToken

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 4 of 11: CzzToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.6;


import './IERC20.sol';


abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}



contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }
    function owner() public view returns (address) {
        return _owner;
    }
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    mapping (address => uint256) private _balances;
    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 8;
        _totalSupply = 0;
        _balances[msg.sender] = _totalSupply;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 {_setupDecimals} is
     * called.
     *
     * 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 returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _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].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is 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 Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

contract CzzToken is ERC20, Ownable {
    mapping (address => uint8) private managers;
    constructor (string memory name, string memory symbol) ERC20(name,symbol) public {} 
    modifier isManager {
        require(
            msg.sender == owner() || managers[msg.sender] == 1);
        _;
    }

    function addManager(address manager) public onlyOwner{
        managers[manager] = 1;
    }
    
    function removeManager(address manager) public onlyOwner{
        managers[manager] = 0;
    }
    
    function mint(address _to, uint256 _amount) public isManager {
        _mint(_to, _amount);
    }
    function burn(address account, uint256 amount) public isManager {
        _burn(account, amount);
    }

}

library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

library SafeMath {
    
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

File 1 of 11: Address.sol
pragma solidity =0.6.6;

library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 2 of 11: CzzRouter.sol
pragma solidity =0.6.6;

import './IERC20.sol';
import './IWETH.sol';
import './ISwapFactory.sol';
import './IUniswapV2Router02.sol';

abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

interface ICzzSwap is IERC20 {
    function mint(address _to, uint256 _amount) external;
    function burn(address _account, uint256 _amount) external;
    function transferOwnership(address newOwner) external;
}

contract CzzRouter is Ownable {
    
    address czzToken;
    uint private _convertType;

    mapping (address => uint8) private managers;
    mapping (address => uint8) private routerAddrs;

    event MintToken(
        address to,
        uint256 mid,
        uint256 gas,
        uint256 amountIn,
        uint256 amountOut
    );

    event BurnToken(
        address     from_,
        uint256     amountIn,
        uint256     amountOut,
        uint256     convertType,
        address[]   toPath,
        address     toRouterAddr,
        uint256     slippage,
        bool        isInsurance,
        bytes       extra
    );

    event SwapToken(
        address indexed to,
        uint256 inAmount,
        uint256 outAmount,
        string   flag
    );
    event TransferToken(
        address  indexed to,
        uint256  amount
    );

    modifier isManager {
        require(
            msg.sender == owner() || managers[msg.sender] == 1);
        _;
    }

    constructor(address _token, uint convertType) public {
        czzToken = _token;
        _convertType = convertType;
    }
    
    receive() external payable {}
    
    function addManager(address manager) public onlyOwner{
        managers[manager] = 1;
    }
    
    function removeManager(address manager) public onlyOwner{
        managers[manager] = 0;
    }

    function addRouterAddr(address routerAddr) public isManager{
        routerAddrs[routerAddr] = 1;
    }
    
    function removeRouterAddr(address routerAddr) public isManager{
        routerAddrs[routerAddr] = 0;
    }

    function HasRegistedRouteraddress(address routerAddr) public view isManager returns(uint8 ){
        return routerAddrs[routerAddr];
    }
    
    function setCzzTonkenAddress(address addr) public isManager {
        czzToken = addr;
    }

    function getCzzTonkenAddress() public view isManager returns(address ){
        return czzToken;
    }

    function approve(address token, address spender, uint256 _amount) public virtual returns (bool) {
        require(address(token) != address(0), "approve token is the zero address");
        require(address(spender) != address(0), "approve spender is the zero address");
        require(_amount != 0, "approve _amount is the zero ");
        require(routerAddrs[spender] == 1, "spender is not router address ");        
        IERC20(token).approve(spender,_amount);
        return true;
    }
    
    function _swapMint(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] memory path,
        address to,
        address routerAddr,
        uint deadline
        ) internal returns (uint[] memory amounts) {
        uint256 _amount = IERC20(path[0]).allowance(address(this),routerAddr);
        if(_amount < amountIn) {
            approve(path[0], routerAddr,uint256(-1));
        }
       amounts = IUniswapV2Router02(routerAddr).swapExactTokensForTokens(amountIn, amountOutMin,path,to,deadline);
    }

    function _swapBurn(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] memory path,
        address to,
        address routerAddr,
        uint deadline
        ) internal returns (uint[] memory amounts) {
        uint256 _amount = IERC20(path[0]).allowance(address(this),routerAddr);
        if(_amount < amountIn) {
            approve(path[0], routerAddr,uint256(-1));
        }
        TransferHelper.safeTransferFrom(path[0], msg.sender, address(this), amountIn);
        amounts = IUniswapV2Router02(routerAddr).swapExactTokensForTokens(amountIn, amountOutMin,path,to,deadline);
    }

    function _swapEthBurn(
        uint256 amountInMin,
        address[] memory path,
        address to, 
        address routerAddr,
        uint deadline
        ) internal returns (uint[] memory amounts) {
        uint256 _amount = IERC20(path[0]).allowance(address(this),routerAddr);
        if(_amount < msg.value) {
            approve(path[0], routerAddr,uint256(-1));
        }
        IWETH(path[0]).deposit{value: msg.value}();
        amounts = IUniswapV2Router02(routerAddr).swapExactTokensForTokens(msg.value,amountInMin,path,to,deadline);
    }
    
    function _swapEthMint(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] memory path,
        address to, 
        address routerAddr,
        uint deadline
        ) internal returns (uint[] memory amounts) {
      
        uint256 _amount = IERC20(path[0]).allowance(address(this),routerAddr);
        if(_amount < amountIn) {
            approve(path[0], routerAddr,uint256(-1));
        }
        amounts = IUniswapV2Router02(routerAddr).swapExactTokensForETH(amountIn, amountOutMin,path,to,deadline);
    }
    
    function swap_burn_get_getReserves(address factory, address tokenA, address tokenB) public view isManager returns (uint reserveA, uint reserveB){
        require(address(0) != factory);
        return  ISwapFactory(factory).getReserves(tokenA, tokenB);
    }
    
    function swapGetAmount(uint256 amountIn, address[] memory path, address routerAddr) public view returns (uint[] memory amounts){
        require(address(0) != routerAddr); 
        return IUniswapV2Router02(routerAddr).getAmountsOut(amountIn,path);
    }
 
    function swapAndBurnWithPath(uint256 _amountIn, uint256 _amountInMin, uint convertType, address routerAddr, address[] memory fromPath, uint deadline, address[] memory toPath, address toRouterAddr, uint slippage, bool isInsurance, bytes memory extradata) payable public
    {
        require(address(0) != routerAddr); 
        require(fromPath[fromPath.length - 1] == czzToken, "last fromPath is not czz"); 

        uint[] memory amounts = _swapBurn(_amountIn, _amountInMin, fromPath, msg.sender, routerAddr, deadline);
        if(convertType != _convertType){
            ICzzSwap(czzToken).burn(msg.sender, amounts[amounts.length - 1]);
            emit BurnToken(msg.sender, _amountIn, amounts[amounts.length - 1], convertType, toPath, toRouterAddr, slippage, isInsurance, extradata);
        }
    }

    function swapAndBurnEthWithPath(uint256 _amountInMin, uint convertType, address routerAddr, address[] memory path, uint deadline, address[] memory toPath, address toRouterAddr, uint slippage, bool isInsurance, bytes memory extradata) payable public
    {
        require(address(0) != routerAddr); 
        require(path[path.length - 1] == czzToken, "last path is not czz"); 
        require(msg.value > 0);
        uint[] memory amounts = _swapEthBurn(_amountInMin, path, msg.sender, routerAddr, deadline);
        if(convertType != _convertType){
            ICzzSwap(czzToken).burn(msg.sender, amounts[amounts.length - 1]);
            emit BurnToken(msg.sender, 0, amounts[amounts.length - 1], convertType, toPath, toRouterAddr, slippage, isInsurance, extradata);

        }
    }
    
    function burn(uint256 _amountIn, uint convertType, address[] memory toPath, address toRouterAddr, uint slippage, bool isInsurance, bytes memory extradata) payable public 
    {
        ICzzSwap(czzToken).burn(msg.sender, _amountIn);
        emit BurnToken(msg.sender, _amountIn, _amountIn, convertType, toPath, toRouterAddr, slippage, isInsurance, extradata);
    }
    
    function swapAndMintTokenWithPath(address _to, uint256 _amountIn, uint256 _amountInMin, uint256 mid, uint256 gas, address routerAddr, address[] memory toPath, uint deadline) payable public isManager {
        require(address(0) != _to);
        require(address(0) != routerAddr); 
        require(_amountIn > 0);
        require(_amountIn > gas, "ROUTER: transfer amount exceeds gas");
        require(toPath[0] == czzToken, "toPath 0 is not czz");

        ICzzSwap(czzToken).mint(address(this), _amountIn);    // mint to contract address   
        if(gas > 0){
            bool success = true;
            (success) = ICzzSwap(czzToken).transfer(msg.sender, gas); 
            require(success, 'swapAndMintTokenWithPath gas Transfer error');
        }
        uint[] memory amounts = _swapMint(_amountIn-gas, _amountInMin, toPath, _to, routerAddr, deadline);
        emit MintToken(_to, mid, gas, _amountIn, amounts[amounts.length - 1]);
    }
    
    function swapAndMintTokenForEthWithPath(address _to, uint256 _amountIn, uint256 _amountInMin, uint256 mid, uint256 gas, address routerAddr, address[] memory toPath, uint deadline) payable public isManager {
        require(address(0) != _to);
        require(address(0) != routerAddr); 
        require(_amountIn > 0);
        require(_amountIn > gas, "ROUTER: transfer amount exceeds gas");
        require(toPath[0] == czzToken, "path 0 is not czz");

        ICzzSwap(czzToken).mint(address(this), _amountIn);    // mint to contract address   
        if(gas > 0){
            bool success = true;
            (success) = ICzzSwap(czzToken).transfer(msg.sender, gas); 
            require(success, 'swapAndMintTokenForEthWithPath gas Transfer error');
        }
        uint[] memory amounts = _swapEthMint(_amountIn - gas, _amountInMin, toPath, _to, routerAddr, deadline);
        emit MintToken(_to, mid, gas, _amountIn, amounts[amounts.length - 1]);
    }
    
    function mintWithGas(address _to, uint256 mid, uint256 _amountIn, uint256 gas)  payable public isManager 
    {
        require(_amountIn > 0);
        require(_amountIn >= gas, "ROUTER: transfer amount exceeds gas");

        if(gas > 0){
           ICzzSwap(czzToken).mint(msg.sender, gas);
        }
        ICzzSwap(czzToken).mint(_to, _amountIn-gas);
        emit MintToken(_to, mid, gas, _amountIn, 0);
    }

    function mint(address _to, uint256 mid, uint256 _amountIn)  payable public isManager 
    {
        ICzzSwap(czzToken).mint(_to, _amountIn);
        emit MintToken(_to, mid, 0, _amountIn, 0);
    }

}

// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false
library TransferHelper {
    function safeApprove(address token, address to, uint value) internal {
        // bytes4(keccak256(bytes('approve(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: APPROVE_FAILED');
    }

    function safeTransfer(address token, address to, uint value) internal {
        // bytes4(keccak256(bytes('transfer(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FAILED');
    }

    function safeTransferFrom(address token, address from, address to, uint value) internal {
        // bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FROM_FAILED');
    }

    function safeTransferETH(address to, uint value) internal {
        (bool success,) = to.call{value:value}(new bytes(0));
        require(success, 'TransferHelper: ETH_TRANSFER_FAILED');
    }
}


File 3 of 11: CzzRouterForSec.sol
pragma solidity =0.6.6;

import './IERC20.sol';
import './ISwapFactory.sol';


abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

interface ICzzSecurityPoolSwapPool {
    function securityPoolSwap(
        uint256 _pid,
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        uint256 gas,
        address to,
        address routerAddr,
        uint deadline
        ) external returns (uint[] memory amounts);

    function securityPoolSwapEth(
        uint256 _pid,
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        uint256 gas,
        address to, 
        address routerAddr,
        uint deadline
        ) external  returns (uint[] memory amounts);

    function securityPoolMint(uint256 _pid, uint256 _swapAmount, address _token) external ; 
    function securityPoolTransferGas(uint256 _pid, uint256 _amount, address _token, address _to) external;
    function securityPoolSwapGetAmount(uint256 amountOut, address[] calldata path, address routerAddr) external view returns (uint[] memory amounts);
}

contract CzzRouterForSec is Ownable {
    
    address czzToken;
    address czzSecurityPoolPoolAddr;
    
    mapping (address => uint8) private managers;
    mapping (address => uint8) private routerAddrs;
    struct KeyFlag { address key; bool deleted; }

    struct MintItem {
        address to;
        uint256 amount;
        uint256 amountIn;
        uint256 gas;
        address toToken;
        address routerAddr;
        address wethAddr;
        uint8 signatureCount;
        uint8 submitOrderEn;
        mapping (address => uint8) signatures;
        KeyFlag[] keys;
    }

    event MintToken(
         address to,
        uint256 mid,
        uint256 gas,
        uint256 amountIn,
        uint256 amountOut
    );

    event SubmitOrder(
        address to,
        uint256 mid,
        uint256 gas,
        uint256 amountIn,
        uint256 amountOut
    );
    
    modifier isManager {
        require(
            msg.sender == owner() || managers[msg.sender] == 1);
        _;
    }

    constructor(address _token, address _czzSecurityPoolPoolAddr) public {
        czzToken = _token;
        czzSecurityPoolPoolAddr = _czzSecurityPoolPoolAddr;
    }
    
    receive() external payable {}
    
    function addManager(address manager) public onlyOwner{
        managers[manager] = 1;
    }
    
    function removeManager(address manager) public onlyOwner{
        managers[manager] = 0;
    }


    function insert_signature(MintItem storage item, address key) internal returns (bool replaced)
    {
        if (item.signatures[key] == 1)
            return false;
        else
        {
            KeyFlag memory key1;
            item.signatures[key] = 1;
            key1.key = key;
            item.keys.push(key1);
            return true;
        }
    }

    function swap_burn_get_amount(uint amountIn, address[] memory path,address routerAddr) public view returns (uint[] memory amounts){
        require(address(0) != routerAddr); 
        return ICzzSecurityPoolSwapPool(czzSecurityPoolPoolAddr).securityPoolSwapGetAmount(amountIn,path,routerAddr);
    }
    
    function submitOrderWithPath(address _to, uint _amountIn, uint _amountInMin, uint256 mid, uint256 gas, address routerAddr, address[] memory userPath, uint deadline) public isManager {
     
        require(address(0) != _to , "address(0) == _to");
        require(address(0) != routerAddr , "address(0) == routerAddr"); 
        require(address(0) != czzSecurityPoolPoolAddr , "address(0) == czzSecurityPoolPoolAddr"); 
        require(userPath[0] == czzToken, "path 0 is not czz");
        require(_amountIn > 0);

        if(gas > 0){
            ICzzSecurityPoolSwapPool(czzSecurityPoolPoolAddr).securityPoolTransferGas(0, gas, czzToken, msg.sender);
        }

        uint[] memory amounts = ICzzSecurityPoolSwapPool(czzSecurityPoolPoolAddr).securityPoolSwap(0, _amountIn, _amountInMin, userPath, gas, _to, routerAddr, deadline);
        emit SubmitOrder(_to, mid, gas, _amountIn, amounts[amounts.length - 1]);
    
    }

    function submitOrderEthWithPath(address _to, uint _amountIn, uint _amountInMin, uint256 mid, uint256 gas, address routerAddr, address[] memory userPath, uint deadline) public isManager {
        
            require(address(0) != _to , "address(0) == _to");
            require(address(0) != routerAddr , "address(0) == routerAddr"); 
            require(address(0) != czzSecurityPoolPoolAddr , "address(0) == czzSecurityPoolPoolAddr"); 
            require(userPath[0] == czzToken, "path 0 is not czz");
            require(_amountIn > 0);
            require(_amountIn > gas, "ROUTER: transfer amount exceeds gas");
            
            if(gas > 0){
                ICzzSecurityPoolSwapPool(czzSecurityPoolPoolAddr).securityPoolTransferGas(0, gas, czzToken, msg.sender);
            }

            uint[] memory amounts = ICzzSecurityPoolSwapPool(czzSecurityPoolPoolAddr).securityPoolSwapEth(0, _amountIn, _amountInMin, userPath, gas, _to, routerAddr, deadline);
            emit SubmitOrder(_to, mid, gas, _amountIn, amounts[amounts.length - 1]);
    }

    function mintAndRepayment(uint amount) public isManager {
        require(address(0) != czzSecurityPoolPoolAddr , "address(0) == czzSecurityPoolPoolAddr"); 
        ICzzSecurityPoolSwapPool(czzSecurityPoolPoolAddr).securityPoolMint(0, amount, czzToken);    // mint to contract address        
        emit MintToken(czzSecurityPoolPoolAddr, 0, 0, amount, amount);  
    }   

    function setCzzTonkenAddress(address addr) public isManager {
        czzToken = addr;
    }

    function getCzzTonkenAddress() public view isManager returns(address ){
        return czzToken;
    }

    function setCzzSecurityPoolPoolAddress(address addr) public isManager {
        czzSecurityPoolPoolAddr = addr;
    }

    function getCzzSecurityPoolPoolAddress() public view isManager returns(address ){
        return czzSecurityPoolPoolAddr;
    }


}




File 5 of 11: IERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.6;

interface IERC20 {
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);

    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

}

File 6 of 11: ISwapFactory.sol
pragma solidity >=0.5.0 <0.8.0;

interface ISwapFactory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

    function feeToRate() external view returns (uint256);

    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;

    function setFeeToRate(uint256) external;

    function sortTokens(address tokenA, address tokenB) external pure returns (address token0, address token1);

    function pairFor(address tokenA, address tokenB) external view returns (address pair);

    function getReserves(address tokenA, address tokenB) external view returns (uint256 reserveA, uint256 reserveB);

    function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) external pure returns (uint256 amountB);

    function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) external view returns (uint256 amountOut);

    function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) external view returns (uint256 amountIn);

    function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts);

    function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts);
}

File 7 of 11: ISwapPair.sol
pragma solidity >=0.5.0 <0.8.0;

interface ISwapPair {
    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 price(address token, uint256 baseDecimal) external view returns (uint256);

    function initialize(address, address) external;
}

File 8 of 11: IUniswapV2Router01.sol
pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

File 9 of 11: IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

File 10 of 11: IWETH.sol
pragma solidity >=0.5.0;

interface IWETH {
    function deposit() external payable;
    function transfer(address to, uint value) external returns (bool);
    function withdraw(uint) external;
}

File 11 of 11: SafeMath.sol
pragma solidity =0.6.6;

library SafeMath {
    
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"},{"inputs":[{"internalType":"address","name":"manager","type":"address"}],"name":"addManager","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"manager","type":"address"}],"name":"removeManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200150338038062001503833981810160405260408110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b50604052505082518391508290620001b89060039060208501906200026a565b508051620001ce9060049060208401906200026a565b50506005805460ff191660081790555060006002819055338152602081905260408120819055620002076001600160e01b036200026516565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35050506200030c565b335b90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002ad57805160ff1916838001178555620002dd565b82800160010185558215620002dd579182015b82811115620002dd578251825591602001919060010190620002c0565b50620002eb929150620002ef565b5090565b6200026791905b80821115620002eb5760008155600101620002f6565b6111e7806200031c6000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c8063715018a6116100a2578063a457c2d711610071578063a457c2d71461034c578063a9059cbb14610378578063ac18de43146103a4578063dd62ed3e146103ca578063f2fde38b146103f857610116565b8063715018a6146102ec5780638da5cb5b146102f457806395d89b41146103185780639dc29fac1461032057610116565b80632d06177a116100e95780632d06177a14610228578063313ce56714610250578063395093511461026e57806340c10f191461029a57806370a08231146102c657610116565b806306fdde031461011b578063095ea7b31461019857806318160ddd146101d857806323b872dd146101f2575b600080fd5b61012361041e565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015d578181015183820152602001610145565b50505050905090810190601f16801561018a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101c4600480360360408110156101ae57600080fd5b506001600160a01b0381351690602001356104b4565b604080519115158252519081900360200190f35b6101e06104d1565b60408051918252519081900360200190f35b6101c46004803603606081101561020857600080fd5b506001600160a01b038135811691602081013590911690604001356104d7565b61024e6004803603602081101561023e57600080fd5b50356001600160a01b0316610586565b005b610258610607565b6040805160ff9092168252519081900360200190f35b6101c46004803603604081101561028457600080fd5b506001600160a01b038135169060200135610610565b61024e600480360360408110156102b057600080fd5b506001600160a01b038135169060200135610669565b6101e0600480360360208110156102dc57600080fd5b50356001600160a01b03166106b9565b61024e6106d4565b6102fc610781565b604080516001600160a01b039092168252519081900360200190f35b610123610795565b61024e6004803603604081101561033657600080fd5b506001600160a01b0381351690602001356107f6565b6101c46004803603604081101561036257600080fd5b506001600160a01b038135169060200135610842565b6101c46004803603604081101561038e57600080fd5b506001600160a01b0381351690602001356108b0565b61024e600480360360208110156103ba57600080fd5b50356001600160a01b03166108c4565b6101e0600480360360408110156103e057600080fd5b506001600160a01b0381358116916020013516610942565b61024e6004803603602081101561040e57600080fd5b50356001600160a01b031661096d565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104aa5780601f1061047f576101008083540402835291602001916104aa565b820191906000526020600020905b81548152906001019060200180831161048d57829003601f168201915b5050505050905090565b60006104c86104c1610a76565b8484610a7a565b50600192915050565b60025490565b60006104e4848484610b66565b6001600160a01b038416600090815260016020526040812081610505610a76565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156105675760405162461bcd60e51b81526004018080602001828103825260288152602001806110db6028913960400191505060405180910390fd5b61057b85610573610a76565b858403610a7a565b506001949350505050565b61058e610a76565b60055461010090046001600160a01b039081169116146105e3576040805162461bcd60e51b81526020600482018190526024820152600080516020611103833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b60055460ff1690565b60006104c861061d610a76565b84610664856001600061062e610a76565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610ce416565b610a7a565b610671610781565b6001600160a01b0316336001600160a01b031614806106a257503360009081526006602052604090205460ff166001145b6106ab57600080fd5b6106b58282610d45565b5050565b6001600160a01b031660009081526020819052604090205490565b6106dc610a76565b60055461010090046001600160a01b03908116911614610731576040805162461bcd60e51b81526020600482018190526024820152600080516020611103833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b60055461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104aa5780601f1061047f576101008083540402835291602001916104aa565b6107fe610781565b6001600160a01b0316336001600160a01b0316148061082f57503360009081526006602052604090205460ff166001145b61083857600080fd5b6106b58282610e41565b60006104c861084f610a76565b846106648560405180606001604052806025815260200161118d6025913960016000610879610a76565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610f4916565b60006104c86108bd610a76565b8484610b66565b6108cc610a76565b60055461010090046001600160a01b03908116911614610921576040805162461bcd60e51b81526020600482018190526024820152600080516020611103833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600660205260409020805460ff19169055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610975610a76565b60055461010090046001600160a01b039081169116146109ca576040805162461bcd60e51b81526020600482018190526024820152600080516020611103833981519152604482015290519081900360640190fd5b6001600160a01b038116610a0f5760405162461bcd60e51b815260040180806020018281038252602681526020018061106d6026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b3390565b6001600160a01b038316610abf5760405162461bcd60e51b81526004018080602001828103825260248152602001806111696024913960400191505060405180910390fd5b6001600160a01b038216610b045760405162461bcd60e51b81526004018080602001828103825260228152602001806110936022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610bab5760405162461bcd60e51b81526004018080602001828103825260258152602001806111446025913960400191505060405180910390fd5b6001600160a01b038216610bf05760405162461bcd60e51b81526004018080602001828103825260238152602001806110286023913960400191505060405180910390fd5b610bfb838383610fe0565b6001600160a01b03831660009081526020819052604090205481811015610c535760405162461bcd60e51b81526004018080602001828103825260268152602001806110b56026913960400191505060405180910390fd5b6001600160a01b03808516600090815260208190526040808220858503905591851681522054610c89908363ffffffff610ce416565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350505050565b600082820183811015610d3e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610da0576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610dac60008383610fe0565b600254610dbf908263ffffffff610ce416565b6002556001600160a01b038216600090815260208190526040902054610deb908263ffffffff610ce416565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216610e865760405162461bcd60e51b81526004018080602001828103825260218152602001806111236021913960400191505060405180910390fd5b610e9282600083610fe0565b610ed58160405180606001604052806022815260200161104b602291396001600160a01b038516600090815260208190526040902054919063ffffffff610f4916565b6001600160a01b038316600090815260208190526040902055600254610f01908263ffffffff610fe516565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60008184841115610fd85760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610f9d578181015183820152602001610f85565b50505050905090810190601f168015610fca5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b505050565b6000610d3e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f4956fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b1fcc050f1d3389a177b13ca5f2b4444135afc4aedc7c600af01e71bd5ea401e64736f6c63430006060033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000007637a7a2d65746800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000445435a5a00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101165760003560e01c8063715018a6116100a2578063a457c2d711610071578063a457c2d71461034c578063a9059cbb14610378578063ac18de43146103a4578063dd62ed3e146103ca578063f2fde38b146103f857610116565b8063715018a6146102ec5780638da5cb5b146102f457806395d89b41146103185780639dc29fac1461032057610116565b80632d06177a116100e95780632d06177a14610228578063313ce56714610250578063395093511461026e57806340c10f191461029a57806370a08231146102c657610116565b806306fdde031461011b578063095ea7b31461019857806318160ddd146101d857806323b872dd146101f2575b600080fd5b61012361041e565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015d578181015183820152602001610145565b50505050905090810190601f16801561018a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101c4600480360360408110156101ae57600080fd5b506001600160a01b0381351690602001356104b4565b604080519115158252519081900360200190f35b6101e06104d1565b60408051918252519081900360200190f35b6101c46004803603606081101561020857600080fd5b506001600160a01b038135811691602081013590911690604001356104d7565b61024e6004803603602081101561023e57600080fd5b50356001600160a01b0316610586565b005b610258610607565b6040805160ff9092168252519081900360200190f35b6101c46004803603604081101561028457600080fd5b506001600160a01b038135169060200135610610565b61024e600480360360408110156102b057600080fd5b506001600160a01b038135169060200135610669565b6101e0600480360360208110156102dc57600080fd5b50356001600160a01b03166106b9565b61024e6106d4565b6102fc610781565b604080516001600160a01b039092168252519081900360200190f35b610123610795565b61024e6004803603604081101561033657600080fd5b506001600160a01b0381351690602001356107f6565b6101c46004803603604081101561036257600080fd5b506001600160a01b038135169060200135610842565b6101c46004803603604081101561038e57600080fd5b506001600160a01b0381351690602001356108b0565b61024e600480360360208110156103ba57600080fd5b50356001600160a01b03166108c4565b6101e0600480360360408110156103e057600080fd5b506001600160a01b0381358116916020013516610942565b61024e6004803603602081101561040e57600080fd5b50356001600160a01b031661096d565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104aa5780601f1061047f576101008083540402835291602001916104aa565b820191906000526020600020905b81548152906001019060200180831161048d57829003601f168201915b5050505050905090565b60006104c86104c1610a76565b8484610a7a565b50600192915050565b60025490565b60006104e4848484610b66565b6001600160a01b038416600090815260016020526040812081610505610a76565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156105675760405162461bcd60e51b81526004018080602001828103825260288152602001806110db6028913960400191505060405180910390fd5b61057b85610573610a76565b858403610a7a565b506001949350505050565b61058e610a76565b60055461010090046001600160a01b039081169116146105e3576040805162461bcd60e51b81526020600482018190526024820152600080516020611103833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b60055460ff1690565b60006104c861061d610a76565b84610664856001600061062e610a76565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610ce416565b610a7a565b610671610781565b6001600160a01b0316336001600160a01b031614806106a257503360009081526006602052604090205460ff166001145b6106ab57600080fd5b6106b58282610d45565b5050565b6001600160a01b031660009081526020819052604090205490565b6106dc610a76565b60055461010090046001600160a01b03908116911614610731576040805162461bcd60e51b81526020600482018190526024820152600080516020611103833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b60055461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104aa5780601f1061047f576101008083540402835291602001916104aa565b6107fe610781565b6001600160a01b0316336001600160a01b0316148061082f57503360009081526006602052604090205460ff166001145b61083857600080fd5b6106b58282610e41565b60006104c861084f610a76565b846106648560405180606001604052806025815260200161118d6025913960016000610879610a76565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610f4916565b60006104c86108bd610a76565b8484610b66565b6108cc610a76565b60055461010090046001600160a01b03908116911614610921576040805162461bcd60e51b81526020600482018190526024820152600080516020611103833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600660205260409020805460ff19169055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610975610a76565b60055461010090046001600160a01b039081169116146109ca576040805162461bcd60e51b81526020600482018190526024820152600080516020611103833981519152604482015290519081900360640190fd5b6001600160a01b038116610a0f5760405162461bcd60e51b815260040180806020018281038252602681526020018061106d6026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b3390565b6001600160a01b038316610abf5760405162461bcd60e51b81526004018080602001828103825260248152602001806111696024913960400191505060405180910390fd5b6001600160a01b038216610b045760405162461bcd60e51b81526004018080602001828103825260228152602001806110936022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610bab5760405162461bcd60e51b81526004018080602001828103825260258152602001806111446025913960400191505060405180910390fd5b6001600160a01b038216610bf05760405162461bcd60e51b81526004018080602001828103825260238152602001806110286023913960400191505060405180910390fd5b610bfb838383610fe0565b6001600160a01b03831660009081526020819052604090205481811015610c535760405162461bcd60e51b81526004018080602001828103825260268152602001806110b56026913960400191505060405180910390fd5b6001600160a01b03808516600090815260208190526040808220858503905591851681522054610c89908363ffffffff610ce416565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350505050565b600082820183811015610d3e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610da0576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610dac60008383610fe0565b600254610dbf908263ffffffff610ce416565b6002556001600160a01b038216600090815260208190526040902054610deb908263ffffffff610ce416565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216610e865760405162461bcd60e51b81526004018080602001828103825260218152602001806111236021913960400191505060405180910390fd5b610e9282600083610fe0565b610ed58160405180606001604052806022815260200161104b602291396001600160a01b038516600090815260208190526040902054919063ffffffff610f4916565b6001600160a01b038316600090815260208190526040902055600254610f01908263ffffffff610fe516565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60008184841115610fd85760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610f9d578181015183820152602001610f85565b50505050905090810190601f168015610fca5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b505050565b6000610d3e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f4956fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b1fcc050f1d3389a177b13ca5f2b4444135afc4aedc7c600af01e71bd5ea401e64736f6c63430006060033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000007637a7a2d65746800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000445435a5a00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): czz-eth
Arg [1] : symbol (string): ECZZ

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [3] : 637a7a2d65746800000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 45435a5a00000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

11448:742:3:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;11448:742:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;2402:91:3;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2402:91:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4548:169;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;4548:169:3;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;3501:108;;;:::i;:::-;;;;;;;;;;;;;;;;5191:422;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;5191:422:3;;;;;;;;;;;;;;;;;:::i;11762:93::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;11762:93:3;-1:-1:-1;;;;;11762:93:3;;:::i;:::-;;3345:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;6022:218;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;6022:218:3;;;;;;;;:::i;11975:99::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;11975:99:3;;;;;;;;:::i;3672:127::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;3672:127:3;-1:-1:-1;;;;;3672:127:3;;:::i;1016:148::-;;;:::i;806:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;806:79:3;;;;;;;;;;;;;;2612:95;;;:::i;12080:105::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;12080:105:3;;;;;;;;:::i;6743:269::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;6743:269:3;;;;;;;;:::i;4012:175::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;4012:175:3;;;;;;;;:::i;11867:96::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;11867:96:3;-1:-1:-1;;;;;11867:96:3;;:::i;4250:151::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;4250:151:3;;;;;;;;;;:::i;1170:244::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;1170:244:3;-1:-1:-1;;;;;1170:244:3;;:::i;2402:91::-;2480:5;2473:12;;;;;;;;-1:-1:-1;;2473:12:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2447:13;;2473:12;;2480:5;;2473:12;;2480:5;2473:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2402:91;:::o;4548:169::-;4631:4;4648:39;4657:12;:10;:12::i;:::-;4671:7;4680:6;4648:8;:39::i;:::-;-1:-1:-1;4705:4:3;4548:169;;;;:::o;3501:108::-;3589:12;;3501:108;:::o;5191:422::-;5297:4;5314:36;5324:6;5332:9;5343:6;5314:9;:36::i;:::-;-1:-1:-1;;;;;5390:19:3;;5363:24;5390:19;;;:11;:19;;;;;5363:24;5410:12;:10;:12::i;:::-;-1:-1:-1;;;;;5390:33:3;-1:-1:-1;;;;;5390:33:3;;;;;;;;;;;;;5363:60;;5462:6;5442:16;:26;;5434:79;;;;-1:-1:-1;;;5434:79:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5524:57;5533:6;5541:12;:10;:12::i;:::-;5574:6;5555:16;:25;5524:8;:57::i;:::-;-1:-1:-1;5601:4:3;;5191:422;-1:-1:-1;;;;5191:422:3:o;11762:93::-;941:12;:10;:12::i;:::-;931:6;;;;;-1:-1:-1;;;;;931:6:3;;;:22;;;923:67;;;;;-1:-1:-1;;;923:67:3;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;923:67:3;;;;;;;;;;;;;;;-1:-1:-1;;;;;11826:17:3::1;;::::0;;;:8:::1;:17;::::0;;;;:21;;-1:-1:-1;;11826:21:3::1;11846:1;11826:21;::::0;;11762:93::o;3345:91::-;3419:9;;;;3345:91;:::o;6022:218::-;6110:4;6127:83;6136:12;:10;:12::i;:::-;6150:7;6159:50;6198:10;6159:11;:25;6171:12;:10;:12::i;:::-;-1:-1:-1;;;;;6159:25:3;;;;;;;;;;;;;;;;;-1:-1:-1;6159:25:3;;;:34;;;;;;;;;;;:50;:38;:50;:::i;:::-;6127:8;:83::i;11975:99::-;11697:7;:5;:7::i;:::-;-1:-1:-1;;;;;11683:21:3;:10;-1:-1:-1;;;;;11683:21:3;;:50;;;-1:-1:-1;11717:10:3;11708:20;;;;:8;:20;;;;;;;;;:25;11683:50;11661:73;;12:1:-1;9;2:12;11661:73:3;12047:19:::1;12053:3;12058:7;12047:5;:19::i;:::-;11975:99:::0;;:::o;3672:127::-;-1:-1:-1;;;;;3773:18:3;3746:7;3773:18;;;;;;;;;;;;3672:127::o;1016:148::-;941:12;:10;:12::i;:::-;931:6;;;;;-1:-1:-1;;;;;931:6:3;;;:22;;;923:67;;;;;-1:-1:-1;;;923:67:3;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;923:67:3;;;;;;;;;;;;;;;1107:6:::1;::::0;1086:40:::1;::::0;1123:1:::1;::::0;1107:6:::1;::::0;::::1;-1:-1:-1::0;;;;;1107:6:3::1;::::0;1086:40:::1;::::0;1123:1;;1086:40:::1;1137:6;:19:::0;;-1:-1:-1;;;;;;1137:19:3::1;::::0;;1016:148::o;806:79::-;871:6;;;;;-1:-1:-1;;;;;871:6:3;;806:79::o;2612:95::-;2692:7;2685:14;;;;;;;;-1:-1:-1;;2685:14:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2659:13;;2685:14;;2692:7;;2685:14;;2692:7;2685:14;;;;;;;;;;;;;;;;;;;;;;;;12080:105;11697:7;:5;:7::i;:::-;-1:-1:-1;;;;;11683:21:3;:10;-1:-1:-1;;;;;11683:21:3;;:50;;;-1:-1:-1;11717:10:3;11708:20;;;;:8;:20;;;;;;;;;:25;11683:50;11661:73;;12:1:-1;9;2:12;11661:73:3;12155:22:::1;12161:7;12170:6;12155:5;:22::i;6743:269::-:0;6836:4;6853:129;6862:12;:10;:12::i;:::-;6876:7;6885:96;6924:15;6885:96;;;;;;;;;;;;;;;;;:11;:25;6897:12;:10;:12::i;:::-;-1:-1:-1;;;;;6885:25:3;;;;;;;;;;;;;;;;;-1:-1:-1;6885:25:3;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;4012:175::-;4098:4;4115:42;4125:12;:10;:12::i;:::-;4139:9;4150:6;4115:9;:42::i;11867:96::-;941:12;:10;:12::i;:::-;931:6;;;;;-1:-1:-1;;;;;931:6:3;;;:22;;;923:67;;;;;-1:-1:-1;;;923:67:3;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;923:67:3;;;;;;;;;;;;;;;-1:-1:-1;;;;;11934:17:3::1;11954:1;11934:17:::0;;;:8:::1;:17;::::0;;;;:21;;-1:-1:-1;;11934:21:3::1;::::0;;11867:96::o;4250:151::-;-1:-1:-1;;;;;4366:18:3;;;4339:7;4366:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;4250:151::o;1170:244::-;941:12;:10;:12::i;:::-;931:6;;;;;-1:-1:-1;;;;;931:6:3;;;:22;;;923:67;;;;;-1:-1:-1;;;923:67:3;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;923:67:3;;;;;;;;;;;;;;;-1:-1:-1;;;;;1259:22:3;::::1;1251:73;;;;-1:-1:-1::0;;;1251:73:3::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1361:6;::::0;1340:38:::1;::::0;-1:-1:-1;;;;;1340:38:3;;::::1;::::0;1361:6:::1;::::0;::::1;;::::0;1340:38:::1;::::0;;;::::1;1389:6;:17:::0;;-1:-1:-1;;;;;1389:17:3;;::::1;;;-1:-1:-1::0;;;;;;1389:17:3;;::::1;::::0;;;::::1;::::0;;1170:244::o;123:106::-;211:10;123:106;:::o;9978:346::-;-1:-1:-1;;;;;10080:19:3;;10072:68;;;;-1:-1:-1;;;10072:68:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;10159:21:3;;10151:68;;;;-1:-1:-1;;;10151:68:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;10232:18:3;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;10284:32;;;;;;;;;;;;;;;;;9978:346;;;:::o;7502:627::-;-1:-1:-1;;;;;7608:20:3;;7600:70;;;;-1:-1:-1;;;7600:70:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7689:23:3;;7681:71;;;;-1:-1:-1;;;7681:71:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7765:47;7786:6;7794:9;7805:6;7765:20;:47::i;:::-;-1:-1:-1;;;;;7849:17:3;;7825:21;7849:17;;;;;;;;;;;7885:23;;;;7877:74;;;;-1:-1:-1;;;7877:74:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7962:17:3;;;:9;:17;;;;;;;;;;;7982:22;;;7962:42;;8038:20;;;;;;;:32;;7998:6;8038:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;8015:20:3;;;:9;:20;;;;;;;;;;;;:55;;;;8086:35;;;;;;;8015:20;;8086:35;;;;;;;;;;;;;7502:627;;;;:::o;18312:181::-;18370:7;18402:5;;;18426:6;;;;18418:46;;;;;-1:-1:-1;;;18418:46:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;18484:1;18312:181;-1:-1:-1;;;18312:181:3:o;8410:378::-;-1:-1:-1;;;;;8494:21:3;;8486:65;;;;;-1:-1:-1;;;8486:65:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;8564:49;8593:1;8597:7;8606:6;8564:20;:49::i;:::-;8641:12;;:24;;8658:6;8641:24;:16;:24;:::i;:::-;8626:12;:39;-1:-1:-1;;;;;8697:18:3;;:9;:18;;;;;;;;;;;:30;;8720:6;8697:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;8676:18:3;;:9;:18;;;;;;;;;;;:51;;;;8743:37;;;;;;;8676:18;;:9;;8743:37;;;;;;;;;;8410:378;;:::o;9120:418::-;-1:-1:-1;;;;;9204:21:3;;9196:67;;;;-1:-1:-1;;;9196:67:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9276:49;9297:7;9314:1;9318:6;9276:20;:49::i;:::-;9359:68;9382:6;9359:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9359:18:3;;:9;:18;;;;;;;;;;;;:68;;:22;:68;:::i;:::-;-1:-1:-1;;;;;9338:18:3;;:9;:18;;;;;;;;;;:89;9453:12;;:24;;9470:6;9453:24;:16;:24;:::i;:::-;9438:12;:39;9493:37;;;;;;;;9519:1;;-1:-1:-1;;;;;9493:37:3;;;;;;;;;;;;9120:418;;:::o;18641:192::-;18727:7;18763:12;18755:6;;;;18747:29;;;;-1:-1:-1;;;18747:29:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;18747:29:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;18799:5:3;;;18641:192::o;11349:92::-;;;;:::o;18499:136::-;18557:7;18584:43;18588:1;18591;18584:43;;;;;;;;;;;;;;;;;:3;:43::i

Swarm Source

ipfs://b1fcc050f1d3389a177b13ca5f2b4444135afc4aedc7c600af01e71bd5ea401e
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.