ETH Price: $2,649.75 (-0.16%)
Gas: 4 Gwei

Contract

0xaF9756f51064e3Fc05D0CCC393567CFb87aE4eDd
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve205040772024-08-11 8:07:4726 hrs ago1723363667IN
0xaF9756f5...b87aE4eDd
0 ETH0.000095472.05932251
Approve204243822024-07-31 5:15:5912 days ago1722402959IN
0xaF9756f5...b87aE4eDd
0 ETH0.000102572.20103489
Approve203533212024-07-21 7:08:4722 days ago1721545727IN
0xaF9756f5...b87aE4eDd
0 ETH0.000108732.33316674
Approve200370502024-06-07 2:45:5966 days ago1717728359IN
0xaF9756f5...b87aE4eDd
0 ETH0.000388358.39149535
Approve200300952024-06-06 3:26:3567 days ago1717644395IN
0xaF9756f5...b87aE4eDd
0 ETH0.000550111.88642941
Approve200278252024-06-05 19:49:4767 days ago1717616987IN
0xaF9756f5...b87aE4eDd
0 ETH0.000632726.07997069
Approve198377332024-05-10 6:05:3594 days ago1715321135IN
0xaF9756f5...b87aE4eDd
0 ETH0.000183243.9370651
Approve194640932024-03-18 20:36:59146 days ago1710794219IN
0xaF9756f5...b87aE4eDd
0 ETH0.0024193251.97930797
Approve194327582024-03-14 10:49:11151 days ago1710413351IN
0xaF9756f5...b87aE4eDd
0 ETH0.002375850.97861333
Approve194323642024-03-14 9:29:23151 days ago1710408563IN
0xaF9756f5...b87aE4eDd
0 ETH0.0020948344.94960024
Transfer194294962024-03-13 23:48:11151 days ago1710373691IN
0xaF9756f5...b87aE4eDd
0 ETH0.0050313861.25006677
Transfer194293352024-03-13 23:15:23151 days ago1710371723IN
0xaF9756f5...b87aE4eDd
0 ETH0.0054956666.91173759
Transfer194292622024-03-13 23:00:23151 days ago1710370823IN
0xaF9756f5...b87aE4eDd
0 ETH0.0042600451.85244474
Transfer194291662024-03-13 22:40:47151 days ago1710369647IN
0xaF9756f5...b87aE4eDd
0 ETH0.0137861163.64456094
Approve194183242024-03-12 10:12:47153 days ago1710238367IN
0xaF9756f5...b87aE4eDd
0 ETH0.0022235947.77403762
Approve194139772024-03-11 19:36:23153 days ago1710185783IN
0xaF9756f5...b87aE4eDd
0 ETH0.0039197884.1083964
Approve194139622024-03-11 19:33:23153 days ago1710185603IN
0xaF9756f5...b87aE4eDd
0 ETH0.0036120577.50522977
Approve193552732024-03-03 14:34:47161 days ago1709476487IN
0xaF9756f5...b87aE4eDd
0 ETH0.0029021262.35236705
Approve193543292024-03-03 11:24:35161 days ago1709465075IN
0xaF9756f5...b87aE4eDd
0 ETH0.0016596235.61113861
Transfer191919532024-02-09 17:06:59184 days ago1707498419IN
0xaF9756f5...b87aE4eDd
0 ETH0.0066259776.21930357
Transfer191696962024-02-06 14:09:47187 days ago1707228587IN
0xaF9756f5...b87aE4eDd
0 ETH0.0030733235.35769342
Transfer191638232024-02-05 18:24:47188 days ago1707157487IN
0xaF9756f5...b87aE4eDd
0 ETH0.0019298922.19982184
Transfer191633142024-02-05 16:40:47188 days ago1707151247IN
0xaF9756f5...b87aE4eDd
0 ETH0.0050830423.46624228
Approve191486442024-02-03 15:13:11190 days ago1706973191IN
0xaF9756f5...b87aE4eDd
0 ETH0.0010803923.18238971
Renounce Ownersh...191359282024-02-01 20:21:35192 days ago1706818895IN
0xaF9756f5...b87aE4eDd
0 ETH0.0005802924.93739082
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
198377402024-05-10 6:06:5994 days ago1715321219
0xaF9756f5...b87aE4eDd
0.00366158 ETH
198377402024-05-10 6:06:5994 days ago1715321219
0xaF9756f5...b87aE4eDd
0.00549237 ETH
198377402024-05-10 6:06:5994 days ago1715321219
0xaF9756f5...b87aE4eDd
0.00915395 ETH
194291662024-03-13 22:40:47151 days ago1710369647
0xaF9756f5...b87aE4eDd
0.00172559 ETH
194291662024-03-13 22:40:47151 days ago1710369647
0xaF9756f5...b87aE4eDd
0.00258839 ETH
194291662024-03-13 22:40:47151 days ago1710369647
0xaF9756f5...b87aE4eDd
0.00431398 ETH
194240822024-03-13 5:32:11152 days ago1710307931
0xaF9756f5...b87aE4eDd
0.00209017 ETH
194240822024-03-13 5:32:11152 days ago1710307931
0xaF9756f5...b87aE4eDd
0.00313526 ETH
194240822024-03-13 5:32:11152 days ago1710307931
0xaF9756f5...b87aE4eDd
0.00522544 ETH
193390452024-03-01 8:10:47164 days ago1709280647
0xaF9756f5...b87aE4eDd
0.00245803 ETH
193390452024-03-01 8:10:47164 days ago1709280647
0xaF9756f5...b87aE4eDd
0.00368705 ETH
193390452024-03-01 8:10:47164 days ago1709280647
0xaF9756f5...b87aE4eDd
0.00614508 ETH
191633142024-02-05 16:40:47188 days ago1707151247
0xaF9756f5...b87aE4eDd
0.00433745 ETH
191633142024-02-05 16:40:47188 days ago1707151247
0xaF9756f5...b87aE4eDd
0.0077566 ETH
191633142024-02-05 16:40:47188 days ago1707151247
0xaF9756f5...b87aE4eDd
0.01209406 ETH
191264172024-01-31 12:18:59193 days ago1706703539
0xaF9756f5...b87aE4eDd
0.00058004 ETH
191264172024-01-31 12:18:59193 days ago1706703539
0xaF9756f5...b87aE4eDd
0.00610455 ETH
191264172024-01-31 12:18:59193 days ago1706703539
0xaF9756f5...b87aE4eDd
0.00668459 ETH
191013702024-01-28 0:07:23197 days ago1706400443
0xaF9756f5...b87aE4eDd
0.00490517 ETH
191013702024-01-28 0:07:23197 days ago1706400443
0xaF9756f5...b87aE4eDd
0.00490517 ETH
191006912024-01-27 21:49:35197 days ago1706392175
0xaF9756f5...b87aE4eDd
0.00556754 ETH
191006912024-01-27 21:49:35197 days ago1706392175
0xaF9756f5...b87aE4eDd
0.00556754 ETH
191005922024-01-27 21:29:47197 days ago1706390987
0xaF9756f5...b87aE4eDd
0.00001906 ETH
191005922024-01-27 21:29:47197 days ago1706390987
0xaF9756f5...b87aE4eDd
0.00700169 ETH
191005922024-01-27 21:29:47197 days ago1706390987
0xaF9756f5...b87aE4eDd
0.00702076 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CAUDIO

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-01-24
*/

// Project Telegram: https://t.me/CryptiqAudio

// Contract has been created by <DEVAI> a Telegram AI bot. Visit https://t.me/ContractDevAI

// SPDX-License-Identifier: MIT

pragma solidity 0.8.19;

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

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

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

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

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 upd 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 upd 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 upd 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 burning.
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `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 burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `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 {}
}

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

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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

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

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

interface IDexPair {
    function sync() external;
}

interface IDexRouter {
    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 CAUDIO is ERC20, Ownable {
    using SafeMath for uint256;

    IDexRouter private immutable dexRouter;
    address public immutable dexPair;
    address private newOwner = 0x1896467078F8Af7fBB2Efc6B0e04F232D26Df1A2;

    // Swapback
    bool private swapping;

    bool private swapbackEnabled = false;
    uint256 private swapBackValueMin;
    uint256 private swapBackValueMax;

    //Anti-whale
    bool private limitsInEffect = true;
    bool private trasnferDelayEnabled = true;
    uint256 private maxWallet;
    uint256 private maxTx;
    mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch

    bool public tradingOn = false;

    // burn
    bool private burnEnabled = true;
    uint256 private lastSync = 0;

    // Fee receivers
    address private autoLPReceiver;
    address private mktReceiver;
    address private devReceiver;

    uint256 private totalBuyFee;
    uint256 private buyMktFee;
    uint256 private buyLPFee;
    uint256 private buyDevFee;

    uint256 private totalSellFee;
    uint256 private sellMktFee;
    uint256 private sellLpFee;
    uint256 private sellDevFee;

    uint256 private totalTransferFee;
    uint256 private transferMktFee;
    uint256 private transferLpFee;
    uint256 private transferDevFee;

    uint256 private tokensForMarketing;
    uint256 private tokensForLiquidity;
    uint256 private tokensForDev;

    /******************/

    // exlcude from fees and max transaction amount
    mapping(address => bool) private isFeeExempt;
    mapping(address => bool) private isTxLimitExempt;
    mapping(address => bool) private automatedMarketMakerPairs;

    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount

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

    event ExcludeFromFees(address indexed account, bool isExcluded);
    event ExcludeFromLimits(address indexed account, bool isExcluded);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
    event TradingEnabled(uint256 indexed timestamp);
    event LimitsRemoved(uint256 indexed timestamp);
    event DisabledTransferDelay(uint256 indexed timestamp);

    event SwapbackSettingsUpdated(
        bool enabled,
        uint256 swapBackValueMin,
        uint256 swapBackValueMax
    );
    event MaxTxUpdated(uint256 maxTx);
    event MaxWalletUpdated(uint256 maxWallet);

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

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

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

    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );

