ETH Price: $3,469.47 (-0.03%)
Gas: 4.34 Gwei

Token

Block Box (BBOX)
 

Overview

Max Total Supply

100,000,000 BBOX

Holders

1,457

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
onchainjeet.eth
Balance
0.285829132226375054 BBOX

Value
$0.00
0xE26b0E84D563f439DC1c80Ae79908272d7890da8
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BBOX

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 BBOX is ERC20, Ownable {

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

    address public marketingReceiver;
    address public devWallet;

    Tax public buyTax;
    Tax public sellTax;

    RevShare public revenueShare;

    TokenDistributionForTax public tokensForTax;

    TxLimits public transactionLimits;
    bool public transactionLimitsActive = 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);

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

        marketingReceiver = params.marketingReceiver; // update
        devWallet = params.devWallet; // 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;

        excludedFromFees[msg.sender] = true;
        excludedFromFees[address(this)] = true;
        excludedFromFees[address(0xdead)] = true;
        excludedFromFees[_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(!excludedFromFees[from] && !excludedFromFees[to]){
            checkLimits(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 checkLimits(address from, address to, uint256 amount) internal {
        if(transactionLimitsActive){
            bool exFromLimitsTo = excludedFromTxLimits[to];
            uint256 balanceOfTo = balanceOf(to);
            TxLimits memory _transactionLimits = transactionLimits;
            // buy
            if (from == pair && !exFromLimitsTo) {
                require(amount <= _transactionLimits.transactionLimit, "Max Txn");
                require(amount + balanceOfTo <= _transactionLimits.walletLimit, "Max Wallet");
                if(_transactionLimits.gasLimitActive){
                    if(block.number >= launchBlock + 4){
                        _transactionLimits.gasLimitActive = false;
                        transactionLimits = _transactionLimits;
                    } else {
                        require(tx.gasprice <= _transactionLimits.gasLimit, "Gas price exceeds limit.");
                    }
                }
            } 
            // sell
            else if (to == pair && !excludedFromTxLimits[from]) {
                require(amount <= _transactionLimits.transactionLimit, "Max Txn");
            }
            else if(!exFromLimitsTo) {
                require(amount + balanceOfTo <= _transactionLimits.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,) = devWallet.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 setExcludedFromTax(address _address, bool _isExcluded) external onlyOwner {
        require(_address != address(0), "Zero Address");
        require(_address != address(this), "Cannot unexcluded contract");
        excludedFromFees[_address] = _isExcluded;
        emit SetExcludedFromFees(_address, _isExcluded);
    }

    function setExcludedFromLimit(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 changeTransactionLimit(uint96 newNumInTokens) external onlyOwner {
        require(newNumInTokens >= (totalSupply() * 5 / 1000)/(10**decimals()), "Too low");
        transactionLimits.transactionLimit = uint96(newNumInTokens * (10**decimals()));
        emit UpdatedTransactionLimit(transactionLimits.transactionLimit);
    }

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

    function updateSwapTokensAmount(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 changeSellTax(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 changeBuyTax(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 removeLimits() external onlyOwner {
        transactionLimitsActive = false;
        TxLimits memory _transactionLimits;
        uint256 supply = totalSupply();
        _transactionLimits.transactionLimit = uint96(supply);
        _transactionLimits.walletLimit = uint96(supply);
        transactionLimits = _transactionLimits;
        emit RemovedLimits();
    }

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

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

    function setDevAddress(address _address) external onlyOwner {
        require(_address != address(0), "zero address");
        devWallet = _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 getCompoundOutputByEthAmount(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 getCompoundOutputByUser(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 launch(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;
        transactionLimits.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 devWallet;
        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":"devWallet","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":"uint48","name":"_mktingTax","type":"uint48"},{"internalType":"uint48","name":"_lpTax","type":"uint48"},{"internalType":"uint48","name":"_devTax","type":"uint48"},{"internalType":"uint48","name":"_revenueShareTax","type":"uint48"}],"name":"changeBuyTax","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":"changeSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"newNumInTokens","type":"uint96"}],"name":"changeTransactionLimit","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":"devWallet","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":"excludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"getCompoundOutputByEthAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"getCompoundOutputByUser","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":"launch","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":"removeLimits","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":"address","name":"_address","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isExcluded","type":"bool"}],"name":"setExcludedFromLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isExcluded","type":"bool"}],"name":"setExcludedFromTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setMarketingAddress","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":[],"name":"transactionLimits","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":"transactionLimitsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"updateAntiMevEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"newNumInTokens","type":"uint96"}],"name":"updateWalletLimit","outputs":[],"stateMutability":"nonpayable","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"}]

61010060405260108054600160ff19918216811790925560128054909116909117905560006015553480156200003457600080fd5b50604051620065de380380620065de833981016040819052620000579162000e0d565b8051602082015160036200006c838262001072565b5060046200007b828262001072565b50505060006200009062000aaa60201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200013430612710836060015165ffffffffffff168460400151670de0b6b3a76400006200010d919062001154565b62000119919062001154565b62000125919062001198565b6001600160701b031662000aae565b3060009081526020819052604081205460408301516200015d90670de0b6b3a764000062001154565b6001600160701b0316620001729190620011c1565b90508015620001875762000187338262000aae565b60008046600103620001c65750737a250d5630b4cf539739df2c5dacb4c659f2488d9050735f4ec3df9cbd43714fe2740f5e3616155c5b841962000304565b46600503620002025750737a250d5630b4cf539739df2c5dacb4c659f2488d905073d4a33860578de61dbabdc8bfdb98fd742fa7028e62000304565b466038036200023e57507310ed43c718714eb63d5aa57b78b54704e256024e9050730567f2323251f0aab15c8dfb1967e4e8a7d42aee62000304565b466061036200027a575073d99d1c33f9fc3444f8101754abc46c52416550d19050732514895c72f50d8bd4b4f9b1110f0d6bd2c9752662000304565b4661a4b103620002b75750731b02da8cb0d097eb8d57a175b88c7d8b47997506905073639fe6ab55c921f74e7fac1ee960c0b6293ba61262000304565b60405162461bcd60e51b815260206004820152601460248201527f436861696e206e6f7420636f6e6669677572656400000000000000000000000060448201526064015b60405180910390fd5b6001600160a01b03811660e0819052604080516350d25bcd60e01b81529051600092916350d25bcd916004808301926020929190829003018187875af115801562000353573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003799190620011dd565b13620003bb5760405162461bcd60e51b815260206004820152601060248201526f1ddc9bdb99c81c1c9a58d9481999595960821b6044820152606401620002fb565b604051620003c99062000c99565b604051809103906000f080158015620003e6573d6000803e3d6000fd5b50600c80546001600160a01b0319166001600160a01b03928316179055821660a0526101c0840151612710906001600160801b03166200042560025490565b620004319190620011f7565b6200043d919062001211565b600f80546001600160601b0319166001600160601b03929092169190911790556101e0840151612710906001600160801b03166200047a60025490565b620004869190620011f7565b62000492919062001211565b600f80546001600160601b03929092166c0100000000000000000000000002600160601b600160c01b0319909216919091179055610200840151620004dc90633b9aca0062001228565b600f805465ffffffffffff92909216600160c01b0265ffffffffffff60c01b19909216919091179055620186a06200051360025490565b62000520906019620011f7565b6200052c919062001211565b6014556080840151600880546001600160a01b03199081166001600160a01b039384161790915560a086015160098054909216921691909117905560c0840151600a805461010087015160e088015161012089015165ffffffffffff95861665ffffffffffff65ffffffffffff60601b0119909416939093176c0100000000000000000000000092861683021765ffffffffffff60301b65ffffffffffff60901b0119166601000000000000918616820265ffffffffffff60901b191617600160901b938616840217938490559183048416939183048216926200061792918104821691166200124d565b6200062391906200124d565b6200062f91906200124d565b600a805465ffffffffffff60c01b1916600160c01b65ffffffffffff938416021790819055610140860151600b80546101808901516101608a01516101a08b015194871665ffffffffffff65ffffffffffff60601b0119909316929092176c0100000000000000000000000091871682021765ffffffffffff60301b65ffffffffffff60901b0119166601000000000000928716830265ffffffffffff60901b191617600160901b9487168502179283905592909304841693928104831692620006ff928204811691166200124d565b6200070b91906200124d565b6200071791906200124d565b600b805465ffffffffffff92909216600160c01b0265ffffffffffff60c01b19909216919091179055600e805460ff1916600117905560a051604080516315ab88c960e31b815290516001600160a01b039092169163ad5c4648916004808201926020929091908290030181865afa15801562000798573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007be919062001276565b6001600160a01b031660c0816001600160a01b03168152505060a0516001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000818573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200083e919062001276565b60c0516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af115801562000890573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008b6919062001276565b6001600160a01b03908116608081905260009081526007602090815260408083208054600160ff19918216811790925533808652838620805483168417905530808752848720805484168517905589881680885285882080548516861790559187526006909552838620805483168417905584865283862080548316841790557f1aecba4ebe7a4e0673e4891b2b092b2228e4322380b579fb494fad3da8586e228054831684179055855293829020805490941617909255600c54915163031e79db60e41b815260048101919091529116906331e79db090602401600060405180830381600087803b158015620009ac57600080fd5b505af1158015620009c1573d6000803e3d6000fd5b5050600c5460805160405163031e79db60e41b81526001600160a01b039182166004820152911692506331e79db09150602401600060405180830381600087803b15801562000a0f57600080fd5b505af115801562000a24573d6000803e3d6000fd5b5050600c5460405163031e79db60e41b815261dead60048201526001600160a01b0390911692506331e79db09150602401600060405180830381600087803b15801562000a7057600080fd5b505af115801562000a85573d6000803e3d6000fd5b5050505062000aa03060a05160001962000b7160201b60201c565b50505050620012b1565b3390565b6001600160a01b03821662000b065760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620002fb565b806002600082825462000b1a91906200129b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b03831662000bd55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401620002fb565b6001600160a01b03821662000c385760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620002fb565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6111cd806200541183390190565b634e487b7160e01b600052604160045260246000fd5b60405161022081016001600160401b038111828210171562000ce35762000ce362000ca7565b60405290565b604051601f8201601f191681016001600160401b038111828210171562000d145762000d1462000ca7565b604052919050565b600082601f83011262000d2e57600080fd5b81516001600160401b0381111562000d4a5762000d4a62000ca7565b602062000d60601f8301601f1916820162000ce9565b828152858284870101111562000d7557600080fd5b60005b8381101562000d9557858101830151828201840152820162000d78565b506000928101909101919091529392505050565b80516001600160701b038116811462000dc157600080fd5b919050565b805165ffffffffffff8116811462000dc157600080fd5b80516001600160a01b038116811462000dc157600080fd5b80516001600160801b038116811462000dc157600080fd5b60006020828403121562000e2057600080fd5b81516001600160401b038082111562000e3857600080fd5b90830190610220828603121562000e4e57600080fd5b62000e5862000cbd565b82518281111562000e6857600080fd5b62000e768782860162000d1c565b82525060208301518281111562000e8c57600080fd5b62000e9a8782860162000d1c565b60208301525062000eae6040840162000da9565b604082015262000ec16060840162000dc6565b606082015262000ed46080840162000ddd565b608082015262000ee760a0840162000ddd565b60a082015262000efa60c0840162000dc6565b60c082015262000f0d60e0840162000dc6565b60e0820152610100915062000f2482840162000dc6565b82820152610120915062000f3a82840162000dc6565b82820152610140915062000f5082840162000dc6565b82820152610160915062000f6682840162000dc6565b82820152610180915062000f7c82840162000dc6565b828201526101a0915062000f9282840162000dc6565b828201526101c0915062000fa882840162000df5565b828201526101e0915062000fbe82840162000df5565b82820152610200915062000fd482840162000dc6565b91810191909152949350505050565b600181811c9082168062000ff857607f821691505b6020821081036200101957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200106d57600081815260208120601f850160051c81016020861015620010485750805b601f850160051c820191505b81811015620010695782815560010162001054565b5050505b505050565b81516001600160401b038111156200108e576200108e62000ca7565b620010a6816200109f845462000fe3565b846200101f565b602080601f831160018114620010de5760008415620010c55750858301515b600019600386901b1c1916600185901b17855562001069565b600085815260208120601f198616915b828110156200110f57888601518255948401946001909101908401620010ee565b50858210156200112e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b6001600160701b038181168382160280821691908281146200117a576200117a6200113e565b505092915050565b634e487b7160e01b600052601260045260246000fd5b60006001600160701b0383811680620011b557620011b562001182565b92169190910492915050565b81810381811115620011d757620011d76200113e565b92915050565b600060208284031215620011f057600080fd5b5051919050565b8082028115828204841417620011d757620011d76200113e565b60008262001223576200122362001182565b500490565b65ffffffffffff8181168382160280821691908281146200117a576200117a6200113e565b65ffffffffffff8181168382160190808211156200126f576200126f6200113e565b5092915050565b6000602082840312156200128957600080fd5b620012948262000ddd565b9392505050565b80820180821115620011d757620011d76200113e565b60805160a05160c05160e05161407e620013936000396000610e78015260008181610bf301528181610cad0152818161106a01528181611b1c01528181612b4c0152613885015260008181610331015281816110f801528181611baa0152818161220201528181612bd701526138dc01526000818161089701528181610c6b01528181610cde01528181610dd9015281816120d4015281816121d90152818161229901528181612cd301528181612e9a01528181612fa401528181613072015281816130e001528181613173015281816135ab01526135d2015261407e6000f3fe6080604052600436106102e85760003560e01c8063751039fc11610190578063aa5f7e26116100dc578063c2ed286b11610095578063dbe66ca01161006f578063dbe66ca014610a61578063dd62ed3e14610a91578063f2fde38b14610ab1578063ff0984ca14610ad157600080fd5b8063c2ed286b146109d8578063cc1776d3146109f8578063d0d41fe114610a4157600080fd5b8063aa5f7e26146108f9578063ad56c13c14610919578063bd9dfecc14610963578063bf78019b14610983578063c077ab4b146109a3578063c0f306ef146109b857600080fd5b806396be9d2411610149578063a5949bcf11610123578063a5949bcf14610865578063a8aa1b3114610885578063a8b9d240146108b9578063a9059cbb146108d957600080fd5b806396be9d24146107f75780639e93ad8e14610817578063a457c2d71461084557600080fd5b8063751039fc1461074f57806380dee257146107645780638da5cb5b146107845780638ea5220f146107a2578063906e9dd0146107c257806395d89b41146107e257600080fd5b80634008c2f01161024f5780636770474b116102085780636d7adcad116101e25780636d7adcad1461068357806370a0823114610705578063715018a61461072557806371778e7d1461073a57600080fd5b80636770474b146106235780636843cd84146106435780636c9ee4a41461066357600080fd5b80634008c2f0146104aa5780634e71d92d146104ca5780634f7041a5146104df57806356340e81146105615780635cfb534e146105e357806364a81f1d1461060357600080fd5b8063214013ca116102a1578063214013ca1461040457806323b872dd1461041957806330bb4cff14610439578063313ce5671461044e57806331e79db01461046a578063395093511461048a57600080fd5b806306fdde03146102f45780630758d9241461031f578063095ea7b31461036b578063167c12fe1461039b57806318160ddd146103cb5780631ebcb3df146103ea57600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b50610309610af1565b6040516103169190613952565b60405180910390f35b34801561032b57600080fd5b506103537f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610316565b34801561037757600080fd5b5061038b6103863660046139b5565b610b83565b6040519015158152602001610316565b3480156103a757600080fd5b5061038b6103b63660046139e1565b60076020526000908152604090205460ff1681565b3480156103d757600080fd5b506002545b604051908152602001610316565b3480156103f657600080fd5b5060105461038b9060ff1681565b6104176104123660046139e1565b610b9d565b005b34801561042557600080fd5b5061038b610434366004613a05565b610eef565b34801561044557600080fd5b506103dc610f13565b34801561045a57600080fd5b5060405160128152602001610316565b34801561047657600080fd5b506104176104853660046139e1565b610f86565b34801561049657600080fd5b5061038b6104a53660046139b5565b611013565b3480156104b657600080fd5b506103dc6104c5366004613a46565b611035565b3480156104d657600080fd5b506104176111fc565b3480156104eb57600080fd5b50600a546105289065ffffffffffff80821691600160301b8104821691600160601b8204811691600160901b8104821691600160c01b9091041685565b6040805165ffffffffffff968716815294861660208601529285169284019290925283166060830152909116608082015260a001610316565b34801561056d57600080fd5b50600f546105a9906001600160601b0380821691600160601b810490911690600160c01b810465ffffffffffff1690600160f01b900460ff1684565b604080516001600160601b03958616815294909316602085015265ffffffffffff9091169183019190915215156060820152608001610316565b3480156105ef57600080fd5b506104176105fe366004613a6d565b611274565b34801561060f57600080fd5b5061041761061e366004613a8a565b6112b1565b34801561062f57600080fd5b5061041761063e366004613a46565b6113d9565b34801561064f57600080fd5b506103dc61065e3660046139e1565b611524565b34801561066f57600080fd5b5061041761067e366004613a8a565b611594565b34801561068f57600080fd5b50600d54600e546106ca916001600160401b0380821692600160401b8304821692600160801b8104831692600160c01b909104169060ff1685565b604080516001600160401b0396871681529486166020860152928516928401929092529092166060820152901515608082015260a001610316565b34801561071157600080fd5b506103dc6107203660046139e1565b6116a5565b34801561073157600080fd5b506104176116c0565b34801561074657600080fd5b506103dc611734565b34801561075b57600080fd5b5061041761177e565b34801561077057600080fd5b5061041761077f366004613ace565b611886565b34801561079057600080fd5b506005546001600160a01b0316610353565b3480156107ae57600080fd5b50600954610353906001600160a01b031681565b3480156107ce57600080fd5b506104176107dd3660046139e1565b611a3a565b3480156107ee57600080fd5b50610309611acb565b34801561080357600080fd5b506103dc6108123660046139e1565b611ada565b34801561082357600080fd5b5061082d61271081565b6040516001600160401b039091168152602001610316565b34801561085157600080fd5b5061038b6108603660046139b5565b611caf565b34801561087157600080fd5b50600854610353906001600160a01b031681565b34801561089157600080fd5b506103537f000000000000000000000000000000000000000000000000000000000000000081565b3480156108c557600080fd5b506103dc6108d43660046139e1565b611d2a565b3480156108e557600080fd5b5061038b6108f43660046139b5565b611d5d565b34801561090557600080fd5b50610417610914366004613a46565b611d6b565b34801561092557600080fd5b506109396109343660046139e1565b611e26565b604080516001600160a01b0390951685526020850193909352918301526060820152608001610316565b34801561096f57600080fd5b5061041761097e366004613ace565b611eaa565b34801561098f57600080fd5b5061041761099e366004613b22565b61205e565b3480156109af57600080fd5b506103dc6121ac565b3480156109c457600080fd5b506104176109d33660046139e1565b612352565b3480156109e457600080fd5b506104176109f3366004613b22565b6123ae565b348015610a0457600080fd5b50600b546105289065ffffffffffff80821691600160301b8104821691600160601b8204811691600160901b8104821691600160c01b9091041685565b348015610a4d57600080fd5b50610417610a5c3660046139e1565b6124d1565b348015610a6d57600080fd5b5061038b610a7c3660046139e1565b60066020526000908152604090205460ff1681565b348015610a9d57600080fd5b506103dc610aac366004613b5b565b612562565b348015610abd57600080fd5b50610417610acc3660046139e1565b61258d565b348015610add57600080fd5b50600c54610353906001600160a01b031681565b606060038054610b0090613b89565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2c90613b89565b8015610b795780601f10610b4e57610100808354040283529160200191610b79565b820191906000526020600020905b815481529060010190602001808311610b5c57829003601f168201915b5050505050905090565b600033610b91818585612678565b60019150505b92915050565b6005546001600160a01b03163314610bd05760405162461bcd60e51b8152600401610bc790613bc3565b60405180910390fd5b600047118015610be857506000610be6306116a5565b115b610bf157600080fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0476040518263ffffffff1660e01b81526004016000604051808303818588803b158015610c4c57600080fd5b505af1158015610c60573d6000803e3d6000fd5b5050505050610c98307f0000000000000000000000000000000000000000000000000000000000000000610c93306116a5565b61279c565b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb907f00000000000000000000000000000000000000000000000000000000000000009083906370a0823190602401602060405180830381865afa158015610d26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4a9190613bf8565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610d95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db99190613c11565b506040516335313c2160e11b81526001600160a01b0382811660048301527f00000000000000000000000000000000000000000000000000000000000000001690636a627842906024016020604051808303816000875af1158015610e22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e469190613bf8565b5043601355600f805460ff60f01b1916600160f01b179055604080516350d25bcd60e01b815290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916350d25bcd91600482810192602092919082900301816000875af1158015610ec5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee99190613bf8565b60155550565b600033610efd858285612941565b610f088585856129bb565b506001949350505050565b600c54604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa158015610f5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f819190613bf8565b905090565b6005546001600160a01b03163314610fb05760405162461bcd60e51b8152600401610bc790613bc3565b600c5460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db0906024015b600060405180830381600087803b158015610ff857600080fd5b505af115801561100c573d6000803e3d6000fd5b5050505050565b600033610b918185856110268383612562565b6110309190613c44565b612678565b60008160000361104757506000919050565b6040805160028082526060820183526000926020830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000008160008151811061109c5761109c613c6d565b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106110d0576110d0613c6d565b6001600160a01b03928316602091820292909201015260405163d06ca61f60e01b81526000917f0000000000000000000000000000000000000000000000000000000000000000169063d06ca61f9061112f9087908690600401613cc7565b600060405180830381865afa15801561114c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111749190810190613ce0565b600a549091506127109061119890600160c01b900465ffffffffffff166032613d9d565b65ffffffffffff16826001815181106111b3576111b3613c6d565b60200260200101516111c59190613dc3565b6111cf9190613df0565b816001815181106111e2576111e2613c6d565b60200260200101516111f49190613e04565b949350505050565b600c5460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b37906044016020604051808303816000875af115801561124d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112719190613c11565b50565b6005546001600160a01b0316331461129e5760405162461bcd60e51b8152600401610bc790613bc3565b6012805460ff1916911515919091179055565b6005546001600160a01b031633146112db5760405162461bcd60e51b8152600401610bc790613bc3565b6112e76012600a613efb565b6103e86112f360025490565b6112fe906005613dc3565b6113089190613df0565b6113129190613df0565b816001600160601b031610156113545760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610bc7565b6113606012600a613efb565b611373906001600160601b038316613dc3565b600f8054600160601b600160c01b031916600160601b6001600160601b0393841681029190911791829055604051910490911681527fde064515fae8f8bb6d8ff19d2c6ba704322def7494147d8a971266430ade0788906020015b60405180910390a150565b6005546001600160a01b031633146114035760405162461bcd60e51b8152600401610bc790613bc3565b620186a061141060025490565b61141b906001613dc3565b6114259190613df0565b8110156114925760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610bc7565b6103e861149e60025490565b6114a9906005613dc3565b6114b39190613df0565b81111561151f5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610bc7565b601455565b600c5460405163156dbbf560e31b81526001600160a01b038381166004830152600092169063ab6ddfa8906024015b602060405180830381865afa158015611570573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b979190613bf8565b6005546001600160a01b031633146115be5760405162461bcd60e51b8152600401610bc790613bc3565b6115ca6012600a613efb565b6103e86115d660025490565b6115e1906005613dc3565b6115eb9190613df0565b6115f59190613df0565b816001600160601b031610156116375760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610bc7565b6116436012600a613efb565b611656906001600160601b038316613dc3565b600f80546001600160601b0319166001600160601b039290921691821790556040519081527f6710da7d4acedae09cb83751ae24c150719ef67dcbc1e02049f171d13c6b44e6906020016113ce565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b031633146116ea5760405162461bcd60e51b8152600401610bc790613bc3565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b600c546040805163ad7a672f60e01b815290516000926001600160a01b03169163ad7a672f9160048083019260209291908290030181865afa158015610f5d573d6000803e3d6000fd5b6005546001600160a01b031633146117a85760405162461bcd60e51b8152600401610bc790613bc3565b6010805460ff1916905560408051608081018252600080825260208201819052918101829052606081019190915260006117e160025490565b6001600160601b03811680845260208401819052600f805460408087015160608801516001600160c01b03199093168517600160601b9095029490941766ffffffffffffff60c01b1916600160c01b65ffffffffffff9095169490940260ff60f01b191693909317600160f01b91151591909102179055519091507fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a15050565b6005546001600160a01b031633146118b05760405162461bcd60e51b8152600401610bc790613bc3565b6040805160a0810182526000608082015265ffffffffffff8681168252858116928201929092528382166020820152908216606082015281836118f38688613d9d565b6118fd9190613d9d565b6119079190613d9d565b65ffffffffffff16608082018190526103e8101561195c5760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610bc7565b608081015160405165ffffffffffff90911681527f7a758dc8e99047b028278b3e2ff1416d8493a7aacee7a5dc30b6bf93270eccce9060200160405180910390a18051600a805460208401516040850151606086015160809096015165ffffffffffff908116600160c01b0265ffffffffffff60c01b19978216600160901b0265ffffffffffff60901b19938316600160601b0293909316600160601b600160c01b0319948316600160301b026001600160601b03199096169290971691909117939093179190911693909317929092179290921617905550505050565b6005546001600160a01b03163314611a645760405162461bcd60e51b8152600401610bc790613bc3565b6001600160a01b038116611aa95760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610bc7565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b606060048054610b0090613b89565b600080611ae683611d2a565b905080600003611af95750600092915050565b6040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110611b4e57611b4e613c6d565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110611b8257611b82613c6d565b6001600160a01b03928316602091820292909201015260405163d06ca61f60e01b81526000917f0000000000000000000000000000000000000000000000000000000000000000169063d06ca61f90611be19086908690600401613cc7565b600060405180830381865afa158015611bfe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c269190810190613ce0565b600a5490915061271090611c4a90600160c01b900465ffffffffffff166032613d9d565b65ffffffffffff1682600181518110611c6557611c65613c6d565b6020026020010151611c779190613dc3565b611c819190613df0565b81600181518110611c9457611c94613c6d565b6020026020010151611ca69190613e04565b95945050505050565b60003381611cbd8286612562565b905083811015611d1d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610bc7565b610f088286868403612678565b600c546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d24090602401611553565b600033610b918185856129bb565b600c5460405163dcb95ed960e01b81523360048201526000916001600160a01b03169063dcb95ed9906024016020604051808303816000875af1158015611db6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dda9190613bf8565b90508015611df157611ded818333612b29565b5050565b60405162461bcd60e51b815260206004820152600a6024820152694e6f207265776172647360b01b6044820152606401610bc7565b600c5460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392169063fbcbc0f190602401608060405180830381865afa158015611e77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e9b9190613f0a565b93509350935093509193509193565b6005546001600160a01b03163314611ed45760405162461bcd60e51b8152600401610bc790613bc3565b6040805160a0810182526000608082015265ffffffffffff868116825285811692820192909252838216602082015290821660608201528183611f178688613d9d565b611f219190613d9d565b611f2b9190613d9d565b65ffffffffffff16608082018190526103e81015611f805760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610bc7565b608081015160405165ffffffffffff90911681527fa6255338a5f732d64ceba7f4c18182567f9d1067eb984b46d478b37d72a52d119060200160405180910390a18051600b805460208401516040850151606086015160809096015165ffffffffffff908116600160c01b0265ffffffffffff60c01b19978216600160901b0265ffffffffffff60901b19938316600160601b0293909316600160601b600160c01b0319948316600160301b026001600160601b03199096169290971691909117939093179190911693909317929092179290921617905550505050565b6005546001600160a01b031633146120885760405162461bcd60e51b8152600401610bc790613bc3565b6001600160a01b0382166120cd5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610bc7565b80612148577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316036121485760405162461bcd60e51b815260206004820152601260248201527121b0b73737ba103932b6b7bb32903830b4b960711b6044820152606401610bc7565b6001600160a01b038216600081815260076020908152604091829020805460ff19168515159081179091558251938452908301527f0712a8411c7892e205c3d35c5d2beabe76bb0b484bec43945f2024cd28eaae8d91015b60405180910390a15050565b60006305f5e100670de0b6b3a76400006121c761dead6116a5565b6002546121d49190613e04565b6121fd7f00000000000000000000000000000000000000000000000000000000000000006116a5565b6015547f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561225e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122829190613f49565b6040516370a0823160e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015291909116906370a0823190602401602060405180830381865afa1580156122ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061230e9190613bf8565b61232090670de0b6b3a7640000613dc3565b61232a9190613dc3565b6123349190613df0565b61233e9190613dc3565b6123489190613df0565b610f819190613df0565b6005546001600160a01b0316331461237c5760405162461bcd60e51b8152600401610bc790613bc3565b600c5460405163c0f306ef60e01b81526001600160a01b0383811660048301529091169063c0f306ef90602401610fde565b6005546001600160a01b031633146123d85760405162461bcd60e51b8152600401610bc790613bc3565b6001600160a01b03821661241d5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610bc7565b306001600160a01b038316036124755760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f7420756e6578636c7564656420636f6e74726163740000000000006044820152606401610bc7565b6001600160a01b038216600081815260066020908152604091829020805460ff19168515159081179091558251938452908301527fc4eea32423e96d678d53f47ddd9b7a5103eea02606d7daa81c77038c54dc8edb91016121a0565b6005546001600160a01b031633146124fb5760405162461bcd60e51b8152600401610bc790613bc3565b6001600160a01b0381166125405760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610bc7565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6005546001600160a01b031633146125b75760405162461bcd60e51b8152600401610bc790613bc3565b6001600160a01b03811661261c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bc7565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166126da5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bc7565b6001600160a01b03821661273b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bc7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166128005760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610bc7565b6001600160a01b0382166128625760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610bc7565b6001600160a01b038316600090815260208190526040902054818110156128da5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610bc7565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b600061294d8484612562565b905060001981146129b557818110156129a85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610bc7565b6129b58484848403612678565b50505050565b6001600160a01b03831660009081526006602052604090205460ff161580156129fd57506001600160a01b03821660009081526006602052604090205460ff16155b15612a2557612a0d838383612c4e565b612a18838383613059565b612a229082613e04565b90505b612a3083838361279c565b600c546001600160a01b031663e30443bc83612a4b816116a5565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015612a9157600080fd5b505af1158015612aa5573d6000803e3d6000fd5b5050600c546001600160a01b0316915063e30443bc905084612ac6816116a5565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015612b0c57600080fd5b505af1158015612b20573d6000803e3d6000fd5b50505050505050565b6040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110612b7e57612b7e613c6d565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110612bb257612bb2613c6d565b6001600160a01b03928316602091820292909201015260405163b6f9de9560e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063b6f9de95908690612c16908790869088904290600401613f66565b6000604051808303818588803b158015612c2f57600080fd5b505af1158015612c43573d6000803e3d6000fd5b505050505050505050565b60105460ff1615612f97576001600160a01b03821660009081526007602052604081205460ff1690612c7f846116a5565b60408051608081018252600f546001600160601b038082168352600160601b8204166020830152600160c01b810465ffffffffffff1692820192909252600160f01b90910460ff16151560608201529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03908116908716148015612d0b575082155b15612e985780516001600160601b0316841115612d545760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610bc7565b60208101516001600160601b0316612d6c8386613c44565b1115612da75760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610bc7565b806060015115612e9357601354612dbf906004613c44565b4310612e3757600060608201528051600f80546020840151604085015160ff60f01b1965ffffffffffff909116600160c01b021666ffffffffffffff60c01b196001600160601b03928316600160601b026001600160c01b031990941692909516919091179190911792909216919091179055612f93565b806040015165ffffffffffff163a1115612e935760405162461bcd60e51b815260206004820152601860248201527f4761732070726963652065786365656473206c696d69742e00000000000000006044820152606401610bc7565b612f93565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b0316148015612ef257506001600160a01b03861660009081526007602052604090205460ff16155b15612f3b5780516001600160601b0316841115612e935760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610bc7565b82612f935760208101516001600160601b0316612f588386613c44565b1115612f935760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610bc7565b5050505b60125460ff161561302d577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603613032576001600160a01b038316600090815260116020526040902054431161302d5760405162461bcd60e51b815260206004820152600860248201526720b73a349026a2ab60c11b6044820152606401610bc7565b505050565b506001600160a01b0316600090815260116020526040808220439081905532835291205550565b6000601454613067306116a5565b101580156130a757507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b031614155b156130b4576130b4613498565b6040805160a08101825260008082526020820181905291810182905260608101829052608081018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b03160361317157506040805160a081018252600b5465ffffffffffff8082168352600160301b820481166020840152600160601b8204811693830193909352600160901b810483166060830152600160c01b90049091166080820152613200565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03160361320057506040805160a081018252600a5465ffffffffffff8082168352600160301b820481166020840152600160601b8204811693830193909352600160901b810483166060830152600160c01b900490911660808201525b608081015165ffffffffffff1615613486576040805160a081018252600d546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b90049091166060820152600e5460ff161515608080830191909152820151612710906132839065ffffffffffff1687613dc3565b61328d9190613df0565b9250633b9aca00826080015165ffffffffffff16836040015165ffffffffffff16856132b99190613f9b565b6132c39190613fc6565b6132cd9190613fc6565b816020018181516132de9190613fec565b6001600160401b031690525060808201518251633b9aca009165ffffffffffff9081169161330d911686613f9b565b6133179190613fc6565b6133219190613fc6565b81518290613330908390613fec565b6001600160401b031690525060808201516020830151633b9aca009165ffffffffffff90811691613362911686613f9b565b61336c9190613fc6565b6133769190613fc6565b816040018181516133879190613fec565b6001600160401b031690525060808201516060830151633b9aca009165ffffffffffff908116916133b9911686613f9b565b6133c39190613fc6565b6133cd9190613fc6565b816060018181516133de9190613fec565b6001600160401b039081169091528251600d80546020860151604087015160608801518616600160c01b026001600160c01b03918716600160801b02919091166001600160801b03928716600160401b026fffffffffffffffffffffffffffffffff199094169590961694909417919091178116939093179190911790556080830151600e805491151560ff19909216919091179055613484915088903090861661279c565b505b506001600160801b0316949350505050565b60006134a3306116a5565b6040805160a081018252600d546001600160401b03808216808452600160401b8304821660208501819052600160801b84048316958501869052600160c01b90930490911660608401819052600e5460ff16151560808501529495509193600093909290916135129190613fec565b61351c9190613fec565b6135269190613fec565b6001600160401b0316905082158061353c575080155b1561354657505050565b6014805461355391613dc3565b83111561356a576014805461356791613dc3565b92505b60208201516001600160401b0316156136665760008183602001516001600160401b0316856135999190613dc3565b6135a39190613df0565b90506135d0307f00000000000000000000000000000000000000000000000000000000000000008361279c565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561362b57600080fd5b505af192505050801561363c575060015b506136478185613e04565b935082602001516001600160401b0316826136629190613e04565b9150505b82156137f8576136758361382e565b604082015147906000906001600160401b0316156137075760095460408501516001600160a01b039091169084906136b6906001600160401b031685613dc3565b6136c09190613df0565b604051600081818185875af1925050503d80600081146136fc576040519150601f19603f3d011682016040523d82523d6000602084013e613701565b606091505b50909150505b60608401516001600160401b03161561379457600c5460608501516001600160a01b03909116908490613743906001600160401b031685613dc3565b61374d9190613df0565b604051600081818185875af1925050503d8060008114613789576040519150601f19603f3d011682016040523d82523d6000602084013e61378e565b606091505b50909150505b47915081156137f5576008546040516001600160a01b03909116908390600081818185875af1925050503d80600081146137ea576040519150601f19603f3d011682016040523d82523d6000602084013e6137ef565b606091505b50909150505b50505b506000602082018190528082526040820181905260608201819052600d5560800151600e805460ff191691151591909117905550565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061386357613863613c6d565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000000000000000000000000000000000000000000000816001815181106138b7576138b7613c6d565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063791ac9479061391c90859060009086903090429060040161400c565b600060405180830381600087803b15801561393657600080fd5b505af115801561394a573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b8181101561397f57858101830151858201604001528201613963565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461127157600080fd5b600080604083850312156139c857600080fd5b82356139d3816139a0565b946020939093013593505050565b6000602082840312156139f357600080fd5b81356139fe816139a0565b9392505050565b600080600060608486031215613a1a57600080fd5b8335613a25816139a0565b92506020840135613a35816139a0565b929592945050506040919091013590565b600060208284031215613a5857600080fd5b5035919050565b801515811461127157600080fd5b600060208284031215613a7f57600080fd5b81356139fe81613a5f565b600060208284031215613a9c57600080fd5b81356001600160601b03811681146139fe57600080fd5b803565ffffffffffff81168114613ac957600080fd5b919050565b60008060008060808587031215613ae457600080fd5b613aed85613ab3565b9350613afb60208601613ab3565b9250613b0960408601613ab3565b9150613b1760608601613ab3565b905092959194509250565b60008060408385031215613b3557600080fd5b8235613b40816139a0565b91506020830135613b5081613a5f565b809150509250929050565b60008060408385031215613b6e57600080fd5b8235613b79816139a0565b91506020830135613b50816139a0565b600181811c90821680613b9d57607f821691505b602082108103613bbd57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215613c0a57600080fd5b5051919050565b600060208284031215613c2357600080fd5b81516139fe81613a5f565b634e487b7160e01b600052601160045260246000fd5b80820180821115610b9757610b97613c2e565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b83811015613cbc5781516001600160a01b031687529582019590820190600101613c97565b509495945050505050565b8281526040602082015260006111f46040830184613c83565b60006020808385031215613cf357600080fd5b82516001600160401b0380821115613d0a57600080fd5b818501915085601f830112613d1e57600080fd5b815181811115613d3057613d30613c57565b8060051b604051601f19603f83011681018181108582111715613d5557613d55613c57565b604052918252848201925083810185019188831115613d7357600080fd5b938501935b82851015613d9157845184529385019392850192613d78565b98975050505050505050565b65ffffffffffff818116838216019080821115613dbc57613dbc613c2e565b5092915050565b8082028115828204841417610b9757610b97613c2e565b634e487b7160e01b600052601260045260246000fd5b600082613dff57613dff613dda565b500490565b81810381811115610b9757610b97613c2e565b600181815b80851115613e52578160001904821115613e3857613e38613c2e565b80851615613e4557918102915b93841c9390800290613e1c565b509250929050565b600082613e6957506001610b97565b81613e7657506000610b97565b8160018114613e8c5760028114613e9657613eb2565b6001915050610b97565b60ff841115613ea757613ea7613c2e565b50506001821b610b97565b5060208310610133831016604e8410600b8410161715613ed5575081810a610b97565b613edf8383613e17565b8060001904821115613ef357613ef3613c2e565b029392505050565b60006139fe60ff841683613e5a565b60008060008060808587031215613f2057600080fd5b8451613f2b816139a0565b60208601516040870151606090970151919890975090945092505050565b600060208284031215613f5b57600080fd5b81516139fe816139a0565b848152608060208201526000613f7f6080830186613c83565b6001600160a01b03949094166040830152506060015292915050565b6001600160801b03818116838216028082169190828114613fbe57613fbe613c2e565b505092915050565b60006001600160801b0380841680613fe057613fe0613dda565b92169190910492915050565b6001600160401b03818116838216019080821115613dbc57613dbc613c2e565b85815284602082015260a06040820152600061402b60a0830186613c83565b6001600160a01b039490941660608301525060800152939250505056fea26469706673582212206a2754a05bffcbe464a32d12beb95225d4a18cafd0bc1ad932c3cd4ca097214f64736f6c63430008130033608060405234801561001057600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061116c806100616000396000f3fe6080604052600436106101395760003560e01c806391b89fba116100ab578063bc4c4b371161006f578063bc4c4b3714610369578063c0f306ef14610389578063dcb95ed9146103a9578063e30443bc146103c9578063f2fde38b146103e9578063fbcbc0f11461040957600080fd5b806391b89fba146102b0578063a8b9d240146102d0578063aafd847a146102f0578063ab6ddfa814610326578063ad7a672f1461035357600080fd5b80636843cd84116100fd5780636843cd84146101fd5780636a47400214610233578063715018a61461024857806371778e7d1461025d57806385a6b3ae146102725780638da5cb5b1461028857600080fd5b806303c833021461014d57806327ce01471461015557806330bb4cff1461018857806331e79db01461019d5780634e7b827f146101bd57600080fd5b3661014857610146610453565b005b600080fd5b610146610453565b34801561016157600080fd5b50610175610170366004610f56565b6104dd565b6040519081526020015b60405180910390f35b34801561019457600080fd5b50600654610175565b3480156101a957600080fd5b506101466101b8366004610f56565b610540565b3480156101c957600080fd5b506101ed6101d8366004610f56565b60076020526000908152604090205460ff1681565b604051901515815260200161017f565b34801561020957600080fd5b50610175610218366004610f56565b6001600160a01b031660009081526004602052604090205490565b34801561023f57600080fd5b506101466105a4565b34801561025457600080fd5b506101466105ad565b34801561026957600080fd5b50600554610175565b34801561027e57600080fd5b5061017560065481565b34801561029457600080fd5b506000546040516001600160a01b03909116815260200161017f565b3480156102bc57600080fd5b506101756102cb366004610f56565b610621565b3480156102dc57600080fd5b506101756102eb366004610f56565b610628565b3480156102fc57600080fd5b5061017561030b366004610f56565b6001600160a01b031660009081526003602052604090205490565b34801561033257600080fd5b50610175610341366004610f56565b60046020526000908152604090205481565b34801561035f57600080fd5b5061017560055481565b34801561037557600080fd5b506101ed610384366004610f73565b610654565b34801561039557600080fd5b506101466103a4366004610f56565b6106ec565b3480156103b557600080fd5b506101756103c4366004610f56565b6107e2565b3480156103d557600080fd5b506101466103e4366004610fb1565b610944565b3480156103f557600080fd5b50610146610404366004610f56565b6109a9565b34801561041557600080fd5b50610429610424366004610f56565b610a93565b604080516001600160a01b039095168552602085019390935291830152606082015260800161017f565b60006005541180156104655750600034115b156104db576005546104929061047f34600160801b610ad1565b6104899190610ff3565b60015490610b5a565b60015560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26006546104d79034610b5a565b6006555b565b6001600160a01b0381166000908152600260209081526040808320546004909252822054600154600160801b926105309261052b92610525916105209190610ad1565b610bb9565b90610bc9565b610c07565b61053a9190610ff3565b92915050565b6000546001600160a01b031633146105735760405162461bcd60e51b815260040161056a90611015565b60405180910390fd5b6001600160a01b0381166000908152600760205260408120805460ff191660011790556105a1908290610c1a565b50565b6105a133610cb3565b6000546001600160a01b031633146105d75760405162461bcd60e51b815260040161056a90611015565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600061053a825b6001600160a01b03811660009081526003602052604081205461053a9061064e846104dd565b90610df4565b600080546001600160a01b0316331461067f5760405162461bcd60e51b815260040161056a90611015565b600061068a84610cb3565b905080156106e257821515846001600160a01b03167fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf092836040516106d091815260200190565b60405180910390a3600191505061053a565b5060009392505050565b6000546001600160a01b031633146107165760405162461bcd60e51b815260040161056a90611015565b6001600160a01b03811660009081526007602052604090205460ff1661073b57600080fd5b6001600160a01b0381166000908152600760205260409020805460ff191690556105a1816107716000546001600160a01b031690565b6040516370a0823160e01b81526001600160a01b03858116600483015291909116906370a0823190602401602060405180830381865afa1580156107b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dd919061104a565b610c1a565b600080546001600160a01b0316331461080d5760405162461bcd60e51b815260040161056a90611015565b61081682610628565b9050801561089a576001600160a01b038216600090815260036020526040902054610842908290611063565b6001600160a01b038316600081815260036020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906108919084815260200190565b60405180910390a25b600080546040516001600160a01b039091169083908381818185875af1925050503d80600081146108e7576040519150601f19603f3d011682016040523d82523d6000602084013e6108ec565b606091505b505090508061093d576001600160a01b0383166000908152600360205260409020546109189083610df4565b6001600160a01b038416600090815260036020526040812091909155915061093f9050565b505b919050565b6000546001600160a01b0316331461096e5760405162461bcd60e51b815260040161056a90611015565b6001600160a01b03821660009081526007602052604090205460ff166109a5576109988282610c1a565b6109a3826001610654565b505b5050565b6000546001600160a01b031633146109d35760405162461bcd60e51b815260040161056a90611015565b6001600160a01b038116610a385760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161056a565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b8060008080610aa184610628565b9250610aac846104dd565b6001600160a01b03851660009081526004602052604090205494969395509392915050565b600082600003610ae35750600061053a565b6000610aef8385611076565b905082610afc8583610ff3565b14610b535760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161056a565b9392505050565b600080610b678385611063565b905083811015610b535760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161056a565b6000818181121561053a57600080fd5b600080610bd6838561108d565b905060008312158015610be95750838112155b80610bfe5750600083128015610bfe57508381125b610b5357600080fd5b600080821215610c1657600080fd5b5090565b6001600160a01b038216600090815260046020526040902080549082905580821115610c76576000610c4c8383610df4565b9050610c588482610e36565b8060056000828254610c6a9190611063565b909155506109a3915050565b808210156109a3576000610c8a8284610df4565b9050610c968482610e90565b8060056000828254610ca891906110b5565b909155505050505050565b600080610cbf83610628565b90508015610deb576001600160a01b038316600090815260036020526040902054610cea9082610b5a565b6001600160a01b038416600081815260036020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d90610d399084815260200190565b60405180910390a26000836001600160a01b03168260405160006040518083038185875af1925050503d8060008114610d8e576040519150601f19603f3d011682016040523d82523d6000602084013e610d93565b606091505b5050905080610de4576001600160a01b038416600090815260036020526040902054610dbf9083610df4565b6001600160a01b03909416600090815260036020526040812094909455509192915050565b5092915050565b50600092915050565b6000610b5383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610eca565b610e70610e5161052083600154610ad190919063ffffffff16565b6001600160a01b03841660009081526002602052604090205490610f04565b6001600160a01b0390921660009081526002602052604090209190915550565b610e70610eab61052083600154610ad190919063ffffffff16565b6001600160a01b03841660009081526002602052604090205490610bc9565b60008184841115610eee5760405162461bcd60e51b815260040161056a91906110c8565b506000610efb84866110b5565b95945050505050565b600080610f118385611116565b905060008312158015610f245750838113155b80610bfe5750600083128015610bfe5750838113610b5357600080fd5b6001600160a01b03811681146105a157600080fd5b600060208284031215610f6857600080fd5b8135610b5381610f41565b60008060408385031215610f8657600080fd5b8235610f9181610f41565b915060208301358015158114610fa657600080fd5b809150509250929050565b60008060408385031215610fc457600080fd5b8235610fcf81610f41565b946020939093013593505050565b634e487b7160e01b600052601160045260246000fd5b60008261101057634e487b7160e01b600052601260045260246000fd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561105c57600080fd5b5051919050565b8082018082111561053a5761053a610fdd565b808202811582820484141761053a5761053a610fdd565b80820182811260008312801582168215821617156110ad576110ad610fdd565b505092915050565b8181038181111561053a5761053a610fdd565b600060208083528351808285015260005b818110156110f5578581018301518582016040015282016110d9565b506000604082860101526040601f19601f8301168501019250505092915050565b8181036000831280158383131683831282161715610de457610de4610fdd56fea2646970667358221220326b1f4cbb96dc91ccd937475978b14a26b897c67a71d93399edb4c243a0ec7f64736f6c634300081300330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000005f5e10000000000000000000000000000000000000000000000000000000000000021340000000000000000000000001009bd41f2be62ec89b286483beb061d142e3b4d000000000000000000000000512477aff01648b826aaf102e4bc32f388fce5c20000000000000000000000000000000000000000000000000000000000000384000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000012c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000384000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000290000000000000000000000000000000000000000000000000000000000000009426c6f636b20426f780000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442424f5800000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102e85760003560e01c8063751039fc11610190578063aa5f7e26116100dc578063c2ed286b11610095578063dbe66ca01161006f578063dbe66ca014610a61578063dd62ed3e14610a91578063f2fde38b14610ab1578063ff0984ca14610ad157600080fd5b8063c2ed286b146109d8578063cc1776d3146109f8578063d0d41fe114610a4157600080fd5b8063aa5f7e26146108f9578063ad56c13c14610919578063bd9dfecc14610963578063bf78019b14610983578063c077ab4b146109a3578063c0f306ef146109b857600080fd5b806396be9d2411610149578063a5949bcf11610123578063a5949bcf14610865578063a8aa1b3114610885578063a8b9d240146108b9578063a9059cbb146108d957600080fd5b806396be9d24146107f75780639e93ad8e14610817578063a457c2d71461084557600080fd5b8063751039fc1461074f57806380dee257146107645780638da5cb5b146107845780638ea5220f146107a2578063906e9dd0146107c257806395d89b41146107e257600080fd5b80634008c2f01161024f5780636770474b116102085780636d7adcad116101e25780636d7adcad1461068357806370a0823114610705578063715018a61461072557806371778e7d1461073a57600080fd5b80636770474b146106235780636843cd84146106435780636c9ee4a41461066357600080fd5b80634008c2f0146104aa5780634e71d92d146104ca5780634f7041a5146104df57806356340e81146105615780635cfb534e146105e357806364a81f1d1461060357600080fd5b8063214013ca116102a1578063214013ca1461040457806323b872dd1461041957806330bb4cff14610439578063313ce5671461044e57806331e79db01461046a578063395093511461048a57600080fd5b806306fdde03146102f45780630758d9241461031f578063095ea7b31461036b578063167c12fe1461039b57806318160ddd146103cb5780631ebcb3df146103ea57600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b50610309610af1565b6040516103169190613952565b60405180910390f35b34801561032b57600080fd5b506103537f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610316565b34801561037757600080fd5b5061038b6103863660046139b5565b610b83565b6040519015158152602001610316565b3480156103a757600080fd5b5061038b6103b63660046139e1565b60076020526000908152604090205460ff1681565b3480156103d757600080fd5b506002545b604051908152602001610316565b3480156103f657600080fd5b5060105461038b9060ff1681565b6104176104123660046139e1565b610b9d565b005b34801561042557600080fd5b5061038b610434366004613a05565b610eef565b34801561044557600080fd5b506103dc610f13565b34801561045a57600080fd5b5060405160128152602001610316565b34801561047657600080fd5b506104176104853660046139e1565b610f86565b34801561049657600080fd5b5061038b6104a53660046139b5565b611013565b3480156104b657600080fd5b506103dc6104c5366004613a46565b611035565b3480156104d657600080fd5b506104176111fc565b3480156104eb57600080fd5b50600a546105289065ffffffffffff80821691600160301b8104821691600160601b8204811691600160901b8104821691600160c01b9091041685565b6040805165ffffffffffff968716815294861660208601529285169284019290925283166060830152909116608082015260a001610316565b34801561056d57600080fd5b50600f546105a9906001600160601b0380821691600160601b810490911690600160c01b810465ffffffffffff1690600160f01b900460ff1684565b604080516001600160601b03958616815294909316602085015265ffffffffffff9091169183019190915215156060820152608001610316565b3480156105ef57600080fd5b506104176105fe366004613a6d565b611274565b34801561060f57600080fd5b5061041761061e366004613a8a565b6112b1565b34801561062f57600080fd5b5061041761063e366004613a46565b6113d9565b34801561064f57600080fd5b506103dc61065e3660046139e1565b611524565b34801561066f57600080fd5b5061041761067e366004613a8a565b611594565b34801561068f57600080fd5b50600d54600e546106ca916001600160401b0380821692600160401b8304821692600160801b8104831692600160c01b909104169060ff1685565b604080516001600160401b0396871681529486166020860152928516928401929092529092166060820152901515608082015260a001610316565b34801561071157600080fd5b506103dc6107203660046139e1565b6116a5565b34801561073157600080fd5b506104176116c0565b34801561074657600080fd5b506103dc611734565b34801561075b57600080fd5b5061041761177e565b34801561077057600080fd5b5061041761077f366004613ace565b611886565b34801561079057600080fd5b506005546001600160a01b0316610353565b3480156107ae57600080fd5b50600954610353906001600160a01b031681565b3480156107ce57600080fd5b506104176107dd3660046139e1565b611a3a565b3480156107ee57600080fd5b50610309611acb565b34801561080357600080fd5b506103dc6108123660046139e1565b611ada565b34801561082357600080fd5b5061082d61271081565b6040516001600160401b039091168152602001610316565b34801561085157600080fd5b5061038b6108603660046139b5565b611caf565b34801561087157600080fd5b50600854610353906001600160a01b031681565b34801561089157600080fd5b506103537f0000000000000000000000007c54f680e983de8d7ac6b034b7b7dff0922d032381565b3480156108c557600080fd5b506103dc6108d43660046139e1565b611d2a565b3480156108e557600080fd5b5061038b6108f43660046139b5565b611d5d565b34801561090557600080fd5b50610417610914366004613a46565b611d6b565b34801561092557600080fd5b506109396109343660046139e1565b611e26565b604080516001600160a01b0390951685526020850193909352918301526060820152608001610316565b34801561096f57600080fd5b5061041761097e366004613ace565b611eaa565b34801561098f57600080fd5b5061041761099e366004613b22565b61205e565b3480156109af57600080fd5b506103dc6121ac565b3480156109c457600080fd5b506104176109d33660046139e1565b612352565b3480156109e457600080fd5b506104176109f3366004613b22565b6123ae565b348015610a0457600080fd5b50600b546105289065ffffffffffff80821691600160301b8104821691600160601b8204811691600160901b8104821691600160c01b9091041685565b348015610a4d57600080fd5b50610417610a5c3660046139e1565b6124d1565b348015610a6d57600080fd5b5061038b610a7c3660046139e1565b60066020526000908152604090205460ff1681565b348015610a9d57600080fd5b506103dc610aac366004613b5b565b612562565b348015610abd57600080fd5b50610417610acc3660046139e1565b61258d565b348015610add57600080fd5b50600c54610353906001600160a01b031681565b606060038054610b0090613b89565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2c90613b89565b8015610b795780601f10610b4e57610100808354040283529160200191610b79565b820191906000526020600020905b815481529060010190602001808311610b5c57829003601f168201915b5050505050905090565b600033610b91818585612678565b60019150505b92915050565b6005546001600160a01b03163314610bd05760405162461bcd60e51b8152600401610bc790613bc3565b60405180910390fd5b600047118015610be857506000610be6306116a5565b115b610bf157600080fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0476040518263ffffffff1660e01b81526004016000604051808303818588803b158015610c4c57600080fd5b505af1158015610c60573d6000803e3d6000fd5b5050505050610c98307f0000000000000000000000007c54f680e983de8d7ac6b034b7b7dff0922d0323610c93306116a5565b61279c565b6040516370a0823160e01b81523060048201527f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b03169063a9059cbb907f0000000000000000000000007c54f680e983de8d7ac6b034b7b7dff0922d03239083906370a0823190602401602060405180830381865afa158015610d26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4a9190613bf8565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610d95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db99190613c11565b506040516335313c2160e11b81526001600160a01b0382811660048301527f0000000000000000000000007c54f680e983de8d7ac6b034b7b7dff0922d03231690636a627842906024016020604051808303816000875af1158015610e22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e469190613bf8565b5043601355600f805460ff60f01b1916600160f01b179055604080516350d25bcd60e01b815290516001600160a01b037f0000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b841916916350d25bcd91600482810192602092919082900301816000875af1158015610ec5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee99190613bf8565b60155550565b600033610efd858285612941565b610f088585856129bb565b506001949350505050565b600c54604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa158015610f5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f819190613bf8565b905090565b6005546001600160a01b03163314610fb05760405162461bcd60e51b8152600401610bc790613bc3565b600c5460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db0906024015b600060405180830381600087803b158015610ff857600080fd5b505af115801561100c573d6000803e3d6000fd5b5050505050565b600033610b918185856110268383612562565b6110309190613c44565b612678565b60008160000361104757506000919050565b6040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160008151811061109c5761109c613c6d565b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106110d0576110d0613c6d565b6001600160a01b03928316602091820292909201015260405163d06ca61f60e01b81526000917f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063d06ca61f9061112f9087908690600401613cc7565b600060405180830381865afa15801561114c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111749190810190613ce0565b600a549091506127109061119890600160c01b900465ffffffffffff166032613d9d565b65ffffffffffff16826001815181106111b3576111b3613c6d565b60200260200101516111c59190613dc3565b6111cf9190613df0565b816001815181106111e2576111e2613c6d565b60200260200101516111f49190613e04565b949350505050565b600c5460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b37906044016020604051808303816000875af115801561124d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112719190613c11565b50565b6005546001600160a01b0316331461129e5760405162461bcd60e51b8152600401610bc790613bc3565b6012805460ff1916911515919091179055565b6005546001600160a01b031633146112db5760405162461bcd60e51b8152600401610bc790613bc3565b6112e76012600a613efb565b6103e86112f360025490565b6112fe906005613dc3565b6113089190613df0565b6113129190613df0565b816001600160601b031610156113545760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610bc7565b6113606012600a613efb565b611373906001600160601b038316613dc3565b600f8054600160601b600160c01b031916600160601b6001600160601b0393841681029190911791829055604051910490911681527fde064515fae8f8bb6d8ff19d2c6ba704322def7494147d8a971266430ade0788906020015b60405180910390a150565b6005546001600160a01b031633146114035760405162461bcd60e51b8152600401610bc790613bc3565b620186a061141060025490565b61141b906001613dc3565b6114259190613df0565b8110156114925760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610bc7565b6103e861149e60025490565b6114a9906005613dc3565b6114b39190613df0565b81111561151f5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610bc7565b601455565b600c5460405163156dbbf560e31b81526001600160a01b038381166004830152600092169063ab6ddfa8906024015b602060405180830381865afa158015611570573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b979190613bf8565b6005546001600160a01b031633146115be5760405162461bcd60e51b8152600401610bc790613bc3565b6115ca6012600a613efb565b6103e86115d660025490565b6115e1906005613dc3565b6115eb9190613df0565b6115f59190613df0565b816001600160601b031610156116375760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610bc7565b6116436012600a613efb565b611656906001600160601b038316613dc3565b600f80546001600160601b0319166001600160601b039290921691821790556040519081527f6710da7d4acedae09cb83751ae24c150719ef67dcbc1e02049f171d13c6b44e6906020016113ce565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b031633146116ea5760405162461bcd60e51b8152600401610bc790613bc3565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b600c546040805163ad7a672f60e01b815290516000926001600160a01b03169163ad7a672f9160048083019260209291908290030181865afa158015610f5d573d6000803e3d6000fd5b6005546001600160a01b031633146117a85760405162461bcd60e51b8152600401610bc790613bc3565b6010805460ff1916905560408051608081018252600080825260208201819052918101829052606081019190915260006117e160025490565b6001600160601b03811680845260208401819052600f805460408087015160608801516001600160c01b03199093168517600160601b9095029490941766ffffffffffffff60c01b1916600160c01b65ffffffffffff9095169490940260ff60f01b191693909317600160f01b91151591909102179055519091507fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a15050565b6005546001600160a01b031633146118b05760405162461bcd60e51b8152600401610bc790613bc3565b6040805160a0810182526000608082015265ffffffffffff8681168252858116928201929092528382166020820152908216606082015281836118f38688613d9d565b6118fd9190613d9d565b6119079190613d9d565b65ffffffffffff16608082018190526103e8101561195c5760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610bc7565b608081015160405165ffffffffffff90911681527f7a758dc8e99047b028278b3e2ff1416d8493a7aacee7a5dc30b6bf93270eccce9060200160405180910390a18051600a805460208401516040850151606086015160809096015165ffffffffffff908116600160c01b0265ffffffffffff60c01b19978216600160901b0265ffffffffffff60901b19938316600160601b0293909316600160601b600160c01b0319948316600160301b026001600160601b03199096169290971691909117939093179190911693909317929092179290921617905550505050565b6005546001600160a01b03163314611a645760405162461bcd60e51b8152600401610bc790613bc3565b6001600160a01b038116611aa95760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610bc7565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b606060048054610b0090613b89565b600080611ae683611d2a565b905080600003611af95750600092915050565b6040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600081518110611b4e57611b4e613c6d565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110611b8257611b82613c6d565b6001600160a01b03928316602091820292909201015260405163d06ca61f60e01b81526000917f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063d06ca61f90611be19086908690600401613cc7565b600060405180830381865afa158015611bfe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c269190810190613ce0565b600a5490915061271090611c4a90600160c01b900465ffffffffffff166032613d9d565b65ffffffffffff1682600181518110611c6557611c65613c6d565b6020026020010151611c779190613dc3565b611c819190613df0565b81600181518110611c9457611c94613c6d565b6020026020010151611ca69190613e04565b95945050505050565b60003381611cbd8286612562565b905083811015611d1d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610bc7565b610f088286868403612678565b600c546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d24090602401611553565b600033610b918185856129bb565b600c5460405163dcb95ed960e01b81523360048201526000916001600160a01b03169063dcb95ed9906024016020604051808303816000875af1158015611db6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dda9190613bf8565b90508015611df157611ded818333612b29565b5050565b60405162461bcd60e51b815260206004820152600a6024820152694e6f207265776172647360b01b6044820152606401610bc7565b600c5460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392169063fbcbc0f190602401608060405180830381865afa158015611e77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e9b9190613f0a565b93509350935093509193509193565b6005546001600160a01b03163314611ed45760405162461bcd60e51b8152600401610bc790613bc3565b6040805160a0810182526000608082015265ffffffffffff868116825285811692820192909252838216602082015290821660608201528183611f178688613d9d565b611f219190613d9d565b611f2b9190613d9d565b65ffffffffffff16608082018190526103e81015611f805760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610bc7565b608081015160405165ffffffffffff90911681527fa6255338a5f732d64ceba7f4c18182567f9d1067eb984b46d478b37d72a52d119060200160405180910390a18051600b805460208401516040850151606086015160809096015165ffffffffffff908116600160c01b0265ffffffffffff60c01b19978216600160901b0265ffffffffffff60901b19938316600160601b0293909316600160601b600160c01b0319948316600160301b026001600160601b03199096169290971691909117939093179190911693909317929092179290921617905550505050565b6005546001600160a01b031633146120885760405162461bcd60e51b8152600401610bc790613bc3565b6001600160a01b0382166120cd5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610bc7565b80612148577f0000000000000000000000007c54f680e983de8d7ac6b034b7b7dff0922d03236001600160a01b0316826001600160a01b0316036121485760405162461bcd60e51b815260206004820152601260248201527121b0b73737ba103932b6b7bb32903830b4b960711b6044820152606401610bc7565b6001600160a01b038216600081815260076020908152604091829020805460ff19168515159081179091558251938452908301527f0712a8411c7892e205c3d35c5d2beabe76bb0b484bec43945f2024cd28eaae8d91015b60405180910390a15050565b60006305f5e100670de0b6b3a76400006121c761dead6116a5565b6002546121d49190613e04565b6121fd7f0000000000000000000000007c54f680e983de8d7ac6b034b7b7dff0922d03236116a5565b6015547f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561225e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122829190613f49565b6040516370a0823160e01b81526001600160a01b037f0000000000000000000000007c54f680e983de8d7ac6b034b7b7dff0922d03238116600483015291909116906370a0823190602401602060405180830381865afa1580156122ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061230e9190613bf8565b61232090670de0b6b3a7640000613dc3565b61232a9190613dc3565b6123349190613df0565b61233e9190613dc3565b6123489190613df0565b610f819190613df0565b6005546001600160a01b0316331461237c5760405162461bcd60e51b8152600401610bc790613bc3565b600c5460405163c0f306ef60e01b81526001600160a01b0383811660048301529091169063c0f306ef90602401610fde565b6005546001600160a01b031633146123d85760405162461bcd60e51b8152600401610bc790613bc3565b6001600160a01b03821661241d5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610bc7565b306001600160a01b038316036124755760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f7420756e6578636c7564656420636f6e74726163740000000000006044820152606401610bc7565b6001600160a01b038216600081815260066020908152604091829020805460ff19168515159081179091558251938452908301527fc4eea32423e96d678d53f47ddd9b7a5103eea02606d7daa81c77038c54dc8edb91016121a0565b6005546001600160a01b031633146124fb5760405162461bcd60e51b8152600401610bc790613bc3565b6001600160a01b0381166125405760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610bc7565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6005546001600160a01b031633146125b75760405162461bcd60e51b8152600401610bc790613bc3565b6001600160a01b03811661261c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bc7565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166126da5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bc7565b6001600160a01b03821661273b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bc7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166128005760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610bc7565b6001600160a01b0382166128625760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610bc7565b6001600160a01b038316600090815260208190526040902054818110156128da5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610bc7565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b600061294d8484612562565b905060001981146129b557818110156129a85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610bc7565b6129b58484848403612678565b50505050565b6001600160a01b03831660009081526006602052604090205460ff161580156129fd57506001600160a01b03821660009081526006602052604090205460ff16155b15612a2557612a0d838383612c4e565b612a18838383613059565b612a229082613e04565b90505b612a3083838361279c565b600c546001600160a01b031663e30443bc83612a4b816116a5565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015612a9157600080fd5b505af1158015612aa5573d6000803e3d6000fd5b5050600c546001600160a01b0316915063e30443bc905084612ac6816116a5565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015612b0c57600080fd5b505af1158015612b20573d6000803e3d6000fd5b50505050505050565b6040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600081518110612b7e57612b7e613c6d565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110612bb257612bb2613c6d565b6001600160a01b03928316602091820292909201015260405163b6f9de9560e01b81527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063b6f9de95908690612c16908790869088904290600401613f66565b6000604051808303818588803b158015612c2f57600080fd5b505af1158015612c43573d6000803e3d6000fd5b505050505050505050565b60105460ff1615612f97576001600160a01b03821660009081526007602052604081205460ff1690612c7f846116a5565b60408051608081018252600f546001600160601b038082168352600160601b8204166020830152600160c01b810465ffffffffffff1692820192909252600160f01b90910460ff16151560608201529091507f0000000000000000000000007c54f680e983de8d7ac6b034b7b7dff0922d03236001600160a01b03908116908716148015612d0b575082155b15612e985780516001600160601b0316841115612d545760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610bc7565b60208101516001600160601b0316612d6c8386613c44565b1115612da75760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610bc7565b806060015115612e9357601354612dbf906004613c44565b4310612e3757600060608201528051600f80546020840151604085015160ff60f01b1965ffffffffffff909116600160c01b021666ffffffffffffff60c01b196001600160601b03928316600160601b026001600160c01b031990941692909516919091179190911792909216919091179055612f93565b806040015165ffffffffffff163a1115612e935760405162461bcd60e51b815260206004820152601860248201527f4761732070726963652065786365656473206c696d69742e00000000000000006044820152606401610bc7565b612f93565b7f0000000000000000000000007c54f680e983de8d7ac6b034b7b7dff0922d03236001600160a01b0316856001600160a01b0316148015612ef257506001600160a01b03861660009081526007602052604090205460ff16155b15612f3b5780516001600160601b0316841115612e935760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610bc7565b82612f935760208101516001600160601b0316612f588386613c44565b1115612f935760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610bc7565b5050505b60125460ff161561302d577f0000000000000000000000007c54f680e983de8d7ac6b034b7b7dff0922d03236001600160a01b0316826001600160a01b031603613032576001600160a01b038316600090815260116020526040902054431161302d5760405162461bcd60e51b815260206004820152600860248201526720b73a349026a2ab60c11b6044820152606401610bc7565b505050565b506001600160a01b0316600090815260116020526040808220439081905532835291205550565b6000601454613067306116a5565b101580156130a757507f0000000000000000000000007c54f680e983de8d7ac6b034b7b7dff0922d03236001600160a01b0316846001600160a01b031614155b156130b4576130b4613498565b6040805160a08101825260008082526020820181905291810182905260608101829052608081018290527f0000000000000000000000007c54f680e983de8d7ac6b034b7b7dff0922d03236001600160a01b0316856001600160a01b03160361317157506040805160a081018252600b5465ffffffffffff8082168352600160301b820481166020840152600160601b8204811693830193909352600160901b810483166060830152600160c01b90049091166080820152613200565b7f0000000000000000000000007c54f680e983de8d7ac6b034b7b7dff0922d03236001600160a01b0316866001600160a01b03160361320057506040805160a081018252600a5465ffffffffffff8082168352600160301b820481166020840152600160601b8204811693830193909352600160901b810483166060830152600160c01b900490911660808201525b608081015165ffffffffffff1615613486576040805160a081018252600d546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b90049091166060820152600e5460ff161515608080830191909152820151612710906132839065ffffffffffff1687613dc3565b61328d9190613df0565b9250633b9aca00826080015165ffffffffffff16836040015165ffffffffffff16856132b99190613f9b565b6132c39190613fc6565b6132cd9190613fc6565b816020018181516132de9190613fec565b6001600160401b031690525060808201518251633b9aca009165ffffffffffff9081169161330d911686613f9b565b6133179190613fc6565b6133219190613fc6565b81518290613330908390613fec565b6001600160401b031690525060808201516020830151633b9aca009165ffffffffffff90811691613362911686613f9b565b61336c9190613fc6565b6133769190613fc6565b816040018181516133879190613fec565b6001600160401b031690525060808201516060830151633b9aca009165ffffffffffff908116916133b9911686613f9b565b6133c39190613fc6565b6133cd9190613fc6565b816060018181516133de9190613fec565b6001600160401b039081169091528251600d80546020860151604087015160608801518616600160c01b026001600160c01b03918716600160801b02919091166001600160801b03928716600160401b026fffffffffffffffffffffffffffffffff199094169590961694909417919091178116939093179190911790556080830151600e805491151560ff19909216919091179055613484915088903090861661279c565b505b506001600160801b0316949350505050565b60006134a3306116a5565b6040805160a081018252600d546001600160401b03808216808452600160401b8304821660208501819052600160801b84048316958501869052600160c01b90930490911660608401819052600e5460ff16151560808501529495509193600093909290916135129190613fec565b61351c9190613fec565b6135269190613fec565b6001600160401b0316905082158061353c575080155b1561354657505050565b6014805461355391613dc3565b83111561356a576014805461356791613dc3565b92505b60208201516001600160401b0316156136665760008183602001516001600160401b0316856135999190613dc3565b6135a39190613df0565b90506135d0307f0000000000000000000000007c54f680e983de8d7ac6b034b7b7dff0922d03238361279c565b7f0000000000000000000000007c54f680e983de8d7ac6b034b7b7dff0922d03236001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561362b57600080fd5b505af192505050801561363c575060015b506136478185613e04565b935082602001516001600160401b0316826136629190613e04565b9150505b82156137f8576136758361382e565b604082015147906000906001600160401b0316156137075760095460408501516001600160a01b039091169084906136b6906001600160401b031685613dc3565b6136c09190613df0565b604051600081818185875af1925050503d80600081146136fc576040519150601f19603f3d011682016040523d82523d6000602084013e613701565b606091505b50909150505b60608401516001600160401b03161561379457600c5460608501516001600160a01b03909116908490613743906001600160401b031685613dc3565b61374d9190613df0565b604051600081818185875af1925050503d8060008114613789576040519150601f19603f3d011682016040523d82523d6000602084013e61378e565b606091505b50909150505b47915081156137f5576008546040516001600160a01b03909116908390600081818185875af1925050503d80600081146137ea576040519150601f19603f3d011682016040523d82523d6000602084013e6137ef565b606091505b50909150505b50505b506000602082018190528082526040820181905260608201819052600d5560800151600e805460ff191691151591909117905550565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061386357613863613c6d565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2816001815181106138b7576138b7613c6d565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063791ac9479061391c90859060009086903090429060040161400c565b600060405180830381600087803b15801561393657600080fd5b505af115801561394a573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b8181101561397f57858101830151858201604001528201613963565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461127157600080fd5b600080604083850312156139c857600080fd5b82356139d3816139a0565b946020939093013593505050565b6000602082840312156139f357600080fd5b81356139fe816139a0565b9392505050565b600080600060608486031215613a1a57600080fd5b8335613a25816139a0565b92506020840135613a35816139a0565b929592945050506040919091013590565b600060208284031215613a5857600080fd5b5035919050565b801515811461127157600080fd5b600060208284031215613a7f57600080fd5b81356139fe81613a5f565b600060208284031215613a9c57600080fd5b81356001600160601b03811681146139fe57600080fd5b803565ffffffffffff81168114613ac957600080fd5b919050565b60008060008060808587031215613ae457600080fd5b613aed85613ab3565b9350613afb60208601613ab3565b9250613b0960408601613ab3565b9150613b1760608601613ab3565b905092959194509250565b60008060408385031215613b3557600080fd5b8235613b40816139a0565b91506020830135613b5081613a5f565b809150509250929050565b60008060408385031215613b6e57600080fd5b8235613b79816139a0565b91506020830135613b50816139a0565b600181811c90821680613b9d57607f821691505b602082108103613bbd57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215613c0a57600080fd5b5051919050565b600060208284031215613c2357600080fd5b81516139fe81613a5f565b634e487b7160e01b600052601160045260246000fd5b80820180821115610b9757610b97613c2e565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b83811015613cbc5781516001600160a01b031687529582019590820190600101613c97565b509495945050505050565b8281526040602082015260006111f46040830184613c83565b60006020808385031215613cf357600080fd5b82516001600160401b0380821115613d0a57600080fd5b818501915085601f830112613d1e57600080fd5b815181811115613d3057613d30613c57565b8060051b604051601f19603f83011681018181108582111715613d5557613d55613c57565b604052918252848201925083810185019188831115613d7357600080fd5b938501935b82851015613d9157845184529385019392850192613d78565b98975050505050505050565b65ffffffffffff818116838216019080821115613dbc57613dbc613c2e565b5092915050565b8082028115828204841417610b9757610b97613c2e565b634e487b7160e01b600052601260045260246000fd5b600082613dff57613dff613dda565b500490565b81810381811115610b9757610b97613c2e565b600181815b80851115613e52578160001904821115613e3857613e38613c2e565b80851615613e4557918102915b93841c9390800290613e1c565b509250929050565b600082613e6957506001610b97565b81613e7657506000610b97565b8160018114613e8c5760028114613e9657613eb2565b6001915050610b97565b60ff841115613ea757613ea7613c2e565b50506001821b610b97565b5060208310610133831016604e8410600b8410161715613ed5575081810a610b97565b613edf8383613e17565b8060001904821115613ef357613ef3613c2e565b029392505050565b60006139fe60ff841683613e5a565b60008060008060808587031215613f2057600080fd5b8451613f2b816139a0565b60208601516040870151606090970151919890975090945092505050565b600060208284031215613f5b57600080fd5b81516139fe816139a0565b848152608060208201526000613f7f6080830186613c83565b6001600160a01b03949094166040830152506060015292915050565b6001600160801b03818116838216028082169190828114613fbe57613fbe613c2e565b505092915050565b60006001600160801b0380841680613fe057613fe0613dda565b92169190910492915050565b6001600160401b03818116838216019080821115613dbc57613dbc613c2e565b85815284602082015260a06040820152600061402b60a0830186613c83565b6001600160a01b039490941660608301525060800152939250505056fea26469706673582212206a2754a05bffcbe464a32d12beb95225d4a18cafd0bc1ad932c3cd4ca097214f64736f6c63430008130033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000005f5e10000000000000000000000000000000000000000000000000000000000000021340000000000000000000000001009bd41f2be62ec89b286483beb061d142e3b4d000000000000000000000000512477aff01648b826aaf102e4bc32f388fce5c20000000000000000000000000000000000000000000000000000000000000384000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000012c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000384000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000290000000000000000000000000000000000000000000000000000000000000009426c6f636b20426f780000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442424f5800000000000000000000000000000000000000000000000000000000

-----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] : 0000000000000000000000001009bd41f2be62ec89b286483beb061d142e3b4d
Arg [6] : 000000000000000000000000512477aff01648b826aaf102e4bc32f388fce5c2
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] : 0000000000000000000000000000000000000000000000000000000000000029
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [19] : 426c6f636b20426f780000000000000000000000000000000000000000000000
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [21] : 42424f5800000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.