ETH Price: $2,722.40 (+12.38%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve186912382023-12-01 11:22:35341 days ago1701429755IN
0xd7E17407...0e8646cFe
0 ETH0.0007584131.18483155
Approve183132352023-10-09 13:32:47394 days ago1696858367IN
0xd7E17407...0e8646cFe
0 ETH0.00024398.35862098
Approve183132312023-10-09 13:31:59394 days ago1696858319IN
0xd7E17407...0e8646cFe
0 ETH0.000264819.08275662
Approve183132252023-10-09 13:30:47394 days ago1696858247IN
0xd7E17407...0e8646cFe
0 ETH0.0002969210.18398217
Approve183132162023-10-09 13:28:59394 days ago1696858139IN
0xd7E17407...0e8646cFe
0 ETH0.000408888.83957137
Approve183131792023-10-09 13:21:23394 days ago1696857683IN
0xd7E17407...0e8646cFe
0 ETH0.0004663510.07678128
Approve183131642023-10-09 13:18:23394 days ago1696857503IN
0xd7E17407...0e8646cFe
0 ETH0.000439569.44415637
Approve183131402023-10-09 13:13:35394 days ago1696857215IN
0xd7E17407...0e8646cFe
0 ETH0.0006202413.3088123
Approve183131302023-10-09 13:11:35394 days ago1696857095IN
0xd7E17407...0e8646cFe
0 ETH0.000457599.83141702
Approve183131162023-10-09 13:08:47394 days ago1696856927IN
0xd7E17407...0e8646cFe
0 ETH0.0005397911.58252842
Approve183131122023-10-09 13:07:59394 days ago1696856879IN
0xd7E17407...0e8646cFe
0 ETH0.0006982114.98191416
Approve183130812023-10-09 13:01:47394 days ago1696856507IN
0xd7E17407...0e8646cFe
0 ETH0.0005720112.27397028
Approve183130652023-10-09 12:58:35394 days ago1696856315IN
0xd7E17407...0e8646cFe
0 ETH0.0005586111.98642936
Remove Limits183130572023-10-09 12:56:59394 days ago1696856219IN
0xd7E17407...0e8646cFe
0 ETH0.000323289.5910168
Approve183130512023-10-09 12:55:47394 days ago1696856147IN
0xd7E17407...0e8646cFe
0 ETH0.0006994815.01293659
Set Limits And F...183130432023-10-09 12:54:11394 days ago1696856051IN
0xd7E17407...0e8646cFe
0 ETH0.0006167211.15675828
Set Limits And F...183130302023-10-09 12:51:35394 days ago1696855895IN
0xd7E17407...0e8646cFe
0 ETH0.0009001112.04435785
Remove Limits183130282023-10-09 12:51:11394 days ago1696855871IN
0xd7E17407...0e8646cFe
0 ETH0.0004072112.08114975
Set Limits And F...183130262023-10-09 12:50:47394 days ago1696855847IN
0xd7E17407...0e8646cFe
0 ETH0.0026641912.59256167
Approve183130262023-10-09 12:50:47394 days ago1696855847IN
0xd7E17407...0e8646cFe
0 ETH0.0007126915.29256167
Enable Trading183130252023-10-09 12:50:35394 days ago1696855835IN
0xd7E17407...0e8646cFe
0 ETH0.0005736112.60192917
Approve183123712023-10-09 10:38:47394 days ago1696847927IN
0xd7E17407...0e8646cFe
0 ETH0.0006559214.0781401
Approve183122912023-10-09 10:22:47394 days ago1696846967IN
0xd7E17407...0e8646cFe
0 ETH0.0006606214.17888961
Approve183122612023-10-09 10:16:47394 days ago1696846607IN
0xd7E17407...0e8646cFe
0 ETH0.0004912510.60939265
0x61014060183122522023-10-09 10:14:59394 days ago1696846499IN
 Create: Alpha
0 ETH0.0497660210.08683177

Latest 4 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
183133412023-10-09 13:53:59394 days ago1696859639
0xd7E17407...0e8646cFe
0.02002338 ETH
183133412023-10-09 13:53:59394 days ago1696859639
0xd7E17407...0e8646cFe
0.02002338 ETH
183133412023-10-09 13:53:59394 days ago1696859639
0xd7E17407...0e8646cFe
0.02002338 ETH
183131122023-10-09 13:07:59394 days ago1696856879
0xd7E17407...0e8646cFe
0.01481566 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Alpha

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 6 : Contract.sol
/**
 *Submitted for verification at Etherscan.io on 2023-10-05
 */

// SPDX-License-Identifier: MIT
//
// Website: https://alphakey.io/
// Telegram: https://t.me/alphatokenofficial
// Twitter:  https://twitter.com/alphakeytoken
//
pragma solidity 0.8.21;

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

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

/**
 * @dev 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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

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

////// lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)

/* pragma solidity ^0.8.0; */

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

////// lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol
// OpenZeppelin Contracts v4.4.0 (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);
}

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin 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}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

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

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

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(
            currentAllowance >= amount,
            "ERC20: transfer amount exceeds allowance"
        );
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(
        address spender,
        uint256 addedValue
    ) public virtual returns (bool) {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender] + addedValue
        );
        return true;
    }

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(
            senderBalance >= amount,
            "ERC20: transfer amount exceeds balance"
        );
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

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

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

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

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

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

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

