ETH Price: $3,665.66 (+0.70%)

Token

ERC-20: Spades Finance (Spades)
 

Overview

Max Total Supply

10,000 Spades

Holders

0

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
5.206637124573553034 Spades

Value
$0.00
0x1205af871c8d2b526fb0a84d3c2f8fca47b84ac4
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:
SpadesProtocol

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
File 1 of 4 : SpadesProtocol.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/Strings.sol";

abstract contract Ownable {
    event OwnershipTransferred(address indexed user, address indexed newOwner);

    error Unauthorized();
    error InvalidOwner();

    address public owner;

    modifier onlyOwner() virtual {
        if (msg.sender != owner) revert Unauthorized();

        _;
    }

    constructor(address _owner) {
        if (_owner == address(0)) revert InvalidOwner();

        owner = _owner;

        emit OwnershipTransferred(address(0), _owner);
    }

    function transferOwnership(address _owner) public virtual onlyOwner {
        if (_owner == address(0)) revert InvalidOwner();

        owner = _owner;

        emit OwnershipTransferred(msg.sender, _owner);
    }

    function revokeOwnership() public virtual onlyOwner {
        owner = address(0);

        emit OwnershipTransferred(msg.sender, address(0));
    }
}

abstract contract ERC721Receiver {
    function onERC721Received(
        address,
        address,
        uint256,
        bytes calldata
    ) external virtual returns (bytes4) {
        return ERC721Receiver.onERC721Received.selector;
    }
}

abstract contract ERC404 is Ownable {
    // Events
    event ERC20Transfer(
        address indexed from,
        address indexed to,
        uint256 amount
    );
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 amount
    );
    event Transfer(
        address indexed from,
        address indexed to,
        uint256 indexed id
    );
    event ERC721Approval(
        address indexed owner,
        address indexed spender,
        uint256 indexed id
    );
    event ApprovalForAll(
        address indexed owner,
        address indexed operator,
        bool approved
    );

    struct NFTDetails {
        uint8 tokenType; // 1, 2, 3, 4, 5
    }

    uint8[] private types;
    uint256[] private rarityThresholds;

    // Errors
    error NotFound();
    error AlreadyExists();
    error InvalidRecipient();
    error InvalidSender();
    error UnsafeRecipient();

    // Metadata
    /// @dev Token name
    string public name;

    /// @dev Token symbol
    string public symbol;

    /// @dev Decimals for fractional representation
    uint8 public immutable decimals;

    /// @dev Total supply in fractionalized representation
    uint256 public immutable totalSupply;

    /// @dev Current mint counter, monotonically increasing to ensure accurate ownership
    uint256 public minted;

    // Mappings
    /// @dev Balance of user in fractional representation
    mapping(address => uint256) public balanceOf;

    /// @dev Allowance of user in fractional representation
    mapping(address => mapping(address => uint256)) public allowance;

    /// @dev Approval in native representaion
    mapping(uint256 => address) public getApproved;

    /// @dev Approval for all in native representation
    mapping(address => mapping(address => bool)) public isApprovedForAll;

    /// @dev Owner of id in native representation
    mapping(uint256 => address) internal _ownerOf;

    /// @dev Array of owned ids in native representation
    mapping(address => uint256[]) internal _owned;

    /// @dev Tracks indices for the _owned mapping
    mapping(uint256 => uint256) internal _ownedIndex;

    /// @dev Addresses whitelisted from minting / burning for gas savings (pairs, routers, etc)
    mapping(address => bool) public whitelist;
    mapping(address => bool) public minter;

    mapping(uint256 => NFTDetails) public nftDetails;

    mapping(address => bool) public burnWhitelist;

    bool private initialized = false;

    // Constructor
    constructor(
        string memory _name,
        string memory _symbol,
        uint8 _decimals,
        uint256 _totalNativeSupply,
        address _owner
    ) Ownable(_owner) {
        name = _name;
        symbol = _symbol;
        decimals = _decimals;
        totalSupply = _totalNativeSupply * (10 ** decimals);
        whitelist[_owner] = true;
        whitelist[address(0xC36442b4a4522E871399CD717aBDD847Ab11FE88)] = true;
    }

    function initializeTypesAndRarities() public onlyOwner {
        require(!initialized, "Already initialized.");

        types = [1, 2, 3, 4, 5];

        rarityThresholds = [5500, 3000, 1000, 460, 40];

        initialized = true;
    }

    function _getRandomType(
        uint256 _randomNumber
    ) private view returns (uint8) {
        uint256 rand = _randomNumber % 10000;
        uint256 cumulative = 0;
        for (uint8 i = 0; i < rarityThresholds.length; i++) {
            cumulative += rarityThresholds[i];
            if (rand < cumulative) {
                return types[i];
            }
        }
        return types[types.length - 1];
    }

    function _pseudoRandomNumber(
        uint256 _nonce
    ) private view returns (uint256) {
        return uint256(keccak256(abi.encodePacked(block.timestamp, _nonce)));
    }

    function getRandomTypeForMint(
        uint256 _nonce
    ) internal view returns (uint8) {
        uint256 randomNumber = _pseudoRandomNumber(_nonce);
        return _getRandomType(randomNumber);
    }

    function setWhitelist(address target, bool state) public onlyOwner {
        whitelist[target] = state;
    }

    function setNFTAllowedMinter(address target, bool state) public onlyOwner {
        minter[target] = state;
    }

    /// @notice Function to find owner of a given native token
    function ownerOf(uint256 id) public view virtual returns (address owner) {
        owner = _ownerOf[id];

        if (owner == address(0)) {
            revert NotFound();
        }
    }

    /// @notice tokenURI must be implemented by child contract
    function tokenURI(uint256 id) public view virtual returns (string memory);

    /// @notice Function for token approvals
    /// @dev This function assumes id / native if amount less than or equal to current max id
    function approve(
        address spender,
        uint256 amountOrId
    ) public virtual returns (bool) {
        if (amountOrId <= minted && amountOrId > 0) {
            address owner = _ownerOf[amountOrId];

            if (msg.sender != owner && !isApprovedForAll[owner][msg.sender]) {
                revert Unauthorized();
            }

            getApproved[amountOrId] = spender;

            emit Approval(owner, spender, amountOrId);
        } else {
            allowance[msg.sender][spender] = amountOrId;

            emit Approval(msg.sender, spender, amountOrId);
        }

        return true;
    }

    function addToBurnWhitelist(address _address) external onlyOwner {
        burnWhitelist[_address] = true;
    }

    function removeFromBurnWhitelist(address _address) external onlyOwner {
        burnWhitelist[_address] = false;
    }

    function customBurn() external {
        require(burnWhitelist[msg.sender], "Not authorized to burn");
        _burn(msg.sender);
    }

    /// @notice Function native approvals
    function setApprovalForAll(address operator, bool approved) public virtual {
        isApprovedForAll[msg.sender][operator] = approved;

        emit ApprovalForAll(msg.sender, operator, approved);
    }

    /// @notice Function for mixed transfers
    /// @dev This function assumes id / native if amount less than or equal to current max id
    function transferFrom(
        address from,
        address to,
        uint256 amountOrId
    ) public virtual {
        if (amountOrId <= minted) {
            if (from != _ownerOf[amountOrId]) {
                revert InvalidSender();
            }

            if (to == address(0)) {
                revert InvalidRecipient();
            }

            if (
                msg.sender != from &&
                !isApprovedForAll[from][msg.sender] &&
                msg.sender != getApproved[amountOrId]
            ) {
                revert Unauthorized();
            }

            balanceOf[from] -= _getUnit();

            unchecked {
                balanceOf[to] += _getUnit();
            }

            _ownerOf[amountOrId] = to;
            delete getApproved[amountOrId];

            // update _owned for sender
            uint256 updatedId = _owned[from][_owned[from].length - 1];
            _owned[from][_ownedIndex[amountOrId]] = updatedId;
            // pop
            _owned[from].pop();
            // update index for the moved id
            _ownedIndex[updatedId] = _ownedIndex[amountOrId];
            // push token to to owned
            _owned[to].push(amountOrId);
            // update index for to owned
            _ownedIndex[amountOrId] = _owned[to].length - 1;

            emit Transfer(from, to, amountOrId);
            emit ERC20Transfer(from, to, _getUnit());
        } else {
            uint256 allowed = allowance[from][msg.sender];

            if (allowed != type(uint256).max)
                allowance[from][msg.sender] = allowed - amountOrId;

            _transfer(from, to, amountOrId);
        }
    }

    /// @notice Function for fractional transfers
    function transfer(
        address to,
        uint256 amount
    ) public virtual returns (bool) {
        return _transfer(msg.sender, to, amount);
    }

    /// @notice Function for native transfers with contract support
    function safeTransferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        transferFrom(from, to, id);

        if (
            to.code.length != 0 &&
            ERC721Receiver(to).onERC721Received(msg.sender, from, id, "") !=
            ERC721Receiver.onERC721Received.selector
        ) {
            revert UnsafeRecipient();
        }
    }

    /// @notice Function for native transfers with contract support and callback data
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        bytes calldata data
    ) public virtual {
        transferFrom(from, to, id);

        if (
            to.code.length != 0 &&
            ERC721Receiver(to).onERC721Received(msg.sender, from, id, data) !=
            ERC721Receiver.onERC721Received.selector
        ) {
            revert UnsafeRecipient();
        }
    }

    function checkburns(address user, uint256 finalTokenBalance) internal {
        uint256 currentNFTs = _owned[user].length;

        if (finalTokenBalance < currentNFTs) {
            uint256 nftsToBurn = currentNFTs - finalTokenBalance;
            for (uint256 i = 0; i < nftsToBurn; i++) {
                _burn(user);
            }
        }
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal returns (bool) {
        require(balanceOf[from] >= amount, "Insufficient balance");

        balanceOf[from] -= amount;
        unchecked {
            balanceOf[to] += amount;
        }

        if (!whitelist[from]) {
            uint256 fromFinalWholeTokens = balanceOf[from] / (10 ** decimals);
            checkburns(from, fromFinalWholeTokens);
        }

        if (!whitelist[to] && minter[from]) {
            uint256 wholeTokens = amount / (10 ** decimals);
            for (uint256 i = 0; i < wholeTokens; i++) {
                _mint(to);
            }
        }

        emit ERC20Transfer(from, to, amount);
        return true;
    }

    // Internal utility logic
    function _getUnit() internal view returns (uint256) {
        return 10 ** decimals;
    }

    function _mint(address to) internal {
        require(to != address(0), "InvalidRecipient");

        unchecked {
            minted++;
        }

        uint256 id = minted;
        require(_ownerOf[id] == address(0), "AlreadyExists");

        uint8 nftType = getRandomTypeForMint(id);

        nftDetails[id].tokenType = nftType;
        _ownerOf[id] = to;

        _owned[to].push(id);
        _ownedIndex[id] = _owned[to].length - 1;

        emit Transfer(address(0), to, id);
    }

    function _burn(address from) internal virtual {
        if (from == address(0)) {
            revert InvalidSender();
        }

        uint256 id = _owned[from][_owned[from].length - 1];
        _owned[from].pop();
        delete _ownedIndex[id];
        delete _ownerOf[id];
        delete getApproved[id];

        emit Transfer(from, address(0), id);
    }

    function getNFTDetails(
        uint256 tokenId
    ) public view returns (uint8 tokenType) {
        require(
            _ownerOf[tokenId] != address(0),
            "ERC404: Token does not exist"
        );
        return nftDetails[tokenId].tokenType;
    }

    function _setNameSymbol(
        string memory _name,
        string memory _symbol
    ) internal {
        name = _name;
        symbol = _symbol;
    }
}

