ETH Price: $3,421.16 (+5.71%)
Gas: 48 Gwei

Token

Ethereum Gold Mining Company (EGMC)
 

Overview

Max Total Supply

18,480,000 EGMC

Holders

172

Total Transfers

-

Market

Chart

Fully Diluted Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

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:
EGMC

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 2 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

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

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, 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) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

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

File 3 of 10 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 4 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 amount) external returns (bool);
}

File 5 of 10 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 6 of 10 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // 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 (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 7 of 10 : EGMC.sol
// SPDX-License-Identifier: MIT
pragma solidity =0.8.19;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

import "./interfaces/IUniswapV2Factory.sol";
import "./interfaces/IUniswapV2Router02.sol";
import "./interfaces/ISwapManager.sol";

contract EGMC is ERC20, Ownable {
    using SafeMath for uint;

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable WETH;
    address public constant deadAddress = address(0xdead);
    address public uniswapV2Pair;

    bool private swapping;

    address public marketingWallet;
    address public liquidityWallet;
    address public rewardsWallet;

    ISwapManager public swapManager;
    uint public maxTransactionAmount;
    uint public swapTokensAtAmount;
    uint public maxWallet;

    bool public limitsInEffect = true;
    bool public tradingActive = false;
    bool public swapEnabled = false;

    uint public launchTotalFees = 35;
    uint public finalTotalFees = 5;

    uint public rewardsShare = 50;
    uint public liquidityShare = 30;
    uint public marketingShare = 20;

    uint public tokensForRewards;
    uint public tokensForLiquidity;
    uint public tokensForMarketing;

    uint public launchBlock;
    uint private delayBlocks = 20;

    // exlcude from fees and max transaction amount
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public _isExcludedMaxTransactionAmount;

    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    mapping(address => bool) public automatedMarketMakerPairs;

    event UpdateUniswapV2Router(
        address indexed newAddress,
        address indexed oldAddress
    );

    event ExcludeFromFees(address indexed account, bool isExcluded);

    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    event SwapManagerUpdated(
        address indexed newManager,
        address indexed oldManager
    );

    event MarketingWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    event LiquidityWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    event RewardsWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    event SwapAndLiquify(
        uint tokensSwapped,
        uint wethReceived,
        uint tokensIntoLiquidity
    );

    constructor() ERC20("Ethereum Gold Mining Company", "EGMC") {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        uniswapV2Router = _uniswapV2Router;
        WETH = uniswapV2Router.WETH();

        uint totalSupply = 18_480_000 * 1e18;

        maxTransactionAmount = totalSupply * 3 / 100;
        maxWallet = maxTransactionAmount;
        swapTokensAtAmount = totalSupply / 1000;

        // exclude from paying fees or having max transaction amount
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(deadAddress, true);

        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(deadAddress, true);

        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(msg.sender, totalSupply);
    }

    function initTrading() external payable onlyOwner {
        address pair = IUniswapV2Factory(uniswapV2Router.factory())
            .createPair(address(this), WETH);
            
        uniswapV2Pair = pair;
        excludeFromMaxTransaction(pair, true);
        _setAutomatedMarketMakerPair(pair, true);

        uint liquidityTokens = balanceOf(_msgSender());
        _approve(address(this), address(uniswapV2Router), type(uint).max);
        _approve(_msgSender(), address(this), liquidityTokens);
        _transfer(_msgSender(), address(this), liquidityTokens);

        uniswapV2Router.addLiquidityETH{value: msg.value}(
            address(this),
            liquidityTokens,
            0,
            0,
            _msgSender(),
            block.timestamp + 30 seconds
        );
    }

    // once enabled, can never be turned off
    function enableTrading() external onlyOwner {
        require (
            address(swapManager) != address(0), 
            "Need to set swap manager"
        );

        tradingActive = true;
        swapEnabled = true;
        launchBlock = block.number;
    }

    // remove limits after token is stable
    function removeLimits() external onlyOwner returns (bool) {
        limitsInEffect = false;
        return true;
    }

    // change the minimum amount of tokens to sell from fees
    function updateSwapTokensAtAmount(uint newAmount)
        external
        onlyOwner
        returns (bool)
    {
        require(
            newAmount >= (totalSupply() * 1) / 100000,
            "Swap amount cannot be lower than 0.001% total supply."
        );
        require(
            newAmount <= (totalSupply() * 5) / 1000,
            "Swap amount cannot be higher than 0.5% total supply."
        );
        swapTokensAtAmount = newAmount;
        return true;
    }

    function excludeFromMaxTransaction(address updAds, bool isEx)
        public
        onlyOwner
    {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }

    function updateSwapManager(address newManager) external onlyOwner {
        emit SwapManagerUpdated(newManager, address(swapManager));
        swapManager = ISwapManager(newManager);
        excludeFromFees(newManager, true);
        excludeFromMaxTransaction(newManager, true);
    }

    // only use to disable contract sales if absolutely necessary (emergency use only)
    function updateSwapEnabled(bool enabled) external onlyOwner {
        swapEnabled = enabled;
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }

    function setAutomatedMarketMakerPair(address pair, bool value)
        public
        onlyOwner
    {
        require(
            pair != uniswapV2Pair,
            "The pair cannot be removed from automatedMarketMakerPairs"
        );

        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function updateMarketingWallet(address newMarketingWallet)
        external
        onlyOwner
    {
        emit MarketingWalletUpdated(newMarketingWallet, marketingWallet);
        marketingWallet = newMarketingWallet;
        excludeFromFees(newMarketingWallet, true);
        excludeFromMaxTransaction(newMarketingWallet, true);
    }

    function updateLiquidityWallet(address newLiquidityWallet)
        external
        onlyOwner
    {
        emit LiquidityWalletUpdated(newLiquidityWallet, liquidityWallet);
        liquidityWallet = newLiquidityWallet;
        excludeFromFees(newLiquidityWallet, true);
        excludeFromMaxTransaction(newLiquidityWallet, true);
    }

    function updateRewardsWallet(address newRewardsWallet) external onlyOwner {
        emit RewardsWalletUpdated(newRewardsWallet, rewardsWallet);
        rewardsWallet = newRewardsWallet;
        excludeFromFees(newRewardsWallet, true);
        excludeFromMaxTransaction(newRewardsWallet, true);
    }

    function isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

    function _transfer(
        address from,
        address to,
        uint amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        if (limitsInEffect) {
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != address(0xdead) &&
                !swapping
            ) {
                if (!tradingActive) {
                    require(
                        _isExcludedFromFees[from] || _isExcludedFromFees[to],
                        "Trading is not active."
                    );
                }

                //when buy
                if (
                    automatedMarketMakerPairs[from] &&
                    !_isExcludedMaxTransactionAmount[to]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Buy transfer amount exceeds the maxTransactionAmount."
                    );
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
                //when sell
                else if (
                    automatedMarketMakerPairs[to] &&
                    !_isExcludedMaxTransactionAmount[from]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Sell transfer amount exceeds the maxTransactionAmount."
                    );
                } else if (!_isExcludedMaxTransactionAmount[to]) {
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
            }
        }

        uint contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (
            canSwap &&
            swapEnabled &&
            !swapping &&
            !automatedMarketMakerPairs[from] &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to]
        ) {
            swapping = true;

            swapBack();

            swapping = false;
        }

        bool takeFee = !swapping;

        // if any account belongs to _isExcludedFromFee account then remove the fee
        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        uint fees = 0;
        // only take fees on buys/sells, do not take on wallet transfers
        if (takeFee) {
            // on sell
            if (
                finalTotalFees > 0 &&
                (automatedMarketMakerPairs[to] ||
                automatedMarketMakerPairs[from])
            ) {
                fees = amount.mul(launchBlock.add(delayBlocks) > block.number ? launchTotalFees : finalTotalFees).div(100);
                tokensForRewards += (fees * rewardsShare) / 100;
                tokensForLiquidity += (fees * liquidityShare) / 100;
                tokensForMarketing += (fees * marketingShare) / 100;
            }

            if (fees > 0) {
                super._transfer(from, address(this), fees);
            }

            amount -= fees;
        }

        super._transfer(from, to, amount);
    }

    function swapBack() private {
        uint contractBalance = balanceOf(address(this));
        uint totalTokensToSwap = tokensForMarketing +
            tokensForLiquidity +
            tokensForRewards;

        if (contractBalance == 0 || totalTokensToSwap == 0) {
            return;
        }

        if (contractBalance > swapTokensAtAmount * 10) {
            contractBalance = swapTokensAtAmount * 10;
        }

        uint liquidityTokens = (contractBalance * tokensForLiquidity) /
            totalTokensToSwap / 2;
        uint amountToSwapForWeth = contractBalance.sub(liquidityTokens);

        uint initialWethBalance = IERC20(WETH).balanceOf(address(this));

        _approve(address(this), address(swapManager), amountToSwapForWeth);
        swapManager.swapToWeth(amountToSwapForWeth);

        uint wethBalance = IERC20(WETH).balanceOf(address(this)).sub(initialWethBalance);

        uint wethForMarketing = wethBalance.mul(tokensForMarketing).div(totalTokensToSwap);
        uint wethForRewards = wethBalance.mul(tokensForRewards).div(totalTokensToSwap);
        uint wethForLiquidity = wethBalance - wethForMarketing - wethForRewards;

        tokensForMarketing = 0;
        tokensForLiquidity = 0;
        tokensForRewards = 0;

        IERC20(WETH).transfer(marketingWallet, wethForMarketing);

        if (liquidityTokens > 0 && wethForLiquidity > 0) {
            _approve(address(this), address(swapManager), liquidityTokens);
            IERC20(WETH).approve(address(swapManager), wethForLiquidity);

            swapManager.addLiquidity(liquidityTokens, wethForLiquidity);

            emit SwapAndLiquify(
                amountToSwapForWeth,
                wethForLiquidity,
                tokensForLiquidity
            );
        }

        IERC20(WETH).transfer(rewardsWallet, IERC20(WETH).balanceOf(address(this)));
    }
}