/**
 * @dev 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 substraction 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;
        }
    }
}

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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

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

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

////// src/IUniswapV2Pair.sol
/* pragma solidity 0.8.10; */
/* pragma experimental ABIEncoderV2; */

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

    function name() external pure returns (string memory);

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

    function balanceOf(address owner) external view returns (uint256);

    function allowance(
        address owner,
        address spender
    ) external view returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint256);

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    event Mint(address indexed sender, uint256 amount0, uint256 amount1);
    event Burn(
        address indexed sender,
        uint256 amount0,
        uint256 amount1,
        address indexed to
    );
    event Swap(
        address indexed sender,
        uint256 amount0In,
        uint256 amount1In,
        uint256 amount0Out,
        uint256 amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves()
        external
        view
        returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function burn(
        address to
    ) external returns (uint256 amount0, uint256 amount1);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

interface IUniswapV2Router02 {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountA, uint256 amountB, uint256 liquidity);

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

contract Alpha is ERC20, Ownable {
    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;
    bool private swapping;

    uint256 public constant MAX_TOTAL_SUPPLY = 1_000_000 * 1e18;
    uint256 public constant PERCENTAGE_DENOMINATOR = 10_000;
    string constant INITIAL_NAME = unicode"Alpha Coin";
    string constant INITIAL_SYMBOL = unicode"ALPHA";

    address public immutable communityWallet;
    address public immutable marketingWallet;
    address public immutable AlphaHolders;

    uint256 public maxTransactionAmount;
    uint256 public immutable swapTokensAtAmount;
    uint256 public maxWallet;

    bool public tradingActive = false;
    bool public swapEnabled = false;

    uint256 public buyTotalFees;
    uint256 public buyCommunityFee;
    uint256 public buyMarketingFee;
    uint256 public buyAlphaHoldersFee;

    uint256 public sellTotalFees;
    uint256 public sellCommunityFee;
    uint256 public sellMarketingFee;
    uint256 public sellAlphaHoldersFee;

    uint256 public tokensForCommunity;
    uint256 public tokensForMarketing;
    uint256 public tokensForAlphaHolders;

    // Exclude 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 SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );

    constructor() ERC20(INITIAL_NAME, INITIAL_SYMBOL) {
        uint256 totalSupply = MAX_TOTAL_SUPPLY;

        // Set up router
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );
        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        uniswapV2Router = _uniswapV2Router;

        // Create pair
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);

        maxTransactionAmount = (MAX_TOTAL_SUPPLY * 50) / PERCENTAGE_DENOMINATOR;
        maxWallet = (MAX_TOTAL_SUPPLY * 50) / PERCENTAGE_DENOMINATOR;
        swapTokensAtAmount = (MAX_TOTAL_SUPPLY * 10) / PERCENTAGE_DENOMINATOR;

        // Set up wallets
        communityWallet = address(0x332e1e43279067aC909477436EC2e7aE8057d2aa);
        marketingWallet = address(0x25a98B23D6CC02E5bDC26899E86BeD20AF5c0758);
        AlphaHolders = address(0xA57A34E832c74C8E6649808f211C0eBc4F1a4645);

        // Exclude from paying fees or having max transaction amount if; is owner, is deployer, is dead address.
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);

        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);

        // mint for owner token
        _mint(msg.sender, totalSupply);
    }

    receive() external payable {}

    function enableTrading() external onlyOwner {
        tradingActive = true;
        swapEnabled = true;
    }

    function removeLimits() external onlyOwner {
        maxTransactionAmount =
            (MAX_TOTAL_SUPPLY * PERCENTAGE_DENOMINATOR) /
            PERCENTAGE_DENOMINATOR; // 100%
        maxWallet =
            (MAX_TOTAL_SUPPLY * PERCENTAGE_DENOMINATOR) /
            PERCENTAGE_DENOMINATOR; // 100%
    }

    function setLimitsAndFees(
        uint256 _communityFee,
        uint256 _marketingFee,
        uint256 _fundedAccountFee
    ) external onlyOwner {
        maxTransactionAmount =
            (MAX_TOTAL_SUPPLY * 100) /
            PERCENTAGE_DENOMINATOR; // 1%
        maxWallet = (MAX_TOTAL_SUPPLY * 250) / PERCENTAGE_DENOMINATOR; // 2.5%

        buyCommunityFee = _communityFee;
        buyAlphaHoldersFee = _fundedAccountFee;
        buyMarketingFee = _marketingFee;
        buyTotalFees = _communityFee + _fundedAccountFee + _marketingFee;

        sellCommunityFee = _communityFee;
        sellAlphaHoldersFee = _fundedAccountFee;
        sellMarketingFee = _marketingFee;
        sellTotalFees = _communityFee + _fundedAccountFee + _marketingFee;
    }

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

    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 isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

    function _transfer(
        address from,
        address to,
        uint256 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 (
            from != owner() &&
            to != owner() &&
            to != address(0) &&
            to != address(0xdead) &&
            !swapping
        ) {
            if (!tradingActive) {
                require(
                    _isExcludedFromFees[from] || _isExcludedFromFees[to],
                    "Trading is not active."
                );
            }

            // Buying
            if (
                automatedMarketMakerPairs[from] &&
                !_isExcludedMaxTransactionAmount[to]
            ) {
                require(
                    amount <= maxTransactionAmount,
                    "Buy transfer amount exceeds the maxTransactionAmount."
                );
                require(
                    amount + balanceOf(to) <= maxWallet,
                    "Max wallet exceeded"
                );
            }
            // Selling
            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"
                );
            }
        }

        uint256 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;
        }

        uint256 fees;
        // Only take fees on buys/sells, do not take on wallet transfers
        if (takeFee) {
            // Sell
            if (automatedMarketMakerPairs[to] && sellTotalFees > 0) {
                fees = (amount * sellTotalFees) / PERCENTAGE_DENOMINATOR;
                tokensForAlphaHolders +=
                    (fees * sellAlphaHoldersFee) /
                    sellTotalFees;
                tokensForCommunity += (fees * sellCommunityFee) / sellTotalFees;
                tokensForMarketing += (fees * sellMarketingFee) / sellTotalFees;
            }
            // Buy
            else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = (amount * buyTotalFees) / PERCENTAGE_DENOMINATOR;
                tokensForAlphaHolders +=
                    (fees * buyAlphaHoldersFee) /
                    buyTotalFees;
                tokensForCommunity += (fees * buyCommunityFee) / buyTotalFees;
                tokensForMarketing += (fees * buyMarketingFee) / buyTotalFees;
            }

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

            amount -= fees;
        }

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

    function swapTokensForEth(uint256 tokenAmount) private {
        // Generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

        _approve(address(this), address(uniswapV2Router), tokenAmount);

        // Make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // Accept any amount of ETH; ignore slippage
            path,
            address(this),
            block.timestamp
        );
    }

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(uniswapV2Router), tokenAmount);

        // add the liquidity
        uniswapV2Router.addLiquidityETH{ value: ethAmount }(
            address(this),
            tokenAmount,
            0, // Slippage is unavoidable
            0, // Slippage is unavoidable
            owner(),
            block.timestamp
        );
    }

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForAlphaHolders +
            tokensForCommunity +
            tokensForMarketing;
        bool success;

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

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

        uint256 initialEthBalance = address(this).balance; //safeguard

        swapTokensForEth(contractBalance);

        uint256 ethBalance = address(this).balance - initialEthBalance;

        uint256 ethForCommunity = (ethBalance * tokensForCommunity) /
            (totalTokensToSwap - (tokensForAlphaHolders - tokensForMarketing));

        uint256 ethForAlphaHolders = (ethBalance * tokensForCommunity) /
            (totalTokensToSwap - (tokensForCommunity - tokensForMarketing));

        uint256 ethForMarketing = ethBalance -
            ethForCommunity -
            ethForAlphaHolders;

        tokensForAlphaHolders = 0;
        tokensForCommunity = 0;
        tokensForMarketing = 0;

        (success, ) = address(communityWallet).call{ value: ethForCommunity }(
            ""
        );
        (success, ) = address(marketingWallet).call{ value: ethForMarketing }(
            ""
        );
        (success, ) = address(AlphaHolders).call{
            value: address(this).balance
        }("");
    }

    // @Owner - Callable by Owner contract in-case tokens get's stuck in the token contract.
    function withdrawStuckToken(
        address _token,
        address _to
    ) external onlyOwner {
        require(_token != address(0), "_token address cannot be 0");
        uint256 _contractBalance = IERC20(_token).balanceOf(address(this));
        IERC20(_token).transfer(_to, _contractBalance);
    }

    // @Owner - Callable by Owner contract in-case ETH get's stuck in the token contract.
    function withdrawStuckEth(address toAddr) external onlyOwner {
        (bool success, ) = toAddr.call{ value: address(this).balance }("");
        require(success);
    }
}