contract SpadesProtocol is ERC404 {
    using Strings for uint256;

    string public baseTokenURI;

    constructor(
        address _owner
    ) ERC404("Spades Finance", "Spades", 18, 10000, _owner) {
        balanceOf[_owner] = 10000 * 10 ** 18;
    }

    function setTokenURI(string memory _tokenURI) public onlyOwner {
        baseTokenURI = _tokenURI;
    }

    function tokenURI(
        uint256 tokenId
    ) public view override returns (string memory) {
        require(
            _ownerOf[tokenId] != address(0),
            "ERC404: URI query for nonexistent token"
        );

        uint8 nftType = nftDetails[tokenId].tokenType;
        string memory typeAsString = Strings.toString(nftType);
        string memory uri = string(
            abi.encodePacked(baseTokenURI, typeAsString, ".json")
        );

        return uri;
    }

    function setNameSymbol(
        string memory _name,
        string memory _symbol
    ) public onlyOwner {
        _setNameSymbol(_name, _symbol);
    }
}

File 2 of 4 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
     * denominator == 0.
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
     * Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.
            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

File 3 of 4 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 4 of 4 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;

import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant HEX_DIGITS = "0123456789abcdef";
    uint8 private constant ADDRESS_LENGTH = 20;

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        uint256 localValue = value;
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = HEX_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
     * representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyExists","type":"error"},{"inputs":[],"name":"InvalidOwner","type":"error"},{"inputs":[],"name":"InvalidRecipient","type":"error"},{"inputs":[],"name":"InvalidSender","type":"error"},{"inputs":[],"name":"NotFound","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"inputs":[],"name":"UnsafeRecipient","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","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":"amount","type":"uint256"}],"name":"ERC20Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"ERC721Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addToBurnWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amountOrId","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"burnWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"customBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getNFTDetails","outputs":[{"internalType":"uint8","name":"tokenType","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initializeTypesAndRarities","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nftDetails","outputs":[{"internalType":"uint8","name":"tokenType","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeFromBurnWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revokeOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setNFTAllowedMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"setNameSymbol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amountOrId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60c06040526000601160006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b5060405162004fa038038062004fa08339818101604052810190620000529190620003a7565b6040518060400160405280600e81526020017f5370616465732046696e616e63650000000000000000000000000000000000008152506040518060400160405280600681526020017f537061646573000000000000000000000000000000000000000000000000000081525060126127108480600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036200012c576040517f49e27cff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3508460039081620001d9919062000653565b508360049081620001eb919062000653565b508260ff1660808160ff1681525050608051600a6200020b9190620008ca565b826200021891906200091b565b60a081815250506001600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600d600073c36442b4a4522e871399cd717abdd847ab11fe8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050505069021e19e0c9bab2400000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505062000966565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200036f8262000342565b9050919050565b620003818162000362565b81146200038d57600080fd5b50565b600081519050620003a18162000376565b92915050565b600060208284031215620003c057620003bf6200033d565b5b6000620003d08482850162000390565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200045b57607f821691505b60208210810362000471576200047062000413565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004db7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200049c565b620004e786836200049c565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005346200052e6200052884620004ff565b62000509565b620004ff565b9050919050565b6000819050919050565b620005508362000513565b620005686200055f826200053b565b848454620004a9565b825550505050565b600090565b6200057f62000570565b6200058c81848462000545565b505050565b5b81811015620005b457620005a860008262000575565b60018101905062000592565b5050565b601f8211156200060357620005cd8162000477565b620005d8846200048c565b81016020851015620005e8578190505b62000600620005f7856200048c565b83018262000591565b50505b505050565b600082821c905092915050565b6000620006286000198460080262000608565b1980831691505092915050565b600062000643838362000615565b9150826002028217905092915050565b6200065e82620003d9565b67ffffffffffffffff8111156200067a5762000679620003e4565b5b62000686825462000442565b62000693828285620005b8565b600060209050601f831160018114620006cb5760008415620006b6578287015190505b620006c2858262000635565b86555062000732565b601f198416620006db8662000477565b60005b828110156200070557848901518255600182019150602085019450602081019050620006de565b8683101562000725578489015162000721601f89168262000615565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115620007c857808604811115620007a0576200079f6200073a565b5b6001851615620007b05780820291505b8081029050620007c08562000769565b945062000780565b94509492505050565b600082620007e35760019050620008b6565b81620007f35760009050620008b6565b81600181146200080c576002811462000817576200084d565b6001915050620008b6565b60ff8411156200082c576200082b6200073a565b5b8360020a9150848211156200084657620008456200073a565b5b50620008b6565b5060208310610133831016604e8410600b8410161715620008875782820a9050838111156200088157620008806200073a565b5b620008b6565b62000896848484600162000776565b92509050818404811115620008b057620008af6200073a565b5b81810290505b9392505050565b600060ff82169050919050565b6000620008d782620004ff565b9150620008e483620008bd565b9250620009137fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484620007d1565b905092915050565b60006200092882620004ff565b91506200093583620004ff565b92508282026200094581620004ff565b915082820484148315176200095f576200095e6200073a565b5b5092915050565b60805160a0516145ff620009a16000396000610a5b0152600081816115990152818161249601528181612642015261277101526145ff6000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c80637f768f9a1161011a578063b88d4fde116100ad578063e0df5b6f1161007c578063e0df5b6f14610611578063e985e9c51461062d578063f16df2581461065d578063f2fde38b14610667578063fdb41fd81461068357610206565b8063b88d4fde14610577578063c87b56dd14610593578063d547cfb7146105c3578063dd62ed3e146105e157610206565b80639b19251a116100e95780639b19251a146104f1578063a22cb46514610521578063a874fb3a1461053d578063a9059cbb1461054757610206565b80637f768f9a1461045557806382260f35146104855780638da5cb5b146104b557806395d89b41146104d357610206565b8063313ce5671161019d578063504334c21161016c578063504334c21461038d57806353d6fd59146103a95780636352211e146103c557806370a08231146103f55780637d4cd8471461042557610206565b8063313ce567146103055780633dd08c381461032357806342842e0e146103535780634f02c4201461036f57610206565b80631b8e5af6116101d95780631b8e5af6146102a75780631eb052b2146102c357806323b872dd146102df5780632b968958146102fb57610206565b806306fdde031461020b578063081812fc14610229578063095ea7b31461025957806318160ddd14610289575b600080fd5b61021361069f565b6040516102209190613352565b60405180910390f35b610243600480360381019061023e91906133be565b61072d565b604051610250919061342c565b60405180910390f35b610273600480360381019061026e9190613473565b610760565b60405161028091906134ce565b60405180910390f35b610291610a59565b60405161029e91906134f8565b60405180910390f35b6102c160048036038101906102bc9190613513565b610a7d565b005b6102dd60048036038101906102d89190613513565b610b5d565b005b6102f960048036038101906102f49190613540565b610c3d565b005b610303611474565b005b61030d611597565b60405161031a91906135af565b60405180910390f35b61033d60048036038101906103389190613513565b6115bb565b60405161034a91906134ce565b60405180910390f35b61036d60048036038101906103689190613540565b6115db565b005b61037761170e565b60405161038491906134f8565b60405180910390f35b6103a760048036038101906103a291906136ff565b611714565b005b6103c360048036038101906103be91906137a3565b6117a7565b005b6103df60048036038101906103da91906133be565b611887565b6040516103ec919061342c565b60405180910390f35b61040f600480360381019061040a9190613513565b61192a565b60405161041c91906134f8565b60405180910390f35b61043f600480360381019061043a91906133be565b611942565b60405161044c91906135af565b60405180910390f35b61046f600480360381019061046a9190613513565b61196d565b60405161047c91906134ce565b60405180910390f35b61049f600480360381019061049a91906133be565b61198d565b6040516104ac91906135af565b60405180910390f35b6104bd611a5b565b6040516104ca919061342c565b60405180910390f35b6104db611a7f565b6040516104e89190613352565b60405180910390f35b61050b60048036038101906105069190613513565b611b0d565b60405161051891906134ce565b60405180910390f35b61053b600480360381019061053691906137a3565b611b2d565b005b610545611c2a565b005b610561600480360381019061055c9190613473565b611cc1565b60405161056e91906134ce565b60405180910390f35b610591600480360381019061058c9190613843565b611cd6565b005b6105ad60048036038101906105a891906133be565b611e0f565b6040516105ba9190613352565b60405180910390f35b6105cb611f1d565b6040516105d89190613352565b60405180910390f35b6105fb60048036038101906105f691906138cb565b611fab565b60405161060891906134f8565b60405180910390f35b61062b6004803603810190610626919061390b565b611fd0565b005b610647600480360381019061064291906138cb565b612068565b60405161065491906134ce565b60405180910390f35b610665612097565b005b610681600480360381019061067c9190613513565b61222a565b005b61069d600480360381019061069891906137a3565b6123b2565b005b600380546106ac90613983565b80601f01602080910402602001604051908101604052809291908181526020018280546106d890613983565b80156107255780601f106106fa57610100808354040283529160200191610725565b820191906000526020600020905b81548152906001019060200180831161070857829003601f168201915b505050505081565b60086020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060055482111580156107745750600082115b15610968576000600a600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141580156108745750600960008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156108ab576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b836008600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258560405161095a91906134f8565b60405180910390a350610a4f565b81600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610a4691906134f8565b60405180910390a35b6001905092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b02576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610be2576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600554811161132c57600a600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610cde576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d44576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015610e075750600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b8015610e7257506008600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15610ea9576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610eb1612492565b600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610eff91906139e3565b92505081905550610f0e612492565b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555081600a600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506008600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061107291906139e3565b8154811061108357611082613a17565b5b9060005260206000200154905080600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600c600085815260200190815260200160002054815481106110f5576110f4613a17565b5b9060005260206000200181905550600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548061115257611151613a46565b5b60019003818190600052602060002001600090559055600c600083815260200190815260200160002054600c600083815260200190815260200160002081905550600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208290806001815401808255809150506001900390600052602060002001600090919091909150556001600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061124891906139e3565b600c600084815260200190815260200160002081905550818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487611311612492565b60405161131e91906134f8565b60405180910390a35061146f565b6000600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146114615781816113e091906139e3565b600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b61146c8484846124c6565b50505b505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114f9576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3565b7f000000000000000000000000000000000000000000000000000000000000000081565b600e6020528060005260406000206000915054906101000a900460ff1681565b6115e6838383610c3d565b60008273ffffffffffffffffffffffffffffffffffffffff163b141580156116d2575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b815260040161166d93929190613aac565b6020604051808303816000875af115801561168c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b09190613b4e565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b15611709576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b60055481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611799576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117a38282612843565b5050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461182c576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600a600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611925576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60066020528060005260406000206000915090505481565b600f6020528060005260406000206000915090508060000160009054906101000a900460ff16905081565b60106020528060005260406000206000915054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff16600a600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611a30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2790613bc7565b60405180910390fd5b600f600083815260200190815260200160002060000160009054906101000a900460ff169050919050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60048054611a8c90613983565b80601f0160208091040260200160405190810160405280929190818152602001828054611ab890613983565b8015611b055780601f10611ada57610100808354040283529160200191611b05565b820191906000526020600020905b815481529060010190602001808311611ae857829003601f168201915b505050505081565b600d6020528060005260406000206000915054906101000a900460ff1681565b80600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c1e91906134ce565b60405180910390a35050565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cad90613c33565b60405180910390fd5b611cbf33612867565b565b6000611cce3384846124c6565b905092915050565b611ce1858585610c3d565b60008473ffffffffffffffffffffffffffffffffffffffff163b14158015611dd1575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b8152600401611d6c959493929190613c80565b6020604051808303816000875af1158015611d8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611daf9190613b4e565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b15611e08576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b6060600073ffffffffffffffffffffffffffffffffffffffff16600a600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611eb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eaa90613d40565b60405180910390fd5b6000600f600084815260200190815260200160002060000160009054906101000a900460ff1690506000611ee98260ff16612ac3565b90506000601282604051602001611f01929190613e80565b6040516020818303038152906040529050809350505050919050565b60128054611f2a90613983565b80601f0160208091040260200160405190810160405280929190818152602001828054611f5690613983565b8015611fa35780601f10611f7857610100808354040283529160200191611fa3565b820191906000526020600020905b815481529060010190602001808311611f8657829003601f168201915b505050505081565b6007602052816000526040600020602052806000526040600020600091509150505481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612055576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601290816120649190614046565b5050565b60096020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461211c576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601160009054906101000a900460ff161561216c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216390614164565b60405180910390fd5b6040518060a00160405280600160ff168152602001600260ff168152602001600360ff168152602001600460ff168152602001600560ff1681525060019060056121b79291906131ab565b506040518060a0016040528061157c61ffff168152602001610bb861ffff1681526020016103e861ffff1681526020016101cc61ffff168152602001602861ffff16815250600290600561220c929190613252565b506001601160006101000a81548160ff021916908315150217905550565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146122af576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612315576040517f49e27cff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612437576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60007f0000000000000000000000000000000000000000000000000000000000000000600a6124c191906142b7565b905090565b600081600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101561254a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125419061434e565b60405180910390fd5b81600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461259991906139e3565b9250508190555081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166126c55760007f0000000000000000000000000000000000000000000000000000000000000000600a61266d91906142b7565b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126b7919061439d565b90506126c38582612b91565b505b600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156127685750600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156127d35760007f0000000000000000000000000000000000000000000000000000000000000000600a61279c91906142b7565b836127a7919061439d565b905060005b818110156127d0576127bd85612c1f565b80806127c8906143ce565b9150506127ac565b50505b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e0314878460405161283091906134f8565b60405180910390a3600190509392505050565b81600390816128529190614046565b5080600490816128629190614046565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036128cd576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061295d91906139e3565b8154811061296e5761296d613a17565b5b90600052602060002001549050600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806129ca576129c9613a46565b5b60019003818190600052602060002001600090559055600c600082815260200190815260200160002060009055600a600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556008600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905580600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b606060006001612ad284612f04565b01905060008167ffffffffffffffff811115612af157612af06135d4565b5b6040519080825280601f01601f191660200182016040528015612b235781602001600182028036833780820191505090505b509050600082602001820190505b600115612b86578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612b7a57612b7961436e565b5b04945060008503612b31575b819350505050919050565b6000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050905080821015612c1a5760008282612bee91906139e3565b905060005b81811015612c1757612c0485612867565b8080612c0f906143ce565b915050612bf3565b50505b505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8590614462565b60405180910390fd5b60056000815480929190600101919050555060006005549050600073ffffffffffffffffffffffffffffffffffffffff16600a600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d40906144ce565b60405180910390fd5b6000612d5482613057565b905080600f600084815260200190815260200160002060000160006101000a81548160ff021916908360ff16021790555082600a600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208290806001815401808255809150506001900390600052602060002001600090919091909150556001600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050612e8c91906139e3565b600c600084815260200190815260200160002081905550818373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612f62577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612f5857612f5761436e565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612f9f576d04ee2d6d415b85acef81000000008381612f9557612f9461436e565b5b0492506020810190505b662386f26fc100008310612fce57662386f26fc100008381612fc457612fc361436e565b5b0492506010810190505b6305f5e1008310612ff7576305f5e1008381612fed57612fec61436e565b5b0492506008810190505b612710831061301c5761271083816130125761301161436e565b5b0492506004810190505b6064831061303f57606483816130355761303461436e565b5b0492506002810190505b600a831061304e576001810190505b80915050919050565b60008061306383613076565b905061306e816130ab565b915050919050565b6000428260405160200161308b92919061450f565b6040516020818303038152906040528051906020012060001c9050919050565b600080612710836130bc919061453b565b90506000805b6002805490508160ff16101561315d5760028160ff16815481106130e9576130e8613a17565b5b9060005260206000200154826130ff919061456c565b91508183101561314a5760018160ff16815481106131205761311f613a17565b5b90600052602060002090602091828204019190069054906101000a900460ff1693505050506131a6565b8080613155906145a0565b9150506130c2565b50600180808054905061317091906139e3565b8154811061318157613180613a17565b5b90600052602060002090602091828204019190069054906101000a900460ff16925050505b919050565b82805482825590600052602060002090601f016020900481019282156132415791602002820160005b8382111561321257835183826101000a81548160ff021916908360ff16021790555092602001926001016020816000010492830192600103026131d4565b801561323f5782816101000a81549060ff0219169055600101602081600001049283019260010302613212565b505b50905061324e91906132a5565b5090565b828054828255906000526020600020908101928215613294579160200282015b82811115613293578251829061ffff16905591602001919060010190613272565b5b5090506132a191906132a5565b5090565b5b808211156132be5760008160009055506001016132a6565b5090565b600081519050919050565b600082825260208201905092915050565b60005b838110156132fc5780820151818401526020810190506132e1565b60008484015250505050565b6000601f19601f8301169050919050565b6000613324826132c2565b61332e81856132cd565b935061333e8185602086016132de565b61334781613308565b840191505092915050565b6000602082019050818103600083015261336c8184613319565b905092915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61339b81613388565b81146133a657600080fd5b50565b6000813590506133b881613392565b92915050565b6000602082840312156133d4576133d361337e565b5b60006133e2848285016133a9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613416826133eb565b9050919050565b6134268161340b565b82525050565b6000602082019050613441600083018461341d565b92915050565b6134508161340b565b811461345b57600080fd5b50565b60008135905061346d81613447565b92915050565b6000806040838503121561348a5761348961337e565b5b60006134988582860161345e565b92505060206134a9858286016133a9565b9150509250929050565b60008115159050919050565b6134c8816134b3565b82525050565b60006020820190506134e360008301846134bf565b92915050565b6134f281613388565b82525050565b600060208201905061350d60008301846134e9565b92915050565b6000602082840312156135295761352861337e565b5b60006135378482850161345e565b91505092915050565b6000806000606084860312156135595761355861337e565b5b60006135678682870161345e565b93505060206135788682870161345e565b9250506040613589868287016133a9565b9150509250925092565b600060ff82169050919050565b6135a981613593565b82525050565b60006020820190506135c460008301846135a0565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61360c82613308565b810181811067ffffffffffffffff8211171561362b5761362a6135d4565b5b80604052505050565b600061363e613374565b905061364a8282613603565b919050565b600067ffffffffffffffff82111561366a576136696135d4565b5b61367382613308565b9050602081019050919050565b82818337600083830152505050565b60006136a261369d8461364f565b613634565b9050828152602081018484840111156136be576136bd6135cf565b5b6136c9848285613680565b509392505050565b600082601f8301126136e6576136e56135ca565b5b81356136f684826020860161368f565b91505092915050565b600080604083850312156137165761371561337e565b5b600083013567ffffffffffffffff81111561373457613733613383565b5b613740858286016136d1565b925050602083013567ffffffffffffffff81111561376157613760613383565b5b61376d858286016136d1565b9150509250929050565b613780816134b3565b811461378b57600080fd5b50565b60008135905061379d81613777565b92915050565b600080604083850312156137ba576137b961337e565b5b60006137c88582860161345e565b92505060206137d98582860161378e565b9150509250929050565b600080fd5b600080fd5b60008083601f840112613803576138026135ca565b5b8235905067ffffffffffffffff8111156138205761381f6137e3565b5b60208301915083600182028301111561383c5761383b6137e8565b5b9250929050565b60008060008060006080868803121561385f5761385e61337e565b5b600061386d8882890161345e565b955050602061387e8882890161345e565b945050604061388f888289016133a9565b935050606086013567ffffffffffffffff8111156138b0576138af613383565b5b6138bc888289016137ed565b92509250509295509295909350565b600080604083850312156138e2576138e161337e565b5b60006138f08582860161345e565b92505060206139018582860161345e565b9150509250929050565b6000602082840312156139215761392061337e565b5b600082013567ffffffffffffffff81111561393f5761393e613383565b5b61394b848285016136d1565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061399b57607f821691505b6020821081036139ae576139ad613954565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006139ee82613388565b91506139f983613388565b9250828203905081811115613a1157613a106139b4565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600082825260208201905092915050565b50565b6000613a96600083613a75565b9150613aa182613a86565b600082019050919050565b6000608082019050613ac1600083018661341d565b613ace602083018561341d565b613adb60408301846134e9565b8181036060830152613aec81613a89565b9050949350505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b2b81613af6565b8114613b3657600080fd5b50565b600081519050613b4881613b22565b92915050565b600060208284031215613b6457613b6361337e565b5b6000613b7284828501613b39565b91505092915050565b7f4552433430343a20546f6b656e20646f6573206e6f7420657869737400000000600082015250565b6000613bb1601c836132cd565b9150613bbc82613b7b565b602082019050919050565b60006020820190508181036000830152613be081613ba4565b9050919050565b7f4e6f7420617574686f72697a656420746f206275726e00000000000000000000600082015250565b6000613c1d6016836132cd565b9150613c2882613be7565b602082019050919050565b60006020820190508181036000830152613c4c81613c10565b9050919050565b6000613c5f8385613a75565b9350613c6c838584613680565b613c7583613308565b840190509392505050565b6000608082019050613c95600083018861341d565b613ca2602083018761341d565b613caf60408301866134e9565b8181036060830152613cc2818486613c53565b90509695505050505050565b7f4552433430343a2055524920717565727920666f72206e6f6e6578697374656e60008201527f7420746f6b656e00000000000000000000000000000000000000000000000000602082015250565b6000613d2a6027836132cd565b9150613d3582613cce565b604082019050919050565b60006020820190508181036000830152613d5981613d1d565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613d8d81613983565b613d978186613d60565b94506001821660008114613db25760018114613dc757613dfa565b60ff1983168652811515820286019350613dfa565b613dd085613d6b565b60005b83811015613df257815481890152600182019150602081019050613dd3565b838801955050505b50505092915050565b6000613e0e826132c2565b613e188185613d60565b9350613e288185602086016132de565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613e6a600583613d60565b9150613e7582613e34565b600582019050919050565b6000613e8c8285613d80565b9150613e988284613e03565b9150613ea382613e5d565b91508190509392505050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613efc7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613ebf565b613f068683613ebf565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613f43613f3e613f3984613388565b613f1e565b613388565b9050919050565b6000819050919050565b613f5d83613f28565b613f71613f6982613f4a565b848454613ecc565b825550505050565b600090565b613f86613f79565b613f91818484613f54565b505050565b5b81811015613fb557613faa600082613f7e565b600181019050613f97565b5050565b601f821115613ffa57613fcb81613d6b565b613fd484613eaf565b81016020851015613fe3578190505b613ff7613fef85613eaf565b830182613f96565b50505b505050565b600082821c905092915050565b600061401d60001984600802613fff565b1980831691505092915050565b6000614036838361400c565b9150826002028217905092915050565b61404f826132c2565b67ffffffffffffffff811115614068576140676135d4565b5b6140728254613983565b61407d828285613fb9565b600060209050601f8311600181146140b0576000841561409e578287015190505b6140a8858261402a565b865550614110565b601f1984166140be86613d6b565b60005b828110156140e6578489015182556001820191506020850194506020810190506140c1565b8683101561410357848901516140ff601f89168261400c565b8355505b6001600288020188555050505b505050505050565b7f416c726561647920696e697469616c697a65642e000000000000000000000000600082015250565b600061414e6014836132cd565b915061415982614118565b602082019050919050565b6000602082019050818103600083015261417d81614141565b9050919050565b60008160011c9050919050565b6000808291508390505b60018511156141db578086048111156141b7576141b66139b4565b5b60018516156141c65780820291505b80810290506141d485614184565b945061419b565b94509492505050565b6000826141f457600190506142b0565b8161420257600090506142b0565b8160018114614218576002811461422257614251565b60019150506142b0565b60ff841115614234576142336139b4565b5b8360020a91508482111561424b5761424a6139b4565b5b506142b0565b5060208310610133831016604e8410600b84101617156142865782820a905083811115614281576142806139b4565b5b6142b0565b6142938484846001614191565b925090508184048111156142aa576142a96139b4565b5b81810290505b9392505050565b60006142c282613388565b91506142cd83613593565b92506142fa7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846141e4565b905092915050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b60006143386014836132cd565b915061434382614302565b602082019050919050565b600060208201905081810360008301526143678161432b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006143a882613388565b91506143b383613388565b9250826143c3576143c261436e565b5b828204905092915050565b60006143d982613388565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361440b5761440a6139b4565b5b600182019050919050565b7f496e76616c6964526563697069656e7400000000000000000000000000000000600082015250565b600061444c6010836132cd565b915061445782614416565b602082019050919050565b6000602082019050818103600083015261447b8161443f565b9050919050565b7f416c726561647945786973747300000000000000000000000000000000000000600082015250565b60006144b8600d836132cd565b91506144c382614482565b602082019050919050565b600060208201905081810360008301526144e7816144ab565b9050919050565b6000819050919050565b61450961450482613388565b6144ee565b82525050565b600061451b82856144f8565b60208201915061452b82846144f8565b6020820191508190509392505050565b600061454682613388565b915061455183613388565b9250826145615761456061436e565b5b828206905092915050565b600061457782613388565b915061458283613388565b925082820190508082111561459a576145996139b4565b5b92915050565b60006145ab82613593565b915060ff82036145be576145bd6139b4565b5b60018201905091905056fea26469706673582212206ec41a8924d7bb86546d67605c0a93742bd48f5ef830f5d3ee4c750fa4c07d6964736f6c63430008140033000000000000000000000000a8d08643a92d620cfd0721a4cd55e5b4af48efd8

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102065760003560e01c80637f768f9a1161011a578063b88d4fde116100ad578063e0df5b6f1161007c578063e0df5b6f14610611578063e985e9c51461062d578063f16df2581461065d578063f2fde38b14610667578063fdb41fd81461068357610206565b8063b88d4fde14610577578063c87b56dd14610593578063d547cfb7146105c3578063dd62ed3e146105e157610206565b80639b19251a116100e95780639b19251a146104f1578063a22cb46514610521578063a874fb3a1461053d578063a9059cbb1461054757610206565b80637f768f9a1461045557806382260f35146104855780638da5cb5b146104b557806395d89b41146104d357610206565b8063313ce5671161019d578063504334c21161016c578063504334c21461038d57806353d6fd59146103a95780636352211e146103c557806370a08231146103f55780637d4cd8471461042557610206565b8063313ce567146103055780633dd08c381461032357806342842e0e146103535780634f02c4201461036f57610206565b80631b8e5af6116101d95780631b8e5af6146102a75780631eb052b2146102c357806323b872dd146102df5780632b968958146102fb57610206565b806306fdde031461020b578063081812fc14610229578063095ea7b31461025957806318160ddd14610289575b600080fd5b61021361069f565b6040516102209190613352565b60405180910390f35b610243600480360381019061023e91906133be565b61072d565b604051610250919061342c565b60405180910390f35b610273600480360381019061026e9190613473565b610760565b60405161028091906134ce565b60405180910390f35b610291610a59565b60405161029e91906134f8565b60405180910390f35b6102c160048036038101906102bc9190613513565b610a7d565b005b6102dd60048036038101906102d89190613513565b610b5d565b005b6102f960048036038101906102f49190613540565b610c3d565b005b610303611474565b005b61030d611597565b60405161031a91906135af565b60405180910390f35b61033d60048036038101906103389190613513565b6115bb565b60405161034a91906134ce565b60405180910390f35b61036d60048036038101906103689190613540565b6115db565b005b61037761170e565b60405161038491906134f8565b60405180910390f35b6103a760048036038101906103a291906136ff565b611714565b005b6103c360048036038101906103be91906137a3565b6117a7565b005b6103df60048036038101906103da91906133be565b611887565b6040516103ec919061342c565b60405180910390f35b61040f600480360381019061040a9190613513565b61192a565b60405161041c91906134f8565b60405180910390f35b61043f600480360381019061043a91906133be565b611942565b60405161044c91906135af565b60405180910390f35b61046f600480360381019061046a9190613513565b61196d565b60405161047c91906134ce565b60405180910390f35b61049f600480360381019061049a91906133be565b61198d565b6040516104ac91906135af565b60405180910390f35b6104bd611a5b565b6040516104ca919061342c565b60405180910390f35b6104db611a7f565b6040516104e89190613352565b60405180910390f35b61050b60048036038101906105069190613513565b611b0d565b60405161051891906134ce565b60405180910390f35b61053b600480360381019061053691906137a3565b611b2d565b005b610545611c2a565b005b610561600480360381019061055c9190613473565b611cc1565b60405161056e91906134ce565b60405180910390f35b610591600480360381019061058c9190613843565b611cd6565b005b6105ad60048036038101906105a891906133be565b611e0f565b6040516105ba9190613352565b60405180910390f35b6105cb611f1d565b6040516105d89190613352565b60405180910390f35b6105fb60048036038101906105f691906138cb565b611fab565b60405161060891906134f8565b60405180910390f35b61062b6004803603810190610626919061390b565b611fd0565b005b610647600480360381019061064291906138cb565b612068565b60405161065491906134ce565b60405180910390f35b610665612097565b005b610681600480360381019061067c9190613513565b61222a565b005b61069d600480360381019061069891906137a3565b6123b2565b005b600380546106ac90613983565b80601f01602080910402602001604051908101604052809291908181526020018280546106d890613983565b80156107255780601f106106fa57610100808354040283529160200191610725565b820191906000526020600020905b81548152906001019060200180831161070857829003601f168201915b505050505081565b60086020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060055482111580156107745750600082115b15610968576000600a600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141580156108745750600960008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156108ab576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b836008600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258560405161095a91906134f8565b60405180910390a350610a4f565b81600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610a4691906134f8565b60405180910390a35b6001905092915050565b7f00000000000000000000000000000000000000000000021e19e0c9bab240000081565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b02576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610be2576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600554811161132c57600a600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610cde576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d44576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015610e075750600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b8015610e7257506008600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15610ea9576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610eb1612492565b600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610eff91906139e3565b92505081905550610f0e612492565b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555081600a600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506008600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061107291906139e3565b8154811061108357611082613a17565b5b9060005260206000200154905080600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600c600085815260200190815260200160002054815481106110f5576110f4613a17565b5b9060005260206000200181905550600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548061115257611151613a46565b5b60019003818190600052602060002001600090559055600c600083815260200190815260200160002054600c600083815260200190815260200160002081905550600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208290806001815401808255809150506001900390600052602060002001600090919091909150556001600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061124891906139e3565b600c600084815260200190815260200160002081905550818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487611311612492565b60405161131e91906134f8565b60405180910390a35061146f565b6000600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146114615781816113e091906139e3565b600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b61146c8484846124c6565b50505b505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114f9576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3565b7f000000000000000000000000000000000000000000000000000000000000001281565b600e6020528060005260406000206000915054906101000a900460ff1681565b6115e6838383610c3d565b60008273ffffffffffffffffffffffffffffffffffffffff163b141580156116d2575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b815260040161166d93929190613aac565b6020604051808303816000875af115801561168c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b09190613b4e565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b15611709576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b60055481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611799576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117a38282612843565b5050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461182c576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600a600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611925576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60066020528060005260406000206000915090505481565b600f6020528060005260406000206000915090508060000160009054906101000a900460ff16905081565b60106020528060005260406000206000915054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff16600a600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611a30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2790613bc7565b60405180910390fd5b600f600083815260200190815260200160002060000160009054906101000a900460ff169050919050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60048054611a8c90613983565b80601f0160208091040260200160405190810160405280929190818152602001828054611ab890613983565b8015611b055780601f10611ada57610100808354040283529160200191611b05565b820191906000526020600020905b815481529060010190602001808311611ae857829003601f168201915b505050505081565b600d6020528060005260406000206000915054906101000a900460ff1681565b80600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c1e91906134ce565b60405180910390a35050565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cad90613c33565b60405180910390fd5b611cbf33612867565b565b6000611cce3384846124c6565b905092915050565b611ce1858585610c3d565b60008473ffffffffffffffffffffffffffffffffffffffff163b14158015611dd1575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b8152600401611d6c959493929190613c80565b6020604051808303816000875af1158015611d8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611daf9190613b4e565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b15611e08576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b6060600073ffffffffffffffffffffffffffffffffffffffff16600a600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611eb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eaa90613d40565b60405180910390fd5b6000600f600084815260200190815260200160002060000160009054906101000a900460ff1690506000611ee98260ff16612ac3565b90506000601282604051602001611f01929190613e80565b6040516020818303038152906040529050809350505050919050565b60128054611f2a90613983565b80601f0160208091040260200160405190810160405280929190818152602001828054611f5690613983565b8015611fa35780601f10611f7857610100808354040283529160200191611fa3565b820191906000526020600020905b815481529060010190602001808311611f8657829003601f168201915b505050505081565b6007602052816000526040600020602052806000526040600020600091509150505481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612055576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601290816120649190614046565b5050565b60096020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461211c576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601160009054906101000a900460ff161561216c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216390614164565b60405180910390fd5b6040518060a00160405280600160ff168152602001600260ff168152602001600360ff168152602001600460ff168152602001600560ff1681525060019060056121b79291906131ab565b506040518060a0016040528061157c61ffff168152602001610bb861ffff1681526020016103e861ffff1681526020016101cc61ffff168152602001602861ffff16815250600290600561220c929190613252565b506001601160006101000a81548160ff021916908315150217905550565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146122af576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612315576040517f49e27cff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612437576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60007f0000000000000000000000000000000000000000000000000000000000000012600a6124c191906142b7565b905090565b600081600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101561254a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125419061434e565b60405180910390fd5b81600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461259991906139e3565b9250508190555081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166126c55760007f0000000000000000000000000000000000000000000000000000000000000012600a61266d91906142b7565b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126b7919061439d565b90506126c38582612b91565b505b600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156127685750600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156127d35760007f0000000000000000000000000000000000000000000000000000000000000012600a61279c91906142b7565b836127a7919061439d565b905060005b818110156127d0576127bd85612c1f565b80806127c8906143ce565b9150506127ac565b50505b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e0314878460405161283091906134f8565b60405180910390a3600190509392505050565b81600390816128529190614046565b5080600490816128629190614046565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036128cd576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061295d91906139e3565b8154811061296e5761296d613a17565b5b90600052602060002001549050600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806129ca576129c9613a46565b5b60019003818190600052602060002001600090559055600c600082815260200190815260200160002060009055600a600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556008600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905580600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b606060006001612ad284612f04565b01905060008167ffffffffffffffff811115612af157612af06135d4565b5b6040519080825280601f01601f191660200182016040528015612b235781602001600182028036833780820191505090505b509050600082602001820190505b600115612b86578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612b7a57612b7961436e565b5b04945060008503612b31575b819350505050919050565b6000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050905080821015612c1a5760008282612bee91906139e3565b905060005b81811015612c1757612c0485612867565b8080612c0f906143ce565b915050612bf3565b50505b505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8590614462565b60405180910390fd5b60056000815480929190600101919050555060006005549050600073ffffffffffffffffffffffffffffffffffffffff16600a600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d40906144ce565b60405180910390fd5b6000612d5482613057565b905080600f600084815260200190815260200160002060000160006101000a81548160ff021916908360ff16021790555082600a600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208290806001815401808255809150506001900390600052602060002001600090919091909150556001600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050612e8c91906139e3565b600c600084815260200190815260200160002081905550818373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612f62577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612f5857612f5761436e565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612f9f576d04ee2d6d415b85acef81000000008381612f9557612f9461436e565b5b0492506020810190505b662386f26fc100008310612fce57662386f26fc100008381612fc457612fc361436e565b5b0492506010810190505b6305f5e1008310612ff7576305f5e1008381612fed57612fec61436e565b5b0492506008810190505b612710831061301c5761271083816130125761301161436e565b5b0492506004810190505b6064831061303f57606483816130355761303461436e565b5b0492506002810190505b600a831061304e576001810190505b80915050919050565b60008061306383613076565b905061306e816130ab565b915050919050565b6000428260405160200161308b92919061450f565b6040516020818303038152906040528051906020012060001c9050919050565b600080612710836130bc919061453b565b90506000805b6002805490508160ff16101561315d5760028160ff16815481106130e9576130e8613a17565b5b9060005260206000200154826130ff919061456c565b91508183101561314a5760018160ff16815481106131205761311f613a17565b5b90600052602060002090602091828204019190069054906101000a900460ff1693505050506131a6565b8080613155906145a0565b9150506130c2565b50600180808054905061317091906139e3565b8154811061318157613180613a17565b5b90600052602060002090602091828204019190069054906101000a900460ff16925050505b919050565b82805482825590600052602060002090601f016020900481019282156132415791602002820160005b8382111561321257835183826101000a81548160ff021916908360ff16021790555092602001926001016020816000010492830192600103026131d4565b801561323f5782816101000a81549060ff0219169055600101602081600001049283019260010302613212565b505b50905061324e91906132a5565b5090565b828054828255906000526020600020908101928215613294579160200282015b82811115613293578251829061ffff16905591602001919060010190613272565b5b5090506132a191906132a5565b5090565b5b808211156132be5760008160009055506001016132a6565b5090565b600081519050919050565b600082825260208201905092915050565b60005b838110156132fc5780820151818401526020810190506132e1565b60008484015250505050565b6000601f19601f8301169050919050565b6000613324826132c2565b61332e81856132cd565b935061333e8185602086016132de565b61334781613308565b840191505092915050565b6000602082019050818103600083015261336c8184613319565b905092915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61339b81613388565b81146133a657600080fd5b50565b6000813590506133b881613392565b92915050565b6000602082840312156133d4576133d361337e565b5b60006133e2848285016133a9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613416826133eb565b9050919050565b6134268161340b565b82525050565b6000602082019050613441600083018461341d565b92915050565b6134508161340b565b811461345b57600080fd5b50565b60008135905061346d81613447565b92915050565b6000806040838503121561348a5761348961337e565b5b60006134988582860161345e565b92505060206134a9858286016133a9565b9150509250929050565b60008115159050919050565b6134c8816134b3565b82525050565b60006020820190506134e360008301846134bf565b92915050565b6134f281613388565b82525050565b600060208201905061350d60008301846134e9565b92915050565b6000602082840312156135295761352861337e565b5b60006135378482850161345e565b91505092915050565b6000806000606084860312156135595761355861337e565b5b60006135678682870161345e565b93505060206135788682870161345e565b9250506040613589868287016133a9565b9150509250925092565b600060ff82169050919050565b6135a981613593565b82525050565b60006020820190506135c460008301846135a0565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61360c82613308565b810181811067ffffffffffffffff8211171561362b5761362a6135d4565b5b80604052505050565b600061363e613374565b905061364a8282613603565b919050565b600067ffffffffffffffff82111561366a576136696135d4565b5b61367382613308565b9050602081019050919050565b82818337600083830152505050565b60006136a261369d8461364f565b613634565b9050828152602081018484840111156136be576136bd6135cf565b5b6136c9848285613680565b509392505050565b600082601f8301126136e6576136e56135ca565b5b81356136f684826020860161368f565b91505092915050565b600080604083850312156137165761371561337e565b5b600083013567ffffffffffffffff81111561373457613733613383565b5b613740858286016136d1565b925050602083013567ffffffffffffffff81111561376157613760613383565b5b61376d858286016136d1565b9150509250929050565b613780816134b3565b811461378b57600080fd5b50565b60008135905061379d81613777565b92915050565b600080604083850312156137ba576137b961337e565b5b60006137c88582860161345e565b92505060206137d98582860161378e565b9150509250929050565b600080fd5b600080fd5b60008083601f840112613803576138026135ca565b5b8235905067ffffffffffffffff8111156138205761381f6137e3565b5b60208301915083600182028301111561383c5761383b6137e8565b5b9250929050565b60008060008060006080868803121561385f5761385e61337e565b5b600061386d8882890161345e565b955050602061387e8882890161345e565b945050604061388f888289016133a9565b935050606086013567ffffffffffffffff8111156138b0576138af613383565b5b6138bc888289016137ed565b92509250509295509295909350565b600080604083850312156138e2576138e161337e565b5b60006138f08582860161345e565b92505060206139018582860161345e565b9150509250929050565b6000602082840312156139215761392061337e565b5b600082013567ffffffffffffffff81111561393f5761393e613383565b5b61394b848285016136d1565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061399b57607f821691505b6020821081036139ae576139ad613954565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006139ee82613388565b91506139f983613388565b9250828203905081811115613a1157613a106139b4565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600082825260208201905092915050565b50565b6000613a96600083613a75565b9150613aa182613a86565b600082019050919050565b6000608082019050613ac1600083018661341d565b613ace602083018561341d565b613adb60408301846134e9565b8181036060830152613aec81613a89565b9050949350505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b2b81613af6565b8114613b3657600080fd5b50565b600081519050613b4881613b22565b92915050565b600060208284031215613b6457613b6361337e565b5b6000613b7284828501613b39565b91505092915050565b7f4552433430343a20546f6b656e20646f6573206e6f7420657869737400000000600082015250565b6000613bb1601c836132cd565b9150613bbc82613b7b565b602082019050919050565b60006020820190508181036000830152613be081613ba4565b9050919050565b7f4e6f7420617574686f72697a656420746f206275726e00000000000000000000600082015250565b6000613c1d6016836132cd565b9150613c2882613be7565b602082019050919050565b60006020820190508181036000830152613c4c81613c10565b9050919050565b6000613c5f8385613a75565b9350613c6c838584613680565b613c7583613308565b840190509392505050565b6000608082019050613c95600083018861341d565b613ca2602083018761341d565b613caf60408301866134e9565b8181036060830152613cc2818486613c53565b90509695505050505050565b7f4552433430343a2055524920717565727920666f72206e6f6e6578697374656e60008201527f7420746f6b656e00000000000000000000000000000000000000000000000000602082015250565b6000613d2a6027836132cd565b9150613d3582613cce565b604082019050919050565b60006020820190508181036000830152613d5981613d1d565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613d8d81613983565b613d978186613d60565b94506001821660008114613db25760018114613dc757613dfa565b60ff1983168652811515820286019350613dfa565b613dd085613d6b565b60005b83811015613df257815481890152600182019150602081019050613dd3565b838801955050505b50505092915050565b6000613e0e826132c2565b613e188185613d60565b9350613e288185602086016132de565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613e6a600583613d60565b9150613e7582613e34565b600582019050919050565b6000613e8c8285613d80565b9150613e988284613e03565b9150613ea382613e5d565b91508190509392505050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613efc7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613ebf565b613f068683613ebf565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613f43613f3e613f3984613388565b613f1e565b613388565b9050919050565b6000819050919050565b613f5d83613f28565b613f71613f6982613f4a565b848454613ecc565b825550505050565b600090565b613f86613f79565b613f91818484613f54565b505050565b5b81811015613fb557613faa600082613f7e565b600181019050613f97565b5050565b601f821115613ffa57613fcb81613d6b565b613fd484613eaf565b81016020851015613fe3578190505b613ff7613fef85613eaf565b830182613f96565b50505b505050565b600082821c905092915050565b600061401d60001984600802613fff565b1980831691505092915050565b6000614036838361400c565b9150826002028217905092915050565b61404f826132c2565b67ffffffffffffffff811115614068576140676135d4565b5b6140728254613983565b61407d828285613fb9565b600060209050601f8311600181146140b0576000841561409e578287015190505b6140a8858261402a565b865550614110565b601f1984166140be86613d6b565b60005b828110156140e6578489015182556001820191506020850194506020810190506140c1565b8683101561410357848901516140ff601f89168261400c565b8355505b6001600288020188555050505b505050505050565b7f416c726561647920696e697469616c697a65642e000000000000000000000000600082015250565b600061414e6014836132cd565b915061415982614118565b602082019050919050565b6000602082019050818103600083015261417d81614141565b9050919050565b60008160011c9050919050565b6000808291508390505b60018511156141db578086048111156141b7576141b66139b4565b5b60018516156141c65780820291505b80810290506141d485614184565b945061419b565b94509492505050565b6000826141f457600190506142b0565b8161420257600090506142b0565b8160018114614218576002811461422257614251565b60019150506142b0565b60ff841115614234576142336139b4565b5b8360020a91508482111561424b5761424a6139b4565b5b506142b0565b5060208310610133831016604e8410600b84101617156142865782820a905083811115614281576142806139b4565b5b6142b0565b6142938484846001614191565b925090508184048111156142aa576142a96139b4565b5b81810290505b9392505050565b60006142c282613388565b91506142cd83613593565b92506142fa7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846141e4565b905092915050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b60006143386014836132cd565b915061434382614302565b602082019050919050565b600060208201905081810360008301526143678161432b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006143a882613388565b91506143b383613388565b9250826143c3576143c261436e565b5b828204905092915050565b60006143d982613388565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361440b5761440a6139b4565b5b600182019050919050565b7f496e76616c6964526563697069656e7400000000000000000000000000000000600082015250565b600061444c6010836132cd565b915061445782614416565b602082019050919050565b6000602082019050818103600083015261447b8161443f565b9050919050565b7f416c726561647945786973747300000000000000000000000000000000000000600082015250565b60006144b8600d836132cd565b91506144c382614482565b602082019050919050565b600060208201905081810360008301526144e7816144ab565b9050919050565b6000819050919050565b61450961450482613388565b6144ee565b82525050565b600061451b82856144f8565b60208201915061452b82846144f8565b6020820191508190509392505050565b600061454682613388565b915061455183613388565b9250826145615761456061436e565b5b828206905092915050565b600061457782613388565b915061458283613388565b925082820190508082111561459a576145996139b4565b5b92915050565b60006145ab82613593565b915060ff82036145be576145bd6139b4565b5b60018201905091905056fea26469706673582212206ec41a8924d7bb86546d67605c0a93742bd48f5ef830f5d3ee4c750fa4c07d6964736f6c63430008140033

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

000000000000000000000000a8d08643a92d620cfd0721a4cd55e5b4af48efd8

-----Decoded View---------------
Arg [0] : _owner (address): 0xA8d08643A92D620CfD0721a4Cd55E5b4Af48efD8

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a8d08643a92d620cfd0721a4cd55e5b4af48efd8


Loading...
Loading
Loading...
Loading
[ 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.