File 8 of 10 : ISwapManager.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

interface ISwapManager {
    function swapToWeth(uint tokenAmount) external;
    function addLiquidity(uint tokenAmount, uint wethAmount) external;
}

File 9 of 10 : IUniswapV2Factory.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

    function allPairs(uint) external view returns (address pair);

    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB)
        external
        returns (address pair);

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

File 10 of 10 : IUniswapV2Router02.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IUniswapV2Router02 {
    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 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;
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"LiquidityWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"MarketingWalletUpdated","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":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"RewardsWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"wethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newManager","type":"address"},{"indexed":true,"internalType":"address","name":"oldManager","type":"address"}],"name":"SwapManagerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"initTrading","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardsShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapManager","outputs":[{"internalType":"contract ISwapManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForMarketing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newLiquidityWallet","type":"address"}],"name":"updateLiquidityWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRewardsWallet","type":"address"}],"name":"updateRewardsWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newManager","type":"address"}],"name":"updateSwapManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60c06040526001600e60006101000a81548160ff0219169083151502179055506000600e60016101000a81548160ff0219169083151502179055506000600e60026101000a81548160ff0219169083151502179055506023600f5560056010556032601155601e601255601460135560146018553480156200008057600080fd5b506040518060400160405280601c81526020017f457468657265756d20476f6c64204d696e696e6720436f6d70616e79000000008152506040518060400160405280600481526020017f45474d43000000000000000000000000000000000000000000000000000000008152508160039081620000fe9190620009da565b508060049081620001109190620009da565b50505062000133620001276200033a60201b60201c565b6200034260201b60201c565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d90506200015f8160016200040860201b60201c565b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505060805173ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000207919062000b2b565b73ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff168152505060006a0f494aceb03bb6be000000905060646003826200025b919062000b8c565b62000267919062000c06565b600b81905550600b54600d819055506103e88162000286919062000c06565b600c81905550620002ae620002a06200047360201b60201c565b60016200049d60201b60201c565b620002c13060016200049d60201b60201c565b620002d661dead60016200049d60201b60201c565b620002f8620002ea6200047360201b60201c565b60016200040860201b60201c565b6200030b3060016200040860201b60201c565b6200032061dead60016200040860201b60201c565b6200033233826200055860201b60201c565b505062000dd6565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000418620006c560201b60201c565b80601a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620004ad620006c560201b60201c565b80601960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7826040516200054c919062000c5b565b60405180910390a25050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620005ca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005c19062000cd9565b60405180910390fd5b620005de600083836200075660201b60201c565b8060026000828254620005f2919062000cfb565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620006a5919062000d47565b60405180910390a3620006c1600083836200075b60201b60201c565b5050565b620006d56200033a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620006fb6200047360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000754576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200074b9062000db4565b60405180910390fd5b565b505050565b505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620007e257607f821691505b602082108103620007f857620007f76200079a565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620008627fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000823565b6200086e868362000823565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620008bb620008b5620008af8462000886565b62000890565b62000886565b9050919050565b6000819050919050565b620008d7836200089a565b620008ef620008e682620008c2565b84845462000830565b825550505050565b600090565b62000906620008f7565b62000913818484620008cc565b505050565b5b818110156200093b576200092f600082620008fc565b60018101905062000919565b5050565b601f8211156200098a576200095481620007fe565b6200095f8462000813565b810160208510156200096f578190505b620009876200097e8562000813565b83018262000918565b50505b505050565b600082821c905092915050565b6000620009af600019846008026200098f565b1980831691505092915050565b6000620009ca83836200099c565b9150826002028217905092915050565b620009e58262000760565b67ffffffffffffffff81111562000a015762000a006200076b565b5b62000a0d8254620007c9565b62000a1a8282856200093f565b600060209050601f83116001811462000a52576000841562000a3d578287015190505b62000a498582620009bc565b86555062000ab9565b601f19841662000a6286620007fe565b60005b8281101562000a8c5784890151825560018201915060208501945060208101905062000a65565b8683101562000aac578489015162000aa8601f8916826200099c565b8355505b6001600288020188555050505b505050505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000af38262000ac6565b9050919050565b62000b058162000ae6565b811462000b1157600080fd5b50565b60008151905062000b258162000afa565b92915050565b60006020828403121562000b445762000b4362000ac1565b5b600062000b548482850162000b14565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000b998262000886565b915062000ba68362000886565b925082820262000bb68162000886565b9150828204841483151762000bd05762000bcf62000b5d565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600062000c138262000886565b915062000c208362000886565b92508262000c335762000c3262000bd7565b5b828204905092915050565b60008115159050919050565b62000c558162000c3e565b82525050565b600060208201905062000c72600083018462000c4a565b92915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000cc1601f8362000c78565b915062000cce8262000c89565b602082019050919050565b6000602082019050818103600083015262000cf48162000cb2565b9050919050565b600062000d088262000886565b915062000d158362000886565b925082820190508082111562000d305762000d2f62000b5d565b5b92915050565b62000d418162000886565b82525050565b600060208201905062000d5e600083018462000d36565b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000d9c60208362000c78565b915062000da98262000d64565b602082019050919050565b6000602082019050818103600083015262000dcf8162000d8d565b9050919050565b60805160a05161466a62000e4260003960008181610e380152818161175101528181612dd201528181612f2e0152818161306101528181613164015281816132f20152613351015260008181610d1401528181610d8d01528181610f2a0152610f95015261466a6000f3fe6080604052600436106102ff5760003560e01c80637571336a11610190578063be59c45a116100dc578063d469801611610095578063e37ba8f91161006f578063e37ba8f914610b83578063f2fde38b14610bac578063f54afa7814610bd5578063f8b45b0514610c00576102ff565b8063d469801614610af0578063dd62ed3e14610b1b578063e2f4560514610b58576102ff565b8063be59c45a146109e0578063c024666814610a0b578063c8c8ebe414610a34578063cfc0d02414610a5f578063d00efb2f14610a88578063d257b34f14610ab3576102ff565b80639a7a23d611610149578063aacebbe311610123578063aacebbe314610924578063ad5c46481461094d578063b62496f514610978578063bbc0c742146109b5576102ff565b80639a7a23d614610881578063a457c2d7146108aa578063a9059cbb146108e7576102ff565b80637571336a1461079757806375f0a874146107c05780638a8c523c146107eb5780638da5cb5b14610802578063924de9b71461082d57806395d89b4114610856576102ff565b8063313ce5671161024f5780634fbee19311610208578063709d039d116101e2578063709d039d146106ed57806370a0823114610718578063715018a614610755578063751039fc1461076c576102ff565b80634fbee1931461065a5780635b35f9c9146106975780636ddd1713146106c2576102ff565b8063313ce567146105485780633372707714610573578063395093511461059e57806349bd5a5e146105db5780634a62bb65146106065780634c36fad714610631576102ff565b80631694505e116102bc5780631f3fed8f116102965780631f3fed8f146104ab57806323b872dd146104d657806327c8f835146105135780632db5ae041461053e576102ff565b80631694505e1461042a57806318160ddd146104555780631a8145bb14610480576102ff565b806306fdde031461030457806309218ee71461032f578063095ea7b31461035a57806310d5de531461039757806314773904146103d457806315291cd4146103ff575b600080fd5b34801561031057600080fd5b50610319610c2b565b6040516103269190613548565b60405180910390f35b34801561033b57600080fd5b50610344610cbd565b6040516103519190613583565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c919061362d565b610cc3565b60405161038e9190613688565b60405180910390f35b3480156103a357600080fd5b506103be60048036038101906103b991906136a3565b610ce6565b6040516103cb9190613688565b60405180910390f35b3480156103e057600080fd5b506103e9610d06565b6040516103f69190613583565b60405180910390f35b34801561040b57600080fd5b50610414610d0c565b6040516104219190613583565b60405180910390f35b34801561043657600080fd5b5061043f610d12565b60405161044c919061372f565b60405180910390f35b34801561046157600080fd5b5061046a610d36565b6040516104779190613583565b60405180910390f35b34801561048c57600080fd5b50610495610d40565b6040516104a29190613583565b60405180910390f35b3480156104b757600080fd5b506104c0610d46565b6040516104cd9190613583565b60405180910390f35b3480156104e257600080fd5b506104fd60048036038101906104f8919061374a565b610d4c565b60405161050a9190613688565b60405180910390f35b34801561051f57600080fd5b50610528610d7b565b60405161053591906137ac565b60405180910390f35b610546610d81565b005b34801561055457600080fd5b5061055d611055565b60405161056a91906137e3565b60405180910390f35b34801561057f57600080fd5b5061058861105e565b6040516105959190613583565b60405180910390f35b3480156105aa57600080fd5b506105c560048036038101906105c0919061362d565b611064565b6040516105d29190613688565b60405180910390f35b3480156105e757600080fd5b506105f061109b565b6040516105fd91906137ac565b60405180910390f35b34801561061257600080fd5b5061061b6110c1565b6040516106289190613688565b60405180910390f35b34801561063d57600080fd5b50610658600480360381019061065391906136a3565b6110d4565b005b34801561066657600080fd5b50610681600480360381019061067c91906136a3565b6111b2565b60405161068e9190613688565b60405180910390f35b3480156106a357600080fd5b506106ac611208565b6040516106b991906137ac565b60405180910390f35b3480156106ce57600080fd5b506106d761122e565b6040516106e49190613688565b60405180910390f35b3480156106f957600080fd5b50610702611241565b60405161070f919061381f565b60405180910390f35b34801561072457600080fd5b5061073f600480360381019061073a91906136a3565b611267565b60405161074c9190613583565b60405180910390f35b34801561076157600080fd5b5061076a6112af565b005b34801561077857600080fd5b506107816112c3565b60405161078e9190613688565b60405180910390f35b3480156107a357600080fd5b506107be60048036038101906107b99190613866565b6112ef565b005b3480156107cc57600080fd5b506107d5611352565b6040516107e291906137ac565b60405180910390f35b3480156107f757600080fd5b50610800611378565b005b34801561080e57600080fd5b50610817611450565b60405161082491906137ac565b60405180910390f35b34801561083957600080fd5b50610854600480360381019061084f91906138a6565b61147a565b005b34801561086257600080fd5b5061086b61149f565b6040516108789190613548565b60405180910390f35b34801561088d57600080fd5b506108a860048036038101906108a39190613866565b611531565b005b3480156108b657600080fd5b506108d160048036038101906108cc919061362d565b6115d7565b6040516108de9190613688565b60405180910390f35b3480156108f357600080fd5b5061090e6004803603810190610909919061362d565b61164e565b60405161091b9190613688565b60405180910390f35b34801561093057600080fd5b5061094b600480360381019061094691906136a3565b611671565b005b34801561095957600080fd5b5061096261174f565b60405161096f91906137ac565b60405180910390f35b34801561098457600080fd5b5061099f600480360381019061099a91906136a3565b611773565b6040516109ac9190613688565b60405180910390f35b3480156109c157600080fd5b506109ca611793565b6040516109d79190613688565b60405180910390f35b3480156109ec57600080fd5b506109f56117a6565b604051610a029190613583565b60405180910390f35b348015610a1757600080fd5b50610a326004803603810190610a2d9190613866565b6117ac565b005b348015610a4057600080fd5b50610a4961185d565b604051610a569190613583565b60405180910390f35b348015610a6b57600080fd5b50610a866004803603810190610a8191906136a3565b611863565b005b348015610a9457600080fd5b50610a9d611941565b604051610aaa9190613583565b60405180910390f35b348015610abf57600080fd5b50610ada6004803603810190610ad591906138d3565b611947565b604051610ae79190613688565b60405180910390f35b348015610afc57600080fd5b50610b05611a28565b604051610b1291906137ac565b60405180910390f35b348015610b2757600080fd5b50610b426004803603810190610b3d9190613900565b611a4e565b604051610b4f9190613583565b60405180910390f35b348015610b6457600080fd5b50610b6d611ad5565b604051610b7a9190613583565b60405180910390f35b348015610b8f57600080fd5b50610baa6004803603810190610ba591906136a3565b611adb565b005b348015610bb857600080fd5b50610bd36004803603810190610bce91906136a3565b611bb9565b005b348015610be157600080fd5b50610bea611c3c565b604051610bf79190613583565b60405180910390f35b348015610c0c57600080fd5b50610c15611c42565b604051610c229190613583565b60405180910390f35b606060038054610c3a9061396f565b80601f0160208091040260200160405190810160405280929190818152602001828054610c669061396f565b8015610cb35780601f10610c8857610100808354040283529160200191610cb3565b820191906000526020600020905b815481529060010190602001808311610c9657829003601f168201915b5050505050905090565b60135481565b600080610cce611c48565b9050610cdb818585611c50565b600191505092915050565b601a6020528060005260406000206000915054906101000a900460ff1681565b60105481565b60125481565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600254905090565b60155481565b60165481565b600080610d57611c48565b9050610d64858285611e19565b610d6f858585611ea5565b60019150509392505050565b61dead81565b610d896128c2565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1a91906139b5565b73ffffffffffffffffffffffffffffffffffffffff1663c9c65396307f00000000000000000000000000000000000000000000000000000000000000006040518363ffffffff1660e01b8152600401610e749291906139e2565b6020604051808303816000875af1158015610e93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb791906139b5565b905080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610f058160016112ef565b610f10816001612940565b6000610f22610f1d611c48565b611267565b9050610f6f307f00000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611c50565b610f81610f7a611c48565b3083611c50565b610f93610f8c611c48565b3083611ea5565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f305d719343084600080610fdd611c48565b601e42610fea9190613a3a565b6040518863ffffffff1660e01b815260040161100b96959493929190613aa9565b60606040518083038185885af1158015611029573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061104e9190613b1f565b5050505050565b60006012905090565b60115481565b60008061106f611c48565b90506110908185856110818589611a4e565b61108b9190613a3a565b611c50565b600191505092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e60009054906101000a900460ff1681565b6110dc6128c2565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167fb3fd0123f0059326c0d3771de6b52f7cc07866caff01a05b16473ae87d382bf960405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506111a48160016117ac565b6111af8160016112ef565b50565b6000601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e60029054906101000a900460ff1681565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112b76128c2565b6112c160006129e1565b565b60006112cd6128c2565b6000600e60006101000a81548160ff0219169083151502179055506001905090565b6112f76128c2565b80601a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6113806128c2565b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140890613bbe565b60405180910390fd5b6001600e60016101000a81548160ff0219169083151502179055506001600e60026101000a81548160ff02191690831515021790555043601781905550565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114826128c2565b80600e60026101000a81548160ff02191690831515021790555050565b6060600480546114ae9061396f565b80601f01602080910402602001604051908101604052809291908181526020018280546114da9061396f565b80156115275780601f106114fc57610100808354040283529160200191611527565b820191906000526020600020905b81548152906001019060200180831161150a57829003601f168201915b5050505050905090565b6115396128c2565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c090613c50565b60405180910390fd5b6115d38282612940565b5050565b6000806115e2611c48565b905060006115f08286611a4e565b905083811015611635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162c90613ce2565b60405180910390fd5b6116428286868403611c50565b60019250505092915050565b600080611659611c48565b9050611666818585611ea5565b600191505092915050565b6116796128c2565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8616c7a330e3cf61290821331585511f1e2778171e2b005fb5ec60cfe874dc6760405160405180910390a380600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506117418160016117ac565b61174c8160016112ef565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b601b6020528060005260406000206000915054906101000a900460ff1681565b600e60019054906101000a900460ff1681565b600f5481565b6117b46128c2565b80601960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7826040516118519190613688565b60405180910390a25050565b600b5481565b61186b6128c2565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f85710b1053f40e0d492d81001a623cd191d251fed32881e7bb80fc1b66a6e46360405160405180910390a380600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506119338160016117ac565b61193e8160016112ef565b50565b60175481565b60006119516128c2565b620186a0600161195f610d36565b6119699190613d02565b6119739190613d73565b8210156119b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ac90613e16565b60405180910390fd5b6103e860056119c2610d36565b6119cc9190613d02565b6119d69190613d73565b821115611a18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0f90613ea8565b60405180910390fd5b81600c8190555060019050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600c5481565b611ae36128c2565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f6080503d1da552ae8eb4b7b8a20245d9fabed014180510e7d1a05ea08fdb0f3e60405160405180910390a380600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611bab8160016117ac565b611bb68160016112ef565b50565b611bc16128c2565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2790613f3a565b60405180910390fd5b611c39816129e1565b50565b60145481565b600d5481565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb690613fcc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d259061405e565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611e0c9190613583565b60405180910390a3505050565b6000611e258484611a4e565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611e9f5781811015611e91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e88906140ca565b60405180910390fd5b611e9e8484848403611c50565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611f14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0b9061415c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7a906141ee565b60405180910390fd5b60008103611f9c57611f9783836000612aa7565b6128bd565b600e60009054906101000a900460ff161561249757611fb9611450565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156120275750611ff7611450565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156120605750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561209a575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156120b35750600660149054906101000a900460ff16155b1561249657600e60019054906101000a900460ff166121ad57601960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061216d5750601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6121ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a39061425a565b60405180910390fd5b5b601b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156122505750601a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156122f757600b5481111561229a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612291906142ec565b60405180910390fd5b600d546122a683611267565b826122b19190613a3a565b11156122f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e990614358565b60405180910390fd5b612495565b601b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16801561239a5750601a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156123e957600b548111156123e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123db906143ea565b60405180910390fd5b612494565b601a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661249357600d5461244683611267565b826124519190613a3a565b1115612492576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248990614358565b60405180910390fd5b5b5b5b5b5b60006124a230611267565b90506000600c5482101590508080156124c75750600e60029054906101000a900460ff165b80156124e05750600660149054906101000a900460ff16155b80156125365750601b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b801561258c5750601960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156125e25750601960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15612626576001600660146101000a81548160ff02191690831515021790555061260a612d1d565b6000600660146101000a81548160ff0219169083151502179055505b6000600660149054906101000a900460ff16159050601960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806126dc5750601960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156126e657600090505b600081156128ad57600060105411801561279d5750601b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061279c5750601b60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b5b15612889576127f060646127e2436127c260185460175461345690919063ffffffff16565b116127cf576010546127d3565b600f545b8861346c90919063ffffffff16565b61348290919063ffffffff16565b90506064601154826128029190613d02565b61280c9190613d73565b6014600082825461281d9190613a3a565b925050819055506064601254826128349190613d02565b61283e9190613d73565b6015600082825461284f9190613a3a565b925050819055506064601354826128669190613d02565b6128709190613d73565b601660008282546128819190613a3a565b925050819055505b600081111561289e5761289d873083612aa7565b5b80856128aa919061440a565b94505b6128b8878787612aa7565b505050505b505050565b6128ca611c48565b73ffffffffffffffffffffffffffffffffffffffff166128e8611450565b73ffffffffffffffffffffffffffffffffffffffff161461293e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129359061448a565b60405180910390fd5b565b80601b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0d9061415c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7c906141ee565b60405180910390fd5b612b90838383613498565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0d9061451c565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612d049190613583565b60405180910390a3612d1784848461349d565b50505050565b6000612d2830611267565b90506000601454601554601654612d3f9190613a3a565b612d499190613a3a565b90506000821480612d5a5750600081145b15612d66575050613454565b600a600c54612d759190613d02565b821115612d8e57600a600c54612d8b9190613d02565b91505b600060028260155485612da19190613d02565b612dab9190613d73565b612db59190613d73565b90506000612dcc82856134a290919063ffffffff16565b905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401612e2991906137ac565b602060405180830381865afa158015612e46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e6a919061453c565b9050612e9930600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684611c50565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fb6a4c2c836040518263ffffffff1660e01b8152600401612ef49190613583565b600060405180830381600087803b158015612f0e57600080fd5b505af1158015612f22573d6000803e3d6000fd5b505050506000612fd4827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401612f8591906137ac565b602060405180830381865afa158015612fa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fc6919061453c565b6134a290919063ffffffff16565b90506000612fff86612ff16016548561346c90919063ffffffff16565b61348290919063ffffffff16565b9050600061302a8761301c6014548661346c90919063ffffffff16565b61348290919063ffffffff16565b9050600081838561303b919061440a565b613045919061440a565b90506000601681905550600060158190555060006014819055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856040518363ffffffff1660e01b81526004016130dc929190614569565b6020604051808303816000875af11580156130fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061311f91906145a7565b506000871180156131305750600081115b156132f05761316230600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1689611c50565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b81526004016131df929190614569565b6020604051808303816000875af11580156131fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061322291906145a7565b50600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639cd441da88836040518363ffffffff1660e01b81526004016132809291906145d4565b600060405180830381600087803b15801561329a57600080fd5b505af11580156132ae573d6000803e3d6000fd5b505050507f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb56186826015546040516132e7939291906145fd565b60405180910390a15b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016133a891906137ac565b602060405180830381865afa1580156133c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133e9919061453c565b6040518363ffffffff1660e01b8152600401613406929190614569565b6020604051808303816000875af1158015613425573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061344991906145a7565b505050505050505050505b565b600081836134649190613a3a565b905092915050565b6000818361347a9190613d02565b905092915050565b600081836134909190613d73565b905092915050565b505050565b505050565b600081836134b0919061440a565b905092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134f25780820151818401526020810190506134d7565b60008484015250505050565b6000601f19601f8301169050919050565b600061351a826134b8565b61352481856134c3565b93506135348185602086016134d4565b61353d816134fe565b840191505092915050565b60006020820190508181036000830152613562818461350f565b905092915050565b6000819050919050565b61357d8161356a565b82525050565b60006020820190506135986000830184613574565b92915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135ce826135a3565b9050919050565b6135de816135c3565b81146135e957600080fd5b50565b6000813590506135fb816135d5565b92915050565b61360a8161356a565b811461361557600080fd5b50565b60008135905061362781613601565b92915050565b600080604083850312156136445761364361359e565b5b6000613652858286016135ec565b925050602061366385828601613618565b9150509250929050565b60008115159050919050565b6136828161366d565b82525050565b600060208201905061369d6000830184613679565b92915050565b6000602082840312156136b9576136b861359e565b5b60006136c7848285016135ec565b91505092915050565b6000819050919050565b60006136f56136f06136eb846135a3565b6136d0565b6135a3565b9050919050565b6000613707826136da565b9050919050565b6000613719826136fc565b9050919050565b6137298161370e565b82525050565b60006020820190506137446000830184613720565b92915050565b6000806000606084860312156137635761376261359e565b5b6000613771868287016135ec565b9350506020613782868287016135ec565b925050604061379386828701613618565b9150509250925092565b6137a6816135c3565b82525050565b60006020820190506137c1600083018461379d565b92915050565b600060ff82169050919050565b6137dd816137c7565b82525050565b60006020820190506137f860008301846137d4565b92915050565b6000613809826136fc565b9050919050565b613819816137fe565b82525050565b60006020820190506138346000830184613810565b92915050565b6138438161366d565b811461384e57600080fd5b50565b6000813590506138608161383a565b92915050565b6000806040838503121561387d5761387c61359e565b5b600061388b858286016135ec565b925050602061389c85828601613851565b9150509250929050565b6000602082840312156138bc576138bb61359e565b5b60006138ca84828501613851565b91505092915050565b6000602082840312156138e9576138e861359e565b5b60006138f784828501613618565b91505092915050565b600080604083850312156139175761391661359e565b5b6000613925858286016135ec565b9250506020613936858286016135ec565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061398757607f821691505b60208210810361399a57613999613940565b5b50919050565b6000815190506139af816135d5565b92915050565b6000602082840312156139cb576139ca61359e565b5b60006139d9848285016139a0565b91505092915050565b60006040820190506139f7600083018561379d565b613a04602083018461379d565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a458261356a565b9150613a508361356a565b9250828201905080821115613a6857613a67613a0b565b5b92915050565b6000819050919050565b6000613a93613a8e613a8984613a6e565b6136d0565b61356a565b9050919050565b613aa381613a78565b82525050565b600060c082019050613abe600083018961379d565b613acb6020830188613574565b613ad86040830187613a9a565b613ae56060830186613a9a565b613af2608083018561379d565b613aff60a0830184613574565b979650505050505050565b600081519050613b1981613601565b92915050565b600080600060608486031215613b3857613b3761359e565b5b6000613b4686828701613b0a565b9350506020613b5786828701613b0a565b9250506040613b6886828701613b0a565b9150509250925092565b7f4e65656420746f207365742073776170206d616e616765720000000000000000600082015250565b6000613ba86018836134c3565b9150613bb382613b72565b602082019050919050565b60006020820190508181036000830152613bd781613b9b565b9050919050565b7f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060008201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000602082015250565b6000613c3a6039836134c3565b9150613c4582613bde565b604082019050919050565b60006020820190508181036000830152613c6981613c2d565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613ccc6025836134c3565b9150613cd782613c70565b604082019050919050565b60006020820190508181036000830152613cfb81613cbf565b9050919050565b6000613d0d8261356a565b9150613d188361356a565b9250828202613d268161356a565b91508282048414831517613d3d57613d3c613a0b565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613d7e8261356a565b9150613d898361356a565b925082613d9957613d98613d44565b5b828204905092915050565b7f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60008201527f20302e3030312520746f74616c20737570706c792e0000000000000000000000602082015250565b6000613e006035836134c3565b9150613e0b82613da4565b604082019050919050565b60006020820190508181036000830152613e2f81613df3565b9050919050565b7f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160008201527f6e20302e352520746f74616c20737570706c792e000000000000000000000000602082015250565b6000613e926034836134c3565b9150613e9d82613e36565b604082019050919050565b60006020820190508181036000830152613ec181613e85565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613f246026836134c3565b9150613f2f82613ec8565b604082019050919050565b60006020820190508181036000830152613f5381613f17565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613fb66024836134c3565b9150613fc182613f5a565b604082019050919050565b60006020820190508181036000830152613fe581613fa9565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006140486022836134c3565b915061405382613fec565b604082019050919050565b600060208201905081810360008301526140778161403b565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006140b4601d836134c3565b91506140bf8261407e565b602082019050919050565b600060208201905081810360008301526140e3816140a7565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006141466025836134c3565b9150614151826140ea565b604082019050919050565b6000602082019050818103600083015261417581614139565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006141d86023836134c3565b91506141e38261417c565b604082019050919050565b60006020820190508181036000830152614207816141cb565b9050919050565b7f54726164696e67206973206e6f74206163746976652e00000000000000000000600082015250565b60006142446016836134c3565b915061424f8261420e565b602082019050919050565b6000602082019050818103600083015261427381614237565b9050919050565b7f427579207472616e7366657220616d6f756e742065786365656473207468652060008201527f6d61785472616e73616374696f6e416d6f756e742e0000000000000000000000602082015250565b60006142d66035836134c3565b91506142e18261427a565b604082019050919050565b60006020820190508181036000830152614305816142c9565b9050919050565b7f4d61782077616c6c657420657863656564656400000000000000000000000000600082015250565b60006143426013836134c3565b915061434d8261430c565b602082019050919050565b6000602082019050818103600083015261437181614335565b9050919050565b7f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560008201527f206d61785472616e73616374696f6e416d6f756e742e00000000000000000000602082015250565b60006143d46036836134c3565b91506143df82614378565b604082019050919050565b60006020820190508181036000830152614403816143c7565b9050919050565b60006144158261356a565b91506144208361356a565b925082820390508181111561443857614437613a0b565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006144746020836134c3565b915061447f8261443e565b602082019050919050565b600060208201905081810360008301526144a381614467565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006145066026836134c3565b9150614511826144aa565b604082019050919050565b60006020820190508181036000830152614535816144f9565b9050919050565b6000602082840312156145525761455161359e565b5b600061456084828501613b0a565b91505092915050565b600060408201905061457e600083018561379d565b61458b6020830184613574565b9392505050565b6000815190506145a18161383a565b92915050565b6000602082840312156145bd576145bc61359e565b5b60006145cb84828501614592565b91505092915050565b60006040820190506145e96000830185613574565b6145f66020830184613574565b9392505050565b60006060820190506146126000830186613574565b61461f6020830185613574565b61462c6040830184613574565b94935050505056fea2646970667358221220d73582adfe81758f4544a5834cbbf79f0070aaa8be7003d0bb0e3af6c1c59d7e64736f6c63430008130033

