ETH Price: $3,740.21 (-3.45%)

Token

ERC-20: MatchTrade (MATCH)
 

Overview

Max Total Supply

100,000,000 MATCH

Holders

794

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
11,418.397723546198012033 MATCH

Value
$0.00
0xdd17ecdc204459f54cafd6a0bc6285534afebd1f
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:
MatchTrade

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : MatchTrade.sol
pragma solidity 0.8.20;

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

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

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

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

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

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

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

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

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

interface IERC20Metadata is IERC20{
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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

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

interface ILpPair {
    function sync() external;
}

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

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

contract MatchTrade is ERC20, Ownable {

    mapping (address => bool) public exemptFromFees;
    mapping (address => bool) public exemptFromLimits;

    bool public tradingAllowed;

    mapping (address => bool) public isAMMPair;

    address public marketingAddress;
    address public devAddress;

    Taxes public buyTax;
    Taxes public sellTax;

    TokensForTax public tokensForTax;

    mapping(address => uint256) private _holderLastTransferBlock; // MEV protection
    bool public antiMevEnabled = true;

    bool public limited = true;

    uint256 public swapTokensAtAmt;

    address public lpPair;
    IDexRouter public dexRouter;
    address public immutable WETH;

    TxLimits public txLimits;

    uint64 public constant FEE_DIVISOR = 10000;

    // structs

    struct TxLimits {
        uint128 transactionLimit;
        uint128 walletLimit;
    }

    struct Taxes {
        uint64 marketingTax;
        uint64 devTax;
        uint64 liquidityTax;
        uint64 totalTax;
    }

    struct TokensForTax {
        uint80 tokensForMarketing;
        uint80 tokensForLiquidity;
        uint80 tokensForDev;
        bool gasSaver;
    }

    // events

    event UpdatedTransactionLimit(uint newMax);
    event UpdatedWalletLimit(uint newMax);
    event SetExemptFromFees(address _address, bool _isExempt);
    event SetExemptFromLimits(address _address, bool _isExempt);
    event RemovedLimits();
    event UpdatedBuyTax(uint newAmt);
    event UpdatedSellTax(uint newAmt);

    // constructor

    constructor()
        ERC20("MatchTrade", "MATCH")
    {   
        _mint(msg.sender, 100_000_000 * 1e18);

        address _v2Router;

        // @dev assumes WETH pair
        if(block.chainid == 1){
            _v2Router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
        } else if(block.chainid == 5){
            _v2Router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
        } else if(block.chainid == 97){
            _v2Router = 0xD99D1c33F9fC3444f8101754aBC46c52416550D1;
        } else if(block.chainid == 42161){
            _v2Router = 0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506;
        } else {
            revert("Chain not configured");
        }

        dexRouter = IDexRouter(_v2Router);

        txLimits.transactionLimit = uint128(totalSupply() * 10 / 1000);
        txLimits.walletLimit = uint128(totalSupply() * 1 / 100);
        swapTokensAtAmt = totalSupply() * 25 / 100000;

        marketingAddress = 0xaDAdA1ea6fEcf85aB58ADE44Aae1781fd2159b82; // update
        devAddress = 0xb74b28a50D1Bd47F7B0525f11D933f221Dd77284; // update

        buyTax.marketingTax = 1200; // 1% = 100
        buyTax.liquidityTax = 0;
        buyTax.devTax = 300;
        buyTax.totalTax = buyTax.marketingTax + buyTax.liquidityTax + buyTax.devTax;

        sellTax.marketingTax = 1200;
        sellTax.liquidityTax = 0;
        sellTax.devTax = 300;
        sellTax.totalTax = sellTax.marketingTax + sellTax.liquidityTax + sellTax.devTax;

        tokensForTax.gasSaver = true;

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

        isAMMPair[lpPair] = true;

        exemptFromLimits[lpPair] = true;
        exemptFromLimits[msg.sender] = true;
        exemptFromLimits[address(this)] = true;

        exemptFromFees[msg.sender] = true;
        exemptFromFees[address(this)] = true;
        exemptFromFees[address(dexRouter)] = true;
 
        _approve(address(this), address(dexRouter), type(uint256).max);
        _approve(address(msg.sender), address(dexRouter), totalSupply());
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        
        if(!exemptFromFees[from] && !exemptFromFees[to]){
            require(tradingAllowed, "Trading not active");
            checkLimits(from, to, amount);
            amount -= handleTax(from, to, amount);
        }

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

    function checkLimits(address from, address to, uint256 amount) internal {
        if(limited){
            bool exFromLimitsTo = exemptFromLimits[to];
            uint256 balanceOfTo = balanceOf(to);
            TxLimits memory _txLimits = txLimits;
            // buy
            if (isAMMPair[from] && !exFromLimitsTo) {
                require(amount <= _txLimits.transactionLimit, "Max Txn");
                require(amount + balanceOfTo <= _txLimits.walletLimit, "Max Wallet");
            } 
            // sell
            else if (isAMMPair[to] && !exemptFromLimits[from]) {
                require(amount <= _txLimits.transactionLimit, "Max Txn");
            }
            else if(!exFromLimitsTo) {
                require(amount + balanceOfTo <= _txLimits.walletLimit, "Max Wallet");
            }
        }

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

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

        if(balanceOf(address(this)) >= swapTokensAtAmt && !isAMMPair[from]) {
            convertTaxes();
        }
        
        uint128 tax = 0;

        Taxes memory taxes;

        if (isAMMPair[to]){
            taxes = sellTax;
        } else if(isAMMPair[from]){
            taxes = buyTax;
        }

        if(taxes.totalTax > 0){
            TokensForTax memory tokensForTaxUpdate = tokensForTax;
            tax = uint128(amount * taxes.totalTax / FEE_DIVISOR);
            tokensForTaxUpdate.tokensForLiquidity += uint80(tax * taxes.liquidityTax / taxes.totalTax / 1e9);
            tokensForTaxUpdate.tokensForMarketing += uint80(tax * taxes.marketingTax / taxes.totalTax / 1e9);
            tokensForTaxUpdate.tokensForDev += uint80(tax * taxes.devTax / taxes.totalTax / 1e9);
            tokensForTax = tokensForTaxUpdate;
            super._transfer(from, address(this), tax);
        }
        
        return tax;
    }

    function swapTokensForETH(uint256 tokenAmt) private {

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

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

    function convertTaxes() private {

        uint256 contractBalance = balanceOf(address(this));
        TokensForTax memory tokensForTaxMem = tokensForTax;
        uint256 totalTokensToSwap = tokensForTaxMem.tokensForLiquidity + tokensForTaxMem.tokensForMarketing + tokensForTaxMem.tokensForDev;
        
        if(contractBalance == 0 || totalTokensToSwap == 0) {return;}

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

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

        if(contractBalance > 0){

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

            bool success;

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

            ethBalance = address(this).balance;

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

        tokensForTaxMem.tokensForLiquidity = 0;
        tokensForTaxMem.tokensForMarketing = 0;
        tokensForTaxMem.tokensForDev = 0;

        tokensForTax = tokensForTaxMem;
    }

    // owner functions
    function setExemptFromFee(address _address, bool _isExempt) external onlyOwner {
        require(_address != address(0), "Zero Address");
        require(_address != address(this), "Cannot unexempt contract");
        exemptFromFees[_address] = _isExempt;
        emit SetExemptFromFees(_address, _isExempt);
    }

    function setExemptFromLimit(address _address, bool _isExempt) external onlyOwner {
        require(_address != address(0), "Zero Address");
        if(!_isExempt){
            require(_address != lpPair, "Cannot remove pair");
        }
        exemptFromLimits[_address] = _isExempt;
        emit SetExemptFromLimits(_address, _isExempt);
    }

    function updateTransactionLimit(uint128 newNumInTokens) external onlyOwner {
        require(newNumInTokens >= (totalSupply() * 1 / 1000)/(10**decimals()), "Too low");
        txLimits.transactionLimit = uint128(newNumInTokens * (10**decimals()));
        emit UpdatedTransactionLimit(txLimits.transactionLimit);
    }

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

    function updateSwapTokensAmt(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.");
        swapTokensAtAmt = newAmount;
    }

    function updateBuyTax(uint64 _marketingTax, uint64 _liquidityTax, uint64 _devTax) external onlyOwner {
        Taxes memory taxes;
        taxes.marketingTax = _marketingTax;
        taxes.liquidityTax = _liquidityTax;
        taxes.devTax = _devTax;
        taxes.totalTax = _marketingTax + _liquidityTax + _devTax;
        require(taxes.totalTax  <= 1000, "Keep tax below 10%");
        emit UpdatedBuyTax(taxes.totalTax);
        buyTax = taxes;
    }

    function updateSellTax(uint64 _marketingTax, uint64 _liquidityTax, uint64 _devTax) external onlyOwner {
        Taxes memory taxes;
        taxes.marketingTax = _marketingTax;
        taxes.liquidityTax = _liquidityTax;
        taxes.devTax = _devTax;
        taxes.totalTax = _marketingTax + _liquidityTax + _devTax;
        require(taxes.totalTax  <= 1000, "Keep tax below 10%");
        emit UpdatedSellTax(taxes.totalTax);
        sellTax = taxes;
    }

    function renounceDevTax() external {
        require(msg.sender == devAddress, "Not dev");
        
        Taxes memory buyTaxes = buyTax;
        buyTaxes.marketingTax += buyTaxes.devTax;
        buyTaxes.devTax = 0;
        buyTax = buyTaxes;

        Taxes memory sellTaxes = sellTax;
        sellTaxes.marketingTax += sellTaxes.devTax;
        sellTaxes.devTax = 0;
        sellTax = sellTaxes;
    }

    function enableTrading() external onlyOwner {
        tradingAllowed = true;
    }

    function removeLimits() external onlyOwner {
        limited = false;
        TxLimits memory _txLimits;
        uint256 supply = totalSupply();
        _txLimits.transactionLimit = uint128(supply);
        _txLimits.walletLimit = uint128(supply);
        txLimits = _txLimits;
        emit RemovedLimits();
    }

    function updateMevBlockerEnabled(bool _enabled) external onlyOwner {
        antiMevEnabled = _enabled;
    }

    function airdropToWallets(address[] calldata wallets, uint256[] calldata amountsInWei) external onlyOwner {
        require(wallets.length == amountsInWei.length, "arrays length mismatch");
        for(uint256 i = 0; i < wallets.length; i++){
            super._transfer(msg.sender, wallets[i], amountsInWei[i]);
        }
    }

    function rescueTokens(address _token, address _to) external onlyOwner {
        require(_token != address(0), "_token address cannot be 0");
        uint256 _contractBalance = IERC20(_token).balanceOf(address(this));
        SafeERC20.safeTransfer(IERC20(_token),_to, _contractBalance);
    }

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

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

    receive() payable external {}
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"_isExempt","type":"bool"}],"name":"SetExemptFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"_isExempt","type":"bool"}],"name":"SetExemptFromLimits","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":"newAmt","type":"uint256"}],"name":"UpdatedBuyTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedSellTax","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":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"uint256[]","name":"amountsInWei","type":"uint256[]"}],"name":"airdropToWallets","outputs":[],"stateMutability":"nonpayable","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":[],"name":"antiMevEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint64","name":"marketingTax","type":"uint64"},{"internalType":"uint64","name":"devTax","type":"uint64"},{"internalType":"uint64","name":"liquidityTax","type":"uint64"},{"internalType":"uint64","name":"totalTax","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devAddress","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":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"exemptFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"exemptFromLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isAMMPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limited","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAddress","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":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceDevTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint64","name":"marketingTax","type":"uint64"},{"internalType":"uint64","name":"devTax","type":"uint64"},{"internalType":"uint64","name":"liquidityTax","type":"uint64"},{"internalType":"uint64","name":"totalTax","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isExempt","type":"bool"}],"name":"setExemptFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isExempt","type":"bool"}],"name":"setExemptFromLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTax","outputs":[{"internalType":"uint80","name":"tokensForMarketing","type":"uint80"},{"internalType":"uint80","name":"tokensForLiquidity","type":"uint80"},{"internalType":"uint80","name":"tokensForDev","type":"uint80"},{"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":"tradingAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"txLimits","outputs":[{"internalType":"uint128","name":"transactionLimit","type":"uint128"},{"internalType":"uint128","name":"walletLimit","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_marketingTax","type":"uint64"},{"internalType":"uint64","name":"_liquidityTax","type":"uint64"},{"internalType":"uint64","name":"_devTax","type":"uint64"}],"name":"updateBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"updateDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"updateMarketingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"updateMevBlockerEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_marketingTax","type":"uint64"},{"internalType":"uint64","name":"_liquidityTax","type":"uint64"},{"internalType":"uint64","name":"_devTax","type":"uint64"}],"name":"updateSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAmt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"newNumInTokens","type":"uint128"}],"name":"updateTransactionLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"newNumInTokens","type":"uint128"}],"name":"updateWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a06040526010805461ffff19166101011790553480156200001f575f80fd5b506040518060400160405280600a8152602001694d61746368547261646560b01b8152506040518060400160405280600581526020016409a82a886960db1b8152508160039081620000729190620008bc565b506004620000818282620008bc565b5050505f620000956200063060201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250905f907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620000f9336a52b7d2dcc80cd2e400000062000634565b5f466001036200011f5750737a250d5630b4cf539739df2c5dacb4c659f2488d620001dc565b46600503620001445750737a250d5630b4cf539739df2c5dacb4c659f2488d620001dc565b4660610362000169575073d99d1c33f9fc3444f8101754abc46c52416550d1620001dc565b4661a4b1036200018f5750731b02da8cb0d097eb8d57a175b88c7d8b47997506620001dc565b60405162461bcd60e51b815260206004820152601460248201527f436861696e206e6f7420636f6e6669677572656400000000000000000000000060448201526064015b60405180910390fd5b601380546001600160a01b0319166001600160a01b0383161790556103e86200020460025490565b6200021190600a62000998565b6200021d9190620009b8565b601480546001600160801b0319166001600160801b039290921691909117905560646200024960025490565b6200025690600162000998565b620002629190620009b8565b601480546001600160801b03928316600160801b029216919091179055620186a06200028d60025490565b6200029a90601962000998565b620002a69190620009b8565b601155600a805473adada1ea6fecf85ab58ade44aae1781fd2159b826001600160a01b031991821617909155600b805473b74b28a50d1bd47f7b0525f11d933f221dd772849216919091179055600c80546001600160c01b03191669012c00000000000004b017908190556001600160401b036801000000000000000082048116916200033f91600160801b909104166104b0620009d8565b6200034b9190620009d8565b600c80546001600160c01b0316600160c01b6001600160401b0393841602179055600d80546001600160c01b03191669012c00000000000004b01790819055680100000000000000008104821691620003af91600160801b9004166104b0620009d8565b620003bb9190620009d8565b600d80546001600160401b0392909216600160c01b026001600160c01b03909216919091179055600e805460ff60f01b1916600160f01b179055601354604080516315ab88c960e31b815290516001600160a01b039092169163ad5c4648916004808201926020929091908290030181865afa1580156200043e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000464919062000a02565b6001600160a01b039081166080526013546040805163c45a015560e01b81529051919092169163c45a01559160048083019260209291908290030181865afa158015620004b3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620004d9919062000a02565b6080516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303815f875af115801562000528573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200054e919062000a02565b601280546001600160a01b0319166001600160a01b0392831690811782555f908152600960209081526040808320805460ff1990811660019081179092559454861684526007835281842080548616821790553380855282852080548716831790553080865283862080548816841790559085526006909352818420805486168217905582845281842080548616821790556013805487168552919093208054909416909217909255546200060692165f19620006f5565b601354620006299033906001600160a01b03166200062360025490565b620006f5565b5062000a47565b3390565b6001600160a01b0382166200068c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620001d3565b8060025f8282546200069f919062000a31565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038316620007595760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401620001d3565b6001600160a01b038216620007bc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620001d3565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200084557607f821691505b6020821081036200086457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620008b7575f81815260208120601f850160051c81016020861015620008925750805b601f850160051c820191505b81811015620008b3578281556001016200089e565b5050505b505050565b81516001600160401b03811115620008d857620008d86200081c565b620008f081620008e9845462000830565b846200086a565b602080601f83116001811462000926575f84156200090e5750858301515b5f19600386901b1c1916600185901b178555620008b3565b5f85815260208120601f198616915b82811015620009565788860151825594840194600190910190840162000935565b50858210156200097457878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417620009b257620009b262000984565b92915050565b5f82620009d357634e487b7160e01b5f52601260045260245ffd5b500490565b6001600160401b03818116838216019080821115620009fb57620009fb62000984565b5092915050565b5f6020828403121562000a13575f80fd5b81516001600160a01b038116811462000a2a575f80fd5b9392505050565b80820180821115620009b257620009b262000984565b60805161317962000a675f395f81816107e1015261291401526131795ff3fe608060405260043610610278575f3560e01c8063715018a61161014a578063a457c2d7116100be578063c78d0fa011610078578063c78d0fa014610850578063cc1776d314610865578063ccad03e1146108a3578063dd62ed3e146108c2578063f270fde4146108e1578063f2fde38b1461092b575f80fd5b8063a457c2d714610773578063a5ece94114610792578063a9059cbb146107b1578063ad5c4648146107d0578063b0249cc614610803578063bedafd0114610831575f80fd5b80638a8c523c1161010f5780638a8c523c146106b45780638becc57d146106c85780638d3e6e40146106e75780638da5cb5b1461071557806395d89b41146107325780639e93ad8e14610746575f80fd5b8063715018a61461063b578063751039fc1461064f57806375808631146106635780638503376214610677578063860a32ec14610696575f80fd5b806339509351116101ec57806359758994116101a6578063597589941461050e5780635a90a49e1461052d578063627e9d8e1461055b57806366ebd39a146105745780636d7adcad1461059357806370a0823114610607575f80fd5b806339509351146104085780633ad10ef614610427578063452ed4f1146104465780634f7041a51461046557806353371be0146104d65780635431c94e146104ef575f80fd5b80632307b4411161023d5780632307b441146103525780632369bf831461037157806323b872dd14610390578063286965a7146103af578063313ce567146103ce57806336e18e19146103e9575f80fd5b806306fdde03146102835780630758d924146102ad578063095ea7b3146102e457806318160ddd146103135780632104591814610331575f80fd5b3661027f57005b5f80fd5b34801561028e575f80fd5b5061029761094a565b6040516102a49190612b52565b60405180910390f35b3480156102b8575f80fd5b506013546102cc906001600160a01b031681565b6040516001600160a01b0390911681526020016102a4565b3480156102ef575f80fd5b506103036102fe366004612b9f565b6109da565b60405190151581526020016102a4565b34801561031e575f80fd5b506002545b6040519081526020016102a4565b34801561033c575f80fd5b5061035061034b366004612bc7565b6109f3565b005b34801561035d575f80fd5b5061035061036c366004612c25565b610b47565b34801561037c575f80fd5b5061035061038b366004612c8b565b610c25565b34801561039b575f80fd5b506103036103aa366004612cab565b610cb6565b3480156103ba575f80fd5b506103506103c9366004612cfa565b610cd9565b3480156103d9575f80fd5b50604051601281526020016102a4565b3480156103f4575f80fd5b50610350610403366004612d3a565b610e51565b348015610413575f80fd5b50610303610422366004612b9f565b610f69565b348015610432575f80fd5b50600b546102cc906001600160a01b031681565b348015610451575f80fd5b506012546102cc906001600160a01b031681565b348015610470575f80fd5b50600c546104a3906001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b604080516001600160401b03958616815293851660208501529184169183019190915290911660608201526080016102a4565b3480156104e1575f80fd5b506008546103039060ff1681565b3480156104fa575f80fd5b50610350610509366004612d60565b610f8a565b348015610519575f80fd5b50610350610528366004612da1565b611084565b348015610538575f80fd5b50610303610547366004612c8b565b60066020525f908152604090205460ff1681565b348015610566575f80fd5b506010546103039060ff1681565b34801561057f575f80fd5b5061035061058e366004612d3a565b6110c1565b34801561059e575f80fd5b50600e546105d2906001600160501b0380821691600160501b8104821691600160a01b82041690600160f01b900460ff1684565b6040516102a494939291906001600160501b039485168152928416602084015292166040820152901515606082015260800190565b348015610612575f80fd5b50610323610621366004612c8b565b6001600160a01b03165f9081526020819052604090205490565b348015610646575f80fd5b506103506111d5565b34801561065a575f80fd5b50610350611248565b34801561066e575f80fd5b506103506112e8565b348015610682575f80fd5b50610350610691366004612c8b565b61148d565b3480156106a1575f80fd5b5060105461030390610100900460ff1681565b3480156106bf575f80fd5b5061035061151e565b3480156106d3575f80fd5b506103506106e2366004612cfa565b611557565b3480156106f2575f80fd5b50610303610701366004612c8b565b60076020525f908152604090205460ff1681565b348015610720575f80fd5b506005546001600160a01b03166102cc565b34801561073d575f80fd5b506102976116cf565b348015610751575f80fd5b5061075b61271081565b6040516001600160401b0390911681526020016102a4565b34801561077e575f80fd5b5061030361078d366004612b9f565b6116de565b34801561079d575f80fd5b50600a546102cc906001600160a01b031681565b3480156107bc575f80fd5b506103036107cb366004612b9f565b611758565b3480156107db575f80fd5b506102cc7f000000000000000000000000000000000000000000000000000000000000000081565b34801561080e575f80fd5b5061030361081d366004612c8b565b60096020525f908152604090205460ff1681565b34801561083c575f80fd5b5061035061084b366004612dbc565b611765565b34801561085b575f80fd5b5061032360115481565b348015610870575f80fd5b50600d546104a3906001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b3480156108ae575f80fd5b506103506108bd366004612dbc565b61188f565b3480156108cd575f80fd5b506103236108dc366004612d60565b6119b1565b3480156108ec575f80fd5b5060145461090b906001600160801b0380821691600160801b90041682565b604080516001600160801b039384168152929091166020830152016102a4565b348015610936575f80fd5b50610350610945366004612c8b565b6119db565b60606003805461095990612df1565b80601f016020809104026020016040519081016040528092919081815260200182805461098590612df1565b80156109d05780601f106109a7576101008083540402835291602001916109d0565b820191905f5260205f20905b8154815290600101906020018083116109b357829003601f168201915b5050505050905090565b5f336109e7818585611ac5565b60019150505b92915050565b6005546001600160a01b03163314610a265760405162461bcd60e51b8152600401610a1d90612e29565b60405180910390fd5b620186a0610a3360025490565b610a3e906001612e72565b610a489190612e9d565b811015610ab55760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610a1d565b6103e8610ac160025490565b610acc906005612e72565b610ad69190612e9d565b811115610b425760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610a1d565b601155565b6005546001600160a01b03163314610b715760405162461bcd60e51b8152600401610a1d90612e29565b828114610bb95760405162461bcd60e51b81526020600482015260166024820152750c2e4e4c2f2e640d8cadccee8d040dad2e6dac2e8c6d60531b6044820152606401610a1d565b5f5b83811015610c1e57610c0c33868684818110610bd957610bd9612eb0565b9050602002016020810190610bee9190612c8b565b858585818110610c0057610c00612eb0565b90506020020135611be8565b80610c1681612ec4565b915050610bbb565b5050505050565b6005546001600160a01b03163314610c4f5760405162461bcd60e51b8152600401610a1d90612e29565b6001600160a01b038116610c945760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610a1d565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b5f33610cc3858285611d8b565b610cce858585611e03565b506001949350505050565b6005546001600160a01b03163314610d035760405162461bcd60e51b8152600401610a1d90612e29565b604080516080810182525f60608201526001600160401b03858116825284811692820192909252908216602082015281610d3d8486612edc565b610d479190612edc565b6001600160401b0316606082018190526103e81015610d9d5760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610a1d565b60608101516040516001600160401b0390911681527fa02824f65350567bc405e202b741e7ca6274004a9feeb44149df72b8bd599c979060200160405180910390a18051600d8054602084015160408501516060909501516001600160401b03908116600160c01b026001600160c01b03968216600160801b02969096166001600160801b03928216600160401b026001600160801b03199094169190951617919091171691909117919091179055505050565b6005546001600160a01b03163314610e7b5760405162461bcd60e51b8152600401610a1d90612e29565b610e876012600a612fe3565b6103e8610e9360025490565b610e9e906001612e72565b610ea89190612e9d565b610eb29190612e9d565b816001600160801b03161015610ef45760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610a1d565b610f006012600a612fe3565b610f13906001600160801b038316612e72565b601480546001600160801b0319166001600160801b039290921691821790556040519081527f6710da7d4acedae09cb83751ae24c150719ef67dcbc1e02049f171d13c6b44e6906020015b60405180910390a150565b5f336109e7818585610f7b83836119b1565b610f859190612ff1565b611ac5565b6005546001600160a01b03163314610fb45760405162461bcd60e51b8152600401610a1d90612e29565b6001600160a01b03821661100a5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610a1d565b6040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa15801561104e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110729190613004565b905061107f838383611ebd565b505050565b6005546001600160a01b031633146110ae5760405162461bcd60e51b8152600401610a1d90612e29565b6010805460ff1916911515919091179055565b6005546001600160a01b031633146110eb5760405162461bcd60e51b8152600401610a1d90612e29565b6110f76012600a612fe3565b6103e861110360025490565b61110e906001612e72565b6111189190612e9d565b6111229190612e9d565b816001600160801b031610156111645760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610a1d565b6111706012600a612fe3565b611183906001600160801b038316612e72565b601480546001600160801b03908116600160801b93821684021791829055604051929091041681527fde064515fae8f8bb6d8ff19d2c6ba704322def7494147d8a971266430ade078890602001610f5e565b6005546001600160a01b031633146111ff5760405162461bcd60e51b8152600401610a1d90612e29565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146112725760405162461bcd60e51b8152600401610a1d90612e29565b6010805461ff0019169055604080518082019091525f80825260208201525f61129a60025490565b6001600160801b03811680845260208401819052600160801b8102176014556040519091507fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c905f90a15050565b600b546001600160a01b0316331461132c5760405162461bcd60e51b81526020600482015260076024820152662737ba103232bb60c91b6044820152606401610a1d565b60408051608081018252600c546001600160401b03808216808452600160401b8304821660208501819052600160801b8404831695850195909552600160c01b9092041660608301529091908290611385908390612edc565b6001600160401b039081169091525f6020848101919091528351600c80546040808801516060808a01519588166001600160c01b031990941693909317600160801b9188168202176001600160c01b0316600160c01b9588168602179093558051608081018252600d54808816808352600160401b8204891697830188905294810488169282019290925293900490941693820193909352925090829061142d908390612edc565b6001600160401b039081169091525f60208401528251600d805460408601516060909601519284166001600160c01b031990911617600160801b95841695909502949094176001600160c01b0316600160c01b9190921602179091555050565b6005546001600160a01b031633146114b75760405162461bcd60e51b8152600401610a1d90612e29565b6001600160a01b0381166114fc5760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610a1d565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146115485760405162461bcd60e51b8152600401610a1d90612e29565b6008805460ff19166001179055565b6005546001600160a01b031633146115815760405162461bcd60e51b8152600401610a1d90612e29565b604080516080810182525f60608201526001600160401b038581168252848116928201929092529082166020820152816115bb8486612edc565b6115c59190612edc565b6001600160401b0316606082018190526103e8101561161b5760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610a1d565b60608101516040516001600160401b0390911681527f5380a61520019ce8270d583f62f1b2b9f4f4372e1acaaf708f4865cecece05089060200160405180910390a18051600c8054602084015160408501516060909501516001600160401b03908116600160c01b026001600160c01b03968216600160801b02969096166001600160801b03928216600160401b026001600160801b03199094169190951617919091171691909117919091179055505050565b60606004805461095990612df1565b5f33816116eb82866119b1565b90508381101561174b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a1d565b610cce8286868403611ac5565b5f336109e7818585611e03565b6005546001600160a01b0316331461178f5760405162461bcd60e51b8152600401610a1d90612e29565b6001600160a01b0382166117d45760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610a1d565b306001600160a01b0383160361182c5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420756e6578656d707420636f6e747261637400000000000000006044820152606401610a1d565b6001600160a01b0382165f81815260066020908152604091829020805460ff19168515159081179091558251938452908301527f998cce27cbf44405c67eb636a634d5e2f2e6ff248b3d71fbbbb022f3c4c6dd2d91015b60405180910390a15050565b6005546001600160a01b031633146118b95760405162461bcd60e51b8152600401610a1d90612e29565b6001600160a01b0382166118fe5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610a1d565b80611956576012546001600160a01b03908116908316036119565760405162461bcd60e51b815260206004820152601260248201527121b0b73737ba103932b6b7bb32903830b4b960711b6044820152606401610a1d565b6001600160a01b0382165f81815260076020908152604091829020805460ff19168515159081179091558251938452908301527f8f9f40630a1d139e6cf69b4f447ca47a36f10a017524efaa38252e516fa227ce9101611883565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6005546001600160a01b03163314611a055760405162461bcd60e51b8152600401610a1d90612e29565b6001600160a01b038116611a6a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a1d565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316611b275760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a1d565b6001600160a01b038216611b885760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a1d565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611c4c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a1d565b6001600160a01b038216611cae5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a1d565b6001600160a01b0383165f9081526020819052604090205481811015611d255760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a1d565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b5f611d9684846119b1565b90505f198114611dfd5781811015611df05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a1d565b611dfd8484848403611ac5565b50505050565b6001600160a01b0383165f9081526006602052604090205460ff16158015611e4357506001600160a01b0382165f9081526006602052604090205460ff16155b15611eb25760085460ff16611e8f5760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610a1d565b611e9a838383611f0f565b611ea58383836121ad565b611eaf908261301b565b90505b61107f838383611be8565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261107f90849061250b565b601054610100900460ff161561210b576001600160a01b038281165f9081526007602090815260408083205483835281842054825180840184526014546001600160801b038082168352600160801b90910416818601529589168552600990935292205460ff928316939192168015611f86575082155b156120275780516001600160801b0316841115611fcf5760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610a1d565b60208101516001600160801b0316611fe78386612ff1565b11156120225760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610a1d565b612107565b6001600160a01b0385165f9081526009602052604090205460ff16801561206657506001600160a01b0386165f9081526007602052604090205460ff16155b156120af5780516001600160801b03168411156120225760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610a1d565b826121075760208101516001600160801b03166120cc8386612ff1565b11156121075760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610a1d565b5050505b60105460ff161561107f576001600160a01b0382165f9081526009602052604090205460ff1615612187576001600160a01b0383165f908152600f6020526040902054431161107f5760405162461bcd60e51b815260206004820152600860248201526720b73a349026a2ab60c11b6044820152606401610a1d565b506001600160a01b03165f908152600f6020526040808220439081905532835291205550565b601154305f908152602081905260408120549091111580156121e757506001600160a01b0384165f9081526009602052604090205460ff16155b156121f4576121f46125dc565b604080516080810182525f8082526020808301829052828401829052606083018290526001600160a01b0387168252600990529182205460ff1615612280575060408051608081018252600d546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b900490911660608201526122e9565b6001600160a01b0386165f9081526009602052604090205460ff16156122e9575060408051608081018252600c546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b900490911660608201525b60608101516001600160401b0316156124f95760408051608081018252600e546001600160501b038082168352600160501b820481166020840152600160a01b82041692820192909252600160f01b90910460ff16151560608083019190915282015161271090612363906001600160401b031687612e72565b61236d9190612e9d565b9250633b9aca0082606001516001600160401b031683604001516001600160401b03168561239b919061302e565b6123a59190613059565b6123af9190613059565b816020018181516123c0919061307e565b6001600160501b031690525060608201518251633b9aca00916001600160401b03908116916123f091168661302e565b6123fa9190613059565b6124049190613059565b8151829061241390839061307e565b6001600160501b031690525060608201516020830151633b9aca00916001600160401b039081169161244691168661302e565b6124509190613059565b61245a9190613059565b8160400181815161246b919061307e565b6001600160501b039081169091528251600e80546020860151604087015160608801511515600160f01b0260ff60f01b19918716600160a01b02919091166affffffffffffffffffffff60a01b19928716600160501b026001600160a01b03199094169590961694909417919091171692909217179055506124f787306001600160801b038616611be8565b505b506001600160801b0316949350505050565b5f61255f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166128a99092919063ffffffff16565b80519091501561107f578080602001905181019061257d919061309e565b61107f5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a1d565b305f9081526020819052604081205460408051608081018252600e546001600160501b03808216808452600160501b8304821660208501819052600160a01b8404909216948401859052600160f01b90920460ff161515606084015293945090925f92916126499161307e565b612653919061307e565b6001600160501b03169050821580612669575080155b1561267357505050565b601154612681906014612e72565b83111561269957601154612696906014612e72565b92505b60208201516001600160501b031615612773575f8183602001516001600160501b0316856126c79190612e72565b6126d19190612e9d565b6012549091506126ec9030906001600160a01b031683611be8565b60125f9054906101000a90046001600160a01b03166001600160a01b031663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b158015612738575f80fd5b505af1925050508015612749575060015b50612754818561301b565b935082602001516001600160501b03168261276f919061301b565b9150505b821561287157612782836128bf565b604082015147905f906001600160501b03161561281057600b5460408501516001600160a01b039091169084906127c2906001600160501b031685612e72565b6127cc9190612e9d565b6040515f81818185875af1925050503d805f8114612805576040519150601f19603f3d011682016040523d82523d5f602084013e61280a565b606091505b50909150505b479150811561286e57600a546040516001600160a01b039091169083905f81818185875af1925050503d805f8114612863576040519150601f19603f3d011682016040523d82523d5f602084013e612868565b606091505b50909150505b50505b505f602082018190528082526040820152600e80546060909201511515600160f01b026001600160f81b031990921691909117905550565b60606128b784845f856129bc565b949350505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106128f2576128f2612eb0565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160018151811061294657612946612eb0565b6001600160a01b03928316602091820292909201015260135460405163791ac94760e01b815291169063791ac9479061298b9085905f908690309042906004016130b9565b5f604051808303815f87803b1580156129a2575f80fd5b505af11580156129b4573d5f803e3d5ffd5b505050505050565b606082471015612a1d5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610a1d565b5f80866001600160a01b03168587604051612a389190613128565b5f6040518083038185875af1925050503d805f8114612a72576040519150601f19603f3d011682016040523d82523d5f602084013e612a77565b606091505b5091509150612a8887838387612a93565b979650505050505050565b60608315612b015782515f03612afa576001600160a01b0385163b612afa5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a1d565b50816128b7565b6128b78383815115612b165781518083602001fd5b8060405162461bcd60e51b8152600401610a1d9190612b52565b5f5b83811015612b4a578181015183820152602001612b32565b50505f910152565b602081525f8251806020840152612b70816040850160208701612b30565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114612b9a575f80fd5b919050565b5f8060408385031215612bb0575f80fd5b612bb983612b84565b946020939093013593505050565b5f60208284031215612bd7575f80fd5b5035919050565b5f8083601f840112612bee575f80fd5b5081356001600160401b03811115612c04575f80fd5b6020830191508360208260051b8501011115612c1e575f80fd5b9250929050565b5f805f8060408587031215612c38575f80fd5b84356001600160401b0380821115612c4e575f80fd5b612c5a88838901612bde565b90965094506020870135915080821115612c72575f80fd5b50612c7f87828801612bde565b95989497509550505050565b5f60208284031215612c9b575f80fd5b612ca482612b84565b9392505050565b5f805f60608486031215612cbd575f80fd5b612cc684612b84565b9250612cd460208501612b84565b9150604084013590509250925092565b80356001600160401b0381168114612b9a575f80fd5b5f805f60608486031215612d0c575f80fd5b612d1584612ce4565b9250612d2360208501612ce4565b9150612d3160408501612ce4565b90509250925092565b5f60208284031215612d4a575f80fd5b81356001600160801b0381168114612ca4575f80fd5b5f8060408385031215612d71575f80fd5b612d7a83612b84565b9150612d8860208401612b84565b90509250929050565b8015158114612d9e575f80fd5b50565b5f60208284031215612db1575f80fd5b8135612ca481612d91565b5f8060408385031215612dcd575f80fd5b612dd683612b84565b91506020830135612de681612d91565b809150509250929050565b600181811c90821680612e0557607f821691505b602082108103612e2357634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176109ed576109ed612e5e565b634e487b7160e01b5f52601260045260245ffd5b5f82612eab57612eab612e89565b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60018201612ed557612ed5612e5e565b5060010190565b6001600160401b03818116838216019080821115612efc57612efc612e5e565b5092915050565b600181815b80851115612f3d57815f1904821115612f2357612f23612e5e565b80851615612f3057918102915b93841c9390800290612f08565b509250929050565b5f82612f53575060016109ed565b81612f5f57505f6109ed565b8160018114612f755760028114612f7f57612f9b565b60019150506109ed565b60ff841115612f9057612f90612e5e565b50506001821b6109ed565b5060208310610133831016604e8410600b8410161715612fbe575081810a6109ed565b612fc88383612f03565b805f1904821115612fdb57612fdb612e5e565b029392505050565b5f612ca460ff841683612f45565b808201808211156109ed576109ed612e5e565b5f60208284031215613014575f80fd5b5051919050565b818103818111156109ed576109ed612e5e565b6001600160801b0381811683821602808216919082811461305157613051612e5e565b505092915050565b5f6001600160801b038084168061307257613072612e89565b92169190910492915050565b6001600160501b03818116838216019080821115612efc57612efc612e5e565b5f602082840312156130ae575f80fd5b8151612ca481612d91565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156131075784516001600160a01b0316835293830193918301916001016130e2565b50506001600160a01b03969096166060850152505050608001529392505050565b5f8251613139818460208701612b30565b919091019291505056fea2646970667358221220545f5ed9b84d45964fec67f0d05415b7bf820506a28bce3c1c79aac24f3781b664736f6c63430008140033

Deployed Bytecode

0x608060405260043610610278575f3560e01c8063715018a61161014a578063a457c2d7116100be578063c78d0fa011610078578063c78d0fa014610850578063cc1776d314610865578063ccad03e1146108a3578063dd62ed3e146108c2578063f270fde4146108e1578063f2fde38b1461092b575f80fd5b8063a457c2d714610773578063a5ece94114610792578063a9059cbb146107b1578063ad5c4648146107d0578063b0249cc614610803578063bedafd0114610831575f80fd5b80638a8c523c1161010f5780638a8c523c146106b45780638becc57d146106c85780638d3e6e40146106e75780638da5cb5b1461071557806395d89b41146107325780639e93ad8e14610746575f80fd5b8063715018a61461063b578063751039fc1461064f57806375808631146106635780638503376214610677578063860a32ec14610696575f80fd5b806339509351116101ec57806359758994116101a6578063597589941461050e5780635a90a49e1461052d578063627e9d8e1461055b57806366ebd39a146105745780636d7adcad1461059357806370a0823114610607575f80fd5b806339509351146104085780633ad10ef614610427578063452ed4f1146104465780634f7041a51461046557806353371be0146104d65780635431c94e146104ef575f80fd5b80632307b4411161023d5780632307b441146103525780632369bf831461037157806323b872dd14610390578063286965a7146103af578063313ce567146103ce57806336e18e19146103e9575f80fd5b806306fdde03146102835780630758d924146102ad578063095ea7b3146102e457806318160ddd146103135780632104591814610331575f80fd5b3661027f57005b5f80fd5b34801561028e575f80fd5b5061029761094a565b6040516102a49190612b52565b60405180910390f35b3480156102b8575f80fd5b506013546102cc906001600160a01b031681565b6040516001600160a01b0390911681526020016102a4565b3480156102ef575f80fd5b506103036102fe366004612b9f565b6109da565b60405190151581526020016102a4565b34801561031e575f80fd5b506002545b6040519081526020016102a4565b34801561033c575f80fd5b5061035061034b366004612bc7565b6109f3565b005b34801561035d575f80fd5b5061035061036c366004612c25565b610b47565b34801561037c575f80fd5b5061035061038b366004612c8b565b610c25565b34801561039b575f80fd5b506103036103aa366004612cab565b610cb6565b3480156103ba575f80fd5b506103506103c9366004612cfa565b610cd9565b3480156103d9575f80fd5b50604051601281526020016102a4565b3480156103f4575f80fd5b50610350610403366004612d3a565b610e51565b348015610413575f80fd5b50610303610422366004612b9f565b610f69565b348015610432575f80fd5b50600b546102cc906001600160a01b031681565b348015610451575f80fd5b506012546102cc906001600160a01b031681565b348015610470575f80fd5b50600c546104a3906001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b604080516001600160401b03958616815293851660208501529184169183019190915290911660608201526080016102a4565b3480156104e1575f80fd5b506008546103039060ff1681565b3480156104fa575f80fd5b50610350610509366004612d60565b610f8a565b348015610519575f80fd5b50610350610528366004612da1565b611084565b348015610538575f80fd5b50610303610547366004612c8b565b60066020525f908152604090205460ff1681565b348015610566575f80fd5b506010546103039060ff1681565b34801561057f575f80fd5b5061035061058e366004612d3a565b6110c1565b34801561059e575f80fd5b50600e546105d2906001600160501b0380821691600160501b8104821691600160a01b82041690600160f01b900460ff1684565b6040516102a494939291906001600160501b039485168152928416602084015292166040820152901515606082015260800190565b348015610612575f80fd5b50610323610621366004612c8b565b6001600160a01b03165f9081526020819052604090205490565b348015610646575f80fd5b506103506111d5565b34801561065a575f80fd5b50610350611248565b34801561066e575f80fd5b506103506112e8565b348015610682575f80fd5b50610350610691366004612c8b565b61148d565b3480156106a1575f80fd5b5060105461030390610100900460ff1681565b3480156106bf575f80fd5b5061035061151e565b3480156106d3575f80fd5b506103506106e2366004612cfa565b611557565b3480156106f2575f80fd5b50610303610701366004612c8b565b60076020525f908152604090205460ff1681565b348015610720575f80fd5b506005546001600160a01b03166102cc565b34801561073d575f80fd5b506102976116cf565b348015610751575f80fd5b5061075b61271081565b6040516001600160401b0390911681526020016102a4565b34801561077e575f80fd5b5061030361078d366004612b9f565b6116de565b34801561079d575f80fd5b50600a546102cc906001600160a01b031681565b3480156107bc575f80fd5b506103036107cb366004612b9f565b611758565b3480156107db575f80fd5b506102cc7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b34801561080e575f80fd5b5061030361081d366004612c8b565b60096020525f908152604090205460ff1681565b34801561083c575f80fd5b5061035061084b366004612dbc565b611765565b34801561085b575f80fd5b5061032360115481565b348015610870575f80fd5b50600d546104a3906001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b3480156108ae575f80fd5b506103506108bd366004612dbc565b61188f565b3480156108cd575f80fd5b506103236108dc366004612d60565b6119b1565b3480156108ec575f80fd5b5060145461090b906001600160801b0380821691600160801b90041682565b604080516001600160801b039384168152929091166020830152016102a4565b348015610936575f80fd5b50610350610945366004612c8b565b6119db565b60606003805461095990612df1565b80601f016020809104026020016040519081016040528092919081815260200182805461098590612df1565b80156109d05780601f106109a7576101008083540402835291602001916109d0565b820191905f5260205f20905b8154815290600101906020018083116109b357829003601f168201915b5050505050905090565b5f336109e7818585611ac5565b60019150505b92915050565b6005546001600160a01b03163314610a265760405162461bcd60e51b8152600401610a1d90612e29565b60405180910390fd5b620186a0610a3360025490565b610a3e906001612e72565b610a489190612e9d565b811015610ab55760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610a1d565b6103e8610ac160025490565b610acc906005612e72565b610ad69190612e9d565b811115610b425760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610a1d565b601155565b6005546001600160a01b03163314610b715760405162461bcd60e51b8152600401610a1d90612e29565b828114610bb95760405162461bcd60e51b81526020600482015260166024820152750c2e4e4c2f2e640d8cadccee8d040dad2e6dac2e8c6d60531b6044820152606401610a1d565b5f5b83811015610c1e57610c0c33868684818110610bd957610bd9612eb0565b9050602002016020810190610bee9190612c8b565b858585818110610c0057610c00612eb0565b90506020020135611be8565b80610c1681612ec4565b915050610bbb565b5050505050565b6005546001600160a01b03163314610c4f5760405162461bcd60e51b8152600401610a1d90612e29565b6001600160a01b038116610c945760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610a1d565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b5f33610cc3858285611d8b565b610cce858585611e03565b506001949350505050565b6005546001600160a01b03163314610d035760405162461bcd60e51b8152600401610a1d90612e29565b604080516080810182525f60608201526001600160401b03858116825284811692820192909252908216602082015281610d3d8486612edc565b610d479190612edc565b6001600160401b0316606082018190526103e81015610d9d5760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610a1d565b60608101516040516001600160401b0390911681527fa02824f65350567bc405e202b741e7ca6274004a9feeb44149df72b8bd599c979060200160405180910390a18051600d8054602084015160408501516060909501516001600160401b03908116600160c01b026001600160c01b03968216600160801b02969096166001600160801b03928216600160401b026001600160801b03199094169190951617919091171691909117919091179055505050565b6005546001600160a01b03163314610e7b5760405162461bcd60e51b8152600401610a1d90612e29565b610e876012600a612fe3565b6103e8610e9360025490565b610e9e906001612e72565b610ea89190612e9d565b610eb29190612e9d565b816001600160801b03161015610ef45760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610a1d565b610f006012600a612fe3565b610f13906001600160801b038316612e72565b601480546001600160801b0319166001600160801b039290921691821790556040519081527f6710da7d4acedae09cb83751ae24c150719ef67dcbc1e02049f171d13c6b44e6906020015b60405180910390a150565b5f336109e7818585610f7b83836119b1565b610f859190612ff1565b611ac5565b6005546001600160a01b03163314610fb45760405162461bcd60e51b8152600401610a1d90612e29565b6001600160a01b03821661100a5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610a1d565b6040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa15801561104e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110729190613004565b905061107f838383611ebd565b505050565b6005546001600160a01b031633146110ae5760405162461bcd60e51b8152600401610a1d90612e29565b6010805460ff1916911515919091179055565b6005546001600160a01b031633146110eb5760405162461bcd60e51b8152600401610a1d90612e29565b6110f76012600a612fe3565b6103e861110360025490565b61110e906001612e72565b6111189190612e9d565b6111229190612e9d565b816001600160801b031610156111645760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610a1d565b6111706012600a612fe3565b611183906001600160801b038316612e72565b601480546001600160801b03908116600160801b93821684021791829055604051929091041681527fde064515fae8f8bb6d8ff19d2c6ba704322def7494147d8a971266430ade078890602001610f5e565b6005546001600160a01b031633146111ff5760405162461bcd60e51b8152600401610a1d90612e29565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146112725760405162461bcd60e51b8152600401610a1d90612e29565b6010805461ff0019169055604080518082019091525f80825260208201525f61129a60025490565b6001600160801b03811680845260208401819052600160801b8102176014556040519091507fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c905f90a15050565b600b546001600160a01b0316331461132c5760405162461bcd60e51b81526020600482015260076024820152662737ba103232bb60c91b6044820152606401610a1d565b60408051608081018252600c546001600160401b03808216808452600160401b8304821660208501819052600160801b8404831695850195909552600160c01b9092041660608301529091908290611385908390612edc565b6001600160401b039081169091525f6020848101919091528351600c80546040808801516060808a01519588166001600160c01b031990941693909317600160801b9188168202176001600160c01b0316600160c01b9588168602179093558051608081018252600d54808816808352600160401b8204891697830188905294810488169282019290925293900490941693820193909352925090829061142d908390612edc565b6001600160401b039081169091525f60208401528251600d805460408601516060909601519284166001600160c01b031990911617600160801b95841695909502949094176001600160c01b0316600160c01b9190921602179091555050565b6005546001600160a01b031633146114b75760405162461bcd60e51b8152600401610a1d90612e29565b6001600160a01b0381166114fc5760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610a1d565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146115485760405162461bcd60e51b8152600401610a1d90612e29565b6008805460ff19166001179055565b6005546001600160a01b031633146115815760405162461bcd60e51b8152600401610a1d90612e29565b604080516080810182525f60608201526001600160401b038581168252848116928201929092529082166020820152816115bb8486612edc565b6115c59190612edc565b6001600160401b0316606082018190526103e8101561161b5760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610a1d565b60608101516040516001600160401b0390911681527f5380a61520019ce8270d583f62f1b2b9f4f4372e1acaaf708f4865cecece05089060200160405180910390a18051600c8054602084015160408501516060909501516001600160401b03908116600160c01b026001600160c01b03968216600160801b02969096166001600160801b03928216600160401b026001600160801b03199094169190951617919091171691909117919091179055505050565b60606004805461095990612df1565b5f33816116eb82866119b1565b90508381101561174b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a1d565b610cce8286868403611ac5565b5f336109e7818585611e03565b6005546001600160a01b0316331461178f5760405162461bcd60e51b8152600401610a1d90612e29565b6001600160a01b0382166117d45760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610a1d565b306001600160a01b0383160361182c5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420756e6578656d707420636f6e747261637400000000000000006044820152606401610a1d565b6001600160a01b0382165f81815260066020908152604091829020805460ff19168515159081179091558251938452908301527f998cce27cbf44405c67eb636a634d5e2f2e6ff248b3d71fbbbb022f3c4c6dd2d91015b60405180910390a15050565b6005546001600160a01b031633146118b95760405162461bcd60e51b8152600401610a1d90612e29565b6001600160a01b0382166118fe5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610a1d565b80611956576012546001600160a01b03908116908316036119565760405162461bcd60e51b815260206004820152601260248201527121b0b73737ba103932b6b7bb32903830b4b960711b6044820152606401610a1d565b6001600160a01b0382165f81815260076020908152604091829020805460ff19168515159081179091558251938452908301527f8f9f40630a1d139e6cf69b4f447ca47a36f10a017524efaa38252e516fa227ce9101611883565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6005546001600160a01b03163314611a055760405162461bcd60e51b8152600401610a1d90612e29565b6001600160a01b038116611a6a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a1d565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316611b275760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a1d565b6001600160a01b038216611b885760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a1d565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611c4c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a1d565b6001600160a01b038216611cae5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a1d565b6001600160a01b0383165f9081526020819052604090205481811015611d255760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a1d565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b5f611d9684846119b1565b90505f198114611dfd5781811015611df05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a1d565b611dfd8484848403611ac5565b50505050565b6001600160a01b0383165f9081526006602052604090205460ff16158015611e4357506001600160a01b0382165f9081526006602052604090205460ff16155b15611eb25760085460ff16611e8f5760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610a1d565b611e9a838383611f0f565b611ea58383836121ad565b611eaf908261301b565b90505b61107f838383611be8565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261107f90849061250b565b601054610100900460ff161561210b576001600160a01b038281165f9081526007602090815260408083205483835281842054825180840184526014546001600160801b038082168352600160801b90910416818601529589168552600990935292205460ff928316939192168015611f86575082155b156120275780516001600160801b0316841115611fcf5760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610a1d565b60208101516001600160801b0316611fe78386612ff1565b11156120225760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610a1d565b612107565b6001600160a01b0385165f9081526009602052604090205460ff16801561206657506001600160a01b0386165f9081526007602052604090205460ff16155b156120af5780516001600160801b03168411156120225760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610a1d565b826121075760208101516001600160801b03166120cc8386612ff1565b11156121075760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610a1d565b5050505b60105460ff161561107f576001600160a01b0382165f9081526009602052604090205460ff1615612187576001600160a01b0383165f908152600f6020526040902054431161107f5760405162461bcd60e51b815260206004820152600860248201526720b73a349026a2ab60c11b6044820152606401610a1d565b506001600160a01b03165f908152600f6020526040808220439081905532835291205550565b601154305f908152602081905260408120549091111580156121e757506001600160a01b0384165f9081526009602052604090205460ff16155b156121f4576121f46125dc565b604080516080810182525f8082526020808301829052828401829052606083018290526001600160a01b0387168252600990529182205460ff1615612280575060408051608081018252600d546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b900490911660608201526122e9565b6001600160a01b0386165f9081526009602052604090205460ff16156122e9575060408051608081018252600c546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b900490911660608201525b60608101516001600160401b0316156124f95760408051608081018252600e546001600160501b038082168352600160501b820481166020840152600160a01b82041692820192909252600160f01b90910460ff16151560608083019190915282015161271090612363906001600160401b031687612e72565b61236d9190612e9d565b9250633b9aca0082606001516001600160401b031683604001516001600160401b03168561239b919061302e565b6123a59190613059565b6123af9190613059565b816020018181516123c0919061307e565b6001600160501b031690525060608201518251633b9aca00916001600160401b03908116916123f091168661302e565b6123fa9190613059565b6124049190613059565b8151829061241390839061307e565b6001600160501b031690525060608201516020830151633b9aca00916001600160401b039081169161244691168661302e565b6124509190613059565b61245a9190613059565b8160400181815161246b919061307e565b6001600160501b039081169091528251600e80546020860151604087015160608801511515600160f01b0260ff60f01b19918716600160a01b02919091166affffffffffffffffffffff60a01b19928716600160501b026001600160a01b03199094169590961694909417919091171692909217179055506124f787306001600160801b038616611be8565b505b506001600160801b0316949350505050565b5f61255f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166128a99092919063ffffffff16565b80519091501561107f578080602001905181019061257d919061309e565b61107f5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a1d565b305f9081526020819052604081205460408051608081018252600e546001600160501b03808216808452600160501b8304821660208501819052600160a01b8404909216948401859052600160f01b90920460ff161515606084015293945090925f92916126499161307e565b612653919061307e565b6001600160501b03169050821580612669575080155b1561267357505050565b601154612681906014612e72565b83111561269957601154612696906014612e72565b92505b60208201516001600160501b031615612773575f8183602001516001600160501b0316856126c79190612e72565b6126d19190612e9d565b6012549091506126ec9030906001600160a01b031683611be8565b60125f9054906101000a90046001600160a01b03166001600160a01b031663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b158015612738575f80fd5b505af1925050508015612749575060015b50612754818561301b565b935082602001516001600160501b03168261276f919061301b565b9150505b821561287157612782836128bf565b604082015147905f906001600160501b03161561281057600b5460408501516001600160a01b039091169084906127c2906001600160501b031685612e72565b6127cc9190612e9d565b6040515f81818185875af1925050503d805f8114612805576040519150601f19603f3d011682016040523d82523d5f602084013e61280a565b606091505b50909150505b479150811561286e57600a546040516001600160a01b039091169083905f81818185875af1925050503d805f8114612863576040519150601f19603f3d011682016040523d82523d5f602084013e612868565b606091505b50909150505b50505b505f602082018190528082526040820152600e80546060909201511515600160f01b026001600160f81b031990921691909117905550565b60606128b784845f856129bc565b949350505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106128f2576128f2612eb0565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160018151811061294657612946612eb0565b6001600160a01b03928316602091820292909201015260135460405163791ac94760e01b815291169063791ac9479061298b9085905f908690309042906004016130b9565b5f604051808303815f87803b1580156129a2575f80fd5b505af11580156129b4573d5f803e3d5ffd5b505050505050565b606082471015612a1d5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610a1d565b5f80866001600160a01b03168587604051612a389190613128565b5f6040518083038185875af1925050503d805f8114612a72576040519150601f19603f3d011682016040523d82523d5f602084013e612a77565b606091505b5091509150612a8887838387612a93565b979650505050505050565b60608315612b015782515f03612afa576001600160a01b0385163b612afa5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a1d565b50816128b7565b6128b78383815115612b165781518083602001fd5b8060405162461bcd60e51b8152600401610a1d9190612b52565b5f5b83811015612b4a578181015183820152602001612b32565b50505f910152565b602081525f8251806020840152612b70816040850160208701612b30565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114612b9a575f80fd5b919050565b5f8060408385031215612bb0575f80fd5b612bb983612b84565b946020939093013593505050565b5f60208284031215612bd7575f80fd5b5035919050565b5f8083601f840112612bee575f80fd5b5081356001600160401b03811115612c04575f80fd5b6020830191508360208260051b8501011115612c1e575f80fd5b9250929050565b5f805f8060408587031215612c38575f80fd5b84356001600160401b0380821115612c4e575f80fd5b612c5a88838901612bde565b90965094506020870135915080821115612c72575f80fd5b50612c7f87828801612bde565b95989497509550505050565b5f60208284031215612c9b575f80fd5b612ca482612b84565b9392505050565b5f805f60608486031215612cbd575f80fd5b612cc684612b84565b9250612cd460208501612b84565b9150604084013590509250925092565b80356001600160401b0381168114612b9a575f80fd5b5f805f60608486031215612d0c575f80fd5b612d1584612ce4565b9250612d2360208501612ce4565b9150612d3160408501612ce4565b90509250925092565b5f60208284031215612d4a575f80fd5b81356001600160801b0381168114612ca4575f80fd5b5f8060408385031215612d71575f80fd5b612d7a83612b84565b9150612d8860208401612b84565b90509250929050565b8015158114612d9e575f80fd5b50565b5f60208284031215612db1575f80fd5b8135612ca481612d91565b5f8060408385031215612dcd575f80fd5b612dd683612b84565b91506020830135612de681612d91565b809150509250929050565b600181811c90821680612e0557607f821691505b602082108103612e2357634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176109ed576109ed612e5e565b634e487b7160e01b5f52601260045260245ffd5b5f82612eab57612eab612e89565b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60018201612ed557612ed5612e5e565b5060010190565b6001600160401b03818116838216019080821115612efc57612efc612e5e565b5092915050565b600181815b80851115612f3d57815f1904821115612f2357612f23612e5e565b80851615612f3057918102915b93841c9390800290612f08565b509250929050565b5f82612f53575060016109ed565b81612f5f57505f6109ed565b8160018114612f755760028114612f7f57612f9b565b60019150506109ed565b60ff841115612f9057612f90612e5e565b50506001821b6109ed565b5060208310610133831016604e8410600b8410161715612fbe575081810a6109ed565b612fc88383612f03565b805f1904821115612fdb57612fdb612e5e565b029392505050565b5f612ca460ff841683612f45565b808201808211156109ed576109ed612e5e565b5f60208284031215613014575f80fd5b5051919050565b818103818111156109ed576109ed612e5e565b6001600160801b0381811683821602808216919082811461305157613051612e5e565b505092915050565b5f6001600160801b038084168061307257613072612e89565b92169190910492915050565b6001600160501b03818116838216019080821115612efc57612efc612e5e565b5f602082840312156130ae575f80fd5b8151612ca481612d91565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156131075784516001600160a01b0316835293830193918301916001016130e2565b50506001600160a01b03969096166060850152505050608001529392505050565b5f8251613139818460208701612b30565b919091019291505056fea2646970667358221220545f5ed9b84d45964fec67f0d05415b7bf820506a28bce3c1c79aac24f3781b664736f6c63430008140033

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.