File 2 of 6 : 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 6 : 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 6 : 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 6 : 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 6 : TestERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

contract TestERC20 is ERC20 {
    constructor() ERC20("TestERC20", "MTK") {}

    function mint(uint256 amount) external {
        _mint(_msgSender(), amount);
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","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":"AlphaHolders","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERCENTAGE_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"buyAlphaHoldersFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyCommunityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"communityWallet","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":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellAlphaHoldersFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellCommunityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"_communityFee","type":"uint256"},{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_fundedAccountFee","type":"uint256"}],"name":"setLimitsAndFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"tokensForAlphaHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForCommunity","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":"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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"toAddr","type":"address"}],"name":"withdrawStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawStuckToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101406040526008805461ffff191690553480156200001d57600080fd5b506040518060400160405280600a81526020016920b63834309021b7b4b760b11b81525060405180604001604052806005815260200164414c50484160d81b8152508160039081620000709190620006f8565b5060046200007f8282620006f8565b5050506200009c620000966200039c60201b60201c565b620003a0565b69d3c21bcecceda1000000737a250d5630b4cf539739df2c5dacb4c659f2488d620000c9816001620003f2565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000114573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200013a9190620007c4565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000188573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ae9190620007c4565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620001fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002229190620007c4565b6001600160a01b031660a08190526200023d906001620003f2565b60a0516200024d9060016200046c565b6127106200026769d3c21bcecceda100000060326200080c565b6200027391906200082c565b6006556127106200029069d3c21bcecceda100000060326200080c565b6200029c91906200082c565b600755612710620002b969d3c21bcecceda1000000600a6200080c565b620002c591906200082c565b6101205273332e1e43279067ac909477436ec2e7ae8057d2aa60c0527325a98b23d6cc02e5bdc26899e86bed20af5c075860e05273a57a34e832c74c8e6649808f211c0ebc4f1a46456101005262000331620003296005546001600160a01b031690565b6001620004c0565b6200033e306001620004c0565b6200034d61dead6001620004c0565b6200036c620003646005546001600160a01b031690565b6001620003f2565b62000379306001620003f2565b6200038861dead6001620003f2565b6200039433836200056a565b505062000865565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b03163314620004415760405162461bcd60e51b8152602060048201819052602482015260008051602062002cf583398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b6001600160a01b038216600081815260166020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b031633146200050b5760405162461bcd60e51b8152602060048201819052602482015260008051602062002cf5833981519152604482015260640162000438565b6001600160a01b038216600081815260146020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620005c25760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000438565b8060026000828254620005d691906200084f565b90915550506001600160a01b03821660009081526020819052604081208054839290620006059084906200084f565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200067f57607f821691505b602082108103620006a057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200064f57600081815260208120601f850160051c81016020861015620006cf5750805b601f850160051c820191505b81811015620006f057828155600101620006db565b505050505050565b81516001600160401b0381111562000714576200071462000654565b6200072c816200072584546200066a565b84620006a6565b602080601f8311600181146200076457600084156200074b5750858301515b600019600386901b1c1916600185901b178555620006f0565b600085815260208120601f198616915b82811015620007955788860151825594840194600190910190840162000774565b5085821015620007b45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620007d757600080fd5b81516001600160a01b0381168114620007ef57600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620008265762000826620007f6565b92915050565b6000826200084a57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620008265762000826620007f6565b60805160a05160c05160e05161010051610120516123fa620008fb600039600081816108a50152818161163d01528181611bc20152611bf40152600081816106730152611dbb0152600081816105950152611d480152600081816107ff0152611ccf01526000818161043b0152610d5b01526000818161034001528181611e8001528181611f390152611f7501526123fa6000f3fe6080604052600436106102975760003560e01c80638a8c523c1161015a578063b8fad147116100c1578063c8c8ebe41161007a578063c8c8ebe414610821578063d85ba06314610837578063dd62ed3e1461084d578063e2f4560514610893578063f2fde38b146108c7578063f8b45b05146108e757600080fd5b8063b8fad14714610767578063bbc0c7421461077d578063bc205ad314610797578063bf6146cd146107b7578063c0246668146107cd578063c7574839146107ed57600080fd5b8063a457c2d711610113578063a457c2d7146106b5578063a9059cbb146106d5578063b005adcd146106f5578063b3cd42541461070b578063b53aee9714610721578063b62496f51461073757600080fd5b80638a8c523c146106035780638da5cb5b14610618578063921369131461063657806395d89b411461064c5780639a5ece16146106615780639a7a23d61461069557600080fd5b80634fbee193116101fe578063751039fc116101b7578063751039fc1461054e5780637571336a1461056357806375f0a874146105835780637bce5a04146105b75780637ca8448a146105cd57806383af6fa1146105ed57600080fd5b80634fbee1931461047f578063614be45a146104b85780636a486a8e146104ce5780636ddd1713146104e457806370a0823114610503578063715018a61461053957600080fd5b806323b872dd1161025057806323b872dd146103af578063313ce567146103cf57806333039d3d146103eb578063395093511461040957806349bd5a5e146104295780634a7de2c61461045d57600080fd5b806306fdde03146102a3578063095ea7b3146102ce57806310d5de53146102fe5780631694505e1461032e57806318160ddd1461037a5780631f3fed8f1461039957600080fd5b3661029e57005b600080fd5b3480156102af57600080fd5b506102b86108fd565b6040516102c59190611fe9565b60405180910390f35b3480156102da57600080fd5b506102ee6102e936600461204c565b61098f565b60405190151581526020016102c5565b34801561030a57600080fd5b506102ee610319366004612078565b60156020526000908152604090205460ff1681565b34801561033a57600080fd5b506103627f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102c5565b34801561038657600080fd5b506002545b6040519081526020016102c5565b3480156103a557600080fd5b5061038b60125481565b3480156103bb57600080fd5b506102ee6103ca36600461209c565b6109a6565b3480156103db57600080fd5b50604051601281526020016102c5565b3480156103f757600080fd5b5061038b69d3c21bcecceda100000081565b34801561041557600080fd5b506102ee61042436600461204c565b610a55565b34801561043557600080fd5b506103627f000000000000000000000000000000000000000000000000000000000000000081565b34801561046957600080fd5b5061047d6104783660046120dd565b610a91565b005b34801561048b57600080fd5b506102ee61049a366004612078565b6001600160a01b031660009081526014602052604090205460ff1690565b3480156104c457600080fd5b5061038b60135481565b3480156104da57600080fd5b5061038b600d5481565b3480156104f057600080fd5b506008546102ee90610100900460ff1681565b34801561050f57600080fd5b5061038b61051e366004612078565b6001600160a01b031660009081526020819052604090205490565b34801561054557600080fd5b5061047d610b58565b34801561055a57600080fd5b5061047d610b8e565b34801561056f57600080fd5b5061047d61057e366004612117565b610c02565b34801561058f57600080fd5b506103627f000000000000000000000000000000000000000000000000000000000000000081565b3480156105c357600080fd5b5061038b600b5481565b3480156105d957600080fd5b5061047d6105e8366004612078565b610c57565b3480156105f957600080fd5b5061038b600c5481565b34801561060f57600080fd5b5061047d610ce5565b34801561062457600080fd5b506005546001600160a01b0316610362565b34801561064257600080fd5b5061038b600f5481565b34801561065857600080fd5b506102b8610d20565b34801561066d57600080fd5b506103627f000000000000000000000000000000000000000000000000000000000000000081565b3480156106a157600080fd5b5061047d6106b0366004612117565b610d2f565b3480156106c157600080fd5b506102ee6106d036600461204c565b610e0a565b3480156106e157600080fd5b506102ee6106f036600461204c565b610ea3565b34801561070157600080fd5b5061038b60105481565b34801561071757600080fd5b5061038b61271081565b34801561072d57600080fd5b5061038b600e5481565b34801561074357600080fd5b506102ee610752366004612078565b60166020526000908152604090205460ff1681565b34801561077357600080fd5b5061038b600a5481565b34801561078957600080fd5b506008546102ee9060ff1681565b3480156107a357600080fd5b5061047d6107b2366004612150565b610eb0565b3480156107c357600080fd5b5061038b60115481565b3480156107d957600080fd5b5061047d6107e8366004612117565b611018565b3480156107f957600080fd5b506103627f000000000000000000000000000000000000000000000000000000000000000081565b34801561082d57600080fd5b5061038b60065481565b34801561084357600080fd5b5061038b60095481565b34801561085957600080fd5b5061038b610868366004612150565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561089f57600080fd5b5061038b7f000000000000000000000000000000000000000000000000000000000000000081565b3480156108d357600080fd5b5061047d6108e2366004612078565b6110a1565b3480156108f357600080fd5b5061038b60075481565b60606003805461090c9061217e565b80601f01602080910402602001604051908101604052809291908181526020018280546109389061217e565b80156109855780601f1061095a57610100808354040283529160200191610985565b820191906000526020600020905b81548152906001019060200180831161096857829003601f168201915b5050505050905090565b600061099c33848461113c565b5060015b92915050565b60006109b3848484611260565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610a3d5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610a4a853385840361113c565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161099c918590610a8c9086906121ce565b61113c565b6005546001600160a01b03163314610abb5760405162461bcd60e51b8152600401610a34906121e1565b612710610ad369d3c21bcecceda10000006064612216565b610add919061222d565b600655612710610af869d3c21bcecceda100000060fa612216565b610b02919061222d565b600755600a839055600c819055600b82905581610b1f82856121ce565b610b2991906121ce565b600955600e8390556010819055600f82905581610b4682856121ce565b610b5091906121ce565b600d55505050565b6005546001600160a01b03163314610b825760405162461bcd60e51b8152600401610a34906121e1565b610b8c6000611979565b565b6005546001600160a01b03163314610bb85760405162461bcd60e51b8152600401610a34906121e1565b612710610bcf8169d3c21bcecceda1000000612216565b610bd9919061222d565b600655612710610bf38169d3c21bcecceda1000000612216565b610bfd919061222d565b600755565b6005546001600160a01b03163314610c2c5760405162461bcd60e51b8152600401610a34906121e1565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610c815760405162461bcd60e51b8152600401610a34906121e1565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610cce576040519150601f19603f3d011682016040523d82523d6000602084013e610cd3565b606091505b5050905080610ce157600080fd5b5050565b6005546001600160a01b03163314610d0f5760405162461bcd60e51b8152600401610a34906121e1565b6008805461ffff1916610101179055565b60606004805461090c9061217e565b6005546001600160a01b03163314610d595760405162461bcd60e51b8152600401610a34906121e1565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610e005760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610a34565b610ce182826119cb565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610e8c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a34565b610e99338585840361113c565b5060019392505050565b600061099c338484611260565b6005546001600160a01b03163314610eda5760405162461bcd60e51b8152600401610a34906121e1565b6001600160a01b038216610f305760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610a34565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015610f77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9b919061224f565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af1158015610fee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110129190612268565b50505050565b6005546001600160a01b031633146110425760405162461bcd60e51b8152600401610a34906121e1565b6001600160a01b038216600081815260146020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146110cb5760405162461bcd60e51b8152600401610a34906121e1565b6001600160a01b0381166111305760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a34565b61113981611979565b50565b6001600160a01b03831661119e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a34565b6001600160a01b0382166111ff5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a34565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166112865760405162461bcd60e51b8152600401610a3490612285565b6001600160a01b0382166112ac5760405162461bcd60e51b8152600401610a34906122ca565b806000036112c5576112c083836000611a1f565b505050565b6005546001600160a01b038481169116148015906112f157506005546001600160a01b03838116911614155b801561130557506001600160a01b03821615155b801561131c57506001600160a01b03821661dead14155b80156113325750600554600160a01b900460ff16155b1561162b5760085460ff166113c5576001600160a01b03831660009081526014602052604090205460ff168061138057506001600160a01b03821660009081526014602052604090205460ff165b6113c55760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610a34565b6001600160a01b03831660009081526016602052604090205460ff16801561140657506001600160a01b03821660009081526015602052604090205460ff16155b156114ea5760065481111561147b5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610a34565b6007546001600160a01b0383166000908152602081905260409020546114a190836121ce565b11156114e55760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610a34565b61162b565b6001600160a01b03821660009081526016602052604090205460ff16801561152b57506001600160a01b03831660009081526015602052604090205460ff16155b156115a1576006548111156114e55760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610a34565b6001600160a01b03821660009081526015602052604090205460ff1661162b576007546001600160a01b0383166000908152602081905260409020546115e790836121ce565b111561162b5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610a34565b306000908152602081905260409020547f0000000000000000000000000000000000000000000000000000000000000000811080159081906116745750600854610100900460ff165b801561168a5750600554600160a01b900460ff16155b80156116af57506001600160a01b03851660009081526016602052604090205460ff16155b80156116d457506001600160a01b03851660009081526014602052604090205460ff16155b80156116f957506001600160a01b03841660009081526014602052604090205460ff16155b15611727576005805460ff60a01b1916600160a01b179055611719611b73565b6005805460ff60a01b191690555b6005546001600160a01b03861660009081526014602052604090205460ff600160a01b90920482161591168061177557506001600160a01b03851660009081526014602052604090205460ff165b1561177e575060005b60008115611965576001600160a01b03861660009081526016602052604090205460ff1680156117b057506000600d54115b1561186957612710600d54866117c69190612216565b6117d0919061222d565b9050600d54601054826117e39190612216565b6117ed919061222d565b601360008282546117fe91906121ce565b9091555050600d54600e546118139083612216565b61181d919061222d565b6011600082825461182e91906121ce565b9091555050600d54600f546118439083612216565b61184d919061222d565b6012600082825461185e91906121ce565b909155506119479050565b6001600160a01b03871660009081526016602052604090205460ff16801561189357506000600954115b1561194757612710600954866118a99190612216565b6118b3919061222d565b9050600954600c54826118c69190612216565b6118d0919061222d565b601360008282546118e191906121ce565b9091555050600954600a546118f69083612216565b611900919061222d565b6011600082825461191191906121ce565b9091555050600954600b546119269083612216565b611930919061222d565b6012600082825461194191906121ce565b90915550505b801561195857611958873083611a1f565b611962818661230d565b94505b611970878787611a1f565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260166020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611a455760405162461bcd60e51b8152600401610a3490612285565b6001600160a01b038216611a6b5760405162461bcd60e51b8152600401610a34906122ca565b6001600160a01b03831660009081526020819052604090205481811015611ae35760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a34565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611b1a9084906121ce565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611b6691815260200190565b60405180910390a3611012565b3060009081526020819052604081205490506000601254601154601354611b9a91906121ce565b611ba491906121ce565b90506000821580611bb3575081155b15611bbd57505050565b611be87f00000000000000000000000000000000000000000000000000000000000000006014612216565b831115611c1d57611c1a7f00000000000000000000000000000000000000000000000000000000000000006014612216565b92505b47611c2784611e29565b6000611c33824761230d565b90506000601254601354611c47919061230d565b611c51908661230d565b601154611c5e9084612216565b611c68919061222d565b90506000601254601154611c7c919061230d565b611c86908761230d565b601154611c939085612216565b611c9d919061222d565b9050600081611cac848661230d565b611cb6919061230d565b60006013819055601181905560128190556040519192507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691859181818185875af1925050503d8060008114611d31576040519150601f19603f3d011682016040523d82523d6000602084013e611d36565b606091505b50506040519096506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016908290600081818185875af1925050503d8060008114611da4576040519150601f19603f3d011682016040523d82523d6000602084013e611da9565b606091505b50506040519096506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016904790600081818185875af1925050503d8060008114611e17576040519150601f19603f3d011682016040523d82523d6000602084013e611e1c565b606091505b5050505050505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611e5e57611e5e612320565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611edc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f009190612336565b81600181518110611f1357611f13612320565b60200260200101906001600160a01b031690816001600160a01b031681525050611f5e307f00000000000000000000000000000000000000000000000000000000000000008461113c565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611fb3908590600090869030904290600401612353565b600060405180830381600087803b158015611fcd57600080fd5b505af1158015611fe1573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b8181101561201657858101830151858201604001528201611ffa565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461113957600080fd5b6000806040838503121561205f57600080fd5b823561206a81612037565b946020939093013593505050565b60006020828403121561208a57600080fd5b813561209581612037565b9392505050565b6000806000606084860312156120b157600080fd5b83356120bc81612037565b925060208401356120cc81612037565b929592945050506040919091013590565b6000806000606084860312156120f257600080fd5b505081359360208301359350604090920135919050565b801515811461113957600080fd5b6000806040838503121561212a57600080fd5b823561213581612037565b9150602083013561214581612109565b809150509250929050565b6000806040838503121561216357600080fd5b823561216e81612037565b9150602083013561214581612037565b600181811c9082168061219257607f821691505b6020821081036121b257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156109a0576109a06121b8565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b80820281158282048414176109a0576109a06121b8565b60008261224a57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561226157600080fd5b5051919050565b60006020828403121561227a57600080fd5b815161209581612109565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156109a0576109a06121b8565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561234857600080fd5b815161209581612037565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156123a35784516001600160a01b03168352938301939183019160010161237e565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122072b9e59acc514665e428b8b14dd1fe72bfc4cb3dfa66d804475e75dfe953171564736f6c634300081500334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572