Deployed Bytecode

0x6080604052600436106102ff5760003560e01c80637571336a11610190578063be59c45a116100dc578063d469801611610095578063e37ba8f91161006f578063e37ba8f914610b83578063f2fde38b14610bac578063f54afa7814610bd5578063f8b45b0514610c00576102ff565b8063d469801614610af0578063dd62ed3e14610b1b578063e2f4560514610b58576102ff565b8063be59c45a146109e0578063c024666814610a0b578063c8c8ebe414610a34578063cfc0d02414610a5f578063d00efb2f14610a88578063d257b34f14610ab3576102ff565b80639a7a23d611610149578063aacebbe311610123578063aacebbe314610924578063ad5c46481461094d578063b62496f514610978578063bbc0c742146109b5576102ff565b80639a7a23d614610881578063a457c2d7146108aa578063a9059cbb146108e7576102ff565b80637571336a1461079757806375f0a874146107c05780638a8c523c146107eb5780638da5cb5b14610802578063924de9b71461082d57806395d89b4114610856576102ff565b8063313ce5671161024f5780634fbee19311610208578063709d039d116101e2578063709d039d146106ed57806370a0823114610718578063715018a614610755578063751039fc1461076c576102ff565b80634fbee1931461065a5780635b35f9c9146106975780636ddd1713146106c2576102ff565b8063313ce567146105485780633372707714610573578063395093511461059e57806349bd5a5e146105db5780634a62bb65146106065780634c36fad714610631576102ff565b80631694505e116102bc5780631f3fed8f116102965780631f3fed8f146104ab57806323b872dd146104d657806327c8f835146105135780632db5ae041461053e576102ff565b80631694505e1461042a57806318160ddd146104555780631a8145bb14610480576102ff565b806306fdde031461030457806309218ee71461032f578063095ea7b31461035a57806310d5de531461039757806314773904146103d457806315291cd4146103ff575b600080fd5b34801561031057600080fd5b50610319610c2b565b6040516103269190613548565b60405180910390f35b34801561033b57600080fd5b50610344610cbd565b6040516103519190613583565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c919061362d565b610cc3565b60405161038e9190613688565b60405180910390f35b3480156103a357600080fd5b506103be60048036038101906103b991906136a3565b610ce6565b6040516103cb9190613688565b60405180910390f35b3480156103e057600080fd5b506103e9610d06565b6040516103f69190613583565b60405180910390f35b34801561040b57600080fd5b50610414610d0c565b6040516104219190613583565b60405180910390f35b34801561043657600080fd5b5061043f610d12565b60405161044c919061372f565b60405180910390f35b34801561046157600080fd5b5061046a610d36565b6040516104779190613583565b60405180910390f35b34801561048c57600080fd5b50610495610d40565b6040516104a29190613583565b60405180910390f35b3480156104b757600080fd5b506104c0610d46565b6040516104cd9190613583565b60405180910390f35b3480156104e257600080fd5b506104fd60048036038101906104f8919061374a565b610d4c565b60405161050a9190613688565b60405180910390f35b34801561051f57600080fd5b50610528610d7b565b60405161053591906137ac565b60405180910390f35b610546610d81565b005b34801561055457600080fd5b5061055d611055565b60405161056a91906137e3565b60405180910390f35b34801561057f57600080fd5b5061058861105e565b6040516105959190613583565b60405180910390f35b3480156105aa57600080fd5b506105c560048036038101906105c0919061362d565b611064565b6040516105d29190613688565b60405180910390f35b3480156105e757600080fd5b506105f061109b565b6040516105fd91906137ac565b60405180910390f35b34801561061257600080fd5b5061061b6110c1565b6040516106289190613688565b60405180910390f35b34801561063d57600080fd5b50610658600480360381019061065391906136a3565b6110d4565b005b34801561066657600080fd5b50610681600480360381019061067c91906136a3565b6111b2565b60405161068e9190613688565b60405180910390f35b3480156106a357600080fd5b506106ac611208565b6040516106b991906137ac565b60405180910390f35b3480156106ce57600080fd5b506106d761122e565b6040516106e49190613688565b60405180910390f35b3480156106f957600080fd5b50610702611241565b60405161070f919061381f565b60405180910390f35b34801561072457600080fd5b5061073f600480360381019061073a91906136a3565b611267565b60405161074c9190613583565b60405180910390f35b34801561076157600080fd5b5061076a6112af565b005b34801561077857600080fd5b506107816112c3565b60405161078e9190613688565b60405180910390f35b3480156107a357600080fd5b506107be60048036038101906107b99190613866565b6112ef565b005b3480156107cc57600080fd5b506107d5611352565b6040516107e291906137ac565b60405180910390f35b3480156107f757600080fd5b50610800611378565b005b34801561080e57600080fd5b50610817611450565b60405161082491906137ac565b60405180910390f35b34801561083957600080fd5b50610854600480360381019061084f91906138a6565b61147a565b005b34801561086257600080fd5b5061086b61149f565b6040516108789190613548565b60405180910390f35b34801561088d57600080fd5b506108a860048036038101906108a39190613866565b611531565b005b3480156108b657600080fd5b506108d160048036038101906108cc919061362d565b6115d7565b6040516108de9190613688565b60405180910390f35b3480156108f357600080fd5b5061090e6004803603810190610909919061362d565b61164e565b60405161091b9190613688565b60405180910390f35b34801561093057600080fd5b5061094b600480360381019061094691906136a3565b611671565b005b34801561095957600080fd5b5061096261174f565b60405161096f91906137ac565b60405180910390f35b34801561098457600080fd5b5061099f600480360381019061099a91906136a3565b611773565b6040516109ac9190613688565b60405180910390f35b3480156109c157600080fd5b506109ca611793565b6040516109d79190613688565b60405180910390f35b3480156109ec57600080fd5b506109f56117a6565b604051610a029190613583565b60405180910390f35b348015610a1757600080fd5b50610a326004803603810190610a2d9190613866565b6117ac565b005b348015610a4057600080fd5b50610a4961185d565b604051610a569190613583565b60405180910390f35b348015610a6b57600080fd5b50610a866004803603810190610a8191906136a3565b611863565b005b348015610a9457600080fd5b50610a9d611941565b604051610aaa9190613583565b60405180910390f35b348015610abf57600080fd5b50610ada6004803603810190610ad591906138d3565b611947565b604051610ae79190613688565b60405180910390f35b348015610afc57600080fd5b50610b05611a28565b604051610b1291906137ac565b60405180910390f35b348015610b2757600080fd5b50610b426004803603810190610b3d9190613900565b611a4e565b604051610b4f9190613583565b60405180910390f35b348015610b6457600080fd5b50610b6d611ad5565b604051610b7a9190613583565b60405180910390f35b348015610b8f57600080fd5b50610baa6004803603810190610ba591906136a3565b611adb565b005b348015610bb857600080fd5b50610bd36004803603810190610bce91906136a3565b611bb9565b005b348015610be157600080fd5b50610bea611c3c565b604051610bf79190613583565b60405180910390f35b348015610c0c57600080fd5b50610c15611c42565b604051610c229190613583565b60405180910390f35b606060038054610c3a9061396f565b80601f0160208091040260200160405190810160405280929190818152602001828054610c669061396f565b8015610cb35780601f10610c8857610100808354040283529160200191610cb3565b820191906000526020600020905b815481529060010190602001808311610c9657829003601f168201915b5050505050905090565b60135481565b600080610cce611c48565b9050610cdb818585611c50565b600191505092915050565b601a6020528060005260406000206000915054906101000a900460ff1681565b60105481565b60125481565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6000600254905090565b60155481565b60165481565b600080610d57611c48565b9050610d64858285611e19565b610d6f858585611ea5565b60019150509392505050565b61dead81565b610d896128c2565b60007f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1a91906139b5565b73ffffffffffffffffffffffffffffffffffffffff1663c9c65396307f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26040518363ffffffff1660e01b8152600401610e749291906139e2565b6020604051808303816000875af1158015610e93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb791906139b5565b905080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610f058160016112ef565b610f10816001612940565b6000610f22610f1d611c48565b611267565b9050610f6f307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611c50565b610f81610f7a611c48565b3083611c50565b610f93610f8c611c48565b3083611ea5565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663f305d719343084600080610fdd611c48565b601e42610fea9190613a3a565b6040518863ffffffff1660e01b815260040161100b96959493929190613aa9565b60606040518083038185885af1158015611029573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061104e9190613b1f565b5050505050565b60006012905090565b60115481565b60008061106f611c48565b90506110908185856110818589611a4e565b61108b9190613a3a565b611c50565b600191505092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e60009054906101000a900460ff1681565b6110dc6128c2565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167fb3fd0123f0059326c0d3771de6b52f7cc07866caff01a05b16473ae87d382bf960405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506111a48160016117ac565b6111af8160016112ef565b50565b6000601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e60029054906101000a900460ff1681565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112b76128c2565b6112c160006129e1565b565b60006112cd6128c2565b6000600e60006101000a81548160ff0219169083151502179055506001905090565b6112f76128c2565b80601a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6113806128c2565b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140890613bbe565b60405180910390fd5b6001600e60016101000a81548160ff0219169083151502179055506001600e60026101000a81548160ff02191690831515021790555043601781905550565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114826128c2565b80600e60026101000a81548160ff02191690831515021790555050565b6060600480546114ae9061396f565b80601f01602080910402602001604051908101604052809291908181526020018280546114da9061396f565b80156115275780601f106114fc57610100808354040283529160200191611527565b820191906000526020600020905b81548152906001019060200180831161150a57829003601f168201915b5050505050905090565b6115396128c2565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c090613c50565b60405180910390fd5b6115d38282612940565b5050565b6000806115e2611c48565b905060006115f08286611a4e565b905083811015611635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162c90613ce2565b60405180910390fd5b6116428286868403611c50565b60019250505092915050565b600080611659611c48565b9050611666818585611ea5565b600191505092915050565b6116796128c2565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8616c7a330e3cf61290821331585511f1e2778171e2b005fb5ec60cfe874dc6760405160405180910390a380600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506117418160016117ac565b61174c8160016112ef565b50565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b601b6020528060005260406000206000915054906101000a900460ff1681565b600e60019054906101000a900460ff1681565b600f5481565b6117b46128c2565b80601960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7826040516118519190613688565b60405180910390a25050565b600b5481565b61186b6128c2565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f85710b1053f40e0d492d81001a623cd191d251fed32881e7bb80fc1b66a6e46360405160405180910390a380600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506119338160016117ac565b61193e8160016112ef565b50565b60175481565b60006119516128c2565b620186a0600161195f610d36565b6119699190613d02565b6119739190613d73565b8210156119b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ac90613e16565b60405180910390fd5b6103e860056119c2610d36565b6119cc9190613d02565b6119d69190613d73565b821115611a18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0f90613ea8565b60405180910390fd5b81600c8190555060019050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600c5481565b611ae36128c2565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f6080503d1da552ae8eb4b7b8a20245d9fabed014180510e7d1a05ea08fdb0f3e60405160405180910390a380600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611bab8160016117ac565b611bb68160016112ef565b50565b611bc16128c2565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2790613f3a565b60405180910390fd5b611c39816129e1565b50565b60145481565b600d5481565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb690613fcc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d259061405e565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611e0c9190613583565b60405180910390a3505050565b6000611e258484611a4e565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611e9f5781811015611e91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e88906140ca565b60405180910390fd5b611e9e8484848403611c50565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611f14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0b9061415c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7a906141ee565b60405180910390fd5b60008103611f9c57611f9783836000612aa7565b6128bd565b600e60009054906101000a900460ff161561249757611fb9611450565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156120275750611ff7611450565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156120605750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561209a575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156120b35750600660149054906101000a900460ff16155b1561249657600e60019054906101000a900460ff166121ad57601960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061216d5750601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6121ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a39061425a565b60405180910390fd5b5b601b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156122505750601a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156122f757600b5481111561229a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612291906142ec565b60405180910390fd5b600d546122a683611267565b826122b19190613a3a565b11156122f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e990614358565b60405180910390fd5b612495565b601b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16801561239a5750601a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156123e957600b548111156123e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123db906143ea565b60405180910390fd5b612494565b601a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661249357600d5461244683611267565b826124519190613a3a565b1115612492576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248990614358565b60405180910390fd5b5b5b5b5b5b60006124a230611267565b90506000600c5482101590508080156124c75750600e60029054906101000a900460ff165b80156124e05750600660149054906101000a900460ff16155b80156125365750601b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b801561258c5750601960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156125e25750601960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15612626576001600660146101000a81548160ff02191690831515021790555061260a612d1d565b6000600660146101000a81548160ff0219169083151502179055505b6000600660149054906101000a900460ff16159050601960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806126dc5750601960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156126e657600090505b600081156128ad57600060105411801561279d5750601b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061279c5750601b60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b5b15612889576127f060646127e2436127c260185460175461345690919063ffffffff16565b116127cf576010546127d3565b600f545b8861346c90919063ffffffff16565b61348290919063ffffffff16565b90506064601154826128029190613d02565b61280c9190613d73565b6014600082825461281d9190613a3a565b925050819055506064601254826128349190613d02565b61283e9190613d73565b6015600082825461284f9190613a3a565b925050819055506064601354826128669190613d02565b6128709190613d73565b601660008282546128819190613a3a565b925050819055505b600081111561289e5761289d873083612aa7565b5b80856128aa919061440a565b94505b6128b8878787612aa7565b505050505b505050565b6128ca611c48565b73ffffffffffffffffffffffffffffffffffffffff166128e8611450565b73ffffffffffffffffffffffffffffffffffffffff161461293e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129359061448a565b60405180910390fd5b565b80601b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0d9061415c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7c906141ee565b60405180910390fd5b612b90838383613498565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0d9061451c565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612d049190613583565b60405180910390a3612d1784848461349d565b50505050565b6000612d2830611267565b90506000601454601554601654612d3f9190613a3a565b612d499190613a3a565b90506000821480612d5a5750600081145b15612d66575050613454565b600a600c54612d759190613d02565b821115612d8e57600a600c54612d8b9190613d02565b91505b600060028260155485612da19190613d02565b612dab9190613d73565b612db59190613d73565b90506000612dcc82856134a290919063ffffffff16565b905060007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401612e2991906137ac565b602060405180830381865afa158015612e46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e6a919061453c565b9050612e9930600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684611c50565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fb6a4c2c836040518263ffffffff1660e01b8152600401612ef49190613583565b600060405180830381600087803b158015612f0e57600080fd5b505af1158015612f22573d6000803e3d6000fd5b505050506000612fd4827f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401612f8591906137ac565b602060405180830381865afa158015612fa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fc6919061453c565b6134a290919063ffffffff16565b90506000612fff86612ff16016548561346c90919063ffffffff16565b61348290919063ffffffff16565b9050600061302a8761301c6014548661346c90919063ffffffff16565b61348290919063ffffffff16565b9050600081838561303b919061440a565b613045919061440a565b90506000601681905550600060158190555060006014819055507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856040518363ffffffff1660e01b81526004016130dc929190614569565b6020604051808303816000875af11580156130fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061311f91906145a7565b506000871180156131305750600081115b156132f05761316230600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1689611c50565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b81526004016131df929190614569565b6020604051808303816000875af11580156131fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061322291906145a7565b50600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639cd441da88836040518363ffffffff1660e01b81526004016132809291906145d4565b600060405180830381600087803b15801561329a57600080fd5b505af11580156132ae573d6000803e3d6000fd5b505050507f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb56186826015546040516132e7939291906145fd565b60405180910390a15b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016133a891906137ac565b602060405180830381865afa1580156133c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133e9919061453c565b6040518363ffffffff1660e01b8152600401613406929190614569565b6020604051808303816000875af1158015613425573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061344991906145a7565b505050505050505050505b565b600081836134649190613a3a565b905092915050565b6000818361347a9190613d02565b905092915050565b600081836134909190613d73565b905092915050565b505050565b505050565b600081836134b0919061440a565b905092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134f25780820151818401526020810190506134d7565b60008484015250505050565b6000601f19601f8301169050919050565b600061351a826134b8565b61352481856134c3565b93506135348185602086016134d4565b61353d816134fe565b840191505092915050565b60006020820190508181036000830152613562818461350f565b905092915050565b6000819050919050565b61357d8161356a565b82525050565b60006020820190506135986000830184613574565b92915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135ce826135a3565b9050919050565b6135de816135c3565b81146135e957600080fd5b50565b6000813590506135fb816135d5565b92915050565b61360a8161356a565b811461361557600080fd5b50565b60008135905061362781613601565b92915050565b600080604083850312156136445761364361359e565b5b6000613652858286016135ec565b925050602061366385828601613618565b9150509250929050565b60008115159050919050565b6136828161366d565b82525050565b600060208201905061369d6000830184613679565b92915050565b6000602082840312156136b9576136b861359e565b5b60006136c7848285016135ec565b91505092915050565b6000819050919050565b60006136f56136f06136eb846135a3565b6136d0565b6135a3565b9050919050565b6000613707826136da565b9050919050565b6000613719826136fc565b9050919050565b6137298161370e565b82525050565b60006020820190506137446000830184613720565b92915050565b6000806000606084860312156137635761376261359e565b5b6000613771868287016135ec565b9350506020613782868287016135ec565b925050604061379386828701613618565b9150509250925092565b6137a6816135c3565b82525050565b60006020820190506137c1600083018461379d565b92915050565b600060ff82169050919050565b6137dd816137c7565b82525050565b60006020820190506137f860008301846137d4565b92915050565b6000613809826136fc565b9050919050565b613819816137fe565b82525050565b60006020820190506138346000830184613810565b92915050565b6138438161366d565b811461384e57600080fd5b50565b6000813590506138608161383a565b92915050565b6000806040838503121561387d5761387c61359e565b5b600061388b858286016135ec565b925050602061389c85828601613851565b9150509250929050565b6000602082840312156138bc576138bb61359e565b5b60006138ca84828501613851565b91505092915050565b6000602082840312156138e9576138e861359e565b5b60006138f784828501613618565b91505092915050565b600080604083850312156139175761391661359e565b5b6000613925858286016135ec565b9250506020613936858286016135ec565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061398757607f821691505b60208210810361399a57613999613940565b5b50919050565b6000815190506139af816135d5565b92915050565b6000602082840312156139cb576139ca61359e565b5b60006139d9848285016139a0565b91505092915050565b60006040820190506139f7600083018561379d565b613a04602083018461379d565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a458261356a565b9150613a508361356a565b9250828201905080821115613a6857613a67613a0b565b5b92915050565b6000819050919050565b6000613a93613a8e613a8984613a6e565b6136d0565b61356a565b9050919050565b613aa381613a78565b82525050565b600060c082019050613abe600083018961379d565b613acb6020830188613574565b613ad86040830187613a9a565b613ae56060830186613a9a565b613af2608083018561379d565b613aff60a0830184613574565b979650505050505050565b600081519050613b1981613601565b92915050565b600080600060608486031215613b3857613b3761359e565b5b6000613b4686828701613b0a565b9350506020613b5786828701613b0a565b9250506040613b6886828701613b0a565b9150509250925092565b7f4e65656420746f207365742073776170206d616e616765720000000000000000600082015250565b6000613ba86018836134c3565b9150613bb382613b72565b602082019050919050565b60006020820190508181036000830152613bd781613b9b565b9050919050565b7f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060008201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000602082015250565b6000613c3a6039836134c3565b9150613c4582613bde565b604082019050919050565b60006020820190508181036000830152613c6981613c2d565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613ccc6025836134c3565b9150613cd782613c70565b604082019050919050565b60006020820190508181036000830152613cfb81613cbf565b9050919050565b6000613d0d8261356a565b9150613d188361356a565b9250828202613d268161356a565b91508282048414831517613d3d57613d3c613a0b565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613d7e8261356a565b9150613d898361356a565b925082613d9957613d98613d44565b5b828204905092915050565b7f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60008201527f20302e3030312520746f74616c20737570706c792e0000000000000000000000602082015250565b6000613e006035836134c3565b9150613e0b82613da4565b604082019050919050565b60006020820190508181036000830152613e2f81613df3565b9050919050565b7f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160008201527f6e20302e352520746f74616c20737570706c792e000000000000000000000000602082015250565b6000613e926034836134c3565b9150613e9d82613e36565b604082019050919050565b60006020820190508181036000830152613ec181613e85565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613f246026836134c3565b9150613f2f82613ec8565b604082019050919050565b60006020820190508181036000830152613f5381613f17565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613fb66024836134c3565b9150613fc182613f5a565b604082019050919050565b60006020820190508181036000830152613fe581613fa9565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006140486022836134c3565b915061405382613fec565b604082019050919050565b600060208201905081810360008301526140778161403b565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006140b4601d836134c3565b91506140bf8261407e565b602082019050919050565b600060208201905081810360008301526140e3816140a7565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006141466025836134c3565b9150614151826140ea565b604082019050919050565b6000602082019050818103600083015261417581614139565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006141d86023836134c3565b91506141e38261417c565b604082019050919050565b60006020820190508181036000830152614207816141cb565b9050919050565b7f54726164696e67206973206e6f74206163746976652e00000000000000000000600082015250565b60006142446016836134c3565b915061424f8261420e565b602082019050919050565b6000602082019050818103600083015261427381614237565b9050919050565b7f427579207472616e7366657220616d6f756e742065786365656473207468652060008201527f6d61785472616e73616374696f6e416d6f756e742e0000000000000000000000602082015250565b60006142d66035836134c3565b91506142e18261427a565b604082019050919050565b60006020820190508181036000830152614305816142c9565b9050919050565b7f4d61782077616c6c657420657863656564656400000000000000000000000000600082015250565b60006143426013836134c3565b915061434d8261430c565b602082019050919050565b6000602082019050818103600083015261437181614335565b9050919050565b7f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560008201527f206d61785472616e73616374696f6e416d6f756e742e00000000000000000000602082015250565b60006143d46036836134c3565b91506143df82614378565b604082019050919050565b60006020820190508181036000830152614403816143c7565b9050919050565b60006144158261356a565b91506144208361356a565b925082820390508181111561443857614437613a0b565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006144746020836134c3565b915061447f8261443e565b602082019050919050565b600060208201905081810360008301526144a381614467565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006145066026836134c3565b9150614511826144aa565b604082019050919050565b60006020820190508181036000830152614535816144f9565b9050919050565b6000602082840312156145525761455161359e565b5b600061456084828501613b0a565b91505092915050565b600060408201905061457e600083018561379d565b61458b6020830184613574565b9392505050565b6000815190506145a18161383a565b92915050565b6000602082840312156145bd576145bc61359e565b5b60006145cb84828501614592565b91505092915050565b60006040820190506145e96000830185613574565b6145f66020830184613574565b9392505050565b60006060820190506146126000830186613574565b61461f6020830185613574565b61462c6040830184613574565b94935050505056fea2646970667358221220d73582adfe81758f4544a5834cbbf79f0070aaa8be7003d0bb0e3af6c1c59d7e64736f6c63430008130033

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.