    event BuyFeeUpdated(
        uint256 totalBuyFee,
        uint256 buyMktFee,
        uint256 buyLPFee,
        uint256 buyDevFee
    );

    event SellFeeUpdated(
        uint256 totalSellFee,
        uint256 sellMktFee,
        uint256 sellLpFee,
        uint256 sellDevFee
    );

    event TransferFeeUpdated(
        uint256 totalTransferFee,
        uint256 transferMktFee,
        uint256 transferLpFee,
        uint256 transferDevFee
    );

    constructor() ERC20("CRYPTIQAUDIO", "CAUDIO") {
        IDexRouter _dexRouter = IDexRouter(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );

        lastSync = block.timestamp;

        excludeFromMaxTransaction(address(_dexRouter), true);
        dexRouter = _dexRouter;

        dexPair = IDexFactory(_dexRouter.factory()).createPair(
            address(this),
            _dexRouter.WETH()
        );
        excludeFromMaxTransaction(address(dexPair), true);
        _setAutomatedMarketMakerPair(address(dexPair), true);

        uint256 _buyMktFee = 1;
        uint256 _buyLPFee = 0;
        uint256 _buyDevFee = 4;

        uint256 _sellMktFee = 0;
        uint256 _sellLpFee = 0;
        uint256 _sellDevFee = 5;

        uint256 _transferMktFee = 0;
        uint256 _transferLpFee =  0;
        uint256 _transferDevFee = 0;

        uint256 totalSupply = 20000000 * 10 ** decimals();

        maxTx = (totalSupply * 10) / 1000;
        maxWallet = (totalSupply * 1000) / 1000;

        swapBackValueMin = (totalSupply * 2) / 1000;
        swapBackValueMax = (totalSupply * 100) / 100;

        buyMktFee = _buyMktFee;
        buyLPFee = _buyLPFee;
        buyDevFee = _buyDevFee;
        totalBuyFee = buyMktFee + buyLPFee + buyDevFee;

        sellMktFee = _sellMktFee;
        sellLpFee = _sellLpFee;
        sellDevFee = _sellDevFee;
        totalSellFee = sellMktFee + sellLpFee + sellDevFee;

        transferMktFee = _transferMktFee;
        transferLpFee = _transferLpFee;
        transferDevFee = _transferDevFee;
        totalTransferFee = transferMktFee + transferLpFee + transferDevFee;

        mktReceiver = address(0xCaB1f9C2341f34d7880317992d77040B04530985);
        devReceiver = address(0x1896467078F8Af7fBB2Efc6B0e04F232D26Df1A2);
        autoLPReceiver = address(0x000000000000000000000000000000000000dEaD);

        // exclude from paying fees or having max transaction amount
        excludeFromFees(newOwner, true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);

        excludeFromMaxTransaction(newOwner, true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);
        excludeFromMaxTransaction(autoLPReceiver, true);

        transferOwnership(newOwner);

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

    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @notice  Information about the swapback settings
     * @return  _swapbackEnabled  if swapback is enabled
     * @return  _swapBackValueMin  the minimum amount of tokens in the contract balance to trigger swapback
     * @return  _swapBackValueMax  the maximum amount of tokens in the contract balance to trigger swapback
     */
    function swapbackInfo()
        external
        view
        returns (
            bool _swapbackEnabled,
            uint256 _swapBackValueMin,
            uint256 _swapBackValueMax
        )
    {
        _swapbackEnabled = swapbackEnabled;
        _swapBackValueMin = swapBackValueMin;
        _swapBackValueMax = swapBackValueMax;
    }

    /**
     * @notice  Information about the anti whale parameters
     * @return  _limitsInEffect  if the wallet limits are in effect
     * @return  _trasnferDelayEnabled  if the transfer delay is enabled
     * @return  _maxWallet  The maximum amount of tokens that can be held by a wallet
     * @return  _maxTx  The maximum amount of tokens that can be bought or sold in a single transaction
     */
    function antiWhaleInfo()
        external
        view
        returns (
            bool _limitsInEffect,
            bool _trasnferDelayEnabled,
            uint256 _maxWallet,
            uint256 _maxTx
        )
    {
        _limitsInEffect = limitsInEffect;
        _trasnferDelayEnabled = trasnferDelayEnabled;
        _maxWallet = maxWallet;
        _maxTx = maxTx;
    }

    /**
     * @notice The wallets that receive the collected fees
     * @return _autoLPReceiver The wallet that receives the LP fees
     * @return _mktReceiver The wallet that receives the marketing fees
     * @return _devReceiver The wallet that receives the dev fees
     */
    function feeReceivers()
        external
        view
        returns (
            address _autoLPReceiver,
            address _mktReceiver,
            address _devReceiver
        )
    {
        return (autoLPReceiver, mktReceiver, devReceiver);
    }

    /**
     * @notice Fees for buys, sells, and transfers
     * @return _totalBuyFee The total fee for buys
     * @return _buyMktFee The fee for buys that gets sent to marketing
     * @return _buyLPFee The fee for buys that gets sent to LP
     * @return _buyDevFee The fee for buys that gets sent to dev
     * @return _totalSellFee The total fee for sells
     * @return _sellMktFee The fee for sells that gets sent to marketing
     * @return _sellLpFee The fee for sells that gets sent to LP
     * @return _sellDevFee The fee for sells that gets sent to dev
     * @return _totalTransferFee The total fee for transfers
     * @return _transferMktFee The fee for transfers that gets sent to marketing
     * @return _transferLpFee The fee for transfers that gets sent to LP
     * @return _transferDevFee The fee for transfers that gets sent to dev
     */
    function feeRates()
        external
        view
        returns (
            uint256 _totalBuyFee,
            uint256 _buyMktFee,
            uint256 _buyLPFee,
            uint256 _buyDevFee,
            uint256 _totalSellFee,
            uint256 _sellMktFee,
            uint256 _sellLpFee,
            uint256 _sellDevFee,
            uint256 _totalTransferFee,
            uint256 _transferMktFee,
            uint256 _transferLpFee,
            uint256 _transferDevFee
        )
    {
        _totalBuyFee = totalBuyFee;
        _buyMktFee = buyMktFee;
        _buyLPFee = buyLPFee;
        _buyDevFee = buyDevFee;
        _totalSellFee = totalSellFee;
        _sellMktFee = sellMktFee;
        _sellLpFee = sellLpFee;
        _sellDevFee = sellDevFee;
        _totalTransferFee = totalTransferFee;
        _transferMktFee = transferMktFee;
        _transferLpFee = transferLpFee;
        _transferDevFee = transferDevFee;
    }

    /**
     * @notice  If the wallet is excluded from fees and max transaction amount and if the wallet is a automated market maker pair
     * @param   _target  The wallet to check
     * @return  _isFeeExempt  If the wallet is excluded from fees
     * @return  _isTxLimitExempt  If the wallet is excluded from max transaction amount
     * @return  _automatedMarketMakerPairs If the wallet is a automated market maker pair
     */
    function checkAddressPermissions(
        address _target
    )
        external
        view
        returns (
            bool _isFeeExempt,
            bool _isTxLimitExempt,
            bool _automatedMarketMakerPairs
        )
    {
        _isFeeExempt = isFeeExempt[_target];
        _isTxLimitExempt = isTxLimitExempt[_target];
        _automatedMarketMakerPairs = automatedMarketMakerPairs[_target];
    }

    /**
     * @notice Information related to the burn function
     * @return _burnEnabled If burn is enabled
     * @return _lastSync The last time burn was called
     */
    function burnInfo() external view returns (bool _burnEnabled, uint256 _lastSync) {
        _burnEnabled = burnEnabled;
        _lastSync = lastSync;
    }

    receive() external payable {}

    /**
     * @notice  Opens public trading for the token
     * @dev     onlyOwner.
     */
    function enableTrading() external onlyOwner {
        tradingOn = true;
        swapbackEnabled = true;
        emit TradingEnabled(block.timestamp);
    }

    /**
     * @notice Removes the max wallet and max transaction limits
     * @dev onlyOwner.
     * Emits an {LimitsRemoved} event
     */
    function removeLimits() external onlyOwner {
        limitsInEffect = false;
        emit LimitsRemoved(block.timestamp);
    }

    /**
     * @notice Removes the transfer delay
     * @dev onlyOwner.
     * Emits an {DisabledTransferDelay} event
     */
    function disableTransferDelay() external onlyOwner {
        trasnferDelayEnabled = false;
        emit DisabledTransferDelay(block.timestamp);
    }

    /**
     * @notice sets if swapback is enabled and sets the minimum and maximum amounts
     * @dev onlyOwner.
     * Emits an {SwapbackSettingsUpdated} event
     * @param _enabled If swapback is enabled
     * @param _min The minimum amount of tokens the contract must have before swapping tokens for ETH. Base 10000, so 1% = 100.
     * @param _max The maximum amount of tokens the contract can swap for ETH. Base 10000, so 1% = 100.
     */
    function setSwapBackSettings(
        bool _enabled,
        uint256 _min,
        uint256 _max
    ) external onlyOwner {
        require(
            _min >= 1,
            "Swap amount cannot be lower than 0.01% total supply."
        );
        require(_max >= _min, "maximum amount cant be higher than minimum");

        swapbackEnabled = _enabled;
        swapBackValueMin = (totalSupply() * _min) / 10000;
        swapBackValueMax = (totalSupply() * _max) / 10000;
        emit SwapbackSettingsUpdated(_enabled, _min, _max);
    }

    /**
     * @notice Changes the maximum amount of tokens that can be bought or sold in a single transaction
     * @dev onlyOwner.
     * Emits an {MaxTxUpdated} event
     * @param newNum Base 1000, so 1% = 10
     */
    function setTxLimit(uint256 newNum) external onlyOwner {
        require(newNum >= 1, "Cannot set maxTx lower than 0.1%");
        maxTx = (newNum * totalSupply()) / 1000;
        emit MaxTxUpdated(maxTx);
    }

    /**
     * @notice Changes the maximum amount of tokens a wallet can hold
     * @dev onlyOwner.
     * Emits an {MaxWalletUpdated} event
     * @param newNum Base 1000, so 1% = 10
     */
    function setWalletLimit(uint256 newNum) external onlyOwner {
        require(newNum >= 5, "Cannot set maxWallet lower than 0.5%");
        maxWallet = (newNum * totalSupply()) / 1000;
        emit MaxWalletUpdated(maxWallet);
    }

    /**
     * @notice Sets if a wallet is excluded from the max wallet and tx limits
     * @dev onlyOwner.
     * Emits an {ExcludeFromLimits} event
     * @param updAds The wallet to update
     * @param isEx If the wallet is excluded or not
     */
    function excludeFromMaxTransaction(
        address updAds,
        bool isEx
    ) public onlyOwner {
        isTxLimitExempt[updAds] = isEx;
        emit ExcludeFromLimits(updAds, isEx);
    }

    /**
     * @notice Sets the fees for buys
     * @dev onlyOwner.
     * Emits a {BuyFeeUpdated} event
     * All fees added up must be less than 25
     * @param _marketingFee The fee for the marketing wallet
     * @param _liquidityFee The fee for the liquidity pool
     * @param _devFee The fee for the dev wallet
     */
    function setBuyFees(
        uint256 _marketingFee,
        uint256 _liquidityFee,
        uint256 _devFee
    ) external onlyOwner {
        buyMktFee = _marketingFee;
        buyLPFee = _liquidityFee;
        buyDevFee = _devFee;
        totalBuyFee = buyMktFee + buyLPFee + buyDevFee;
        require(totalBuyFee <= 25, "Total buy fee cannot be higher than 25%");
        emit BuyFeeUpdated(totalBuyFee, buyMktFee, buyLPFee, buyDevFee);
    }

    /**
     * @notice Sets the fees for sells
     * @dev onlyOwner.
     * Emits a {SellFeeUpdated} event
     * All fees added up must be less than 25
     * @param _marketingFee The fee for the marketing wallet
     * @param _liquidityFee The fee for the liquidity pool
     * @param _devFee The fee for the dev wallet
     */
    function setSellFees(
        uint256 _marketingFee,
        uint256 _liquidityFee,
        uint256 _devFee
    ) external onlyOwner {
        sellMktFee = _marketingFee;
        sellLpFee = _liquidityFee;
        sellDevFee = _devFee;
        totalSellFee = sellMktFee + sellLpFee + sellDevFee;
        require(
            totalSellFee <= 25,
            "Total sell fee cannot be higher than 25%"
        );
        emit SellFeeUpdated(totalSellFee, sellMktFee, sellLpFee, sellDevFee);
    }

    /**
     * @notice Sets the fees for transfers
     * @dev onlyOwner.
     * Emits a {TransferFeeUpdated} event
     * All fees added up must be less than 25
     * @param _marketingFee The fee for the marketing wallet
     * @param _liquidityFee The fee for the liquidity pool
     * @param _devFee The fee for the dev wallet
     */
    function setTransferFees(
        uint256 _marketingFee,
        uint256 _liquidityFee,
        uint256 _devFee
    ) external onlyOwner {
        transferMktFee = _marketingFee;
        transferLpFee = _liquidityFee;
        transferDevFee = _devFee;
        totalTransferFee = transferMktFee + transferLpFee + transferDevFee;
        require(
            totalTransferFee <= 25,
            "Total transfer fee cannot be higher than 25%"
        );
        emit TransferFeeUpdated(
            totalTransferFee,
            transferMktFee,
            transferLpFee,
            transferDevFee
        );
    }

    /**
     * @notice Sets if an address is excluded from fees
     * @dev onlyOwner.
     * Emits an {ExcludeFromFees} event
     * @param account The wallet to update
     * @param excluded If the wallet is excluded or not
     */
    function excludeFromFees(address account, bool excluded) public onlyOwner {
        isFeeExempt[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }

    /**
     * @notice Sets an address as a new liquidity pair. You probably dont want to do this.
     * @dev onlyOwner.
     * Emits a {SetAutomatedMarketMakerPair} event
     * @param pair the address of the pair
     * @param value If the pair is a automated market maker pair or not
     */
    function setAutomatedMarketMakerPair(
        address pair,
        bool value
    ) public onlyOwner {
        require(
            pair != dexPair,
            "The pair cannot be removed from automatedMarketMakerPairs"
        );

        _setAutomatedMarketMakerPair(pair, value);
    }

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

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    /**
     * @notice Sets the marketing wallet
     * @dev onlyOwner.
     * Emits an {mktReceiverUpdated} event
     * @param newWallet The new marketing wallet
     */
    function setMarketingWallet(address newWallet) external onlyOwner {
        emit mktReceiverUpdated(newWallet, mktReceiver);
        mktReceiver = newWallet;
    }

    /**
     * @notice Sets the LP receiver
     * @dev onlyOwner.
     * Emits an {lpReceiverUpdated} event
     * @param newWallet The new dev wallet
     */
    function setLPWallet(address newWallet) external onlyOwner {
        emit lpReceiverUpdated(newWallet, autoLPReceiver);
        autoLPReceiver = newWallet;
    }

    /**
     * @notice Sets the dev wallet
     * @dev onlyOwner.
     * Emits an {devReceiverUpdated} event
     * @param newWallet The new dev wallet
     */
    function setDevWallet(address newWallet) external onlyOwner {
        emit devReceiverUpdated(newWallet, devReceiver);
        devReceiver = newWallet;
    }

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

                // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch.
                if (trasnferDelayEnabled) {
                    if (
                        to != owner() &&
                        to != address(dexRouter) &&
                        to != address(dexPair)
                    ) {
                        require(
                            _holderLastTransferTimestamp[tx.origin] <
                                block.number,
                            "_transfer:: Transfer Delay enabled.  Only one purchase per block allowed."
                        );
                        _holderLastTransferTimestamp[tx.origin] = block.number;
                    }
                }

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

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapBackValueMin;

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

            swapBack();

            swapping = false;
        }

        bool takeFee = !swapping;

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

        uint256 fees = 0;
        // only take fees on buys/sells, do not take on wallet transfers
        if (takeFee) {
            // on sell
            if (automatedMarketMakerPairs[to] && totalSellFee > 0) {
                fees = amount.mul(totalSellFee).div(100);
                tokensForLiquidity += (fees * sellLpFee) / totalSellFee;
                tokensForDev += (fees * sellDevFee) / totalSellFee;
                tokensForMarketing += (fees * sellMktFee) / totalSellFee;
            }
            // on buy
            else if (automatedMarketMakerPairs[from] && totalBuyFee > 0) {
                fees = amount.mul(totalBuyFee).div(100);
                tokensForLiquidity += (fees * buyLPFee) / totalBuyFee;
                tokensForDev += (fees * buyDevFee) / totalBuyFee;
                tokensForMarketing += (fees * buyMktFee) / totalBuyFee;
            }
            // on transfer
            else if (totalTransferFee > 0) {
                fees = amount.mul(totalTransferFee).div(100);
                tokensForLiquidity += (fees * transferLpFee) / totalTransferFee;
                tokensForDev += (fees * transferDevFee) / totalTransferFee;
                tokensForMarketing +=
                    (fees * transferMktFee) /
                    totalTransferFee;
            }

            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] = dexRouter.WETH();

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

        // make the swap
        dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }

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