Deployed Bytecode

0x6080604052600436106102975760003560e01c80638a8c523c1161015a578063b8fad147116100c1578063c8c8ebe41161007a578063c8c8ebe414610821578063d85ba06314610837578063dd62ed3e1461084d578063e2f4560514610893578063f2fde38b146108c7578063f8b45b05146108e757600080fd5b8063b8fad14714610767578063bbc0c7421461077d578063bc205ad314610797578063bf6146cd146107b7578063c0246668146107cd578063c7574839146107ed57600080fd5b8063a457c2d711610113578063a457c2d7146106b5578063a9059cbb146106d5578063b005adcd146106f5578063b3cd42541461070b578063b53aee9714610721578063b62496f51461073757600080fd5b80638a8c523c146106035780638da5cb5b14610618578063921369131461063657806395d89b411461064c5780639a5ece16146106615780639a7a23d61461069557600080fd5b80634fbee193116101fe578063751039fc116101b7578063751039fc1461054e5780637571336a1461056357806375f0a874146105835780637bce5a04146105b75780637ca8448a146105cd57806383af6fa1146105ed57600080fd5b80634fbee1931461047f578063614be45a146104b85780636a486a8e146104ce5780636ddd1713146104e457806370a0823114610503578063715018a61461053957600080fd5b806323b872dd1161025057806323b872dd146103af578063313ce567146103cf57806333039d3d146103eb578063395093511461040957806349bd5a5e146104295780634a7de2c61461045d57600080fd5b806306fdde03146102a3578063095ea7b3146102ce57806310d5de53146102fe5780631694505e1461032e57806318160ddd1461037a5780631f3fed8f1461039957600080fd5b3661029e57005b600080fd5b3480156102af57600080fd5b506102b86108fd565b6040516102c59190611fe9565b60405180910390f35b3480156102da57600080fd5b506102ee6102e936600461204c565b61098f565b60405190151581526020016102c5565b34801561030a57600080fd5b506102ee610319366004612078565b60156020526000908152604090205460ff1681565b34801561033a57600080fd5b506103627f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016102c5565b34801561038657600080fd5b506002545b6040519081526020016102c5565b3480156103a557600080fd5b5061038b60125481565b3480156103bb57600080fd5b506102ee6103ca36600461209c565b6109a6565b3480156103db57600080fd5b50604051601281526020016102c5565b3480156103f757600080fd5b5061038b69d3c21bcecceda100000081565b34801561041557600080fd5b506102ee61042436600461204c565b610a55565b34801561043557600080fd5b506103627f000000000000000000000000b20e9a00f1ebb14d3c6a0abf20611966cac1f4f881565b34801561046957600080fd5b5061047d6104783660046120dd565b610a91565b005b34801561048b57600080fd5b506102ee61049a366004612078565b6001600160a01b031660009081526014602052604090205460ff1690565b3480156104c457600080fd5b5061038b60135481565b3480156104da57600080fd5b5061038b600d5481565b3480156104f057600080fd5b506008546102ee90610100900460ff1681565b34801561050f57600080fd5b5061038b61051e366004612078565b6001600160a01b031660009081526020819052604090205490565b34801561054557600080fd5b5061047d610b58565b34801561055a57600080fd5b5061047d610b8e565b34801561056f57600080fd5b5061047d61057e366004612117565b610c02565b34801561058f57600080fd5b506103627f00000000000000000000000025a98b23d6cc02e5bdc26899e86bed20af5c075881565b3480156105c357600080fd5b5061038b600b5481565b3480156105d957600080fd5b5061047d6105e8366004612078565b610c57565b3480156105f957600080fd5b5061038b600c5481565b34801561060f57600080fd5b5061047d610ce5565b34801561062457600080fd5b506005546001600160a01b0316610362565b34801561064257600080fd5b5061038b600f5481565b34801561065857600080fd5b506102b8610d20565b34801561066d57600080fd5b506103627f000000000000000000000000a57a34e832c74c8e6649808f211c0ebc4f1a464581565b3480156106a157600080fd5b5061047d6106b0366004612117565b610d2f565b3480156106c157600080fd5b506102ee6106d036600461204c565b610e0a565b3480156106e157600080fd5b506102ee6106f036600461204c565b610ea3565b34801561070157600080fd5b5061038b60105481565b34801561071757600080fd5b5061038b61271081565b34801561072d57600080fd5b5061038b600e5481565b34801561074357600080fd5b506102ee610752366004612078565b60166020526000908152604090205460ff1681565b34801561077357600080fd5b5061038b600a5481565b34801561078957600080fd5b506008546102ee9060ff1681565b3480156107a357600080fd5b5061047d6107b2366004612150565b610eb0565b3480156107c357600080fd5b5061038b60115481565b3480156107d957600080fd5b5061047d6107e8366004612117565b611018565b3480156107f957600080fd5b506103627f000000000000000000000000332e1e43279067ac909477436ec2e7ae8057d2aa81565b34801561082d57600080fd5b5061038b60065481565b34801561084357600080fd5b5061038b60095481565b34801561085957600080fd5b5061038b610868366004612150565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561089f57600080fd5b5061038b7f00000000000000000000000000000000000000000000003635c9adc5dea0000081565b3480156108d357600080fd5b5061047d6108e2366004612078565b6110a1565b3480156108f357600080fd5b5061038b60075481565b60606003805461090c9061217e565b80601f01602080910402602001604051908101604052809291908181526020018280546109389061217e565b80156109855780601f1061095a57610100808354040283529160200191610985565b820191906000526020600020905b81548152906001019060200180831161096857829003601f168201915b5050505050905090565b600061099c33848461113c565b5060015b92915050565b60006109b3848484611260565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610a3d5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610a4a853385840361113c565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161099c918590610a8c9086906121ce565b61113c565b6005546001600160a01b03163314610abb5760405162461bcd60e51b8152600401610a34906121e1565b612710610ad369d3c21bcecceda10000006064612216565b610add919061222d565b600655612710610af869d3c21bcecceda100000060fa612216565b610b02919061222d565b600755600a839055600c819055600b82905581610b1f82856121ce565b610b2991906121ce565b600955600e8390556010819055600f82905581610b4682856121ce565b610b5091906121ce565b600d55505050565b6005546001600160a01b03163314610b825760405162461bcd60e51b8152600401610a34906121e1565b610b8c6000611979565b565b6005546001600160a01b03163314610bb85760405162461bcd60e51b8152600401610a34906121e1565b612710610bcf8169d3c21bcecceda1000000612216565b610bd9919061222d565b600655612710610bf38169d3c21bcecceda1000000612216565b610bfd919061222d565b600755565b6005546001600160a01b03163314610c2c5760405162461bcd60e51b8152600401610a34906121e1565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610c815760405162461bcd60e51b8152600401610a34906121e1565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610cce576040519150601f19603f3d011682016040523d82523d6000602084013e610cd3565b606091505b5050905080610ce157600080fd5b5050565b6005546001600160a01b03163314610d0f5760405162461bcd60e51b8152600401610a34906121e1565b6008805461ffff1916610101179055565b60606004805461090c9061217e565b6005546001600160a01b03163314610d595760405162461bcd60e51b8152600401610a34906121e1565b7f000000000000000000000000b20e9a00f1ebb14d3c6a0abf20611966cac1f4f86001600160a01b0316826001600160a01b031603610e005760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610a34565b610ce182826119cb565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610e8c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a34565b610e99338585840361113c565b5060019392505050565b600061099c338484611260565b6005546001600160a01b03163314610eda5760405162461bcd60e51b8152600401610a34906121e1565b6001600160a01b038216610f305760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610a34565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015610f77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9b919061224f565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af1158015610fee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110129190612268565b50505050565b6005546001600160a01b031633146110425760405162461bcd60e51b8152600401610a34906121e1565b6001600160a01b038216600081815260146020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146110cb5760405162461bcd60e51b8152600401610a34906121e1565b6001600160a01b0381166111305760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a34565b61113981611979565b50565b6001600160a01b03831661119e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a34565b6001600160a01b0382166111ff5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a34565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166112865760405162461bcd60e51b8152600401610a3490612285565b6001600160a01b0382166112ac5760405162461bcd60e51b8152600401610a34906122ca565b806000036112c5576112c083836000611a1f565b505050565b6005546001600160a01b038481169116148015906112f157506005546001600160a01b03838116911614155b801561130557506001600160a01b03821615155b801561131c57506001600160a01b03821661dead14155b80156113325750600554600160a01b900460ff16155b1561162b5760085460ff166113c5576001600160a01b03831660009081526014602052604090205460ff168061138057506001600160a01b03821660009081526014602052604090205460ff165b6113c55760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610a34565b6001600160a01b03831660009081526016602052604090205460ff16801561140657506001600160a01b03821660009081526015602052604090205460ff16155b156114ea5760065481111561147b5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610a34565b6007546001600160a01b0383166000908152602081905260409020546114a190836121ce565b11156114e55760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610a34565b61162b565b6001600160a01b03821660009081526016602052604090205460ff16801561152b57506001600160a01b03831660009081526015602052604090205460ff16155b156115a1576006548111156114e55760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610a34565b6001600160a01b03821660009081526015602052604090205460ff1661162b576007546001600160a01b0383166000908152602081905260409020546115e790836121ce565b111561162b5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610a34565b306000908152602081905260409020547f00000000000000000000000000000000000000000000003635c9adc5dea00000811080159081906116745750600854610100900460ff165b801561168a5750600554600160a01b900460ff16155b80156116af57506001600160a01b03851660009081526016602052604090205460ff16155b80156116d457506001600160a01b03851660009081526014602052604090205460ff16155b80156116f957506001600160a01b03841660009081526014602052604090205460ff16155b15611727576005805460ff60a01b1916600160a01b179055611719611b73565b6005805460ff60a01b191690555b6005546001600160a01b03861660009081526014602052604090205460ff600160a01b90920482161591168061177557506001600160a01b03851660009081526014602052604090205460ff165b1561177e575060005b60008115611965576001600160a01b03861660009081526016602052604090205460ff1680156117b057506000600d54115b1561186957612710600d54866117c69190612216565b6117d0919061222d565b9050600d54601054826117e39190612216565b6117ed919061222d565b601360008282546117fe91906121ce565b9091555050600d54600e546118139083612216565b61181d919061222d565b6011600082825461182e91906121ce565b9091555050600d54600f546118439083612216565b61184d919061222d565b6012600082825461185e91906121ce565b909155506119479050565b6001600160a01b03871660009081526016602052604090205460ff16801561189357506000600954115b1561194757612710600954866118a99190612216565b6118b3919061222d565b9050600954600c54826118c69190612216565b6118d0919061222d565b601360008282546118e191906121ce565b9091555050600954600a546118f69083612216565b611900919061222d565b6011600082825461191191906121ce565b9091555050600954600b546119269083612216565b611930919061222d565b6012600082825461194191906121ce565b90915550505b801561195857611958873083611a1f565b611962818661230d565b94505b611970878787611a1f565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260166020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611a455760405162461bcd60e51b8152600401610a3490612285565b6001600160a01b038216611a6b5760405162461bcd60e51b8152600401610a34906122ca565b6001600160a01b03831660009081526020819052604090205481811015611ae35760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a34565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611b1a9084906121ce565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611b6691815260200190565b60405180910390a3611012565b3060009081526020819052604081205490506000601254601154601354611b9a91906121ce565b611ba491906121ce565b90506000821580611bb3575081155b15611bbd57505050565b611be87f00000000000000000000000000000000000000000000003635c9adc5dea000006014612216565b831115611c1d57611c1a7f00000000000000000000000000000000000000000000003635c9adc5dea000006014612216565b92505b47611c2784611e29565b6000611c33824761230d565b90506000601254601354611c47919061230d565b611c51908661230d565b601154611c5e9084612216565b611c68919061222d565b90506000601254601154611c7c919061230d565b611c86908761230d565b601154611c939085612216565b611c9d919061222d565b9050600081611cac848661230d565b611cb6919061230d565b60006013819055601181905560128190556040519192507f000000000000000000000000332e1e43279067ac909477436ec2e7ae8057d2aa6001600160a01b031691859181818185875af1925050503d8060008114611d31576040519150601f19603f3d011682016040523d82523d6000602084013e611d36565b606091505b50506040519096506001600160a01b037f00000000000000000000000025a98b23d6cc02e5bdc26899e86bed20af5c075816908290600081818185875af1925050503d8060008114611da4576040519150601f19603f3d011682016040523d82523d6000602084013e611da9565b606091505b50506040519096506001600160a01b037f000000000000000000000000a57a34e832c74c8e6649808f211c0ebc4f1a464516904790600081818185875af1925050503d8060008114611e17576040519150601f19603f3d011682016040523d82523d6000602084013e611e1c565b606091505b5050505050505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611e5e57611e5e612320565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611edc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f009190612336565b81600181518110611f1357611f13612320565b60200260200101906001600160a01b031690816001600160a01b031681525050611f5e307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8461113c565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611fb3908590600090869030904290600401612353565b600060405180830381600087803b158015611fcd57600080fd5b505af1158015611fe1573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b8181101561201657858101830151858201604001528201611ffa565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461113957600080fd5b6000806040838503121561205f57600080fd5b823561206a81612037565b946020939093013593505050565b60006020828403121561208a57600080fd5b813561209581612037565b9392505050565b6000806000606084860312156120b157600080fd5b83356120bc81612037565b925060208401356120cc81612037565b929592945050506040919091013590565b6000806000606084860312156120f257600080fd5b505081359360208301359350604090920135919050565b801515811461113957600080fd5b6000806040838503121561212a57600080fd5b823561213581612037565b9150602083013561214581612109565b809150509250929050565b6000806040838503121561216357600080fd5b823561216e81612037565b9150602083013561214581612037565b600181811c9082168061219257607f821691505b6020821081036121b257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156109a0576109a06121b8565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b80820281158282048414176109a0576109a06121b8565b60008261224a57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561226157600080fd5b5051919050565b60006020828403121561227a57600080fd5b815161209581612109565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156109a0576109a06121b8565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561234857600080fd5b815161209581612037565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156123a35784516001600160a01b03168352938301939183019160010161237e565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122072b9e59acc514665e428b8b14dd1fe72bfc4cb3dfa66d804475e75dfe953171564736f6c63430008150033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.