ETH Price: $3,487.54 (+2.68%)

Contract

0x320eD4c7243E35A00F9Ca30a1aE60929d15eAE37
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
0x8bbe727401df779b8d383eec80304ff9d9754c680460e8108b9307d17b46edae Approve(pending)2024-12-22 1:29:543 days ago1734830994IN
0x320eD4c7...9d15eAE37
0 ETH(Pending)(Pending)
Approve214631312024-12-23 5:34:352 days ago1734932075IN
0x320eD4c7...9d15eAE37
0 ETH0.000188644.06435173
Approve214606952024-12-22 21:23:112 days ago1734902591IN
0x320eD4c7...9d15eAE37
0 ETH0.000372397.98813063
Approve214531862024-12-21 20:11:473 days ago1734811907IN
0x320eD4c7...9d15eAE37
0 ETH0.000429349.20975534
Approve214485012024-12-21 4:28:594 days ago1734755339IN
0x320eD4c7...9d15eAE37
0 ETH0.000443159.50610825
Transfer214423072024-12-20 7:41:475 days ago1734680507IN
0x320eD4c7...9d15eAE37
0 ETH0.001645079.53305904
Approve214069152024-12-15 9:06:119 days ago1734253571IN
0x320eD4c7...9d15eAE37
0 ETH0.000396298.50079701
Approve214031302024-12-14 20:26:3510 days ago1734207995IN
0x320eD4c7...9d15eAE37
0 ETH0.00038258.24119178
Transfer214022052024-12-14 17:20:2310 days ago1734196823IN
0x320eD4c7...9d15eAE37
0 ETH0.0010162110.97727559
Transfer214017272024-12-14 15:44:3510 days ago1734191075IN
0x320eD4c7...9d15eAE37
0 ETH0.0037389610.92651827
Approve214013092024-12-14 14:19:4710 days ago1734185987IN
0x320eD4c7...9d15eAE37
0 ETH0.000361957.76422466
Approve213913062024-12-13 4:49:2312 days ago1734065363IN
0x320eD4c7...9d15eAE37
0 ETH0.0005543911.95993203
Approve213703742024-12-10 6:40:2315 days ago1733812823IN
0x320eD4c7...9d15eAE37
0 ETH0.0007082215.19214738
Approve213638652024-12-09 8:51:3515 days ago1733734295IN
0x320eD4c7...9d15eAE37
0 ETH0.000594112.74415576
Approve213598892024-12-08 19:33:2316 days ago1733686403IN
0x320eD4c7...9d15eAE37
0 ETH0.000279511.48631931
Approve213565452024-12-08 8:22:1116 days ago1733646131IN
0x320eD4c7...9d15eAE37
0 ETH0.000419018.98826666
Transfer213373672024-12-05 16:04:1119 days ago1733414651IN
0x320eD4c7...9d15eAE37
0 ETH0.0080889127.47536101
Approve213194832024-12-03 4:06:4722 days ago1733198807IN
0x320eD4c7...9d15eAE37
0 ETH0.0008894619.16381659
Approve213183352024-12-03 0:15:3522 days ago1733184935IN
0x320eD4c7...9d15eAE37
0 ETH0.0012993527.8724022
Approve213091142024-12-01 17:19:5923 days ago1733073599IN
0x320eD4c7...9d15eAE37
0 ETH0.0010742623.04401542
Approve213065332024-12-01 8:42:1123 days ago1733042531IN
0x320eD4c7...9d15eAE37
0 ETH0.000404438.71369419
Approve213064152024-12-01 8:18:1123 days ago1733041091IN
0x320eD4c7...9d15eAE37
0 ETH0.000454699.80148646
Approve213033302024-11-30 21:58:5924 days ago1733003939IN
0x320eD4c7...9d15eAE37
0 ETH0.0006066312.99606513
Approve212929082024-11-29 10:58:5925 days ago1732877939IN
0x320eD4c7...9d15eAE37
0 ETH0.0004659310.05950797
Approve212919762024-11-29 7:51:3526 days ago1732866695IN
0x320eD4c7...9d15eAE37
0 ETH0.000328627.04028646
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
214017272024-12-14 15:44:3510 days ago1734191075
0x320eD4c7...9d15eAE37
0.00625529 ETH
214017272024-12-14 15:44:3510 days ago1734191075
0x320eD4c7...9d15eAE37
0.00208509 ETH
214017272024-12-14 15:44:3510 days ago1734191075
0x320eD4c7...9d15eAE37
0.00834039 ETH
213373672024-12-05 16:04:1119 days ago1733414651
0x320eD4c7...9d15eAE37
0.00696682 ETH
213373672024-12-05 16:04:1119 days ago1733414651
0x320eD4c7...9d15eAE37
0.00232227 ETH
213373672024-12-05 16:04:1119 days ago1733414651
0x320eD4c7...9d15eAE37
0.0092891 ETH
211864752024-11-14 14:17:2340 days ago1731593843
0x320eD4c7...9d15eAE37
0.00537457 ETH
211864752024-11-14 14:17:2340 days ago1731593843
0x320eD4c7...9d15eAE37
0.00179152 ETH
211864752024-11-14 14:17:2340 days ago1731593843
0x320eD4c7...9d15eAE37
0.0071661 ETH
210027212024-10-19 22:51:3566 days ago1729378295
0x320eD4c7...9d15eAE37
0.00698887 ETH
210027212024-10-19 22:51:3566 days ago1729378295
0x320eD4c7...9d15eAE37
0.00232962 ETH
210027212024-10-19 22:51:3566 days ago1729378295
0x320eD4c7...9d15eAE37
0.0093185 ETH
208913592024-10-04 9:47:5981 days ago1728035279
0x320eD4c7...9d15eAE37
0.00583583 ETH
208913592024-10-04 9:47:5981 days ago1728035279
0x320eD4c7...9d15eAE37
0.00194527 ETH
208913592024-10-04 9:47:5981 days ago1728035279
0x320eD4c7...9d15eAE37
0.00778111 ETH
207377092024-09-12 23:08:11103 days ago1726182491
0x320eD4c7...9d15eAE37
0.00588991 ETH
207377092024-09-12 23:08:11103 days ago1726182491
0x320eD4c7...9d15eAE37
0.0019633 ETH
207377092024-09-12 23:08:11103 days ago1726182491
0x320eD4c7...9d15eAE37
0.00785322 ETH
207148562024-09-09 18:30:47106 days ago1725906647
0x320eD4c7...9d15eAE37
0.00635771 ETH
207148562024-09-09 18:30:47106 days ago1725906647
0x320eD4c7...9d15eAE37
0.00211923 ETH
207148562024-09-09 18:30:47106 days ago1725906647
0x320eD4c7...9d15eAE37
0.00847695 ETH
206652072024-09-02 20:14:59113 days ago1725308099
0x320eD4c7...9d15eAE37
0.00598125 ETH
206652072024-09-02 20:14:59113 days ago1725308099
0x320eD4c7...9d15eAE37
0.00199375 ETH
206652072024-09-02 20:14:59113 days ago1725308099
0x320eD4c7...9d15eAE37
0.007975 ETH
205431932024-08-16 19:10:47130 days ago1723835447
0x320eD4c7...9d15eAE37
0.03574267 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BLOX

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 5 : Token.sol
pragma solidity 0.8.19;


// SPDX-License-Identifier: MIT

import "./StructLibrary.sol";
import "./Context.sol";
import "./IERC20.sol";
import "./DEXInterfaces.sol";

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

contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

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

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

        return true;
    }

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

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

        emit Transfer(from, to, amount);
    }

    /** @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");

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

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

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

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

contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    function owner() public view returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() external virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

library Address {
    function isContract(address account) internal view returns (bool) {
        return account.code.length > 0;
    }

    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

library SafeERC20 {
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }

    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }
}

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

        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, 'SafeMath: subtraction overflow');
    }

    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

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

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

        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, 'SafeMath: division by zero');
    }

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

        return c;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, 'SafeMath: modulo by zero');
    }

    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }

    function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x < y ? x : y;
    }

    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}

library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a * b;

        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }

    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b) internal pure returns (int256) {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);

        // Solidity already throws when dividing by 0.
        return a / b;
    }

    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }

    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    function add(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }

    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a) internal pure returns (int256) {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }


    function toUint256Safe(int256 a) internal pure returns (uint256) {
        require(a >= 0);
        return uint256(a);
    }
}

library SafeMathUint {
  function toInt256Safe(uint256 a) internal pure returns (int256) {
    int256 b = int256(a);
    require(b >= 0);
    return b;
  }
}

interface DividendPayingContractOptionalInterface {
  function withdrawableDividendOf(address _owner) external view returns(uint256);
  function withdrawnDividendOf(address _owner) external view returns(uint256);
  function accumulativeDividendOf(address _owner) external view returns(uint256);
}

interface DividendPayingContractInterface {
  function dividendOf(address _owner) external view returns(uint256);
  function distributeDividends() external payable;
  function withdrawDividend() external;
  event DividendsDistributed(
    address indexed from,
    uint256 weiAmount
  );
  event DividendWithdrawn(
    address indexed to,
    uint256 weiAmount
  );
}

contract DividendPayingContract is DividendPayingContractInterface, DividendPayingContractOptionalInterface, Ownable {
    using SafeMath for uint256;
    using SafeMathUint for uint256;
    using SafeMathInt for int256;

    uint256 constant internal magnitude = 2**128;

    uint256 internal magnifiedDividendPerShare;
                                                                            
    mapping(address => int256) internal magnifiedDividendCorrections;
    mapping(address => uint256) internal withdrawnDividends;
    
    mapping (address => uint256) public holderBalance;
    uint256 public totalBalance;

    uint256 public totalDividendsDistributed;

    receive() external payable {
        distributeDividends();
    }

    function distributeDividends() public override payable {
        if(totalBalance > 0 && msg.value > 0){
            magnifiedDividendPerShare = magnifiedDividendPerShare.add(
                (msg.value).mul(magnitude) / totalBalance
            );
            emit DividendsDistributed(msg.sender, msg.value);

            totalDividendsDistributed = totalDividendsDistributed.add(msg.value);
        }
    }

    function withdrawDividend() external virtual override {
        _withdrawDividendOfUser(payable(msg.sender));
    }

    function _withdrawDividendOfUser(address payable user) internal returns (uint256) {
        uint256 _withdrawableDividend = withdrawableDividendOf(user);
        if (_withdrawableDividend > 0) {
        withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend);

        emit DividendWithdrawn(user, _withdrawableDividend);
        (bool success,) = user.call{value: _withdrawableDividend}("");

        if(!success) {
            withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend);
            return 0;
        }

        return _withdrawableDividend;
        }

        return 0;
    }

    function withdrawDividendOfUserForCompound(address payable user) external onlyOwner returns (uint256 _withdrawableDividend) {
        _withdrawableDividend = withdrawableDividendOf(user);
        if (_withdrawableDividend > 0) {
            withdrawnDividends[user] = withdrawnDividends[user] + _withdrawableDividend;
            emit DividendWithdrawn(user, _withdrawableDividend);
        }
        (bool success,) = owner().call{value: _withdrawableDividend}("");
        if(!success) {
            withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend);
            return 0;
        }
    }

    function dividendOf(address _owner) external view override returns(uint256) {
        return withdrawableDividendOf(_owner);
    }

    function withdrawableDividendOf(address _owner) public view override returns(uint256) {
        return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]);
    }

    function withdrawnDividendOf(address _owner) external view override returns(uint256) {
        return withdrawnDividends[_owner];
    }

    function accumulativeDividendOf(address _owner) public view override returns(uint256) {
        return magnifiedDividendPerShare.mul(holderBalance[_owner]).toInt256Safe()
        .add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude;
    }

    function _increase(address account, uint256 value) internal {
        magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
        .sub( (magnifiedDividendPerShare.mul(value)).toInt256Safe() );
    }

    function _reduce(address account, uint256 value) internal {
        magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
        .add( (magnifiedDividendPerShare.mul(value)).toInt256Safe() );
    }

    function _setBalance(address account, uint256 newBalance) internal {
        uint256 currentBalance = holderBalance[account];
        holderBalance[account] = newBalance;
        if(newBalance > currentBalance) {
        uint256 increaseAmount = newBalance.sub(currentBalance);
        _increase(account, increaseAmount);
        totalBalance += increaseAmount;
        } else if(newBalance < currentBalance) {
        uint256 reduceAmount = currentBalance.sub(newBalance);
        _reduce(account, reduceAmount);
        totalBalance -= reduceAmount;
        }
    }
}


contract RevShare is DividendPayingContract {

    event Claim(address indexed account, uint256 amount, bool indexed automatic);

    mapping (address => bool) public excludedFromDividends;

    constructor() {}

    function getAccount(address _account)
        public view returns (
            address account,
            uint256 withdrawableDividends,
            uint256 totalDividends,
            uint256 balance) {
        account = _account;

        withdrawableDividends = withdrawableDividendOf(account);
        totalDividends = accumulativeDividendOf(account);

        balance = holderBalance[account];
    }
    function setBalance(address payable account, uint256 newBalance) external onlyOwner {
        if(excludedFromDividends[account]) {
    		return;
    	}

        _setBalance(account, newBalance);

    	processAccount(account, true);
    }
    
    function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) {
        uint256 amount = _withdrawDividendOfUser(account);

    	if(amount > 0) {
            emit Claim(account, amount, automatic);
    		return true;
    	}

    	return false;
    }

    function getTotalDividendsDistributed() external view returns (uint256) {
        return totalDividendsDistributed;
    }

	function dividendTokenBalanceOf(address account) public view returns (uint256) {
		return holderBalance[account];
	}

    function getNumberOfDividends() external view returns(uint256) {
        return totalBalance;
    }

    function excludeFromDividends(address account) external onlyOwner {
    	excludedFromDividends[account] = true;

    	_setBalance(account, 0);
    }

    function includeInDividends(address account) external onlyOwner {
    	require(excludedFromDividends[account]);
    	excludedFromDividends[account] = false;
        _setBalance(account, IERC20(owner()).balanceOf(account)); // sets balance back to token balance
    }
}

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

interface IPriceFeed {
    function latestAnswer() external returns (int256);
}

contract BLOX is ERC20, Ownable {

    mapping (address => bool) public whitelisted;
    mapping (address => bool) public excludedFromTxLimits;

    address public marketingReceiver;
    address public devReceiver;

    Tax public buyTax;
    Tax public sellTax;

    RevShare public revenueShare;

    TokenDistributionForTax public tokensForTax;

    TxLimits public txnLimits;
    bool public txnLimitsActive = true;

    mapping(address => uint256) private _holderLastTransferBlock; // MEV protection
    bool private antiSandwichEnabled = true;
    uint256 private launchBlock;

    uint256 private swapTokensAtAmount;

    address public immutable pair;
    IDexRouter public immutable dexRouter;
    IWETH private immutable WETH;

    IPriceFeed internal immutable priceFeed;
    uint256 private latestEthPrice = 0;

    uint64 public constant FEE_DIVISOR = 10000;

    // structs

    struct TxLimits {
        uint96 transactionLimit;
        uint96 walletLimit;
        uint48 gasLimit;
        bool gasLimitActive;
    }

    struct Tax {
        uint48 mktingTax;
        uint48 devTax;
        uint48 lpTax;
        uint48 revenueShareTax;
        uint48 totalTax;
    }

    struct TokenDistributionForTax {
        uint64 tokensForMkting;
        uint64 tokensForLP;
        uint64 tokensForDev;
        uint64 tokensForRevShare;
        bool gasSaver;
    }

    // events

    event UpdatedTransactionLimit(uint newMax);
    event UpdatedWalletLimit(uint newMax);
    event SetExcludedFromFees(address _address, bool _isExcluded);
    event SetExcludedFromLimits(address _address, bool _isExcluded);
    event RemovedLimits();
    event BuyTaxUpdated(uint newAmount);
    event SellTaxUpdated(uint newAmount);

    // constructor

    constructor(StructLibrary.Params memory params)
        ERC20(params.name, params.symbol)
    {   
        _mint(address(this), params.totalSupply * 1e18 * params.liquidityPercentage / 10000);
        uint256 leftoverTokens = (params.totalSupply * 1e18) - balanceOf(address(this));
        if(leftoverTokens > 0){
            _mint(msg.sender, leftoverTokens);
        }

        address _v2Router;
        address _priceFeed;

        if(block.chainid == 1){
            _v2Router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; // ETH: Uniswap V2
            _priceFeed = 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419;
        } else if(block.chainid == 5){
            _v2Router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; // Goerli ETH: Uniswap V2
            _priceFeed = 0xD4a33860578De61DBAbDc8BFdb98FD742fA7028e;
        } else if(block.chainid == 56){
            _v2Router = 0x10ED43C718714eb63d5aA57B78B54704E256024E; // BNB Chain: PCS V2
            _priceFeed = 0x0567F2323251f0Aab15c8dFb1967E4e8A7D42aeE;
        } else if(block.chainid == 97){
            _v2Router = 0xD99D1c33F9fC3444f8101754aBC46c52416550D1; // BNB Chain Testnet: PCS V2
            _priceFeed = 0x2514895c72f50D8bd4B4F9b1110F0D6bD2c97526;
        } else if(block.chainid == 42161){
            _v2Router = 0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506; // Arbitrum: SushiSwap
            _priceFeed = 0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612;
        } else {
            revert("Chain not configured");
        }

        priceFeed = IPriceFeed(_priceFeed);
        require(priceFeed.latestAnswer() > 0, "wrong price feed");

        revenueShare = new RevShare();

        dexRouter = IDexRouter(_v2Router);

        txnLimits.transactionLimit = uint96(totalSupply() * params.transactionLimit / 10000);
        txnLimits.walletLimit = uint96(totalSupply() * params.walletLimit / 10000);
        txnLimits.gasLimit = params.gasLimit * 1 gwei;
        swapTokensAtAmount = totalSupply() * 25 / 100000;

        marketingReceiver = params.marketingReceiver; // update
        devReceiver = params.devReceiver; // update

        buyTax.mktingTax = params.marketingTaxBuy;
        buyTax.lpTax = params.lpTaxBuy;
        buyTax.devTax = params.devTaxBuy;
        buyTax.revenueShareTax = params.revenueShareTaxBuy;
        buyTax.totalTax = buyTax.mktingTax + buyTax.lpTax + buyTax.devTax + buyTax.revenueShareTax;

        sellTax.mktingTax = params.marketingTaxSell;
        sellTax.lpTax = params.lpTaxSell;
        sellTax.devTax = params.devTaxSell;
        sellTax.revenueShareTax = params.revenueShareTaxSell;
        sellTax.totalTax = sellTax.mktingTax + sellTax.lpTax + sellTax.devTax + buyTax.revenueShareTax;

        tokensForTax.gasSaver = true;

        WETH = IWETH(dexRouter.WETH());
        pair = IDexFactory(dexRouter.factory()).createPair(address(this), address(WETH));

        excludedFromTxLimits[pair] = true;
        excludedFromTxLimits[msg.sender] = true;
        excludedFromTxLimits[address(this)] = true;
        excludedFromTxLimits[_v2Router] = true;

        whitelisted[msg.sender] = true;
        whitelisted[address(this)] = true;
        whitelisted[address(0xdead)] = true;
        whitelisted[_v2Router] = true;

        revenueShare.excludeFromDividends(address(this));
        revenueShare.excludeFromDividends(address(pair));
        revenueShare.excludeFromDividends(address(0xdead));
 
        _approve(address(this), address(dexRouter), type(uint256).max);
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        
        if(!whitelisted[from] && !whitelisted[to]){
            handleLimits(from, to, amount);
            amount -= handleFee(from, to, amount);
        }

        super._transfer(from,to,amount);

        revenueShare.setBalance(payable(to), balanceOf(to));
        revenueShare.setBalance(payable(from), balanceOf(from));
    }

    function handleLimits(address from, address to, uint256 amount) internal {
        if(txnLimitsActive){
            bool exFromLimitsTo = excludedFromTxLimits[to];
            uint256 balanceOfTo = balanceOf(to);
            TxLimits memory _txnLimits = txnLimits;
            // buy
            if (from == pair && !exFromLimitsTo) {
                require(amount <= _txnLimits.transactionLimit, "Max Txn");
                require(amount + balanceOfTo <= _txnLimits.walletLimit, "Max Wallet");
                if(_txnLimits.gasLimitActive){
                    if(block.number >= launchBlock + 4){
                        _txnLimits.gasLimitActive = false;
                        txnLimits = _txnLimits;
                    } else {
                        require(tx.gasprice <= _txnLimits.gasLimit, "Gas price exceeds limit.");
                    }
                }
            } 
            // sell
            else if (to == pair && !excludedFromTxLimits[from]) {
                require(amount <= _txnLimits.transactionLimit, "Max Txn");
            }
            else if(!exFromLimitsTo) {
                require(amount + balanceOfTo <= _txnLimits.walletLimit, "Max Wallet");
            }

            
        }

        if (antiSandwichEnabled){
            if(to == pair){
                require(_holderLastTransferBlock[from] < block.number, "Anti MEV");
            } else {
                _holderLastTransferBlock[to] = block.number;
                _holderLastTransferBlock[tx.origin] = block.number;
            }
        }
    }

    function handleFee(address from, address to, uint256 amount) internal returns (uint256){

        if(balanceOf(address(this)) >= swapTokensAtAmount && from != pair) {
            convertTax();
        }
        
        uint128 tax = 0;

        Tax memory taxes;

        if (to == pair){
            taxes = sellTax;
        } else if (from == pair){
            taxes = buyTax;
        }

        if(taxes.totalTax > 0){
            TokenDistributionForTax memory tokensForTaxUpdate = tokensForTax;
            tax = uint128(amount * taxes.totalTax / FEE_DIVISOR);
            tokensForTaxUpdate.tokensForLP += uint64(tax * taxes.lpTax / taxes.totalTax / 1e9);
            tokensForTaxUpdate.tokensForMkting += uint64(tax * taxes.mktingTax / taxes.totalTax / 1e9);
            tokensForTaxUpdate.tokensForDev += uint64(tax * taxes.devTax / taxes.totalTax / 1e9);
            tokensForTaxUpdate.tokensForRevShare += uint64(tax * taxes.revenueShareTax / taxes.totalTax / 1e9);
            tokensForTax = tokensForTaxUpdate;
            super._transfer(from, address(this), tax);
        }
        
        return tax;
    }

    function swapTokensForETH(uint256 tokenAmount) private {

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = address(WETH);

        dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function convertTax() private {

        uint256 contractBalance = balanceOf(address(this));
        TokenDistributionForTax memory tokensForTaxMem = tokensForTax;
        uint256 totalTokensToSwap = tokensForTaxMem.tokensForLP + tokensForTaxMem.tokensForMkting + tokensForTaxMem.tokensForDev + tokensForTaxMem.tokensForRevShare;
        
        if(contractBalance == 0 || totalTokensToSwap == 0) {return;}

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

        if(tokensForTaxMem.tokensForLP > 0){
            uint256 lpTokens = contractBalance * tokensForTaxMem.tokensForLP / totalTokensToSwap;
            super._transfer(address(this), pair, lpTokens);
            try ILpPair(pair).sync(){} catch {}
            contractBalance -= lpTokens;
            totalTokensToSwap -= tokensForTaxMem.tokensForLP;
        }

        if(contractBalance > 0){

            swapTokensForETH(contractBalance);
            
            uint256 ethBalance = address(this).balance;

            bool success;

            if(tokensForTaxMem.tokensForDev > 0){
                (success,) = devReceiver.call{value: ethBalance * tokensForTaxMem.tokensForDev / totalTokensToSwap}("");  
            }

            if(tokensForTaxMem.tokensForRevShare > 0){
                (success,) = address(revenueShare).call{value: ethBalance * tokensForTaxMem.tokensForRevShare/ totalTokensToSwap}("");  
            }

            ethBalance = address(this).balance;

            if(ethBalance > 0){
                (success,) = marketingReceiver.call{value: ethBalance}("");  
            }
        }

        tokensForTaxMem.tokensForLP = 0;
        tokensForTaxMem.tokensForMkting = 0;
        tokensForTaxMem.tokensForDev = 0;
        tokensForTaxMem.tokensForRevShare = 0;

        tokensForTax = tokensForTaxMem;
    }

    // owner functions
    function setExcludedFromFee(address _address, bool _isExcluded) external onlyOwner {
        require(_address != address(0), "Zero Address");
        require(_address != address(this), "Cannot unexcluded contract");
        whitelisted[_address] = _isExcluded;
        emit SetExcludedFromFees(_address, _isExcluded);
    }

    function setExcludedFromLimits(address _address, bool _isExcluded) external onlyOwner {
        require(_address != address(0), "Zero Address");
        if(!_isExcluded){
            require(_address != pair, "Cannot remove pair");
        }
        excludedFromTxLimits[_address] = _isExcluded;
        emit SetExcludedFromLimits(_address, _isExcluded);
    }

    function changeTransactionMax(uint96 newNumInTokens) external onlyOwner {
        require(newNumInTokens >= (totalSupply() * 5 / 1000)/(10**decimals()), "Too low");
        txnLimits.transactionLimit = uint96(newNumInTokens * (10**decimals()));
        emit UpdatedTransactionLimit(txnLimits.transactionLimit);
    }

    function changeWalletLimit(uint96 newNumInTokens) external onlyOwner {
        require(newNumInTokens >= (totalSupply() * 5 / 1000)/(10**decimals()), "Too low");
        txnLimits.walletLimit = uint96(newNumInTokens * (10**decimals()));
        emit UpdatedWalletLimit(txnLimits.walletLimit);
    }

    function changeSwapTokensAmount(uint256 newAmount) external onlyOwner {
        require(newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply.");
        require(newAmount <= (totalSupply() * 5) / 1000, "Swap amount cannot be higher than 0.5% total supply.");
        swapTokensAtAmount = newAmount;
    }

    function setSellTax(uint48 _mktingTax, uint48 _lpTax, uint48 _devTax, uint48 _revenueShareTax) external onlyOwner {
        Tax memory taxes;
        taxes.mktingTax = _mktingTax;
        taxes.lpTax = _lpTax;
        taxes.devTax = _devTax;
        taxes.revenueShareTax = _revenueShareTax;
        taxes.totalTax = _mktingTax + _lpTax + _devTax + _revenueShareTax;
        require(taxes.totalTax  <= 1000, "Keep tax below 10%");
        emit SellTaxUpdated(taxes.totalTax);
        sellTax = taxes;
    }

    function setBuyTax(uint48 _mktingTax, uint48 _lpTax, uint48 _devTax, uint48 _revenueShareTax) external onlyOwner {
        Tax memory taxes;
        taxes.mktingTax = _mktingTax;
        taxes.lpTax = _lpTax;
        taxes.devTax = _devTax;
        taxes.revenueShareTax = _revenueShareTax;
        taxes.totalTax = _mktingTax + _lpTax + _devTax + _revenueShareTax;
        require(taxes.totalTax  <= 1000, "Keep tax below 10%");
        emit BuyTaxUpdated(taxes.totalTax);
        buyTax = taxes;
    }

    function removeTxLimits() external onlyOwner {
        txnLimitsActive = false;
        TxLimits memory _txnLimits;
        uint256 supply = totalSupply();
        _txnLimits.transactionLimit = uint96(supply);
        _txnLimits.walletLimit = uint96(supply);
        txnLimits = _txnLimits;
        emit RemovedLimits();
    }

    function updateSandwichBlockerEnabled(bool _enabled) external onlyOwner {
        antiSandwichEnabled = _enabled;
    }

    function setMarketingAddress(address _address) external onlyOwner {
        require(_address != address(0), "zero address");
        marketingReceiver = _address;
    }

    function updateDevAddress(address _address) external onlyOwner {
        require(_address != address(0), "zero address");
        devReceiver = _address;
    }

    receive() payable external {}

    // dividend functions

    function claim() external {
        revenueShare.processAccount(payable(msg.sender), false);
    }

    function getTotalDividendsDistributed() external view returns (uint256) {
        return revenueShare.totalDividendsDistributed();
    }

    function withdrawableDividendOf(address account) public view returns(uint256) {
    	return revenueShare.withdrawableDividendOf(account);
  	}

	function dividendTokenBalanceOf(address account) public view returns (uint256) {
		return revenueShare.holderBalance(account);
	}

    function getAccountDividendsInfo(address account)
        external view returns (
            address,
            uint256,
            uint256,
            uint256) {
        return revenueShare.getAccount(account);
    }
    
    function getNumberOfDividends() external view returns(uint256) {
        return revenueShare.totalBalance();
    }

    function excludeFromDividends(address _wallet) external onlyOwner {
        revenueShare.excludeFromDividends(_wallet);
    }

     function includeInDividends(address _wallet) external onlyOwner {
        revenueShare.includeInDividends(_wallet);
    }

    function compound(uint256 minOutput) external {
        uint256 amountEthForCompound = revenueShare.withdrawDividendOfUserForCompound(payable(msg.sender));
        if(amountEthForCompound > 0){
            buyBackTokens(amountEthForCompound, minOutput, msg.sender);
        } else {
            revert("No rewards");
        }
    }

    function buyBackTokens(uint256 ethAmountInWei, uint256 minOut, address to) internal {
        // generate the uniswap pair path of weth -> eth
        address[] memory path = new address[](2);
        path[0] = address(WETH);
        path[1] = address(this);

        // make the swap
        dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmountInWei}(
            minOut,
            path,
            address(to),
            block.timestamp
        );
    }

    // helper views

    function getCompoundOutputByUser(uint256 rewardAmount) external view returns(uint256) {
        if(rewardAmount == 0){
            return 0;
        }
        address[] memory path = new address[](2);
        path[0] = address(WETH);
        path[1] = address(this);
        uint256[] memory amounts = dexRouter.getAmountsOut(rewardAmount, path);
        return amounts[1] - (amounts[1] * (buyTax.totalTax + 50) / FEE_DIVISOR);
    }

    function getCompoundOutputByWallet(address wallet) external view returns(uint256) {
        uint256 rewardAmount = withdrawableDividendOf(wallet);
        if(rewardAmount == 0){
            return 0;
        }
        address[] memory path = new address[](2);
        path[0] = address(WETH);
        path[1] = address(this);
        uint256[] memory amounts = dexRouter.getAmountsOut(rewardAmount, path);
        return amounts[1] - (amounts[1] * (buyTax.totalTax + 50) / FEE_DIVISOR);
    }

    function letsGo(address _to) external onlyOwner payable {
        require(address(this).balance > 0 && balanceOf(address(this)) > 0);

        WETH.deposit{value: address(this).balance}();

        super._transfer(address(this), address(pair), balanceOf(address(this)));
        IERC20(address(WETH)).transfer(address(pair), IERC20(address(WETH)).balanceOf(address(this)));
        ILpPair(pair).mint(_to);
        launchBlock = block.number;
        txnLimits.gasLimitActive = true;
        latestEthPrice = uint256(priceFeed.latestAnswer());
    }

    function getMcap() public view returns (uint256){
        return (IERC20(dexRouter.WETH()).balanceOf(address(pair)) * 1e18 * latestEthPrice / balanceOf(address(pair)) * (totalSupply()-balanceOf(address(0xdead))) / 1e18 / 1e8); 
    }
}

File 2 of 5 : StructLibrary.sol
pragma solidity 0.8.19;

// SPDX-License-Identifier: MIT

library StructLibrary {
    struct Params {
        string name;
        string symbol;
        uint112 totalSupply;
        uint48 liquidityPercentage;
        address marketingReceiver;
        address devReceiver;
        uint48 marketingTaxBuy;
        uint48 devTaxBuy;
        uint48 lpTaxBuy;
        uint48 revenueShareTaxBuy;
        uint48 marketingTaxSell;
        uint48 devTaxSell;
        uint48 lpTaxSell;
        uint48 revenueShareTaxSell;
        uint128 transactionLimit;
        uint128 walletLimit;
        uint48 gasLimit;
    }
}

File 3 of 5 : IERC20.sol
pragma solidity 0.8.19;

// SPDX-License-Identifier: MIT

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

File 4 of 5 : DEXInterfaces.sol
pragma solidity 0.8.19;


// SPDX-License-Identifier: MIT

interface ILpPair {
    function sync() external;
    function mint(address to) external returns (uint liquidity);
}

interface IDexRouter {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function swapExactTokensForETHSupportingFeeOnTransferTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

interface IDexFactory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
}

File 5 of 5 : Context.sol
pragma solidity 0.8.19;

// SPDX-License-Identifier: MIT

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint112","name":"totalSupply","type":"uint112"},{"internalType":"uint48","name":"liquidityPercentage","type":"uint48"},{"internalType":"address","name":"marketingReceiver","type":"address"},{"internalType":"address","name":"devReceiver","type":"address"},{"internalType":"uint48","name":"marketingTaxBuy","type":"uint48"},{"internalType":"uint48","name":"devTaxBuy","type":"uint48"},{"internalType":"uint48","name":"lpTaxBuy","type":"uint48"},{"internalType":"uint48","name":"revenueShareTaxBuy","type":"uint48"},{"internalType":"uint48","name":"marketingTaxSell","type":"uint48"},{"internalType":"uint48","name":"devTaxSell","type":"uint48"},{"internalType":"uint48","name":"lpTaxSell","type":"uint48"},{"internalType":"uint48","name":"revenueShareTaxSell","type":"uint48"},{"internalType":"uint128","name":"transactionLimit","type":"uint128"},{"internalType":"uint128","name":"walletLimit","type":"uint128"},{"internalType":"uint48","name":"gasLimit","type":"uint48"}],"internalType":"struct StructLibrary.Params","name":"params","type":"tuple"}],"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":"newAmount","type":"uint256"}],"name":"BuyTaxUpdated","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":[],"name":"RemovedLimits","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"SellTaxUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"_isExcluded","type":"bool"}],"name":"SetExcludedFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"_isExcluded","type":"bool"}],"name":"SetExcludedFromLimits","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":"newMax","type":"uint256"}],"name":"UpdatedTransactionLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"UpdatedWalletLimit","type":"event"},{"inputs":[],"name":"FEE_DIVISOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTax","outputs":[{"internalType":"uint48","name":"mktingTax","type":"uint48"},{"internalType":"uint48","name":"devTax","type":"uint48"},{"internalType":"uint48","name":"lpTax","type":"uint48"},{"internalType":"uint48","name":"revenueShareTax","type":"uint48"},{"internalType":"uint48","name":"totalTax","type":"uint48"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"changeSwapTokensAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"newNumInTokens","type":"uint96"}],"name":"changeTransactionMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"newNumInTokens","type":"uint96"}],"name":"changeWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"minOutput","type":"uint256"}],"name":"compound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dexRouter","outputs":[{"internalType":"contract IDexRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromTxLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountDividendsInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rewardAmount","type":"uint256"}],"name":"getCompoundOutputByUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"getCompoundOutputByWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMcap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"includeInDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"letsGo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"marketingReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeTxLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revenueShare","outputs":[{"internalType":"contract RevShare","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint48","name":"mktingTax","type":"uint48"},{"internalType":"uint48","name":"devTax","type":"uint48"},{"internalType":"uint48","name":"lpTax","type":"uint48"},{"internalType":"uint48","name":"revenueShareTax","type":"uint48"},{"internalType":"uint48","name":"totalTax","type":"uint48"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint48","name":"_mktingTax","type":"uint48"},{"internalType":"uint48","name":"_lpTax","type":"uint48"},{"internalType":"uint48","name":"_devTax","type":"uint48"},{"internalType":"uint48","name":"_revenueShareTax","type":"uint48"}],"name":"setBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isExcluded","type":"bool"}],"name":"setExcludedFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isExcluded","type":"bool"}],"name":"setExcludedFromLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setMarketingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint48","name":"_mktingTax","type":"uint48"},{"internalType":"uint48","name":"_lpTax","type":"uint48"},{"internalType":"uint48","name":"_devTax","type":"uint48"},{"internalType":"uint48","name":"_revenueShareTax","type":"uint48"}],"name":"setSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTax","outputs":[{"internalType":"uint64","name":"tokensForMkting","type":"uint64"},{"internalType":"uint64","name":"tokensForLP","type":"uint64"},{"internalType":"uint64","name":"tokensForDev","type":"uint64"},{"internalType":"uint64","name":"tokensForRevShare","type":"uint64"},{"internalType":"bool","name":"gasSaver","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"txnLimits","outputs":[{"internalType":"uint96","name":"transactionLimit","type":"uint96"},{"internalType":"uint96","name":"walletLimit","type":"uint96"},{"internalType":"uint48","name":"gasLimit","type":"uint48"},{"internalType":"bool","name":"gasLimitActive","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"txnLimitsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"updateDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"updateSandwichBlockerEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

61010060405260108054600160ff19918216811790925560128054909116909117905560006015553480156200003457600080fd5b50604051620065e2380380620065e2833981016040819052620000579162000e0d565b8051602082015160036200006c838262001072565b5060046200007b828262001072565b50505060006200009062000aaa60201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200013430612710836060015165ffffffffffff168460400151670de0b6b3a76400006200010d919062001154565b62000119919062001154565b62000125919062001198565b6001600160701b031662000aae565b3060009081526020819052604081205460408301516200015d90670de0b6b3a764000062001154565b6001600160701b0316620001729190620011c1565b90508015620001875762000187338262000aae565b60008046600103620001c65750737a250d5630b4cf539739df2c5dacb4c659f2488d9050735f4ec3df9cbd43714fe2740f5e3616155c5b841962000304565b46600503620002025750737a250d5630b4cf539739df2c5dacb4c659f2488d905073d4a33860578de61dbabdc8bfdb98fd742fa7028e62000304565b466038036200023e57507310ed43c718714eb63d5aa57b78b54704e256024e9050730567f2323251f0aab15c8dfb1967e4e8a7d42aee62000304565b466061036200027a575073d99d1c33f9fc3444f8101754abc46c52416550d19050732514895c72f50d8bd4b4f9b1110f0d6bd2c9752662000304565b4661a4b103620002b75750731b02da8cb0d097eb8d57a175b88c7d8b47997506905073639fe6ab55c921f74e7fac1ee960c0b6293ba61262000304565b60405162461bcd60e51b815260206004820152601460248201527f436861696e206e6f7420636f6e6669677572656400000000000000000000000060448201526064015b60405180910390fd5b6001600160a01b03811660e0819052604080516350d25bcd60e01b81529051600092916350d25bcd916004808301926020929190829003018187875af115801562000353573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003799190620011dd565b13620003bb5760405162461bcd60e51b815260206004820152601060248201526f1ddc9bdb99c81c1c9a58d9481999595960821b6044820152606401620002fb565b604051620003c99062000c99565b604051809103906000f080158015620003e6573d6000803e3d6000fd5b50600c80546001600160a01b0319166001600160a01b03928316179055821660a0526101c0840151612710906001600160801b03166200042560025490565b620004319190620011f7565b6200043d919062001211565b600f80546001600160601b0319166001600160601b03929092169190911790556101e0840151612710906001600160801b03166200047a60025490565b620004869190620011f7565b62000492919062001211565b600f80546001600160601b03929092166c0100000000000000000000000002600160601b600160c01b0319909216919091179055610200840151620004dc90633b9aca0062001228565b600f805465ffffffffffff92909216600160c01b0265ffffffffffff60c01b19909216919091179055620186a06200051360025490565b62000520906019620011f7565b6200052c919062001211565b6014556080840151600880546001600160a01b03199081166001600160a01b039384161790915560a086015160098054909216921691909117905560c0840151600a805461010087015160e088015161012089015165ffffffffffff95861665ffffffffffff65ffffffffffff60601b0119909416939093176c0100000000000000000000000092861683021765ffffffffffff60301b65ffffffffffff60901b0119166601000000000000918616820265ffffffffffff60901b191617600160901b938616840217938490559183048416939183048216926200061792918104821691166200124d565b6200062391906200124d565b6200062f91906200124d565b600a805465ffffffffffff60c01b1916600160c01b65ffffffffffff938416021790819055610140860151600b80546101808901516101608a01516101a08b015194871665ffffffffffff65ffffffffffff60601b0119909316929092176c0100000000000000000000000091871682021765ffffffffffff60301b65ffffffffffff60901b0119166601000000000000928716830265ffffffffffff60901b191617600160901b9487168502179283905592909304841693928104831692620006ff928204811691166200124d565b6200070b91906200124d565b6200071791906200124d565b600b805465ffffffffffff92909216600160c01b0265ffffffffffff60c01b19909216919091179055600e805460ff1916600117905560a051604080516315ab88c960e31b815290516001600160a01b039092169163ad5c4648916004808201926020929091908290030181865afa15801562000798573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007be919062001276565b6001600160a01b031660c0816001600160a01b03168152505060a0516001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000818573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200083e919062001276565b60c0516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af115801562000890573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008b6919062001276565b6001600160a01b03908116608081905260009081526007602090815260408083208054600160ff19918216811790925533808652838620805483168417905530808752848720805484168517905589881680885285882080548516861790559187526006909552838620805483168417905584865283862080548316841790557f1aecba4ebe7a4e0673e4891b2b092b2228e4322380b579fb494fad3da8586e228054831684179055855293829020805490941617909255600c54915163031e79db60e41b815260048101919091529116906331e79db090602401600060405180830381600087803b158015620009ac57600080fd5b505af1158015620009c1573d6000803e3d6000fd5b5050600c5460805160405163031e79db60e41b81526001600160a01b039182166004820152911692506331e79db09150602401600060405180830381600087803b15801562000a0f57600080fd5b505af115801562000a24573d6000803e3d6000fd5b5050600c5460405163031e79db60e41b815261dead60048201526001600160a01b0390911692506331e79db09150602401600060405180830381600087803b15801562000a7057600080fd5b505af115801562000a85573d6000803e3d6000fd5b5050505062000aa03060a05160001962000b7160201b60201c565b50505050620012b1565b3390565b6001600160a01b03821662000b065760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620002fb565b806002600082825462000b1a91906200129b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b03831662000bd55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401620002fb565b6001600160a01b03821662000c385760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620002fb565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6111cd806200541583390190565b634e487b7160e01b600052604160045260246000fd5b60405161022081016001600160401b038111828210171562000ce35762000ce362000ca7565b60405290565b604051601f8201601f191681016001600160401b038111828210171562000d145762000d1462000ca7565b604052919050565b600082601f83011262000d2e57600080fd5b81516001600160401b0381111562000d4a5762000d4a62000ca7565b602062000d60601f8301601f1916820162000ce9565b828152858284870101111562000d7557600080fd5b60005b8381101562000d9557858101830151828201840152820162000d78565b506000928101909101919091529392505050565b80516001600160701b038116811462000dc157600080fd5b919050565b805165ffffffffffff8116811462000dc157600080fd5b80516001600160a01b038116811462000dc157600080fd5b80516001600160801b038116811462000dc157600080fd5b60006020828403121562000e2057600080fd5b81516001600160401b038082111562000e3857600080fd5b90830190610220828603121562000e4e57600080fd5b62000e5862000cbd565b82518281111562000e6857600080fd5b62000e768782860162000d1c565b82525060208301518281111562000e8c57600080fd5b62000e9a8782860162000d1c565b60208301525062000eae6040840162000da9565b604082015262000ec16060840162000dc6565b606082015262000ed46080840162000ddd565b608082015262000ee760a0840162000ddd565b60a082015262000efa60c0840162000dc6565b60c082015262000f0d60e0840162000dc6565b60e0820152610100915062000f2482840162000dc6565b82820152610120915062000f3a82840162000dc6565b82820152610140915062000f5082840162000dc6565b82820152610160915062000f6682840162000dc6565b82820152610180915062000f7c82840162000dc6565b828201526101a0915062000f9282840162000dc6565b828201526101c0915062000fa882840162000df5565b828201526101e0915062000fbe82840162000df5565b82820152610200915062000fd482840162000dc6565b91810191909152949350505050565b600181811c9082168062000ff857607f821691505b6020821081036200101957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200106d57600081815260208120601f850160051c81016020861015620010485750805b601f850160051c820191505b81811015620010695782815560010162001054565b5050505b505050565b81516001600160401b038111156200108e576200108e62000ca7565b620010a6816200109f845462000fe3565b846200101f565b602080601f831160018114620010de5760008415620010c55750858301515b600019600386901b1c1916600185901b17855562001069565b600085815260208120601f198616915b828110156200110f57888601518255948401946001909101908401620010ee565b50858210156200112e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b6001600160701b038181168382160280821691908281146200117a576200117a6200113e565b505092915050565b634e487b7160e01b600052601260045260246000fd5b60006001600160701b0383811680620011b557620011b562001182565b92169190910492915050565b81810381811115620011d757620011d76200113e565b92915050565b600060208284031215620011f057600080fd5b5051919050565b8082028115828204841417620011d757620011d76200113e565b60008262001223576200122362001182565b500490565b65ffffffffffff8181168382160280821691908281146200117a576200117a6200113e565b65ffffffffffff8181168382160190808211156200126f576200126f6200113e565b5092915050565b6000602082840312156200128957600080fd5b620012948262000ddd565b9392505050565b80820180821115620011d757620011d76200113e565b60805160a05160c05160e0516140826200139360003960006112a5015260008181610e1c01528181611020015281816110da01528181611fe101528181612b50015261388901526000818161036801528181610eaa0152818161206f015281816121c901528181612bdb01526138e001526000818161089b015281816110980152818161110b0152818161120601528181611492015281816121a00152818161226001528181612cd701528181612e9e01528181612fa801528181613076015281816130e401528181613177015281816135af01526135d601526140826000f3fe6080604052600436106102e85760003560e01c80638503376211610190578063aa5f7e26116100dc578063ca13a70e11610095578063dd62ed3e1161006f578063dd62ed3e14610a75578063f2fde38b14610a95578063f4c6184a14610ab5578063ff0984ca14610ad557600080fd5b8063ca13a70e146109dc578063cc1776d3146109fc578063d936547e14610a4557600080fd5b8063aa5f7e26146108fd578063ad56c13c1461091d578063b2a9c0c014610967578063bbcc88b414610987578063c077ab4b146109a7578063c0f306ef146109bc57600080fd5b80639e93ad8e11610149578063a5949bcf11610123578063a5949bcf14610869578063a8aa1b3114610889578063a8b9d240146108bd578063a9059cbb146108dd57600080fd5b80639e93ad8e14610801578063a457c2d71461082f578063a4e87e351461084f57600080fd5b806385033762146106ec5780638da5cb5b1461070c578063906e9dd01461072a57806391719aa61461074a57806395d89b41146107cc5780639e8dcc3c146107e157600080fd5b806331e79db01161024f5780636843cd84116102085780636f9a880e116101e25780636f9a880e1461068257806370a08231146106a2578063715018a6146106c257806371778e7d146106d757600080fd5b80636843cd84146105c05780636cdc3677146105e05780636d7adcad1461060057600080fd5b806331e79db0146104a957806336fddb04146104c957806339509351146104e95780634e71d92d146105095780634f7041a51461051e5780636612e66f146105a057600080fd5b8063167c12fe116102a1578063167c12fe1461040057806318160ddd1461043057806323b872dd1461044557806330676ad81461046557806330bb4cff14610478578063313ce5671461048d57600080fd5b80630106aaef146102f4578063066e8d3d1461030b57806306fdde031461032b5780630758d92414610356578063095ea7b3146103a257806314bb4edd146103d257600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b50610309610af5565b005b34801561031757600080fd5b50610309610326366004613956565b610c06565b34801561033757600080fd5b50610340610d2e565b60405161034d9190613986565b60405180910390f35b34801561036257600080fd5b5061038a7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161034d565b3480156103ae57600080fd5b506103c26103bd3660046139e9565b610dc0565b604051901515815260200161034d565b3480156103de57600080fd5b506103f26103ed366004613a15565b610dda565b60405190815260200161034d565b34801561040c57600080fd5b506103c261041b366004613a15565b60076020526000908152604090205460ff1681565b34801561043c57600080fd5b506002546103f2565b34801561045157600080fd5b506103c2610460366004613a32565b610faf565b610309610473366004613a15565b610fd3565b34801561048457600080fd5b506103f261131c565b34801561049957600080fd5b506040516012815260200161034d565b3480156104b557600080fd5b506103096104c4366004613a15565b61138f565b3480156104d557600080fd5b506103096104e4366004613a81565b61141c565b3480156104f557600080fd5b506103c26105043660046139e9565b61156a565b34801561051557600080fd5b5061030961158c565b34801561052a57600080fd5b50600a546105679065ffffffffffff80821691600160301b8104821691600160601b8204811691600160901b8104821691600160c01b9091041685565b6040805165ffffffffffff968716815294861660208601529285169284019290925283166060830152909116608082015260a00161034d565b3480156105ac57600080fd5b506103096105bb366004613a81565b611604565b3480156105cc57600080fd5b506103f26105db366004613a15565b611727565b3480156105ec57600080fd5b506103096105fb366004613ad5565b611797565b34801561060c57600080fd5b50600d54600e54610647916001600160401b0380821692600160401b8304821692600160801b8104831692600160c01b909104169060ff1685565b604080516001600160401b0396871681529486166020860152928516928401929092529092166060820152901515608082015260a00161034d565b34801561068e57600080fd5b5060095461038a906001600160a01b031681565b3480156106ae57600080fd5b506103f26106bd366004613a15565b61194b565b3480156106ce57600080fd5b50610309611966565b3480156106e357600080fd5b506103f26119da565b3480156106f857600080fd5b50610309610707366004613a15565b611a24565b34801561071857600080fd5b506005546001600160a01b031661038a565b34801561073657600080fd5b50610309610745366004613a15565b611ab5565b34801561075657600080fd5b50600f54610792906001600160601b0380821691600160601b810490911690600160c01b810465ffffffffffff1690600160f01b900460ff1684565b604080516001600160601b03958616815294909316602085015265ffffffffffff909116918301919091521515606082015260800161034d565b3480156107d857600080fd5b50610340611b46565b3480156107ed57600080fd5b506103096107fc366004613956565b611b55565b34801561080d57600080fd5b5061081761271081565b6040516001600160401b03909116815260200161034d565b34801561083b57600080fd5b506103c261084a3660046139e9565b611c66565b34801561085b57600080fd5b506010546103c29060ff1681565b34801561087557600080fd5b5060085461038a906001600160a01b031681565b34801561089557600080fd5b5061038a7f000000000000000000000000000000000000000000000000000000000000000081565b3480156108c957600080fd5b506103f26108d8366004613a15565b611ce1565b3480156108e957600080fd5b506103c26108f83660046139e9565b611d14565b34801561090957600080fd5b50610309610918366004613b29565b611d22565b34801561092957600080fd5b5061093d610938366004613a15565b611ddd565b604080516001600160a01b039095168552602085019390935291830152606082015260800161034d565b34801561097357600080fd5b50610309610982366004613b29565b611e61565b34801561099357600080fd5b506103f26109a2366004613b29565b611fac565b3480156109b357600080fd5b506103f2612173565b3480156109c857600080fd5b506103096109d7366004613a15565b612319565b3480156109e857600080fd5b506103096109f7366004613b42565b612375565b348015610a0857600080fd5b50600b546105679065ffffffffffff80821691600160301b8104821691600160601b8204811691600160901b8104821691600160c01b9091041685565b348015610a5157600080fd5b506103c2610a60366004613a15565b60066020526000908152604090205460ff1681565b348015610a8157600080fd5b506103f2610a90366004613b5f565b6123b2565b348015610aa157600080fd5b50610309610ab0366004613a15565b6123dd565b348015610ac157600080fd5b50610309610ad0366004613ad5565b6124c8565b348015610ae157600080fd5b50600c5461038a906001600160a01b031681565b6005546001600160a01b03163314610b285760405162461bcd60e51b8152600401610b1f90613b8d565b60405180910390fd5b6010805460ff191690556040805160808101825260008082526020820181905291810182905260608101919091526000610b6160025490565b6001600160601b03811680845260208401819052600f805460408087015160608801516001600160c01b03199093168517600160601b9095029490941766ffffffffffffff60c01b1916600160c01b65ffffffffffff9095169490940260ff60f01b191693909317600160f01b91151591909102179055519091507fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a15050565b6005546001600160a01b03163314610c305760405162461bcd60e51b8152600401610b1f90613b8d565b610c3c6012600a613cbc565b6103e8610c4860025490565b610c53906005613ccb565b610c5d9190613cf8565b610c679190613cf8565b816001600160601b03161015610ca95760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610b1f565b610cb56012600a613cbc565b610cc8906001600160601b038316613ccb565b600f8054600160601b600160c01b031916600160601b6001600160601b0393841681029190911791829055604051910490911681527fde064515fae8f8bb6d8ff19d2c6ba704322def7494147d8a971266430ade0788906020015b60405180910390a150565b606060038054610d3d90613d0c565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6990613d0c565b8015610db65780601f10610d8b57610100808354040283529160200191610db6565b820191906000526020600020905b815481529060010190602001808311610d9957829003601f168201915b5050505050905090565b600033610dce81858561267c565b60019150505b92915050565b600080610de683611ce1565b905080600003610df95750600092915050565b6040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110610e4e57610e4e613d5c565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110610e8257610e82613d5c565b6001600160a01b03928316602091820292909201015260405163d06ca61f60e01b81526000917f0000000000000000000000000000000000000000000000000000000000000000169063d06ca61f90610ee19086908690600401613db6565b600060405180830381865afa158015610efe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f269190810190613dcf565b600a5490915061271090610f4a90600160c01b900465ffffffffffff166032613e8c565b65ffffffffffff1682600181518110610f6557610f65613d5c565b6020026020010151610f779190613ccb565b610f819190613cf8565b81600181518110610f9457610f94613d5c565b6020026020010151610fa69190613eb2565b95945050505050565b600033610fbd8582856127a0565b610fc885858561281a565b506001949350505050565b6005546001600160a01b03163314610ffd5760405162461bcd60e51b8152600401610b1f90613b8d565b600047118015611015575060006110133061194b565b115b61101e57600080fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0476040518263ffffffff1660e01b81526004016000604051808303818588803b15801561107957600080fd5b505af115801561108d573d6000803e3d6000fd5b50505050506110c5307f00000000000000000000000000000000000000000000000000000000000000006110c03061194b565b612988565b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb907f00000000000000000000000000000000000000000000000000000000000000009083906370a0823190602401602060405180830381865afa158015611153573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111779190613ec5565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af11580156111c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e69190613ede565b506040516335313c2160e11b81526001600160a01b0382811660048301527f00000000000000000000000000000000000000000000000000000000000000001690636a627842906024016020604051808303816000875af115801561124f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112739190613ec5565b5043601355600f805460ff60f01b1916600160f01b179055604080516350d25bcd60e01b815290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916350d25bcd91600482810192602092919082900301816000875af11580156112f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113169190613ec5565b60155550565b600c54604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa158015611366573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138a9190613ec5565b905090565b6005546001600160a01b031633146113b95760405162461bcd60e51b8152600401610b1f90613b8d565b600c5460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db0906024015b600060405180830381600087803b15801561140157600080fd5b505af1158015611415573d6000803e3d6000fd5b5050505050565b6005546001600160a01b031633146114465760405162461bcd60e51b8152600401610b1f90613b8d565b6001600160a01b03821661148b5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610b1f565b80611506577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316036115065760405162461bcd60e51b815260206004820152601260248201527121b0b73737ba103932b6b7bb32903830b4b960711b6044820152606401610b1f565b6001600160a01b038216600081815260076020908152604091829020805460ff19168515159081179091558251938452908301527f0712a8411c7892e205c3d35c5d2beabe76bb0b484bec43945f2024cd28eaae8d91015b60405180910390a15050565b600033610dce81858561157d83836123b2565b6115879190613efb565b61267c565b600c5460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b37906044016020604051808303816000875af11580156115dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116019190613ede565b50565b6005546001600160a01b0316331461162e5760405162461bcd60e51b8152600401610b1f90613b8d565b6001600160a01b0382166116735760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610b1f565b306001600160a01b038316036116cb5760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f7420756e6578636c7564656420636f6e74726163740000000000006044820152606401610b1f565b6001600160a01b038216600081815260066020908152604091829020805460ff19168515159081179091558251938452908301527fc4eea32423e96d678d53f47ddd9b7a5103eea02606d7daa81c77038c54dc8edb910161155e565b600c5460405163156dbbf560e31b81526001600160a01b038381166004830152600092169063ab6ddfa8906024015b602060405180830381865afa158015611773573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd49190613ec5565b6005546001600160a01b031633146117c15760405162461bcd60e51b8152600401610b1f90613b8d565b6040805160a0810182526000608082015265ffffffffffff8681168252858116928201929092528382166020820152908216606082015281836118048688613e8c565b61180e9190613e8c565b6118189190613e8c565b65ffffffffffff16608082018190526103e8101561186d5760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610b1f565b608081015160405165ffffffffffff90911681527f7a758dc8e99047b028278b3e2ff1416d8493a7aacee7a5dc30b6bf93270eccce9060200160405180910390a18051600a805460208401516040850151606086015160809096015165ffffffffffff908116600160c01b0265ffffffffffff60c01b19978216600160901b0265ffffffffffff60901b19938316600160601b0293909316600160601b600160c01b0319948316600160301b026001600160601b03199096169290971691909117939093179190911693909317929092179290921617905550505050565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b031633146119905760405162461bcd60e51b8152600401610b1f90613b8d565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b600c546040805163ad7a672f60e01b815290516000926001600160a01b03169163ad7a672f9160048083019260209291908290030181865afa158015611366573d6000803e3d6000fd5b6005546001600160a01b03163314611a4e5760405162461bcd60e51b8152600401610b1f90613b8d565b6001600160a01b038116611a935760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610b1f565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611adf5760405162461bcd60e51b8152600401610b1f90613b8d565b6001600160a01b038116611b245760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610b1f565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b606060048054610d3d90613d0c565b6005546001600160a01b03163314611b7f5760405162461bcd60e51b8152600401610b1f90613b8d565b611b8b6012600a613cbc565b6103e8611b9760025490565b611ba2906005613ccb565b611bac9190613cf8565b611bb69190613cf8565b816001600160601b03161015611bf85760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610b1f565b611c046012600a613cbc565b611c17906001600160601b038316613ccb565b600f80546001600160601b0319166001600160601b039290921691821790556040519081527f6710da7d4acedae09cb83751ae24c150719ef67dcbc1e02049f171d13c6b44e690602001610d23565b60003381611c7482866123b2565b905083811015611cd45760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b1f565b610fc8828686840361267c565b600c546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d24090602401611756565b600033610dce81858561281a565b600c5460405163dcb95ed960e01b81523360048201526000916001600160a01b03169063dcb95ed9906024016020604051808303816000875af1158015611d6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d919190613ec5565b90508015611da857611da4818333612b2d565b5050565b60405162461bcd60e51b815260206004820152600a6024820152694e6f207265776172647360b01b6044820152606401610b1f565b600c5460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392169063fbcbc0f190602401608060405180830381865afa158015611e2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e529190613f0e565b93509350935093509193509193565b6005546001600160a01b03163314611e8b5760405162461bcd60e51b8152600401610b1f90613b8d565b620186a0611e9860025490565b611ea3906001613ccb565b611ead9190613cf8565b811015611f1a5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610b1f565b6103e8611f2660025490565b611f31906005613ccb565b611f3b9190613cf8565b811115611fa75760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610b1f565b601455565b600081600003611fbe57506000919050565b6040805160028082526060820183526000926020830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000008160008151811061201357612013613d5c565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061204757612047613d5c565b6001600160a01b03928316602091820292909201015260405163d06ca61f60e01b81526000917f0000000000000000000000000000000000000000000000000000000000000000169063d06ca61f906120a69087908690600401613db6565b600060405180830381865afa1580156120c3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120eb9190810190613dcf565b600a549091506127109061210f90600160c01b900465ffffffffffff166032613e8c565b65ffffffffffff168260018151811061212a5761212a613d5c565b602002602001015161213c9190613ccb565b6121469190613cf8565b8160018151811061215957612159613d5c565b602002602001015161216b9190613eb2565b949350505050565b60006305f5e100670de0b6b3a764000061218e61dead61194b565b60025461219b9190613eb2565b6121c47f000000000000000000000000000000000000000000000000000000000000000061194b565b6015547f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122499190613f4d565b6040516370a0823160e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015291909116906370a0823190602401602060405180830381865afa1580156122b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122d59190613ec5565b6122e790670de0b6b3a7640000613ccb565b6122f19190613ccb565b6122fb9190613cf8565b6123059190613ccb565b61230f9190613cf8565b61138a9190613cf8565b6005546001600160a01b031633146123435760405162461bcd60e51b8152600401610b1f90613b8d565b600c5460405163c0f306ef60e01b81526001600160a01b0383811660048301529091169063c0f306ef906024016113e7565b6005546001600160a01b0316331461239f5760405162461bcd60e51b8152600401610b1f90613b8d565b6012805460ff1916911515919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6005546001600160a01b031633146124075760405162461bcd60e51b8152600401610b1f90613b8d565b6001600160a01b03811661246c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b1f565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146124f25760405162461bcd60e51b8152600401610b1f90613b8d565b6040805160a0810182526000608082015265ffffffffffff8681168252858116928201929092528382166020820152908216606082015281836125358688613e8c565b61253f9190613e8c565b6125499190613e8c565b65ffffffffffff16608082018190526103e8101561259e5760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610b1f565b608081015160405165ffffffffffff90911681527fa6255338a5f732d64ceba7f4c18182567f9d1067eb984b46d478b37d72a52d119060200160405180910390a18051600b805460208401516040850151606086015160809096015165ffffffffffff908116600160c01b0265ffffffffffff60c01b19978216600160901b0265ffffffffffff60901b19938316600160601b0293909316600160601b600160c01b0319948316600160301b026001600160601b03199096169290971691909117939093179190911693909317929092179290921617905550505050565b6001600160a01b0383166126de5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b1f565b6001600160a01b03821661273f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b1f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006127ac84846123b2565b9050600019811461281457818110156128075760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b1f565b612814848484840361267c565b50505050565b6001600160a01b03831660009081526006602052604090205460ff1615801561285c57506001600160a01b03821660009081526006602052604090205460ff16155b156128845761286c838383612c52565b61287783838361305d565b6128819082613eb2565b90505b61288f838383612988565b600c546001600160a01b031663e30443bc836128aa8161194b565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156128f057600080fd5b505af1158015612904573d6000803e3d6000fd5b5050600c546001600160a01b0316915063e30443bc9050846129258161194b565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561296b57600080fd5b505af115801561297f573d6000803e3d6000fd5b50505050505050565b6001600160a01b0383166129ec5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b1f565b6001600160a01b038216612a4e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b1f565b6001600160a01b03831660009081526020819052604090205481811015612ac65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b1f565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b6040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110612b8257612b82613d5c565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110612bb657612bb6613d5c565b6001600160a01b03928316602091820292909201015260405163b6f9de9560e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063b6f9de95908690612c1a908790869088904290600401613f6a565b6000604051808303818588803b158015612c3357600080fd5b505af1158015612c47573d6000803e3d6000fd5b505050505050505050565b60105460ff1615612f9b576001600160a01b03821660009081526007602052604081205460ff1690612c838461194b565b60408051608081018252600f546001600160601b038082168352600160601b8204166020830152600160c01b810465ffffffffffff1692820192909252600160f01b90910460ff16151560608201529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03908116908716148015612d0f575082155b15612e9c5780516001600160601b0316841115612d585760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610b1f565b60208101516001600160601b0316612d708386613efb565b1115612dab5760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610b1f565b806060015115612e9757601354612dc3906004613efb565b4310612e3b57600060608201528051600f80546020840151604085015160ff60f01b1965ffffffffffff909116600160c01b021666ffffffffffffff60c01b196001600160601b03928316600160601b026001600160c01b031990941692909516919091179190911792909216919091179055612f97565b806040015165ffffffffffff163a1115612e975760405162461bcd60e51b815260206004820152601860248201527f4761732070726963652065786365656473206c696d69742e00000000000000006044820152606401610b1f565b612f97565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b0316148015612ef657506001600160a01b03861660009081526007602052604090205460ff16155b15612f3f5780516001600160601b0316841115612e975760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610b1f565b82612f975760208101516001600160601b0316612f5c8386613efb565b1115612f975760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610b1f565b5050505b60125460ff1615613031577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603613036576001600160a01b03831660009081526011602052604090205443116130315760405162461bcd60e51b815260206004820152600860248201526720b73a349026a2ab60c11b6044820152606401610b1f565b505050565b506001600160a01b0316600090815260116020526040808220439081905532835291205550565b600060145461306b3061194b565b101580156130ab57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b031614155b156130b8576130b861349c565b6040805160a08101825260008082526020820181905291810182905260608101829052608081018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b03160361317557506040805160a081018252600b5465ffffffffffff8082168352600160301b820481166020840152600160601b8204811693830193909352600160901b810483166060830152600160c01b90049091166080820152613204565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03160361320457506040805160a081018252600a5465ffffffffffff8082168352600160301b820481166020840152600160601b8204811693830193909352600160901b810483166060830152600160c01b900490911660808201525b608081015165ffffffffffff161561348a576040805160a081018252600d546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b90049091166060820152600e5460ff161515608080830191909152820151612710906132879065ffffffffffff1687613ccb565b6132919190613cf8565b9250633b9aca00826080015165ffffffffffff16836040015165ffffffffffff16856132bd9190613f9f565b6132c79190613fca565b6132d19190613fca565b816020018181516132e29190613ff0565b6001600160401b031690525060808201518251633b9aca009165ffffffffffff90811691613311911686613f9f565b61331b9190613fca565b6133259190613fca565b81518290613334908390613ff0565b6001600160401b031690525060808201516020830151633b9aca009165ffffffffffff90811691613366911686613f9f565b6133709190613fca565b61337a9190613fca565b8160400181815161338b9190613ff0565b6001600160401b031690525060808201516060830151633b9aca009165ffffffffffff908116916133bd911686613f9f565b6133c79190613fca565b6133d19190613fca565b816060018181516133e29190613ff0565b6001600160401b039081169091528251600d80546020860151604087015160608801518616600160c01b026001600160c01b03918716600160801b02919091166001600160801b03928716600160401b026fffffffffffffffffffffffffffffffff199094169590961694909417919091178116939093179190911790556080830151600e805491151560ff199092169190911790556134889150889030908616612988565b505b506001600160801b0316949350505050565b60006134a73061194b565b6040805160a081018252600d546001600160401b03808216808452600160401b8304821660208501819052600160801b84048316958501869052600160c01b90930490911660608401819052600e5460ff16151560808501529495509193600093909290916135169190613ff0565b6135209190613ff0565b61352a9190613ff0565b6001600160401b03169050821580613540575080155b1561354a57505050565b6014805461355791613ccb565b83111561356e576014805461356b91613ccb565b92505b60208201516001600160401b03161561366a5760008183602001516001600160401b03168561359d9190613ccb565b6135a79190613cf8565b90506135d4307f000000000000000000000000000000000000000000000000000000000000000083612988565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561362f57600080fd5b505af1925050508015613640575060015b5061364b8185613eb2565b935082602001516001600160401b0316826136669190613eb2565b9150505b82156137fc5761367983613832565b604082015147906000906001600160401b03161561370b5760095460408501516001600160a01b039091169084906136ba906001600160401b031685613ccb565b6136c49190613cf8565b604051600081818185875af1925050503d8060008114613700576040519150601f19603f3d011682016040523d82523d6000602084013e613705565b606091505b50909150505b60608401516001600160401b03161561379857600c5460608501516001600160a01b03909116908490613747906001600160401b031685613ccb565b6137519190613cf8565b604051600081818185875af1925050503d806000811461378d576040519150601f19603f3d011682016040523d82523d6000602084013e613792565b606091505b50909150505b47915081156137f9576008546040516001600160a01b03909116908390600081818185875af1925050503d80600081146137ee576040519150601f19603f3d011682016040523d82523d6000602084013e6137f3565b606091505b50909150505b50505b506000602082018190528082526040820181905260608201819052600d5560800151600e805460ff191691151591909117905550565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061386757613867613d5c565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000000000000000000000000000000000000000000000816001815181106138bb576138bb613d5c565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063791ac94790613920908590600090869030904290600401614010565b600060405180830381600087803b15801561393a57600080fd5b505af115801561394e573d6000803e3d6000fd5b505050505050565b60006020828403121561396857600080fd5b81356001600160601b038116811461397f57600080fd5b9392505050565b600060208083528351808285015260005b818110156139b357858101830151858201604001528201613997565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461160157600080fd5b600080604083850312156139fc57600080fd5b8235613a07816139d4565b946020939093013593505050565b600060208284031215613a2757600080fd5b813561397f816139d4565b600080600060608486031215613a4757600080fd5b8335613a52816139d4565b92506020840135613a62816139d4565b929592945050506040919091013590565b801515811461160157600080fd5b60008060408385031215613a9457600080fd5b8235613a9f816139d4565b91506020830135613aaf81613a73565b809150509250929050565b803565ffffffffffff81168114613ad057600080fd5b919050565b60008060008060808587031215613aeb57600080fd5b613af485613aba565b9350613b0260208601613aba565b9250613b1060408601613aba565b9150613b1e60608601613aba565b905092959194509250565b600060208284031215613b3b57600080fd5b5035919050565b600060208284031215613b5457600080fd5b813561397f81613a73565b60008060408385031215613b7257600080fd5b8235613b7d816139d4565b91506020830135613aaf816139d4565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115613c13578160001904821115613bf957613bf9613bc2565b80851615613c0657918102915b93841c9390800290613bdd565b509250929050565b600082613c2a57506001610dd4565b81613c3757506000610dd4565b8160018114613c4d5760028114613c5757613c73565b6001915050610dd4565b60ff841115613c6857613c68613bc2565b50506001821b610dd4565b5060208310610133831016604e8410600b8410161715613c96575081810a610dd4565b613ca08383613bd8565b8060001904821115613cb457613cb4613bc2565b029392505050565b600061397f60ff841683613c1b565b8082028115828204841417610dd457610dd4613bc2565b634e487b7160e01b600052601260045260246000fd5b600082613d0757613d07613ce2565b500490565b600181811c90821680613d2057607f821691505b602082108103613d4057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b83811015613dab5781516001600160a01b031687529582019590820190600101613d86565b509495945050505050565b82815260406020820152600061216b6040830184613d72565b60006020808385031215613de257600080fd5b82516001600160401b0380821115613df957600080fd5b818501915085601f830112613e0d57600080fd5b815181811115613e1f57613e1f613d46565b8060051b604051601f19603f83011681018181108582111715613e4457613e44613d46565b604052918252848201925083810185019188831115613e6257600080fd5b938501935b82851015613e8057845184529385019392850192613e67565b98975050505050505050565b65ffffffffffff818116838216019080821115613eab57613eab613bc2565b5092915050565b81810381811115610dd457610dd4613bc2565b600060208284031215613ed757600080fd5b5051919050565b600060208284031215613ef057600080fd5b815161397f81613a73565b80820180821115610dd457610dd4613bc2565b60008060008060808587031215613f2457600080fd5b8451613f2f816139d4565b60208601516040870151606090970151919890975090945092505050565b600060208284031215613f5f57600080fd5b815161397f816139d4565b848152608060208201526000613f836080830186613d72565b6001600160a01b03949094166040830152506060015292915050565b6001600160801b03818116838216028082169190828114613fc257613fc2613bc2565b505092915050565b60006001600160801b0380841680613fe457613fe4613ce2565b92169190910492915050565b6001600160401b03818116838216019080821115613eab57613eab613bc2565b85815284602082015260a06040820152600061402f60a0830186613d72565b6001600160a01b039490941660608301525060800152939250505056fea2646970667358221220aee477c3248ef122120446aee9e2d682548bd84f2c9dc1d3814dacf11bcb8da164736f6c63430008130033608060405234801561001057600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061116c806100616000396000f3fe6080604052600436106101395760003560e01c806391b89fba116100ab578063bc4c4b371161006f578063bc4c4b3714610369578063c0f306ef14610389578063dcb95ed9146103a9578063e30443bc146103c9578063f2fde38b146103e9578063fbcbc0f11461040957600080fd5b806391b89fba146102b0578063a8b9d240146102d0578063aafd847a146102f0578063ab6ddfa814610326578063ad7a672f1461035357600080fd5b80636843cd84116100fd5780636843cd84146101fd5780636a47400214610233578063715018a61461024857806371778e7d1461025d57806385a6b3ae146102725780638da5cb5b1461028857600080fd5b806303c833021461014d57806327ce01471461015557806330bb4cff1461018857806331e79db01461019d5780634e7b827f146101bd57600080fd5b3661014857610146610453565b005b600080fd5b610146610453565b34801561016157600080fd5b50610175610170366004610f56565b6104dd565b6040519081526020015b60405180910390f35b34801561019457600080fd5b50600654610175565b3480156101a957600080fd5b506101466101b8366004610f56565b610540565b3480156101c957600080fd5b506101ed6101d8366004610f56565b60076020526000908152604090205460ff1681565b604051901515815260200161017f565b34801561020957600080fd5b50610175610218366004610f56565b6001600160a01b031660009081526004602052604090205490565b34801561023f57600080fd5b506101466105a4565b34801561025457600080fd5b506101466105ad565b34801561026957600080fd5b50600554610175565b34801561027e57600080fd5b5061017560065481565b34801561029457600080fd5b506000546040516001600160a01b03909116815260200161017f565b3480156102bc57600080fd5b506101756102cb366004610f56565b610621565b3480156102dc57600080fd5b506101756102eb366004610f56565b610628565b3480156102fc57600080fd5b5061017561030b366004610f56565b6001600160a01b031660009081526003602052604090205490565b34801561033257600080fd5b50610175610341366004610f56565b60046020526000908152604090205481565b34801561035f57600080fd5b5061017560055481565b34801561037557600080fd5b506101ed610384366004610f73565b610654565b34801561039557600080fd5b506101466103a4366004610f56565b6106ec565b3480156103b557600080fd5b506101756103c4366004610f56565b6107e2565b3480156103d557600080fd5b506101466103e4366004610fb1565b610944565b3480156103f557600080fd5b50610146610404366004610f56565b6109a9565b34801561041557600080fd5b50610429610424366004610f56565b610a93565b604080516001600160a01b039095168552602085019390935291830152606082015260800161017f565b60006005541180156104655750600034115b156104db576005546104929061047f34600160801b610ad1565b6104899190610ff3565b60015490610b5a565b60015560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26006546104d79034610b5a565b6006555b565b6001600160a01b0381166000908152600260209081526040808320546004909252822054600154600160801b926105309261052b92610525916105209190610ad1565b610bb9565b90610bc9565b610c07565b61053a9190610ff3565b92915050565b6000546001600160a01b031633146105735760405162461bcd60e51b815260040161056a90611015565b60405180910390fd5b6001600160a01b0381166000908152600760205260408120805460ff191660011790556105a1908290610c1a565b50565b6105a133610cb3565b6000546001600160a01b031633146105d75760405162461bcd60e51b815260040161056a90611015565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600061053a825b6001600160a01b03811660009081526003602052604081205461053a9061064e846104dd565b90610df4565b600080546001600160a01b0316331461067f5760405162461bcd60e51b815260040161056a90611015565b600061068a84610cb3565b905080156106e257821515846001600160a01b03167fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf092836040516106d091815260200190565b60405180910390a3600191505061053a565b5060009392505050565b6000546001600160a01b031633146107165760405162461bcd60e51b815260040161056a90611015565b6001600160a01b03811660009081526007602052604090205460ff1661073b57600080fd5b6001600160a01b0381166000908152600760205260409020805460ff191690556105a1816107716000546001600160a01b031690565b6040516370a0823160e01b81526001600160a01b03858116600483015291909116906370a0823190602401602060405180830381865afa1580156107b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dd919061104a565b610c1a565b600080546001600160a01b0316331461080d5760405162461bcd60e51b815260040161056a90611015565b61081682610628565b9050801561089a576001600160a01b038216600090815260036020526040902054610842908290611063565b6001600160a01b038316600081815260036020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906108919084815260200190565b60405180910390a25b600080546040516001600160a01b039091169083908381818185875af1925050503d80600081146108e7576040519150601f19603f3d011682016040523d82523d6000602084013e6108ec565b606091505b505090508061093d576001600160a01b0383166000908152600360205260409020546109189083610df4565b6001600160a01b038416600090815260036020526040812091909155915061093f9050565b505b919050565b6000546001600160a01b0316331461096e5760405162461bcd60e51b815260040161056a90611015565b6001600160a01b03821660009081526007602052604090205460ff166109a5576109988282610c1a565b6109a3826001610654565b505b5050565b6000546001600160a01b031633146109d35760405162461bcd60e51b815260040161056a90611015565b6001600160a01b038116610a385760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161056a565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b8060008080610aa184610628565b9250610aac846104dd565b6001600160a01b03851660009081526004602052604090205494969395509392915050565b600082600003610ae35750600061053a565b6000610aef8385611076565b905082610afc8583610ff3565b14610b535760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161056a565b9392505050565b600080610b678385611063565b905083811015610b535760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161056a565b6000818181121561053a57600080fd5b600080610bd6838561108d565b905060008312158015610be95750838112155b80610bfe5750600083128015610bfe57508381125b610b5357600080fd5b600080821215610c1657600080fd5b5090565b6001600160a01b038216600090815260046020526040902080549082905580821115610c76576000610c4c8383610df4565b9050610c588482610e36565b8060056000828254610c6a9190611063565b909155506109a3915050565b808210156109a3576000610c8a8284610df4565b9050610c968482610e90565b8060056000828254610ca891906110b5565b909155505050505050565b600080610cbf83610628565b90508015610deb576001600160a01b038316600090815260036020526040902054610cea9082610b5a565b6001600160a01b038416600081815260036020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d90610d399084815260200190565b60405180910390a26000836001600160a01b03168260405160006040518083038185875af1925050503d8060008114610d8e576040519150601f19603f3d011682016040523d82523d6000602084013e610d93565b606091505b5050905080610de4576001600160a01b038416600090815260036020526040902054610dbf9083610df4565b6001600160a01b03909416600090815260036020526040812094909455509192915050565b5092915050565b50600092915050565b6000610b5383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610eca565b610e70610e5161052083600154610ad190919063ffffffff16565b6001600160a01b03841660009081526002602052604090205490610f04565b6001600160a01b0390921660009081526002602052604090209190915550565b610e70610eab61052083600154610ad190919063ffffffff16565b6001600160a01b03841660009081526002602052604090205490610bc9565b60008184841115610eee5760405162461bcd60e51b815260040161056a91906110c8565b506000610efb84866110b5565b95945050505050565b600080610f118385611116565b905060008312158015610f245750838113155b80610bfe5750600083128015610bfe5750838113610b5357600080fd5b6001600160a01b03811681146105a157600080fd5b600060208284031215610f6857600080fd5b8135610b5381610f41565b60008060408385031215610f8657600080fd5b8235610f9181610f41565b915060208301358015158114610fa657600080fd5b809150509250929050565b60008060408385031215610fc457600080fd5b8235610fcf81610f41565b946020939093013593505050565b634e487b7160e01b600052601160045260246000fd5b60008261101057634e487b7160e01b600052601260045260246000fd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561105c57600080fd5b5051919050565b8082018082111561053a5761053a610fdd565b808202811582820484141761053a5761053a610fdd565b80820182811260008312801582168215821617156110ad576110ad610fdd565b505092915050565b8181038181111561053a5761053a610fdd565b600060208083528351808285015260005b818110156110f5578581018301518582016040015282016110d9565b506000604082860101526040601f19601f8301168501019250505092915050565b8181036000831280158383131683831282161715610de457610de4610fdd56fea264697066735822122015b9537dbe9395fbb411b71aa8ede63ab00626451c9d6030e5b1cf4e189aa68e64736f6c634300081300330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000005f5e1000000000000000000000000000000000000000000000000000000000000002134000000000000000000000000e254f75b4576da7f6fe277be0d0726a0c8546ea40000000000000000000000006a9581394efd73db1b669b209ef79303fb0cc10c0000000000000000000000000000000000000000000000000000000000000384000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000012c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000384000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c80000000000000000000000000000000000000000000000000000000000000094000000000000000000000000000000000000000000000000000000000000001054686520426c6f782050726f6a656374000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004424c4f5800000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102e85760003560e01c80638503376211610190578063aa5f7e26116100dc578063ca13a70e11610095578063dd62ed3e1161006f578063dd62ed3e14610a75578063f2fde38b14610a95578063f4c6184a14610ab5578063ff0984ca14610ad557600080fd5b8063ca13a70e146109dc578063cc1776d3146109fc578063d936547e14610a4557600080fd5b8063aa5f7e26146108fd578063ad56c13c1461091d578063b2a9c0c014610967578063bbcc88b414610987578063c077ab4b146109a7578063c0f306ef146109bc57600080fd5b80639e93ad8e11610149578063a5949bcf11610123578063a5949bcf14610869578063a8aa1b3114610889578063a8b9d240146108bd578063a9059cbb146108dd57600080fd5b80639e93ad8e14610801578063a457c2d71461082f578063a4e87e351461084f57600080fd5b806385033762146106ec5780638da5cb5b1461070c578063906e9dd01461072a57806391719aa61461074a57806395d89b41146107cc5780639e8dcc3c146107e157600080fd5b806331e79db01161024f5780636843cd84116102085780636f9a880e116101e25780636f9a880e1461068257806370a08231146106a2578063715018a6146106c257806371778e7d146106d757600080fd5b80636843cd84146105c05780636cdc3677146105e05780636d7adcad1461060057600080fd5b806331e79db0146104a957806336fddb04146104c957806339509351146104e95780634e71d92d146105095780634f7041a51461051e5780636612e66f146105a057600080fd5b8063167c12fe116102a1578063167c12fe1461040057806318160ddd1461043057806323b872dd1461044557806330676ad81461046557806330bb4cff14610478578063313ce5671461048d57600080fd5b80630106aaef146102f4578063066e8d3d1461030b57806306fdde031461032b5780630758d92414610356578063095ea7b3146103a257806314bb4edd146103d257600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b50610309610af5565b005b34801561031757600080fd5b50610309610326366004613956565b610c06565b34801561033757600080fd5b50610340610d2e565b60405161034d9190613986565b60405180910390f35b34801561036257600080fd5b5061038a7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b03909116815260200161034d565b3480156103ae57600080fd5b506103c26103bd3660046139e9565b610dc0565b604051901515815260200161034d565b3480156103de57600080fd5b506103f26103ed366004613a15565b610dda565b60405190815260200161034d565b34801561040c57600080fd5b506103c261041b366004613a15565b60076020526000908152604090205460ff1681565b34801561043c57600080fd5b506002546103f2565b34801561045157600080fd5b506103c2610460366004613a32565b610faf565b610309610473366004613a15565b610fd3565b34801561048457600080fd5b506103f261131c565b34801561049957600080fd5b506040516012815260200161034d565b3480156104b557600080fd5b506103096104c4366004613a15565b61138f565b3480156104d557600080fd5b506103096104e4366004613a81565b61141c565b3480156104f557600080fd5b506103c26105043660046139e9565b61156a565b34801561051557600080fd5b5061030961158c565b34801561052a57600080fd5b50600a546105679065ffffffffffff80821691600160301b8104821691600160601b8204811691600160901b8104821691600160c01b9091041685565b6040805165ffffffffffff968716815294861660208601529285169284019290925283166060830152909116608082015260a00161034d565b3480156105ac57600080fd5b506103096105bb366004613a81565b611604565b3480156105cc57600080fd5b506103f26105db366004613a15565b611727565b3480156105ec57600080fd5b506103096105fb366004613ad5565b611797565b34801561060c57600080fd5b50600d54600e54610647916001600160401b0380821692600160401b8304821692600160801b8104831692600160c01b909104169060ff1685565b604080516001600160401b0396871681529486166020860152928516928401929092529092166060820152901515608082015260a00161034d565b34801561068e57600080fd5b5060095461038a906001600160a01b031681565b3480156106ae57600080fd5b506103f26106bd366004613a15565b61194b565b3480156106ce57600080fd5b50610309611966565b3480156106e357600080fd5b506103f26119da565b3480156106f857600080fd5b50610309610707366004613a15565b611a24565b34801561071857600080fd5b506005546001600160a01b031661038a565b34801561073657600080fd5b50610309610745366004613a15565b611ab5565b34801561075657600080fd5b50600f54610792906001600160601b0380821691600160601b810490911690600160c01b810465ffffffffffff1690600160f01b900460ff1684565b604080516001600160601b03958616815294909316602085015265ffffffffffff909116918301919091521515606082015260800161034d565b3480156107d857600080fd5b50610340611b46565b3480156107ed57600080fd5b506103096107fc366004613956565b611b55565b34801561080d57600080fd5b5061081761271081565b6040516001600160401b03909116815260200161034d565b34801561083b57600080fd5b506103c261084a3660046139e9565b611c66565b34801561085b57600080fd5b506010546103c29060ff1681565b34801561087557600080fd5b5060085461038a906001600160a01b031681565b34801561089557600080fd5b5061038a7f000000000000000000000000b145ba877ee7802a32c0bf2b5a49b4f66200500081565b3480156108c957600080fd5b506103f26108d8366004613a15565b611ce1565b3480156108e957600080fd5b506103c26108f83660046139e9565b611d14565b34801561090957600080fd5b50610309610918366004613b29565b611d22565b34801561092957600080fd5b5061093d610938366004613a15565b611ddd565b604080516001600160a01b039095168552602085019390935291830152606082015260800161034d565b34801561097357600080fd5b50610309610982366004613b29565b611e61565b34801561099357600080fd5b506103f26109a2366004613b29565b611fac565b3480156109b357600080fd5b506103f2612173565b3480156109c857600080fd5b506103096109d7366004613a15565b612319565b3480156109e857600080fd5b506103096109f7366004613b42565b612375565b348015610a0857600080fd5b50600b546105679065ffffffffffff80821691600160301b8104821691600160601b8204811691600160901b8104821691600160c01b9091041685565b348015610a5157600080fd5b506103c2610a60366004613a15565b60066020526000908152604090205460ff1681565b348015610a8157600080fd5b506103f2610a90366004613b5f565b6123b2565b348015610aa157600080fd5b50610309610ab0366004613a15565b6123dd565b348015610ac157600080fd5b50610309610ad0366004613ad5565b6124c8565b348015610ae157600080fd5b50600c5461038a906001600160a01b031681565b6005546001600160a01b03163314610b285760405162461bcd60e51b8152600401610b1f90613b8d565b60405180910390fd5b6010805460ff191690556040805160808101825260008082526020820181905291810182905260608101919091526000610b6160025490565b6001600160601b03811680845260208401819052600f805460408087015160608801516001600160c01b03199093168517600160601b9095029490941766ffffffffffffff60c01b1916600160c01b65ffffffffffff9095169490940260ff60f01b191693909317600160f01b91151591909102179055519091507fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a15050565b6005546001600160a01b03163314610c305760405162461bcd60e51b8152600401610b1f90613b8d565b610c3c6012600a613cbc565b6103e8610c4860025490565b610c53906005613ccb565b610c5d9190613cf8565b610c679190613cf8565b816001600160601b03161015610ca95760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610b1f565b610cb56012600a613cbc565b610cc8906001600160601b038316613ccb565b600f8054600160601b600160c01b031916600160601b6001600160601b0393841681029190911791829055604051910490911681527fde064515fae8f8bb6d8ff19d2c6ba704322def7494147d8a971266430ade0788906020015b60405180910390a150565b606060038054610d3d90613d0c565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6990613d0c565b8015610db65780601f10610d8b57610100808354040283529160200191610db6565b820191906000526020600020905b815481529060010190602001808311610d9957829003601f168201915b5050505050905090565b600033610dce81858561267c565b60019150505b92915050565b600080610de683611ce1565b905080600003610df95750600092915050565b6040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600081518110610e4e57610e4e613d5c565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110610e8257610e82613d5c565b6001600160a01b03928316602091820292909201015260405163d06ca61f60e01b81526000917f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063d06ca61f90610ee19086908690600401613db6565b600060405180830381865afa158015610efe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f269190810190613dcf565b600a5490915061271090610f4a90600160c01b900465ffffffffffff166032613e8c565b65ffffffffffff1682600181518110610f6557610f65613d5c565b6020026020010151610f779190613ccb565b610f819190613cf8565b81600181518110610f9457610f94613d5c565b6020026020010151610fa69190613eb2565b95945050505050565b600033610fbd8582856127a0565b610fc885858561281a565b506001949350505050565b6005546001600160a01b03163314610ffd5760405162461bcd60e51b8152600401610b1f90613b8d565b600047118015611015575060006110133061194b565b115b61101e57600080fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0476040518263ffffffff1660e01b81526004016000604051808303818588803b15801561107957600080fd5b505af115801561108d573d6000803e3d6000fd5b50505050506110c5307f000000000000000000000000b145ba877ee7802a32c0bf2b5a49b4f6620050006110c03061194b565b612988565b6040516370a0823160e01b81523060048201527f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b03169063a9059cbb907f000000000000000000000000b145ba877ee7802a32c0bf2b5a49b4f6620050009083906370a0823190602401602060405180830381865afa158015611153573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111779190613ec5565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af11580156111c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e69190613ede565b506040516335313c2160e11b81526001600160a01b0382811660048301527f000000000000000000000000b145ba877ee7802a32c0bf2b5a49b4f6620050001690636a627842906024016020604051808303816000875af115801561124f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112739190613ec5565b5043601355600f805460ff60f01b1916600160f01b179055604080516350d25bcd60e01b815290516001600160a01b037f0000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b841916916350d25bcd91600482810192602092919082900301816000875af11580156112f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113169190613ec5565b60155550565b600c54604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa158015611366573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138a9190613ec5565b905090565b6005546001600160a01b031633146113b95760405162461bcd60e51b8152600401610b1f90613b8d565b600c5460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db0906024015b600060405180830381600087803b15801561140157600080fd5b505af1158015611415573d6000803e3d6000fd5b5050505050565b6005546001600160a01b031633146114465760405162461bcd60e51b8152600401610b1f90613b8d565b6001600160a01b03821661148b5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610b1f565b80611506577f000000000000000000000000b145ba877ee7802a32c0bf2b5a49b4f6620050006001600160a01b0316826001600160a01b0316036115065760405162461bcd60e51b815260206004820152601260248201527121b0b73737ba103932b6b7bb32903830b4b960711b6044820152606401610b1f565b6001600160a01b038216600081815260076020908152604091829020805460ff19168515159081179091558251938452908301527f0712a8411c7892e205c3d35c5d2beabe76bb0b484bec43945f2024cd28eaae8d91015b60405180910390a15050565b600033610dce81858561157d83836123b2565b6115879190613efb565b61267c565b600c5460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b37906044016020604051808303816000875af11580156115dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116019190613ede565b50565b6005546001600160a01b0316331461162e5760405162461bcd60e51b8152600401610b1f90613b8d565b6001600160a01b0382166116735760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610b1f565b306001600160a01b038316036116cb5760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f7420756e6578636c7564656420636f6e74726163740000000000006044820152606401610b1f565b6001600160a01b038216600081815260066020908152604091829020805460ff19168515159081179091558251938452908301527fc4eea32423e96d678d53f47ddd9b7a5103eea02606d7daa81c77038c54dc8edb910161155e565b600c5460405163156dbbf560e31b81526001600160a01b038381166004830152600092169063ab6ddfa8906024015b602060405180830381865afa158015611773573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd49190613ec5565b6005546001600160a01b031633146117c15760405162461bcd60e51b8152600401610b1f90613b8d565b6040805160a0810182526000608082015265ffffffffffff8681168252858116928201929092528382166020820152908216606082015281836118048688613e8c565b61180e9190613e8c565b6118189190613e8c565b65ffffffffffff16608082018190526103e8101561186d5760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610b1f565b608081015160405165ffffffffffff90911681527f7a758dc8e99047b028278b3e2ff1416d8493a7aacee7a5dc30b6bf93270eccce9060200160405180910390a18051600a805460208401516040850151606086015160809096015165ffffffffffff908116600160c01b0265ffffffffffff60c01b19978216600160901b0265ffffffffffff60901b19938316600160601b0293909316600160601b600160c01b0319948316600160301b026001600160601b03199096169290971691909117939093179190911693909317929092179290921617905550505050565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b031633146119905760405162461bcd60e51b8152600401610b1f90613b8d565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b600c546040805163ad7a672f60e01b815290516000926001600160a01b03169163ad7a672f9160048083019260209291908290030181865afa158015611366573d6000803e3d6000fd5b6005546001600160a01b03163314611a4e5760405162461bcd60e51b8152600401610b1f90613b8d565b6001600160a01b038116611a935760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610b1f565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611adf5760405162461bcd60e51b8152600401610b1f90613b8d565b6001600160a01b038116611b245760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610b1f565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b606060048054610d3d90613d0c565b6005546001600160a01b03163314611b7f5760405162461bcd60e51b8152600401610b1f90613b8d565b611b8b6012600a613cbc565b6103e8611b9760025490565b611ba2906005613ccb565b611bac9190613cf8565b611bb69190613cf8565b816001600160601b03161015611bf85760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610b1f565b611c046012600a613cbc565b611c17906001600160601b038316613ccb565b600f80546001600160601b0319166001600160601b039290921691821790556040519081527f6710da7d4acedae09cb83751ae24c150719ef67dcbc1e02049f171d13c6b44e690602001610d23565b60003381611c7482866123b2565b905083811015611cd45760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b1f565b610fc8828686840361267c565b600c546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d24090602401611756565b600033610dce81858561281a565b600c5460405163dcb95ed960e01b81523360048201526000916001600160a01b03169063dcb95ed9906024016020604051808303816000875af1158015611d6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d919190613ec5565b90508015611da857611da4818333612b2d565b5050565b60405162461bcd60e51b815260206004820152600a6024820152694e6f207265776172647360b01b6044820152606401610b1f565b600c5460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392169063fbcbc0f190602401608060405180830381865afa158015611e2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e529190613f0e565b93509350935093509193509193565b6005546001600160a01b03163314611e8b5760405162461bcd60e51b8152600401610b1f90613b8d565b620186a0611e9860025490565b611ea3906001613ccb565b611ead9190613cf8565b811015611f1a5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610b1f565b6103e8611f2660025490565b611f31906005613ccb565b611f3b9190613cf8565b811115611fa75760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610b1f565b601455565b600081600003611fbe57506000919050565b6040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160008151811061201357612013613d5c565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061204757612047613d5c565b6001600160a01b03928316602091820292909201015260405163d06ca61f60e01b81526000917f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063d06ca61f906120a69087908690600401613db6565b600060405180830381865afa1580156120c3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120eb9190810190613dcf565b600a549091506127109061210f90600160c01b900465ffffffffffff166032613e8c565b65ffffffffffff168260018151811061212a5761212a613d5c565b602002602001015161213c9190613ccb565b6121469190613cf8565b8160018151811061215957612159613d5c565b602002602001015161216b9190613eb2565b949350505050565b60006305f5e100670de0b6b3a764000061218e61dead61194b565b60025461219b9190613eb2565b6121c47f000000000000000000000000b145ba877ee7802a32c0bf2b5a49b4f66200500061194b565b6015547f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122499190613f4d565b6040516370a0823160e01b81526001600160a01b037f000000000000000000000000b145ba877ee7802a32c0bf2b5a49b4f6620050008116600483015291909116906370a0823190602401602060405180830381865afa1580156122b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122d59190613ec5565b6122e790670de0b6b3a7640000613ccb565b6122f19190613ccb565b6122fb9190613cf8565b6123059190613ccb565b61230f9190613cf8565b61138a9190613cf8565b6005546001600160a01b031633146123435760405162461bcd60e51b8152600401610b1f90613b8d565b600c5460405163c0f306ef60e01b81526001600160a01b0383811660048301529091169063c0f306ef906024016113e7565b6005546001600160a01b0316331461239f5760405162461bcd60e51b8152600401610b1f90613b8d565b6012805460ff1916911515919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6005546001600160a01b031633146124075760405162461bcd60e51b8152600401610b1f90613b8d565b6001600160a01b03811661246c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b1f565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146124f25760405162461bcd60e51b8152600401610b1f90613b8d565b6040805160a0810182526000608082015265ffffffffffff8681168252858116928201929092528382166020820152908216606082015281836125358688613e8c565b61253f9190613e8c565b6125499190613e8c565b65ffffffffffff16608082018190526103e8101561259e5760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610b1f565b608081015160405165ffffffffffff90911681527fa6255338a5f732d64ceba7f4c18182567f9d1067eb984b46d478b37d72a52d119060200160405180910390a18051600b805460208401516040850151606086015160809096015165ffffffffffff908116600160c01b0265ffffffffffff60c01b19978216600160901b0265ffffffffffff60901b19938316600160601b0293909316600160601b600160c01b0319948316600160301b026001600160601b03199096169290971691909117939093179190911693909317929092179290921617905550505050565b6001600160a01b0383166126de5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b1f565b6001600160a01b03821661273f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b1f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006127ac84846123b2565b9050600019811461281457818110156128075760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b1f565b612814848484840361267c565b50505050565b6001600160a01b03831660009081526006602052604090205460ff1615801561285c57506001600160a01b03821660009081526006602052604090205460ff16155b156128845761286c838383612c52565b61287783838361305d565b6128819082613eb2565b90505b61288f838383612988565b600c546001600160a01b031663e30443bc836128aa8161194b565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156128f057600080fd5b505af1158015612904573d6000803e3d6000fd5b5050600c546001600160a01b0316915063e30443bc9050846129258161194b565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561296b57600080fd5b505af115801561297f573d6000803e3d6000fd5b50505050505050565b6001600160a01b0383166129ec5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b1f565b6001600160a01b038216612a4e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b1f565b6001600160a01b03831660009081526020819052604090205481811015612ac65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b1f565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b6040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600081518110612b8257612b82613d5c565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110612bb657612bb6613d5c565b6001600160a01b03928316602091820292909201015260405163b6f9de9560e01b81527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063b6f9de95908690612c1a908790869088904290600401613f6a565b6000604051808303818588803b158015612c3357600080fd5b505af1158015612c47573d6000803e3d6000fd5b505050505050505050565b60105460ff1615612f9b576001600160a01b03821660009081526007602052604081205460ff1690612c838461194b565b60408051608081018252600f546001600160601b038082168352600160601b8204166020830152600160c01b810465ffffffffffff1692820192909252600160f01b90910460ff16151560608201529091507f000000000000000000000000b145ba877ee7802a32c0bf2b5a49b4f6620050006001600160a01b03908116908716148015612d0f575082155b15612e9c5780516001600160601b0316841115612d585760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610b1f565b60208101516001600160601b0316612d708386613efb565b1115612dab5760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610b1f565b806060015115612e9757601354612dc3906004613efb565b4310612e3b57600060608201528051600f80546020840151604085015160ff60f01b1965ffffffffffff909116600160c01b021666ffffffffffffff60c01b196001600160601b03928316600160601b026001600160c01b031990941692909516919091179190911792909216919091179055612f97565b806040015165ffffffffffff163a1115612e975760405162461bcd60e51b815260206004820152601860248201527f4761732070726963652065786365656473206c696d69742e00000000000000006044820152606401610b1f565b612f97565b7f000000000000000000000000b145ba877ee7802a32c0bf2b5a49b4f6620050006001600160a01b0316856001600160a01b0316148015612ef657506001600160a01b03861660009081526007602052604090205460ff16155b15612f3f5780516001600160601b0316841115612e975760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610b1f565b82612f975760208101516001600160601b0316612f5c8386613efb565b1115612f975760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610b1f565b5050505b60125460ff1615613031577f000000000000000000000000b145ba877ee7802a32c0bf2b5a49b4f6620050006001600160a01b0316826001600160a01b031603613036576001600160a01b03831660009081526011602052604090205443116130315760405162461bcd60e51b815260206004820152600860248201526720b73a349026a2ab60c11b6044820152606401610b1f565b505050565b506001600160a01b0316600090815260116020526040808220439081905532835291205550565b600060145461306b3061194b565b101580156130ab57507f000000000000000000000000b145ba877ee7802a32c0bf2b5a49b4f6620050006001600160a01b0316846001600160a01b031614155b156130b8576130b861349c565b6040805160a08101825260008082526020820181905291810182905260608101829052608081018290527f000000000000000000000000b145ba877ee7802a32c0bf2b5a49b4f6620050006001600160a01b0316856001600160a01b03160361317557506040805160a081018252600b5465ffffffffffff8082168352600160301b820481166020840152600160601b8204811693830193909352600160901b810483166060830152600160c01b90049091166080820152613204565b7f000000000000000000000000b145ba877ee7802a32c0bf2b5a49b4f6620050006001600160a01b0316866001600160a01b03160361320457506040805160a081018252600a5465ffffffffffff8082168352600160301b820481166020840152600160601b8204811693830193909352600160901b810483166060830152600160c01b900490911660808201525b608081015165ffffffffffff161561348a576040805160a081018252600d546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b90049091166060820152600e5460ff161515608080830191909152820151612710906132879065ffffffffffff1687613ccb565b6132919190613cf8565b9250633b9aca00826080015165ffffffffffff16836040015165ffffffffffff16856132bd9190613f9f565b6132c79190613fca565b6132d19190613fca565b816020018181516132e29190613ff0565b6001600160401b031690525060808201518251633b9aca009165ffffffffffff90811691613311911686613f9f565b61331b9190613fca565b6133259190613fca565b81518290613334908390613ff0565b6001600160401b031690525060808201516020830151633b9aca009165ffffffffffff90811691613366911686613f9f565b6133709190613fca565b61337a9190613fca565b8160400181815161338b9190613ff0565b6001600160401b031690525060808201516060830151633b9aca009165ffffffffffff908116916133bd911686613f9f565b6133c79190613fca565b6133d19190613fca565b816060018181516133e29190613ff0565b6001600160401b039081169091528251600d80546020860151604087015160608801518616600160c01b026001600160c01b03918716600160801b02919091166001600160801b03928716600160401b026fffffffffffffffffffffffffffffffff199094169590961694909417919091178116939093179190911790556080830151600e805491151560ff199092169190911790556134889150889030908616612988565b505b506001600160801b0316949350505050565b60006134a73061194b565b6040805160a081018252600d546001600160401b03808216808452600160401b8304821660208501819052600160801b84048316958501869052600160c01b90930490911660608401819052600e5460ff16151560808501529495509193600093909290916135169190613ff0565b6135209190613ff0565b61352a9190613ff0565b6001600160401b03169050821580613540575080155b1561354a57505050565b6014805461355791613ccb565b83111561356e576014805461356b91613ccb565b92505b60208201516001600160401b03161561366a5760008183602001516001600160401b03168561359d9190613ccb565b6135a79190613cf8565b90506135d4307f000000000000000000000000b145ba877ee7802a32c0bf2b5a49b4f66200500083612988565b7f000000000000000000000000b145ba877ee7802a32c0bf2b5a49b4f6620050006001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561362f57600080fd5b505af1925050508015613640575060015b5061364b8185613eb2565b935082602001516001600160401b0316826136669190613eb2565b9150505b82156137fc5761367983613832565b604082015147906000906001600160401b03161561370b5760095460408501516001600160a01b039091169084906136ba906001600160401b031685613ccb565b6136c49190613cf8565b604051600081818185875af1925050503d8060008114613700576040519150601f19603f3d011682016040523d82523d6000602084013e613705565b606091505b50909150505b60608401516001600160401b03161561379857600c5460608501516001600160a01b03909116908490613747906001600160401b031685613ccb565b6137519190613cf8565b604051600081818185875af1925050503d806000811461378d576040519150601f19603f3d011682016040523d82523d6000602084013e613792565b606091505b50909150505b47915081156137f9576008546040516001600160a01b03909116908390600081818185875af1925050503d80600081146137ee576040519150601f19603f3d011682016040523d82523d6000602084013e6137f3565b606091505b50909150505b50505b506000602082018190528082526040820181905260608201819052600d5560800151600e805460ff191691151591909117905550565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061386757613867613d5c565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2816001815181106138bb576138bb613d5c565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063791ac94790613920908590600090869030904290600401614010565b600060405180830381600087803b15801561393a57600080fd5b505af115801561394e573d6000803e3d6000fd5b505050505050565b60006020828403121561396857600080fd5b81356001600160601b038116811461397f57600080fd5b9392505050565b600060208083528351808285015260005b818110156139b357858101830151858201604001528201613997565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461160157600080fd5b600080604083850312156139fc57600080fd5b8235613a07816139d4565b946020939093013593505050565b600060208284031215613a2757600080fd5b813561397f816139d4565b600080600060608486031215613a4757600080fd5b8335613a52816139d4565b92506020840135613a62816139d4565b929592945050506040919091013590565b801515811461160157600080fd5b60008060408385031215613a9457600080fd5b8235613a9f816139d4565b91506020830135613aaf81613a73565b809150509250929050565b803565ffffffffffff81168114613ad057600080fd5b919050565b60008060008060808587031215613aeb57600080fd5b613af485613aba565b9350613b0260208601613aba565b9250613b1060408601613aba565b9150613b1e60608601613aba565b905092959194509250565b600060208284031215613b3b57600080fd5b5035919050565b600060208284031215613b5457600080fd5b813561397f81613a73565b60008060408385031215613b7257600080fd5b8235613b7d816139d4565b91506020830135613aaf816139d4565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115613c13578160001904821115613bf957613bf9613bc2565b80851615613c0657918102915b93841c9390800290613bdd565b509250929050565b600082613c2a57506001610dd4565b81613c3757506000610dd4565b8160018114613c4d5760028114613c5757613c73565b6001915050610dd4565b60ff841115613c6857613c68613bc2565b50506001821b610dd4565b5060208310610133831016604e8410600b8410161715613c96575081810a610dd4565b613ca08383613bd8565b8060001904821115613cb457613cb4613bc2565b029392505050565b600061397f60ff841683613c1b565b8082028115828204841417610dd457610dd4613bc2565b634e487b7160e01b600052601260045260246000fd5b600082613d0757613d07613ce2565b500490565b600181811c90821680613d2057607f821691505b602082108103613d4057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b83811015613dab5781516001600160a01b031687529582019590820190600101613d86565b509495945050505050565b82815260406020820152600061216b6040830184613d72565b60006020808385031215613de257600080fd5b82516001600160401b0380821115613df957600080fd5b818501915085601f830112613e0d57600080fd5b815181811115613e1f57613e1f613d46565b8060051b604051601f19603f83011681018181108582111715613e4457613e44613d46565b604052918252848201925083810185019188831115613e6257600080fd5b938501935b82851015613e8057845184529385019392850192613e67565b98975050505050505050565b65ffffffffffff818116838216019080821115613eab57613eab613bc2565b5092915050565b81810381811115610dd457610dd4613bc2565b600060208284031215613ed757600080fd5b5051919050565b600060208284031215613ef057600080fd5b815161397f81613a73565b80820180821115610dd457610dd4613bc2565b60008060008060808587031215613f2457600080fd5b8451613f2f816139d4565b60208601516040870151606090970151919890975090945092505050565b600060208284031215613f5f57600080fd5b815161397f816139d4565b848152608060208201526000613f836080830186613d72565b6001600160a01b03949094166040830152506060015292915050565b6001600160801b03818116838216028082169190828114613fc257613fc2613bc2565b505092915050565b60006001600160801b0380841680613fe457613fe4613ce2565b92169190910492915050565b6001600160401b03818116838216019080821115613eab57613eab613bc2565b85815284602082015260a06040820152600061402f60a0830186613d72565b6001600160a01b039490941660608301525060800152939250505056fea2646970667358221220aee477c3248ef122120446aee9e2d682548bd84f2c9dc1d3814dacf11bcb8da164736f6c63430008130033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000005f5e1000000000000000000000000000000000000000000000000000000000000002134000000000000000000000000e254f75b4576da7f6fe277be0d0726a0c8546ea40000000000000000000000006a9581394efd73db1b669b209ef79303fb0cc10c0000000000000000000000000000000000000000000000000000000000000384000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000012c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000384000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c80000000000000000000000000000000000000000000000000000000000000094000000000000000000000000000000000000000000000000000000000000001054686520426c6f782050726f6a656374000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004424c4f5800000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : params (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]

-----Encoded View---------------
22 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [3] : 0000000000000000000000000000000000000000000000000000000005f5e100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000002134
Arg [5] : 000000000000000000000000e254f75b4576da7f6fe277be0d0726a0c8546ea4
Arg [6] : 0000000000000000000000006a9581394efd73db1b669b209ef79303fb0cc10c
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000384
Arg [8] : 000000000000000000000000000000000000000000000000000000000000012c
Arg [9] : 000000000000000000000000000000000000000000000000000000000000012c
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000384
Arg [12] : 000000000000000000000000000000000000000000000000000000000000012c
Arg [13] : 000000000000000000000000000000000000000000000000000000000000012c
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [15] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [16] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000094
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [19] : 54686520426c6f782050726f6a65637400000000000000000000000000000000
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [21] : 424c4f5800000000000000000000000000000000000000000000000000000000


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.