        // add the liquidity
        dexRouter.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            autoLPReceiver,
            block.timestamp
        );
    }

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

        if (contractBalance == 0) {
            return;
        }

        if (contractBalance > swapBackValueMax) {
            contractBalance = swapBackValueMax;
        }

        // Halve the amount of liquidity tokens
        uint256 liquidityTokens = (contractBalance * tokensForLiquidity) /
            totalTokensToSwap /
            2;
        uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens);

        uint256 initialETHBalance = address(this).balance;

        swapTokensForEth(amountToSwapForETH);

        uint256 ethBalance = address(this).balance.sub(initialETHBalance);

        uint256 ethForMarketing = ethBalance.mul(tokensForMarketing).div(
            totalTokensToSwap
        );
        uint256 ethForDev = ethBalance.mul(tokensForDev).div(totalTokensToSwap);

        uint256 ethForLiquidity = ethBalance - ethForMarketing - ethForDev;

        tokensForLiquidity = 0;
        tokensForMarketing = 0;
        tokensForDev = 0;

        (success, ) = address(devReceiver).call{value: ethForDev}("");

        if (liquidityTokens > 0 && ethForLiquidity > 0) {
            addLiquidity(liquidityTokens, ethForLiquidity);
            emit SwapAndLiquify(
                amountToSwapForETH,
                ethForLiquidity,
                tokensForLiquidity
            );
        }

        (success, ) = address(mktReceiver).call{value: address(this).balance}(
            ""
        );
    }
}

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":false,"internalType":"uint256","name":"totalBuyFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"buyMktFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"buyLPFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"buyDevFee","type":"uint256"}],"name":"BuyFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"DisabledTransferDelay","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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromLimits","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"LimitsRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxTx","type":"uint256"}],"name":"MaxTxUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxWallet","type":"uint256"}],"name":"MaxWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"totalSellFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sellMktFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sellLpFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sellDevFee","type":"uint256"}],"name":"SellFeeUpdated","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":false,"internalType":"bool","name":"enabled","type":"bool"},{"indexed":false,"internalType":"uint256","name":"swapBackValueMin","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"swapBackValueMax","type":"uint256"}],"name":"SwapbackSettingsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TradingEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"totalTransferFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"transferMktFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"transferLpFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"transferDevFee","type":"uint256"}],"name":"TransferFeeUpdated","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"devReceiverUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"lpReceiverUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"mktReceiverUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"antiWhaleInfo","outputs":[{"internalType":"bool","name":"_limitsInEffect","type":"bool"},{"internalType":"bool","name":"_trasnferDelayEnabled","type":"bool"},{"internalType":"uint256","name":"_maxWallet","type":"uint256"},{"internalType":"uint256","name":"_maxTx","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnInfo","outputs":[{"internalType":"bool","name":"_burnEnabled","type":"bool"},{"internalType":"uint256","name":"_lastSync","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"}],"name":"checkAddressPermissions","outputs":[{"internalType":"bool","name":"_isFeeExempt","type":"bool"},{"internalType":"bool","name":"_isTxLimitExempt","type":"bool"},{"internalType":"bool","name":"_automatedMarketMakerPairs","type":"bool"}],"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":"dexPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableTransferDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeRates","outputs":[{"internalType":"uint256","name":"_totalBuyFee","type":"uint256"},{"internalType":"uint256","name":"_buyMktFee","type":"uint256"},{"internalType":"uint256","name":"_buyLPFee","type":"uint256"},{"internalType":"uint256","name":"_buyDevFee","type":"uint256"},{"internalType":"uint256","name":"_totalSellFee","type":"uint256"},{"internalType":"uint256","name":"_sellMktFee","type":"uint256"},{"internalType":"uint256","name":"_sellLpFee","type":"uint256"},{"internalType":"uint256","name":"_sellDevFee","type":"uint256"},{"internalType":"uint256","name":"_totalTransferFee","type":"uint256"},{"internalType":"uint256","name":"_transferMktFee","type":"uint256"},{"internalType":"uint256","name":"_transferLpFee","type":"uint256"},{"internalType":"uint256","name":"_transferDevFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeReceivers","outputs":[{"internalType":"address","name":"_autoLPReceiver","type":"address"},{"internalType":"address","name":"_mktReceiver","type":"address"},{"internalType":"address","name":"_devReceiver","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"setBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"setDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"setLPWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"setSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"},{"internalType":"uint256","name":"_min","type":"uint256"},{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setSwapBackSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"setTransferFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"setTxLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"setWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapbackInfo","outputs":[{"internalType":"bool","name":"_swapbackEnabled","type":"bool"},{"internalType":"uint256","name":"_swapBackValueMin","type":"uint256"},{"internalType":"uint256","name":"_swapBackValueMax","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingOn","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"},{"stateMutability":"payable","type":"receive"}]

60c060405260068054600161ff0160a01b031916731896467078f8af7fbb2efc6b0e04f232d26df1a21790556009805461010161ffff1991821617909155600d80549091166101001790556000600e553480156200005c57600080fd5b506040518060400160405280600c81526020016b43525950544951415544494f60a01b8152506040518060400160405280600681526020016543415544494f60d01b8152508160039081620000b2919062000912565b506004620000c1828262000912565b505050620000de620000d8620004c760201b60201c565b620004cb565b42600e55737a250d5630b4cf539739df2c5dacb4c659f2488d620001048160016200051d565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200014f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001759190620009de565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001c3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001e99190620009de565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000237573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200025d9190620009de565b6001600160a01b031660a0819052620002789060016200051d565b60a05162000288906001620005cc565b6001600060048180600581808080620002a46012600a62000b25565b620002b4906301312d0062000b36565b90506103e8620002c682600a62000b36565b620002d2919062000b50565b600b556103e8620002e4828262000b36565b620002f0919062000b50565b600a556103e86200030382600262000b36565b6200030f919062000b50565b600755606462000320828262000b36565b6200032c919062000b50565b60085560138a905560148990556015889055876200034b8a8c62000b73565b62000357919062000b73565b6012556017879055601886905560198590558462000376878962000b73565b62000382919062000b73565b601655601b849055601c839055601d82905581620003a1848662000b73565b620003ad919062000b73565b601a55601080546001600160a01b031990811673cab1f9c2341f34d7880317992d77040b0453098517909155601180548216731896467078f8af7fbb2efc6b0e04f232d26df1a2179055600f805490911661dead1790556006546200041d906001600160a01b0316600162000620565b6200042a30600162000620565b6200043961dead600162000620565b60065462000452906001600160a01b031660016200051d565b6200045f3060016200051d565b6200046e61dead60016200051d565b600f5462000487906001600160a01b031660016200051d565b6006546200049e906001600160a01b0316620006c4565b600654620004b6906001600160a01b03168262000784565b505050505050505050505062000b89565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b031633146200056c5760405162461bcd60e51b815260206004820181905260248201526000805160206200378c83398151915260448201526064015b60405180910390fd5b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f4b89c347592b1d537e066cb4ed98d87696ae35164745d7e370e4add16941dc9291015b60405180910390a25050565b6001600160a01b038216600081815260236020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b031633146200066b5760405162461bcd60e51b815260206004820181905260248201526000805160206200378c833981519152604482015260640162000563565b6001600160a01b038216600081815260216020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101620005c0565b6005546001600160a01b031633146200070f5760405162461bcd60e51b815260206004820181905260248201526000805160206200378c833981519152604482015260640162000563565b6001600160a01b038116620007765760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840162000563565b6200078181620004cb565b50565b6001600160a01b038216620007dc5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000563565b8060026000828254620007f0919062000b73565b90915550506001600160a01b038216600090815260208190526040812080548392906200081f90849062000b73565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200089957607f821691505b602082108103620008ba57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200086957600081815260208120601f850160051c81016020861015620008e95750805b601f850160051c820191505b818110156200090a57828155600101620008f5565b505050505050565b81516001600160401b038111156200092e576200092e6200086e565b62000946816200093f845462000884565b84620008c0565b602080601f8311600181146200097e5760008415620009655750858301515b600019600386901b1c1916600185901b1785556200090a565b600085815260208120601f198616915b82811015620009af578886015182559484019460019091019084016200098e565b5085821015620009ce5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620009f157600080fd5b81516001600160a01b038116811462000a0957600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000a6757816000190482111562000a4b5762000a4b62000a10565b8085161562000a5957918102915b93841c939080029062000a2b565b509250929050565b60008262000a805750600162000b1f565b8162000a8f5750600062000b1f565b816001811462000aa8576002811462000ab35762000ad3565b600191505062000b1f565b60ff84111562000ac75762000ac762000a10565b50506001821b62000b1f565b5060208310610133831016604e8410600b841016171562000af8575081810a62000b1f565b62000b04838362000a26565b806000190482111562000b1b5762000b1b62000a10565b0290505b92915050565b600062000a0960ff84168362000a6f565b808202811582820484141762000b1f5762000b1f62000a10565b60008262000b6e57634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111562000b1f5762000b1f62000a10565b60805160a051612bac62000be0600039600081816107e601528181611025015261197201526000818161193401528181612501015281816125ba015281816125f60152818161267001526126d80152612bac6000f3fe60806040526004361061021e5760003560e01c80637688c58411610123578063bfd201f5116100ab578063e884f2601161006f578063e884f2601461079f578063f1d5f517146107b4578063f242ab41146107d4578063f2fde38b14610808578063fd1bc2ca1461082857600080fd5b8063bfd201f5146106b9578063c0246668146106d9578063d0889358146106f9578063dd62ed3e14610719578063dd9cdaed1461075f57600080fd5b806395d89b41116100f257806395d89b41146106055780639a7a23d61461061a578063a457c2d71461063a578063a9059cbb1461065a578063ae7ed5671461067a57600080fd5b80637688c584146105005780638a8c523c1461058a5780638da5cb5b1461059f5780639374ae82146105d157600080fd5b806339509351116101a65780635d098b38116101755780635d098b381461046057806370a0823114610480578063715018a6146104b6578063751039fc146104cb5780637571336a146104e057600080fd5b806339509351146103b55780633b0aacbc146103d55780633ff5ad78146103f55780635c85974f1461044057600080fd5b806318160ddd116101ed57806318160ddd146102c75780631cffccf4146102e65780631f53ac021461035957806323b872dd14610379578063313ce5671461039957600080fd5b806306fdde031461022a578063095ea7b3146102555780630d075d9c146102855780630f683e90146102a757600080fd5b3661022557005b600080fd5b34801561023657600080fd5b5061023f610842565b60405161024c9190612750565b60405180910390f35b34801561026157600080fd5b506102756102703660046127b3565b6108d4565b604051901515815260200161024c565b34801561029157600080fd5b506102a56102a03660046127df565b6108eb565b005b3480156102b357600080fd5b506102a56102c23660046127df565b6109fe565b3480156102d357600080fd5b506002545b60405190815260200161024c565b3480156102f257600080fd5b5061033a61030136600461280b565b6001600160a01b03166000908152602160209081526040808320546022835281842054602390935292205460ff92831693918316921690565b604080519315158452911515602084015215159082015260600161024c565b34801561036557600080fd5b506102a561037436600461280b565b610b00565b34801561038557600080fd5b50610275610394366004612828565b610b87565b3480156103a557600080fd5b506040516012815260200161024c565b3480156103c157600080fd5b506102756103d03660046127b3565b610c31565b3480156103e157600080fd5b506102a56103f036600461280b565b610c6d565b34801561040157600080fd5b5061041e600954600a54600b5460ff808416946101009094041692565b604080519415158552921515602085015291830152606082015260800161024c565b34801561044c57600080fd5b506102a561045b366004612869565b610cf4565b34801561046c57600080fd5b506102a561047b36600461280b565b610dcb565b34801561048c57600080fd5b506102d861049b36600461280b565b6001600160a01b031660009081526020819052604090205490565b3480156104c257600080fd5b506102a5610e52565b3480156104d757600080fd5b506102a5610e88565b3480156104ec57600080fd5b506102a56104fb366004612897565b610ee9565b34801561050c57600080fd5b50601254601354601454601554601654601754601854601954601a54601b54601c54601d54604080519c8d5260208d019b909b52998b019890985260608a0196909652608089019490945260a088019290925260c087015260e08601526101008501526101208401526101408301526101608201526101800161024c565b34801561059657600080fd5b506102a5610f73565b3480156105ab57600080fd5b506005546001600160a01b03165b6040516001600160a01b03909116815260200161024c565b3480156105dd57600080fd5b50600d54600e5461010090910460ff169060408051921515835260208301919091520161024c565b34801561061157600080fd5b5061023f610fea565b34801561062657600080fd5b506102a5610635366004612897565b610ff9565b34801561064657600080fd5b506102756106553660046127b3565b6110d8565b34801561066657600080fd5b506102756106753660046127b3565b611171565b34801561068657600080fd5b50600654600754600854600160a81b90920460ff169160408051931515845260208401929092529082015260600161024c565b3480156106c557600080fd5b506102a56106d43660046127df565b61117e565b3480156106e557600080fd5b506102a56106f4366004612897565b611284565b34801561070557600080fd5b506102a56107143660046128cc565b611306565b34801561072557600080fd5b506102d86107343660046128ff565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561076b57600080fd5b50600f54601054601154604080516001600160a01b039485168152928416602084015292169181019190915260600161024c565b3480156107ab57600080fd5b506102a561149c565b3480156107c057600080fd5b506102a56107cf366004612869565b6114fe565b3480156107e057600080fd5b506105b97f000000000000000000000000000000000000000000000000000000000000000081565b34801561081457600080fd5b506102a561082336600461280b565b6115da565b34801561083457600080fd5b50600d546102759060ff1681565b60606003805461085190612938565b80601f016020809104026020016040519081016040528092919081815260200182805461087d90612938565b80156108ca5780601f1061089f576101008083540402835291602001916108ca565b820191906000526020600020905b8154815290600101906020018083116108ad57829003601f168201915b5050505050905090565b60006108e1338484611675565b5060015b92915050565b6005546001600160a01b0316331461091e5760405162461bcd60e51b815260040161091590612972565b60405180910390fd5b6013839055601482905560158190558061093883856129bd565b61094291906129bd565b6012819055601910156109a75760405162461bcd60e51b815260206004820152602760248201527f546f74616c20627579206665652063616e6e6f7420626520686967686572207460448201526668616e2032352560c81b6064820152608401610915565b6012546013546014546015546040805194855260208501939093529183015260608201527f3d839c4d8187eded7cfbdfb38e8c68ae748d7c674400c8c3b8c837ba2933d1ac906080015b60405180910390a1505050565b6005546001600160a01b03163314610a285760405162461bcd60e51b815260040161091590612972565b60178390556018829055601981905580610a4283856129bd565b610a4c91906129bd565b601681905560191015610ab25760405162461bcd60e51b815260206004820152602860248201527f546f74616c2073656c6c206665652063616e6e6f7420626520686967686572206044820152677468616e2032352560c01b6064820152608401610915565b6016546017546018546019546040805194855260208501939093529183015260608201527f5453929bc359b94bdd2542a6d8391ca15fe386d74f044db5277328a36de3c650906080016109f1565b6005546001600160a01b03163314610b2a5760405162461bcd60e51b815260040161091590612972565b6011546040516001600160a01b03918216918316907fc246820312f1be47e3958d661d0c150c01b96d1fe3df1e38edd76693ffa8122b90600090a3601180546001600160a01b0319166001600160a01b0392909216919091179055565b6000610b94848484611799565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610c195760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610915565b610c268533858403611675565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916108e1918590610c689086906129bd565b611675565b6005546001600160a01b03163314610c975760405162461bcd60e51b815260040161091590612972565b600f546040516001600160a01b03918216918316907f1c3fdcf16dce794746858765f6acfdac41e7355deba3a0d04cef33a3710ca47c90600090a3600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610d1e5760405162461bcd60e51b815260040161091590612972565b6001811015610d6f5760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f7420736574206d61785478206c6f776572207468616e20302e31256044820152606401610915565b6103e8610d7b60025490565b610d8590836129d0565b610d8f91906129e7565b600b8190556040519081527fff3dd5e80294197918c284bbfc3dadd97d0b40ce92106110946329088f80068a906020015b60405180910390a150565b6005546001600160a01b03163314610df55760405162461bcd60e51b815260040161091590612972565b6010546040516001600160a01b03918216918316907fa90d7598849ffffb63cb2a2b23157fa85704d50370070de404a308243fe1daec90600090a3601080546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610e7c5760405162461bcd60e51b815260040161091590612972565b610e866000612068565b565b6005546001600160a01b03163314610eb25760405162461bcd60e51b815260040161091590612972565b6009805460ff1916905560405142907ff4eaa75eae08ae80c3daf791438dac1cff2cfd3b0bad2304ec7bbb067e50261690600090a2565b6005546001600160a01b03163314610f135760405162461bcd60e51b815260040161091590612972565b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f4b89c347592b1d537e066cb4ed98d87696ae35164745d7e370e4add16941dc9291015b60405180910390a25050565b6005546001600160a01b03163314610f9d5760405162461bcd60e51b815260040161091590612972565b600d805460ff191660011790556006805460ff60a81b1916600160a81b17905560405142907fb3da2db3dfc3778f99852546c6e9ab39ec253f9de7b0847afec61bd27878e92390600090a2565b60606004805461085190612938565b6005546001600160a01b031633146110235760405162461bcd60e51b815260040161091590612972565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316036110ca5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610915565b6110d482826120ba565b5050565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561115a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610915565b6111673385858403611675565b5060019392505050565b60006108e1338484611799565b6005546001600160a01b031633146111a85760405162461bcd60e51b815260040161091590612972565b601b839055601c829055601d819055806111c283856129bd565b6111cc91906129bd565b601a819055601910156112365760405162461bcd60e51b815260206004820152602c60248201527f546f74616c207472616e73666572206665652063616e6e6f742062652068696760448201526b686572207468616e2032352560a01b6064820152608401610915565b601a54601b54601c54601d546040805194855260208501939093529183015260608201527f29ca25f871e92385edcc1db1ce9c82a11549def46dbee1cff41bbed1dcac6ecb906080016109f1565b6005546001600160a01b031633146112ae5760405162461bcd60e51b815260040161091590612972565b6001600160a01b038216600081815260216020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101610f67565b6005546001600160a01b031633146113305760405162461bcd60e51b815260040161091590612972565b600182101561139e5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e604482015273101817181892903a37ba30b61039bab838363c9760611b6064820152608401610915565b818110156114015760405162461bcd60e51b815260206004820152602a60248201527f6d6178696d756d20616d6f756e742063616e7420626520686967686572207468604482015269616e206d696e696d756d60b01b6064820152608401610915565b6006805460ff60a81b1916600160a81b8515150217905560025461271090839061142b91906129d0565b61143591906129e7565b6007556127108161144560025490565b61144f91906129d0565b61145991906129e7565b600855604080518415158152602081018490529081018290527f52cd2cdb42ff0eeec9362d7ed5b04f64c8d022697128b5378fc51cea7e63c779906060016109f1565b6005546001600160a01b031633146114c65760405162461bcd60e51b815260040161091590612972565b6009805461ff001916905560405142907f26e776fcf7ca20aa79b5b946e9b5111f47205539ece9d7a7995271dd6a8b5bad90600090a2565b6005546001600160a01b031633146115285760405162461bcd60e51b815260040161091590612972565b60058110156115855760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610915565b6103e861159160025490565b61159b90836129d0565b6115a591906129e7565b600a8190556040519081527f12528a3c61e0f3b2d6fc707a9fc58b1af86e252cad0d7f4c154ebeabb162dace90602001610dc0565b6005546001600160a01b031633146116045760405162461bcd60e51b815260040161091590612972565b6001600160a01b0381166116695760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610915565b61167281612068565b50565b6001600160a01b0383166116d75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610915565b6001600160a01b0382166117385760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610915565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166117bf5760405162461bcd60e51b815260040161091590612a09565b6001600160a01b0382166117e55760405162461bcd60e51b815260040161091590612a4e565b806000036117fe576117f98383600061210e565b505050565b60095460ff1615611c9d576005546001600160a01b0384811691161480159061183557506005546001600160a01b03838116911614155b801561184957506001600160a01b03821615155b801561186057506001600160a01b03821661dead14155b80156118765750600654600160a01b900460ff16155b15611c9d57600d5460ff16611909576001600160a01b03831660009081526021602052604090205460ff16806118c457506001600160a01b03821660009081526021602052604090205460ff165b6119095760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610915565b600954610100900460ff1615611a55576005546001600160a01b0383811691161480159061196957507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b80156119a757507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b15611a5557326000908152600c60205260409020544311611a425760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610915565b326000908152600c602052604090204390555b6001600160a01b03831660009081526023602052604090205460ff168015611a9657506001600160a01b03821660009081526022602052604090205460ff16155b15611b6b57600b54811115611afc5760405162461bcd60e51b815260206004820152602660248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526536b0bc2a3c1760d11b6064820152608401610915565b600a546001600160a01b038316600090815260208190526040902054611b2290836129bd565b1115611b665760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610915565b611c9d565b6001600160a01b03821660009081526023602052604090205460ff168015611bac57506001600160a01b03831660009081526022602052604090205460ff16155b15611c1357600b54811115611b665760405162461bcd60e51b815260206004820152602760248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152661036b0bc2a3c1760c91b6064820152608401610915565b6001600160a01b03821660009081526022602052604090205460ff16611c9d57600a546001600160a01b038316600090815260208190526040902054611c5990836129bd565b1115611c9d5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610915565b3060009081526020819052604090205460075481108015908190611cca5750600654600160a81b900460ff165b8015611ce05750600654600160a01b900460ff16155b8015611d0557506001600160a01b03851660009081526023602052604090205460ff16155b8015611d2a57506001600160a01b03851660009081526021602052604090205460ff16155b8015611d4f57506001600160a01b03841660009081526021602052604090205460ff16155b15611d7d576006805460ff60a01b1916600160a01b179055611d6f612263565b6006805460ff60a01b191690555b6006546001600160a01b03861660009081526021602052604090205460ff600160a01b909204821615911680611dcb57506001600160a01b03851660009081526021602052604090205460ff165b15611dd4575060005b60008115612054576001600160a01b03861660009081526023602052604090205460ff168015611e0657506000601654115b15611ec457611e2b6064611e256016548861247f90919063ffffffff16565b90612492565b905060165460185482611e3e91906129d0565b611e4891906129e7565b601f6000828254611e5991906129bd565b9091555050601654601954611e6e90836129d0565b611e7891906129e7565b60206000828254611e8991906129bd565b9091555050601654601754611e9e90836129d0565b611ea891906129e7565b601e6000828254611eb991906129bd565b909155506120369050565b6001600160a01b03871660009081526023602052604090205460ff168015611eee57506000601254115b15611f8057611f0d6064611e256012548861247f90919063ffffffff16565b905060125460145482611f2091906129d0565b611f2a91906129e7565b601f6000828254611f3b91906129bd565b9091555050601254601554611f5090836129d0565b611f5a91906129e7565b60206000828254611f6b91906129bd565b9091555050601254601354611e9e90836129d0565b601a541561203657611fa26064611e25601a548861247f90919063ffffffff16565b9050601a54601c5482611fb591906129d0565b611fbf91906129e7565b601f6000828254611fd091906129bd565b9091555050601a54601d54611fe590836129d0565b611fef91906129e7565b6020600082825461200091906129bd565b9091555050601a54601b5461201590836129d0565b61201f91906129e7565b601e600082825461203091906129bd565b90915550505b80156120475761204787308361210e565b6120518186612a91565b94505b61205f87878761210e565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260236020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166121345760405162461bcd60e51b815260040161091590612a09565b6001600160a01b03821661215a5760405162461bcd60e51b815260040161091590612a4e565b6001600160a01b038316600090815260208190526040902054818110156121d25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610915565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906122099084906129bd565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161225591815260200190565b60405180910390a350505050565b3060009081526020819052604081205490506000602054601e54601f5461228a91906129bd565b61229491906129bd565b90506000826000036122a557505050565b6008548311156122b55760085492505b6000600283601f54866122c891906129d0565b6122d291906129e7565b6122dc91906129e7565b905060006122ea858361249e565b9050476122f6826124aa565b6000612302478361249e565b9050600061231f87611e25601e548561247f90919063ffffffff16565b9050600061233c88611e256020548661247f90919063ffffffff16565b905060008161234b8486612a91565b6123559190612a91565b6000601f819055601e81905560208190556011546040519293506001600160a01b031691849181818185875af1925050503d80600081146123b2576040519150601f19603f3d011682016040523d82523d6000602084013e6123b7565b606091505b509098505086158015906123cb5750600081115b1561241e576123da878261266a565b601f54604080518881526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6010546040516001600160a01b03909116904790600081818185875af1925050503d806000811461246b576040519150601f19603f3d011682016040523d82523d6000602084013e612470565b606091505b50505050505050505050505050565b600061248b82846129d0565b9392505050565b600061248b82846129e7565b600061248b8284612a91565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106124df576124df612aa4565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561255d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125819190612aba565b8160018151811061259457612594612aa4565b60200260200101906001600160a01b031690816001600160a01b0316815250506125df307f000000000000000000000000000000000000000000000000000000000000000084611675565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790612634908590600090869030904290600401612ad7565b600060405180830381600087803b15801561264e57600080fd5b505af1158015612662573d6000803e3d6000fd5b505050505050565b612695307f000000000000000000000000000000000000000000000000000000000000000084611675565b600f5460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000009091169063f305d71990839060c40160606040518083038185885af1158015612724573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906127499190612b48565b5050505050565b600060208083528351808285015260005b8181101561277d57858101830151858201604001528201612761565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461167257600080fd5b600080604083850312156127c657600080fd5b82356127d18161279e565b946020939093013593505050565b6000806000606084860312156127f457600080fd5b505081359360208301359350604090920135919050565b60006020828403121561281d57600080fd5b813561248b8161279e565b60008060006060848603121561283d57600080fd5b83356128488161279e565b925060208401356128588161279e565b929592945050506040919091013590565b60006020828403121561287b57600080fd5b5035919050565b8035801515811461289257600080fd5b919050565b600080604083850312156128aa57600080fd5b82356128b58161279e565b91506128c360208401612882565b90509250929050565b6000806000606084860312156128e157600080fd5b6128ea84612882565b95602085013595506040909401359392505050565b6000806040838503121561291257600080fd5b823561291d8161279e565b9150602083013561292d8161279e565b809150509250929050565b600181811c9082168061294c57607f821691505b60208210810361296c57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808201808211156108e5576108e56129a7565b80820281158282048414176108e5576108e56129a7565b600082612a0457634e487b7160e01b600052601260045260246000fd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156108e5576108e56129a7565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612acc57600080fd5b815161248b8161279e565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612b275784516001600160a01b031683529383019391830191600101612b02565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612b5d57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220725d51bcaa05e992c6339cba1160f6a37aae83e8d6b0fea247af9bcd23842f5564736f6c634300081300334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572

Deployed Bytecode

0x60806040526004361061021e5760003560e01c80637688c58411610123578063bfd201f5116100ab578063e884f2601161006f578063e884f2601461079f578063f1d5f517146107b4578063f242ab41146107d4578063f2fde38b14610808578063fd1bc2ca1461082857600080fd5b8063bfd201f5146106b9578063c0246668146106d9578063d0889358146106f9578063dd62ed3e14610719578063dd9cdaed1461075f57600080fd5b806395d89b41116100f257806395d89b41146106055780639a7a23d61461061a578063a457c2d71461063a578063a9059cbb1461065a578063ae7ed5671461067a57600080fd5b80637688c584146105005780638a8c523c1461058a5780638da5cb5b1461059f5780639374ae82146105d157600080fd5b806339509351116101a65780635d098b38116101755780635d098b381461046057806370a0823114610480578063715018a6146104b6578063751039fc146104cb5780637571336a146104e057600080fd5b806339509351146103b55780633b0aacbc146103d55780633ff5ad78146103f55780635c85974f1461044057600080fd5b806318160ddd116101ed57806318160ddd146102c75780631cffccf4146102e65780631f53ac021461035957806323b872dd14610379578063313ce5671461039957600080fd5b806306fdde031461022a578063095ea7b3146102555780630d075d9c146102855780630f683e90146102a757600080fd5b3661022557005b600080fd5b34801561023657600080fd5b5061023f610842565b60405161024c9190612750565b60405180910390f35b34801561026157600080fd5b506102756102703660046127b3565b6108d4565b604051901515815260200161024c565b34801561029157600080fd5b506102a56102a03660046127df565b6108eb565b005b3480156102b357600080fd5b506102a56102c23660046127df565b6109fe565b3480156102d357600080fd5b506002545b60405190815260200161024c565b3480156102f257600080fd5b5061033a61030136600461280b565b6001600160a01b03166000908152602160209081526040808320546022835281842054602390935292205460ff92831693918316921690565b604080519315158452911515602084015215159082015260600161024c565b34801561036557600080fd5b506102a561037436600461280b565b610b00565b34801561038557600080fd5b50610275610394366004612828565b610b87565b3480156103a557600080fd5b506040516012815260200161024c565b3480156103c157600080fd5b506102756103d03660046127b3565b610c31565b3480156103e157600080fd5b506102a56103f036600461280b565b610c6d565b34801561040157600080fd5b5061041e600954600a54600b5460ff808416946101009094041692565b604080519415158552921515602085015291830152606082015260800161024c565b34801561044c57600080fd5b506102a561045b366004612869565b610cf4565b34801561046c57600080fd5b506102a561047b36600461280b565b610dcb565b34801561048c57600080fd5b506102d861049b36600461280b565b6001600160a01b031660009081526020819052604090205490565b3480156104c257600080fd5b506102a5610e52565b3480156104d757600080fd5b506102a5610e88565b3480156104ec57600080fd5b506102a56104fb366004612897565b610ee9565b34801561050c57600080fd5b50601254601354601454601554601654601754601854601954601a54601b54601c54601d54604080519c8d5260208d019b909b52998b019890985260608a0196909652608089019490945260a088019290925260c087015260e08601526101008501526101208401526101408301526101608201526101800161024c565b34801561059657600080fd5b506102a5610f73565b3480156105ab57600080fd5b506005546001600160a01b03165b6040516001600160a01b03909116815260200161024c565b3480156105dd57600080fd5b50600d54600e5461010090910460ff169060408051921515835260208301919091520161024c565b34801561061157600080fd5b5061023f610fea565b34801561062657600080fd5b506102a5610635366004612897565b610ff9565b34801561064657600080fd5b506102756106553660046127b3565b6110d8565b34801561066657600080fd5b506102756106753660046127b3565b611171565b34801561068657600080fd5b50600654600754600854600160a81b90920460ff169160408051931515845260208401929092529082015260600161024c565b3480156106c557600080fd5b506102a56106d43660046127df565b61117e565b3480156106e557600080fd5b506102a56106f4366004612897565b611284565b34801561070557600080fd5b506102a56107143660046128cc565b611306565b34801561072557600080fd5b506102d86107343660046128ff565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561076b57600080fd5b50600f54601054601154604080516001600160a01b039485168152928416602084015292169181019190915260600161024c565b3480156107ab57600080fd5b506102a561149c565b3480156107c057600080fd5b506102a56107cf366004612869565b6114fe565b3480156107e057600080fd5b506105b97f000000000000000000000000b8df61ed75116be862133a7b5e74e8fa1d0c9dac81565b34801561081457600080fd5b506102a561082336600461280b565b6115da565b34801561083457600080fd5b50600d546102759060ff1681565b60606003805461085190612938565b80601f016020809104026020016040519081016040528092919081815260200182805461087d90612938565b80156108ca5780601f1061089f576101008083540402835291602001916108ca565b820191906000526020600020905b8154815290600101906020018083116108ad57829003601f168201915b5050505050905090565b60006108e1338484611675565b5060015b92915050565b6005546001600160a01b0316331461091e5760405162461bcd60e51b815260040161091590612972565b60405180910390fd5b6013839055601482905560158190558061093883856129bd565b61094291906129bd565b6012819055601910156109a75760405162461bcd60e51b815260206004820152602760248201527f546f74616c20627579206665652063616e6e6f7420626520686967686572207460448201526668616e2032352560c81b6064820152608401610915565b6012546013546014546015546040805194855260208501939093529183015260608201527f3d839c4d8187eded7cfbdfb38e8c68ae748d7c674400c8c3b8c837ba2933d1ac906080015b60405180910390a1505050565b6005546001600160a01b03163314610a285760405162461bcd60e51b815260040161091590612972565b60178390556018829055601981905580610a4283856129bd565b610a4c91906129bd565b601681905560191015610ab25760405162461bcd60e51b815260206004820152602860248201527f546f74616c2073656c6c206665652063616e6e6f7420626520686967686572206044820152677468616e2032352560c01b6064820152608401610915565b6016546017546018546019546040805194855260208501939093529183015260608201527f5453929bc359b94bdd2542a6d8391ca15fe386d74f044db5277328a36de3c650906080016109f1565b6005546001600160a01b03163314610b2a5760405162461bcd60e51b815260040161091590612972565b6011546040516001600160a01b03918216918316907fc246820312f1be47e3958d661d0c150c01b96d1fe3df1e38edd76693ffa8122b90600090a3601180546001600160a01b0319166001600160a01b0392909216919091179055565b6000610b94848484611799565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610c195760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610915565b610c268533858403611675565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916108e1918590610c689086906129bd565b611675565b6005546001600160a01b03163314610c975760405162461bcd60e51b815260040161091590612972565b600f546040516001600160a01b03918216918316907f1c3fdcf16dce794746858765f6acfdac41e7355deba3a0d04cef33a3710ca47c90600090a3600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610d1e5760405162461bcd60e51b815260040161091590612972565b6001811015610d6f5760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f7420736574206d61785478206c6f776572207468616e20302e31256044820152606401610915565b6103e8610d7b60025490565b610d8590836129d0565b610d8f91906129e7565b600b8190556040519081527fff3dd5e80294197918c284bbfc3dadd97d0b40ce92106110946329088f80068a906020015b60405180910390a150565b6005546001600160a01b03163314610df55760405162461bcd60e51b815260040161091590612972565b6010546040516001600160a01b03918216918316907fa90d7598849ffffb63cb2a2b23157fa85704d50370070de404a308243fe1daec90600090a3601080546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610e7c5760405162461bcd60e51b815260040161091590612972565b610e866000612068565b565b6005546001600160a01b03163314610eb25760405162461bcd60e51b815260040161091590612972565b6009805460ff1916905560405142907ff4eaa75eae08ae80c3daf791438dac1cff2cfd3b0bad2304ec7bbb067e50261690600090a2565b6005546001600160a01b03163314610f135760405162461bcd60e51b815260040161091590612972565b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f4b89c347592b1d537e066cb4ed98d87696ae35164745d7e370e4add16941dc9291015b60405180910390a25050565b6005546001600160a01b03163314610f9d5760405162461bcd60e51b815260040161091590612972565b600d805460ff191660011790556006805460ff60a81b1916600160a81b17905560405142907fb3da2db3dfc3778f99852546c6e9ab39ec253f9de7b0847afec61bd27878e92390600090a2565b60606004805461085190612938565b6005546001600160a01b031633146110235760405162461bcd60e51b815260040161091590612972565b7f000000000000000000000000b8df61ed75116be862133a7b5e74e8fa1d0c9dac6001600160a01b0316826001600160a01b0316036110ca5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610915565b6110d482826120ba565b5050565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561115a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610915565b6111673385858403611675565b5060019392505050565b60006108e1338484611799565b6005546001600160a01b031633146111a85760405162461bcd60e51b815260040161091590612972565b601b839055601c829055601d819055806111c283856129bd565b6111cc91906129bd565b601a819055601910156112365760405162461bcd60e51b815260206004820152602c60248201527f546f74616c207472616e73666572206665652063616e6e6f742062652068696760448201526b686572207468616e2032352560a01b6064820152608401610915565b601a54601b54601c54601d546040805194855260208501939093529183015260608201527f29ca25f871e92385edcc1db1ce9c82a11549def46dbee1cff41bbed1dcac6ecb906080016109f1565b6005546001600160a01b031633146112ae5760405162461bcd60e51b815260040161091590612972565b6001600160a01b038216600081815260216020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101610f67565b6005546001600160a01b031633146113305760405162461bcd60e51b815260040161091590612972565b600182101561139e5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e604482015273101817181892903a37ba30b61039bab838363c9760611b6064820152608401610915565b818110156114015760405162461bcd60e51b815260206004820152602a60248201527f6d6178696d756d20616d6f756e742063616e7420626520686967686572207468604482015269616e206d696e696d756d60b01b6064820152608401610915565b6006805460ff60a81b1916600160a81b8515150217905560025461271090839061142b91906129d0565b61143591906129e7565b6007556127108161144560025490565b61144f91906129d0565b61145991906129e7565b600855604080518415158152602081018490529081018290527f52cd2cdb42ff0eeec9362d7ed5b04f64c8d022697128b5378fc51cea7e63c779906060016109f1565b6005546001600160a01b031633146114c65760405162461bcd60e51b815260040161091590612972565b6009805461ff001916905560405142907f26e776fcf7ca20aa79b5b946e9b5111f47205539ece9d7a7995271dd6a8b5bad90600090a2565b6005546001600160a01b031633146115285760405162461bcd60e51b815260040161091590612972565b60058110156115855760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610915565b6103e861159160025490565b61159b90836129d0565b6115a591906129e7565b600a8190556040519081527f12528a3c61e0f3b2d6fc707a9fc58b1af86e252cad0d7f4c154ebeabb162dace90602001610dc0565b6005546001600160a01b031633146116045760405162461bcd60e51b815260040161091590612972565b6001600160a01b0381166116695760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610915565b61167281612068565b50565b6001600160a01b0383166116d75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610915565b6001600160a01b0382166117385760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610915565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166117bf5760405162461bcd60e51b815260040161091590612a09565b6001600160a01b0382166117e55760405162461bcd60e51b815260040161091590612a4e565b806000036117fe576117f98383600061210e565b505050565b60095460ff1615611c9d576005546001600160a01b0384811691161480159061183557506005546001600160a01b03838116911614155b801561184957506001600160a01b03821615155b801561186057506001600160a01b03821661dead14155b80156118765750600654600160a01b900460ff16155b15611c9d57600d5460ff16611909576001600160a01b03831660009081526021602052604090205460ff16806118c457506001600160a01b03821660009081526021602052604090205460ff165b6119095760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610915565b600954610100900460ff1615611a55576005546001600160a01b0383811691161480159061196957507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316826001600160a01b031614155b80156119a757507f000000000000000000000000b8df61ed75116be862133a7b5e74e8fa1d0c9dac6001600160a01b0316826001600160a01b031614155b15611a5557326000908152600c60205260409020544311611a425760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610915565b326000908152600c602052604090204390555b6001600160a01b03831660009081526023602052604090205460ff168015611a9657506001600160a01b03821660009081526022602052604090205460ff16155b15611b6b57600b54811115611afc5760405162461bcd60e51b815260206004820152602660248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526536b0bc2a3c1760d11b6064820152608401610915565b600a546001600160a01b038316600090815260208190526040902054611b2290836129bd565b1115611b665760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610915565b611c9d565b6001600160a01b03821660009081526023602052604090205460ff168015611bac57506001600160a01b03831660009081526022602052604090205460ff16155b15611c1357600b54811115611b665760405162461bcd60e51b815260206004820152602760248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152661036b0bc2a3c1760c91b6064820152608401610915565b6001600160a01b03821660009081526022602052604090205460ff16611c9d57600a546001600160a01b038316600090815260208190526040902054611c5990836129bd565b1115611c9d5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610915565b3060009081526020819052604090205460075481108015908190611cca5750600654600160a81b900460ff165b8015611ce05750600654600160a01b900460ff16155b8015611d0557506001600160a01b03851660009081526023602052604090205460ff16155b8015611d2a57506001600160a01b03851660009081526021602052604090205460ff16155b8015611d4f57506001600160a01b03841660009081526021602052604090205460ff16155b15611d7d576006805460ff60a01b1916600160a01b179055611d6f612263565b6006805460ff60a01b191690555b6006546001600160a01b03861660009081526021602052604090205460ff600160a01b909204821615911680611dcb57506001600160a01b03851660009081526021602052604090205460ff165b15611dd4575060005b60008115612054576001600160a01b03861660009081526023602052604090205460ff168015611e0657506000601654115b15611ec457611e2b6064611e256016548861247f90919063ffffffff16565b90612492565b905060165460185482611e3e91906129d0565b611e4891906129e7565b601f6000828254611e5991906129bd565b9091555050601654601954611e6e90836129d0565b611e7891906129e7565b60206000828254611e8991906129bd565b9091555050601654601754611e9e90836129d0565b611ea891906129e7565b601e6000828254611eb991906129bd565b909155506120369050565b6001600160a01b03871660009081526023602052604090205460ff168015611eee57506000601254115b15611f8057611f0d6064611e256012548861247f90919063ffffffff16565b905060125460145482611f2091906129d0565b611f2a91906129e7565b601f6000828254611f3b91906129bd565b9091555050601254601554611f5090836129d0565b611f5a91906129e7565b60206000828254611f6b91906129bd565b9091555050601254601354611e9e90836129d0565b601a541561203657611fa26064611e25601a548861247f90919063ffffffff16565b9050601a54601c5482611fb591906129d0565b611fbf91906129e7565b601f6000828254611fd091906129bd565b9091555050601a54601d54611fe590836129d0565b611fef91906129e7565b6020600082825461200091906129bd565b9091555050601a54601b5461201590836129d0565b61201f91906129e7565b601e600082825461203091906129bd565b90915550505b80156120475761204787308361210e565b6120518186612a91565b94505b61205f87878761210e565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260236020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166121345760405162461bcd60e51b815260040161091590612a09565b6001600160a01b03821661215a5760405162461bcd60e51b815260040161091590612a4e565b6001600160a01b038316600090815260208190526040902054818110156121d25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610915565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906122099084906129bd565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161225591815260200190565b60405180910390a350505050565b3060009081526020819052604081205490506000602054601e54601f5461228a91906129bd565b61229491906129bd565b90506000826000036122a557505050565b6008548311156122b55760085492505b6000600283601f54866122c891906129d0565b6122d291906129e7565b6122dc91906129e7565b905060006122ea858361249e565b9050476122f6826124aa565b6000612302478361249e565b9050600061231f87611e25601e548561247f90919063ffffffff16565b9050600061233c88611e256020548661247f90919063ffffffff16565b905060008161234b8486612a91565b6123559190612a91565b6000601f819055601e81905560208190556011546040519293506001600160a01b031691849181818185875af1925050503d80600081146123b2576040519150601f19603f3d011682016040523d82523d6000602084013e6123b7565b606091505b509098505086158015906123cb5750600081115b1561241e576123da878261266a565b601f54604080518881526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6010546040516001600160a01b03909116904790600081818185875af1925050503d806000811461246b576040519150601f19603f3d011682016040523d82523d6000602084013e612470565b606091505b50505050505050505050505050565b600061248b82846129d0565b9392505050565b600061248b82846129e7565b600061248b8284612a91565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106124df576124df612aa4565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561255d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125819190612aba565b8160018151811061259457612594612aa4565b60200260200101906001600160a01b031690816001600160a01b0316815250506125df307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611675565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790612634908590600090869030904290600401612ad7565b600060405180830381600087803b15801561264e57600080fd5b505af1158015612662573d6000803e3d6000fd5b505050505050565b612695307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611675565b600f5460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063f305d71990839060c40160606040518083038185885af1158015612724573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906127499190612b48565b5050505050565b600060208083528351808285015260005b8181101561277d57858101830151858201604001528201612761565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461167257600080fd5b600080604083850312156127c657600080fd5b82356127d18161279e565b946020939093013593505050565b6000806000606084860312156127f457600080fd5b505081359360208301359350604090920135919050565b60006020828403121561281d57600080fd5b813561248b8161279e565b60008060006060848603121561283d57600080fd5b83356128488161279e565b925060208401356128588161279e565b929592945050506040919091013590565b60006020828403121561287b57600080fd5b5035919050565b8035801515811461289257600080fd5b919050565b600080604083850312156128aa57600080fd5b82356128b58161279e565b91506128c360208401612882565b90509250929050565b6000806000606084860312156128e157600080fd5b6128ea84612882565b95602085013595506040909401359392505050565b6000806040838503121561291257600080fd5b823561291d8161279e565b9150602083013561292d8161279e565b809150509250929050565b600181811c9082168061294c57607f821691505b60208210810361296c57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808201808211156108e5576108e56129a7565b80820281158282048414176108e5576108e56129a7565b600082612a0457634e487b7160e01b600052601260045260246000fd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156108e5576108e56129a7565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612acc57600080fd5b815161248b8161279e565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612b275784516001600160a01b031683529383019391830191600101612b02565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612b5d57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220725d51bcaa05e992c6339cba1160f6a37aae83e8d6b0fea247af9bcd23842f5564736f6c63430008130033

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.