ETH Price: $3,394.82 (-1.21%)
Gas: 2 Gwei

Token

Lamb Duhs PX (LDPX)
 

Overview

Max Total Supply

4,000 LDPX

Holders

1,261

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 LDPX
0xcc03C4cA24abAB228b79fc6f98834a6e5638336a
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

A collection of 4,000 fully animated pixel lambs from another world! Generated from 350K+ possible trait combinations with an abundant variety of faces, outfits, and colors.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
LambDuhsPX

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 2 : LambDuhsPX.sol
// SPDX-License-Identifier: MIT
//
/*
 *
 *      ||         .-:'"-._
 *     |  |      _(,       )
 *    |    |  ,'O"(         )>
 *     |  |   `-.-(        )
 *      ||        `-._._.-'
 *                 //   //
 *
 * ASTERIA LABS:
 * @Danny_One_
 *
 */

import "./ERC721_efficient.sol";

pragma solidity ^0.8.0;

interface ILambDuh {
    function balanceOf(address sender) external view returns (uint256);
}

contract LambDuhsPX is ERC721Enumerable, Ownable, nonReentrant {
    uint256 public pxPS_Price = 50000000000000000; // 0.050 ETH
    uint256 public pxLambPrice = 55000000000000000; // 0.055 ETH
    uint256 public constant maxPxLambPurchase = 10;
    uint256 public immutable MAX_PXLAMB = 8500; // 8.5k supply
    uint256 public immutable MAX_PRESALE = 6150; // total presale lambs allowed

    //Reserve PX Lamb for team - Giveaways/Prizes etc
    uint256 public immutable MAX_PXLAMBRESERVE = 100; // total team reserves allowed
    uint256 public immutable MAX_PXPORTALS = 1500; // total portal lambs allowed
    uint256 public immutable MAX_FREECLAIM = 20; // total free lambs allowed

    address public tokenDeposit = 0x2a6f3F959eb2cb0982B2dB5D4Cb2aEFb8B3cd4a3; // address to receive custom ERC20

    string public PXprovenance;

    uint256 public maxSaleMint = 10;
    uint256 public teamMints = 0;

    enum SaleState {
        Paused,
        Presale,
        Phase2,
        Open
    }
    SaleState public saleState;

    bytes32 public MerkleRoot =
        0x88e10a1c8b916fcfde160f7ab84e06107f52e258421fc3bf0b7f4d3a3e22c0b1;

    ILambDuh public LambContract =
        ILambDuh(0x1F0f72e6Dc2EA6FDe3A32A1B3fD47A26a3293Dc9);

    struct TPToken {
        uint64 MAX_TOKEN;
        uint64 tokenSupply;
        uint128 Cost;
        IERC20 Contract;
    }

    enum TokenName {
        BAMBOO,
        PIXL,
        ROOLAH,
        SEED,
        STAR,
        LAMEX,
        SPIT,
        ETH
    }

    mapping(TokenName => TPToken) public mintableTokens;

    address public proxyRegistryAddress;

    struct AddressInfo {
        uint64 ownerFreeClaims;
        uint64 ownerPresaleMints;
        bool[7] tokenMinted;
        bool projectProxy;
    }

    mapping(address => AddressInfo) public addressInfo;

    uint16[] public portalsIDs;

    constructor() ERC721("Lamb Duhs PX", "LDPX") {}

    // PUBLIC FUNCTIONS

    function mint(uint256 _mintAmount) public payable reentryLock {
        require(saleState > SaleState.Phase2, "public sale is not active");
        require(msg.sender == tx.origin, "no proxy transactions");

        uint256 supply = totalSupply();
        require(_mintAmount < maxSaleMint + 1, "max transaction exceeded");
        require(supply + _mintAmount < MAX_PXLAMB + 1, "max supply exceeded");

        require(msg.value >= _mintAmount * pxLambPrice, "not enough ETH sent");

        for (uint256 i = 0; i < _mintAmount; i++) {
            _safeMint(msg.sender, supply + i);
        }
    }

    function mintPresale(
        bytes32[] memory _proof,
        bytes2 _maxAmountKey,
        uint256 _mintAmount,
        TokenName _tokenName
    ) public payable reentryLock {
        require(
            MerkleRoot > 0x00 && saleState > SaleState.Paused,
            "presale period not open!"
        );

        uint256 supply = totalSupply();
        require(supply + _mintAmount < MAX_PXLAMB + 1, "max supply exceeded");

        require(
            MerkleProof.verify(
                _proof,
                MerkleRoot,
                keccak256(abi.encodePacked(msg.sender, _maxAmountKey))
            ),
            "invalid  proof-key combo"
        );
        uint8 allowed = uint8(uint16(_maxAmountKey));

        if (_tokenName == TokenName.ETH) {
            require(saleState < SaleState.Open, "presale closed!");
            require(
                msg.value >= _mintAmount * pxPS_Price,
                "not enough ETH sent"
            );
            require(
                mintableTokens[_tokenName].tokenSupply + _mintAmount <
                    MAX_PRESALE + 1,
                "presale sold out"
            );

            if (saleState == SaleState.Presale) {
                require(
                    addressInfo[msg.sender].ownerPresaleMints + _mintAmount <
                        allowed + 1,
                    "max presale claims exceeded"
                );
            } else if (saleState == SaleState.Phase2) {
                require(
                    addressInfo[msg.sender].ownerPresaleMints + _mintAmount <
                        2 * allowed + 1,
                    "max phase 2 claims exceeded"
                );
            }

            mintableTokens[_tokenName].tokenSupply += uint64(_mintAmount);
            addressInfo[msg.sender].ownerPresaleMints += uint64(_mintAmount);
        } else {
            // LAMEX, SPIT
            require(_tokenName > TokenName.STAR, "invalid token");
            require(_mintAmount < 2, "only 1 allowed");
            require(
                addressInfo[msg.sender].tokenMinted[uint256(_tokenName)] ==
                    false,
                "tokenMint already claimed"
            );
            require(
                mintableTokens[_tokenName].tokenSupply <
                    mintableTokens[_tokenName].MAX_TOKEN,
                "max tokenMint exceeded"
            );

            mintableTokens[_tokenName].tokenSupply += uint64(_mintAmount);
            addressInfo[msg.sender].tokenMinted[uint256(_tokenName)] = true;
        }

        for (uint256 i = 0; i < uint256(_mintAmount); i++) {
            _safeMint(msg.sender, supply + i);
        }
    }

    // TokenName: BAMBOO, PIXL, ROOLAH, SEED, STAR
    function mintWithToken(TokenName _tokenName) public reentryLock {
        require(
            MerkleRoot > 0x00 && saleState > SaleState.Paused,
            "token mint not open!"
        );

        uint256 supply = totalSupply();
        require(supply < MAX_PXLAMB, "max supply exceeded");
        require(
            mintableTokens[_tokenName].tokenSupply <
                mintableTokens[_tokenName].MAX_TOKEN,
            "max tokenMint exceeded"
        );
        require(
            addressInfo[msg.sender].tokenMinted[uint256(_tokenName)] == false,
            "tokenMint already claimed"
        );
        require(_tokenName < TokenName.LAMEX, "invalid ERC20");

        bool success = mintableTokens[_tokenName].Contract.transferFrom(
            msg.sender,
            tokenDeposit,
            mintableTokens[_tokenName].Cost
        );
        require(success, "token transfer failed");

        mintableTokens[_tokenName].tokenSupply += 1;
        addressInfo[msg.sender].tokenMinted[uint256(_tokenName)] = true;

        _safeMint(msg.sender, supply);
    }

    function mintFreeClaim(
        bytes32[] memory _proof,
        bytes2 _maxAmountKey,
        uint256 _mintAmount
    ) public reentryLock {
        require(
            MerkleRoot > 0x00 && saleState > SaleState.Paused,
            "free claim period not open!"
        );

        uint256 supply = totalSupply();
        require(supply + _mintAmount < MAX_PXLAMB + 1, "max supply exceeded");
        uint256 portalSupply = supply - portalsIDs.length;
        require(
            portalSupply + _mintAmount < MAX_PXPORTALS + 1,
            "max portals exceeded"
        );

        require(
            MerkleProof.verify(
                _proof,
                MerkleRoot,
                keccak256(abi.encodePacked(msg.sender, _maxAmountKey))
            ),
            "invalid proof-key combo"
        );
        uint8 allowed = uint8(bytes1(_maxAmountKey));
        require(
            addressInfo[msg.sender].ownerFreeClaims + _mintAmount < allowed + 1,
            "max allowed claims exceeded"
        );
        require(
            addressInfo[msg.sender].ownerFreeClaims + _mintAmount <
                MAX_FREECLAIM + 1,
            "max free claims exceeded"
        );
        require(
            LambContract.balanceOf(msg.sender) >=
                3 * (_mintAmount + addressInfo[msg.sender].ownerFreeClaims),
            "insuffient OG Lamb balance"
        );

        addressInfo[msg.sender].ownerFreeClaims += uint64(_mintAmount);
        portalSupply += uint64(_mintAmount);

        for (uint256 i = 0; i < uint256(_mintAmount); i++) {
            portalsIDs.push(uint16(supply + i));
            _safeMint(msg.sender, supply + i);
        }
    }

    function checkProofWithKey(bytes32[] memory proof, bytes memory key)
        public
        view
        returns (bool)
    {
        return
            MerkleProof.verify(
                proof,
                MerkleRoot,
                keccak256(abi.encodePacked(msg.sender, key))
            );
    }

    function isApprovedForAll(address _owner, address operator)
        public
        view
        override(ERC721, IERC721)
        returns (bool)
    {
        MarketplaceProxyRegistry proxyRegistry = MarketplaceProxyRegistry(
            proxyRegistryAddress
        );
        if (
            address(proxyRegistry.proxies(_owner)) == operator ||
            addressInfo[operator].projectProxy
        ) return true;
        return super.isApprovedForAll(_owner, operator);
    }

    function getTokensMinted(address _sender)
        public
        view
        returns (bool[7] memory)
    {
        return addressInfo[_sender].tokenMinted;
    }

    function getPortalsIDs() public view returns (uint16[] memory) {
        return portalsIDs;
    }

    // ONLY OWNER FUNCTIONS

    function setBaseURI(string memory baseURI_) public onlyOwner {
        _setBaseURI(baseURI_);
    }

    function setMerkleRoot(bytes32 _MerkleRoot) public onlyOwner {
        MerkleRoot = _MerkleRoot;
    }

    function setSaleState(SaleState _state) public onlyOwner {
        saleState = _state;
    }

    function setProxyRegistry(address _proxyRegistryAddress) public onlyOwner {
        proxyRegistryAddress = _proxyRegistryAddress;
    }

    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        (bool success, ) = address(0x6e37d65D20Ec3842358fb326A03E5E0ca47A0fa5)
            .call{value: balance}("");
        require(success, "Transfer failed.");
    }

    function setPrice(uint256 _newPrice, uint256 _newPSPrice) public onlyOwner {
        pxLambPrice = _newPrice;
        pxPS_Price = _newPSPrice;
    }

    function setTokenConfig(
        TokenName _token,
        uint64 _MAX_TOKEN,
        uint128 _Cost,
        address _tokenAddress
    ) public onlyOwner {
        if (mintableTokens[_token].tokenSupply > 0) {
            require(
                mintableTokens[_token].tokenSupply >= _MAX_TOKEN,
                "supply already greater than max"
            );
        }
        mintableTokens[_token].MAX_TOKEN = _MAX_TOKEN;
        mintableTokens[_token].Cost = _Cost;
        mintableTokens[_token].Contract = IERC20(_tokenAddress);
    }

    function setLambContract(address _lambOG) external onlyOwner {
        if (address(LambContract) != _lambOG) {
            LambContract = ILambDuh(_lambOG);
        }
    }

    function setTokenDeposit(address _tokenDeposit) public onlyOwner {
        tokenDeposit = _tokenDeposit;
    }

    function setProvenance(string memory _provenance) public onlyOwner {
        PXprovenance = _provenance;
    }

    // reserve function for team mints (giveaways & payments)
    function teamMint(address _to, uint256 _reserveAmount) public onlyOwner {
        require(
            _reserveAmount + teamMints < MAX_PXLAMBRESERVE + 1,
            "Not enough reserve left for team"
        );
        uint256 supply = totalSupply();
        teamMints = teamMints + _reserveAmount;

        for (uint256 i = 0; i < _reserveAmount; i++) {
            _safeMint(_to, supply + i);
        }
    }
}

contract OwnableDelegateProxy {}

contract MarketplaceProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

File 2 of 2 : ERC721_efficient.sol
/**
 * Flattened contract dependencies for ERC721 NFT projects
 * @Danny_One
 *
 *
 * Added Merkle Proof presale list
 * Improved Enumerable per new best practices to save gas
 *
 * Flattened from:
 *	MerkleProof.sol - Nuclear Nerds (2022-01-16)
 *   ERC721Enumerable.sol - Nuclear Nerds (2022-01-04)
 *   IERC721Enumerable.sol - Open Zeppelin (2022-01-04)
 * 	OpenZeppelin (on 2021-11-18):
 *		IERC20.sol (2022-04-13)
 * 		ERC721.sol **significantly modified
 * 		IERC721.sol
 * 		IERC721Receiver.sol
 * 		IERC721Metadata.sol
 * 		Address.sol
 * 		Context.sol
 * 		Ownable.sol
 * 		Strings.sol
 * 		Counters.sol
 * 		ERC165.sol
 * 		IERC165.sol
 * 	nonReentrant (custom)
 *
 **/

// SPDX-License-Identifier: MIT

// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)
pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf)
        internal
        pure
        returns (bytes32)
    {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b)
        private
        pure
        returns (bytes32 value)
    {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

// OpenZeppelin Contracts v4.3.2 (utils/introspection/IERC165.sol)

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// OpenZeppelin Contracts v4.3.2 (utils/introspection/ERC165.sol)

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override
        returns (bool)
    {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// OpenZeppelin Contracts v4.3.2 (utils/Strings.sol)

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length)
        internal
        pure
        returns (string memory)
    {
        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_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

// OpenZeppelin Contracts v4.3.2 (utils/Context.sol)

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

// OpenZeppelin Contracts v4.3.2 (access/Ownable.sol)

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(
        address indexed previousOwner,
        address indexed newOwner
    );

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// OpenZeppelin Contracts v4.3.2 (utils/Address.sol)

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(
            address(this).balance >= amount,
            "Address: insufficient balance"
        );

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

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data)
        internal
        returns (bytes memory)
    {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(
            data
        );
        return verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// OpenZeppelin Contracts v4.3.2 (token/ERC721/IERC721.sol)

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(
        address indexed from,
        address indexed to,
        uint256 indexed tokenId
    );

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(
        address indexed owner,
        address indexed approved,
        uint256 indexed tokenId
    );

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(
        address indexed owner,
        address indexed operator,
        bool approved
    );

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId)
        external
        view
        returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator)
        external
        view
        returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

// OpenZeppelin Contracts v4.3.2 (token/ERC721/extensions/IERC721Metadata.sol)

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

// OpenZeppelin Contracts v4.3.2 (token/ERC721/IERC721Receiver.sol)

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// OpenZeppelin Contracts v4.3.2 (utils/Counters.sol)

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

/**
 * @title nonReentrant module to prevent recursive calling of functions
 * @dev See https://medium.com/coinmonks/protect-your-solidity-smart-contracts-from-reentrancy-attacks-9972c3af7c21
 * part of a flattened ERC721 dependency collection compiled by Danny_One
 */

abstract contract nonReentrant {
    bool private _reentryKey = false;
    modifier reentryLock() {
        require(!_reentryKey, "cannot reenter a locked function");
        _reentryKey = true;
        _;
        _reentryKey = false;
    }
}

// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

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

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

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

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

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

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

// OpenZeppelin Contracts v4.3.2 (token/ERC721/ERC721.sol)

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 *
 * Modified from original OpenZeppelin version to improve gas performance
 *
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Base URI
    string private _baseURI;

    // Owner array
    address[] internal _owners;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC165, IERC165)
        returns (bool)
    {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     * updated for owner array
     */
    function balanceOf(address owner)
        public
        view
        virtual
        override
        returns (uint256)
    {
        require(
            owner != address(0),
            "ERC721: balance query for the zero address"
        );
        uint256 _ownerBalance = 0;
        for (uint256 i = 0; i < _owners.length; i++) {
            if (_owners[i] == owner) _ownerBalance++;
        }
        return _ownerBalance;
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId)
        public
        view
        virtual
        override
        returns (address)
    {
        address owner = _owners[tokenId];
        require(
            owner != address(0),
            "ERC721: owner query for nonexistent token"
        );
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        string memory baseURI_ = baseURI();
        return
            bytes(baseURI_).length > 0
                ? string(abi.encodePacked(baseURI_, tokenId.toString()))
                : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function baseURI() internal view virtual returns (string memory) {
        return _baseURI;
    }

    /**
     * @dev Internal function to set the base URI for all token IDs. It is
     * automatically added as a prefix to the value returned in {tokenURI},
     * or to the token ID if {tokenURI} is empty.
     */
    function _setBaseURI(string memory baseURI_) internal virtual {
        _baseURI = baseURI_;
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId)
        public
        view
        virtual
        override
        returns (address)
    {
        require(
            _exists(tokenId),
            "ERC721: approved query for nonexistent token"
        );

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
        public
        virtual
        override
    {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator)
        public
        view
        virtual
        override
        returns (bool)
    {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "ERC721: transfer caller is not owner nor approved"
        );

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "ERC721: transfer caller is not owner nor approved"
        );
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return tokenId < _owners.length && _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId)
        internal
        view
        virtual
        returns (bool)
    {
        require(
            _exists(tokenId),
            "ERC721: operator query for nonexistent token"
        );
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner ||
            getApproved(tokenId) == spender ||
            isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _owners.push(to);

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _owners[tokenId] = address(0);

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(
            ERC721.ownerOf(tokenId) == from,
            "ERC721: transfer of token that is not own"
        );
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try
                IERC721Receiver(to).onERC721Received(
                    _msgSender(),
                    from,
                    tokenId,
                    _data
                )
            returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert(
                        "ERC721: transfer to non ERC721Receiver implementer"
                    );
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index)
        external
        view
        returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

/**
 * borrowed from Nuclear Nerds implementation
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account but rips out the core of the gas-wasting processing that comes from OpenZeppelin.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(IERC165, ERC721)
        returns (bool)
    {
        return
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index)
        public
        view
        virtual
        override
        returns (uint256)
    {
        require(
            index < _owners.length,
            "ERC721Enumerable: global index out of bounds"
        );
        return index;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index)
        public
        view
        virtual
        override
        returns (uint256 tokenId)
    {
        require(
            index < balanceOf(owner),
            "ERC721Enumerable: owner index out of bounds"
        );

        uint256 count;
        for (uint256 i; i < _owners.length; i++) {
            if (owner == _owners[i]) {
                if (count == index) return i;
                else count++;
            }
        }

        revert("ERC721Enumerable: owner index out of bounds");
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","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":"previousOwner","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":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"LambContract","outputs":[{"internalType":"contract ILambDuh","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREECLAIM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PXLAMB","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PXLAMBRESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PXPORTALS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PXprovenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressInfo","outputs":[{"internalType":"uint64","name":"ownerFreeClaims","type":"uint64"},{"internalType":"uint64","name":"ownerPresaleMints","type":"uint64"},{"internalType":"bool","name":"projectProxy","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes","name":"key","type":"bytes"}],"name":"checkProofWithKey","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPortalsIDs","outputs":[{"internalType":"uint16[]","name":"","type":"uint16[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"}],"name":"getTokensMinted","outputs":[{"internalType":"bool[7]","name":"","type":"bool[7]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPxLambPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSaleMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"bytes2","name":"_maxAmountKey","type":"bytes2"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintFreeClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"bytes2","name":"_maxAmountKey","type":"bytes2"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"enum LambDuhsPX.TokenName","name":"_tokenName","type":"uint8"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"enum LambDuhsPX.TokenName","name":"_tokenName","type":"uint8"}],"name":"mintWithToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum LambDuhsPX.TokenName","name":"","type":"uint8"}],"name":"mintableTokens","outputs":[{"internalType":"uint64","name":"MAX_TOKEN","type":"uint64"},{"internalType":"uint64","name":"tokenSupply","type":"uint64"},{"internalType":"uint128","name":"Cost","type":"uint128"},{"internalType":"contract IERC20","name":"Contract","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"portalsIDs","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pxLambPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pxPS_Price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"enum LambDuhsPX.SaleState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_lambOG","type":"address"}],"name":"setLambContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_MerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"},{"internalType":"uint256","name":"_newPSPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenance","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum LambDuhsPX.SaleState","name":"_state","type":"uint8"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum LambDuhsPX.TokenName","name":"_token","type":"uint8"},{"internalType":"uint64","name":"_MAX_TOKEN","type":"uint64"},{"internalType":"uint128","name":"_Cost","type":"uint128"},{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"setTokenConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenDeposit","type":"address"}],"name":"setTokenDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_reserveAmount","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"teamMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenDeposit","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101206040526006805460ff60a01b1916905566b1a2bc2ec5000060075566c3663566a5800060085561213460805261180660a052606460c0526105dc60e052601461010052600980546001600160a01b0319908116732a6f3f959eb2cb0982b2db5d4cb2aefb8b3cd4a317909155600a600b556000600c557f88e10a1c8b916fcfde160f7ab84e06107f52e258421fc3bf0b7f4d3a3e22c0b1600e55600f8054909116731f0f72e6dc2ea6fde3a32a1b3fd47a26a3293dc9179055348015620000c857600080fd5b50604080518082018252600c81526b098c2dac44088ead0e640a0b60a31b60208083019182528351808501909452600484526309888a0b60e31b9084015281519192916200011991600091620001a8565b5080516200012f906001906020840190620001a8565b5050506200014c620001466200015260201b60201c565b62000156565b6200028a565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001b6906200024e565b90600052602060002090601f016020900481019282620001da576000855562000225565b82601f10620001f557805160ff191683800117855562000225565b8280016001018555821562000225579182015b828111156200022557825182559160200191906001019062000208565b506200023392915062000237565b5090565b5b8082111562000233576000815560010162000238565b600181811c908216806200026357607f821691505b6020821081036200028457634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e05161010051614ab1620003076000396000818161063d0152613322015260008181610b4901526131770152600081816104530152612836015260008181610671015261141f015260008181610a66015281816112100152818161208a015281816126e401526130ed0152614ab16000f3fe60806040526004361061036b5760003560e01c806370a08231116101c6578063c062b65d116100f7578063ef4de08711610095578063f4e470781161006f578063f4e4707814610b17578063f529df7314610b37578063f7d9757714610b6b578063ffe630b514610b8b57600080fd5b8063ef4de08714610aa8578063f0c14fc614610ad5578063f2fde38b14610af757600080fd5b8063cd7c0326116100d1578063cd7c032614610a14578063d7227bf114610a34578063d76687da14610a54578063e985e9c514610a8857600080fd5b8063c062b65d14610915578063c81557e8146109de578063c87b56dd146109f457600080fd5b8063a0712d6811610164578063add5a4fa1161013e578063add5a4fa14610895578063adfdeef9146108b5578063b88d4fde146108d5578063b9aead00146108f557600080fd5b8063a0712d681461084c578063a22cb4651461085f578063add40ddb1461087f57600080fd5b80637e7641c3116101a05780637e7641c3146107d95780638a92d418146107f95780638da5cb5b1461081957806395d89b411461083757600080fd5b806370a0823114610784578063715018a6146107a45780637cb64759146107b957600080fd5b8063378f33be116102a05780635073955b1161023e5780635a67de07116102185780635a67de0714610708578063603f4d52146107285780636352211e1461074f5780636487d9a71461076f57600080fd5b80635073955b146106b357806355889ec1146106d357806355f804b3146106e857600080fd5b806342842e0e1161027a57806342842e0e1461060b5780634a3a0a8b1461062b5780634d4c4e991461065f5780634f6ccce71461069357600080fd5b8063378f33be146105cd5780633c3110d3146105e35780633ccfd60b146105f657600080fd5b806318160ddd1161030d57806322d0e347116102e757806322d0e3471461055757806323b872dd1461056d5780632f745c591461058d57806336c3c3e7146105ad57600080fd5b806318160ddd146104995780631bbe1cfb146104ae5780632126fcb2146104e157600080fd5b8063089488051161034957806308948805146103ff578063095ea7b3146104215780630ce9159a14610441578063132d3f6a1461048357600080fd5b806301ffc9a71461037057806306fdde03146103a5578063081812fc146103c7575b600080fd5b34801561037c57600080fd5b5061039061038b366004614129565b610bab565b60405190151581526020015b60405180910390f35b3480156103b157600080fd5b506103ba610bef565b60405161039c919061419e565b3480156103d357600080fd5b506103e76103e23660046141b1565b610c81565b6040516001600160a01b03909116815260200161039c565b34801561040b57600080fd5b5061041f61041a3660046141df565b610d0e565b005b34801561042d57600080fd5b5061041f61043c3660046141fc565b610d78565b34801561044d57600080fd5b506104757f000000000000000000000000000000000000000000000000000000000000000081565b60405190815260200161039c565b34801561048f57600080fd5b50610475600e5481565b3480156104a557600080fd5b50600354610475565b3480156104ba57600080fd5b506104ce6104c93660046141b1565b610ea9565b60405161ffff909116815260200161039c565b3480156104ed57600080fd5b5061052e6104fc3660046141df565b6012602052600090815260409020805460029091015467ffffffffffffffff80831692600160401b9004169060ff1683565b6040805167ffffffffffffffff948516815293909216602084015215159082015260600161039c565b34801561056357600080fd5b5061047560075481565b34801561057957600080fd5b5061041f610588366004614228565b610ee1565b34801561059957600080fd5b506104756105a83660046141fc565b610f68565b3480156105b957600080fd5b5061041f6105c83660046141df565b6110a2565b3480156105d957600080fd5b50610475600c5481565b61041f6105f1366004614374565b61111e565b34801561060257600080fd5b5061041f611a6c565b34801561061757600080fd5b5061041f610626366004614228565b611b66565b34801561063757600080fd5b506104757f000000000000000000000000000000000000000000000000000000000000000081565b34801561066b57600080fd5b506104757f000000000000000000000000000000000000000000000000000000000000000081565b34801561069f57600080fd5b506104756106ae3660046141b1565b611b81565b3480156106bf57600080fd5b506009546103e7906001600160a01b031681565b3480156106df57600080fd5b506103ba611bff565b3480156106f457600080fd5b5061041f610703366004614434565b611c8d565b34801561071457600080fd5b5061041f61072336600461447d565b611cde565b34801561073457600080fd5b50600d546107429060ff1681565b60405161039c91906144b4565b34801561075b57600080fd5b506103e761076a3660046141b1565b611d4d565b34801561077b57600080fd5b50610475600a81565b34801561079057600080fd5b5061047561079f3660046141df565b611ded565b3480156107b057600080fd5b5061041f611ed7565b3480156107c557600080fd5b5061041f6107d43660046141b1565b611f2b565b3480156107e557600080fd5b506103906107f43660046144fc565b611f78565b34801561080557600080fd5b5061041f610814366004614560565b611f9b565b34801561082557600080fd5b506006546001600160a01b03166103e7565b34801561084357600080fd5b506103ba612544565b61041f61085a3660046141b1565b612553565b34801561086b57600080fd5b5061041f61087a366004614589565b6127de565b34801561088b57600080fd5b5061047560085481565b3480156108a157600080fd5b5061041f6108b03660046141fc565b6127e9565b3480156108c157600080fd5b5061041f6108d03660046141df565b612905565b3480156108e157600080fd5b5061041f6108f03660046145c2565b61296f565b34801561090157600080fd5b5061041f61091036600461462e565b6129f7565b34801561092157600080fd5b50610992610930366004614560565b6010602052600090815260409020805460019091015467ffffffffffffffff80831692600160401b8104909116917001000000000000000000000000000000009091046fffffffffffffffffffffffffffffffff16906001600160a01b031684565b6040805167ffffffffffffffff95861681529490931660208501526fffffffffffffffffffffffffffffffff909116918301919091526001600160a01b0316606082015260800161039c565b3480156109ea57600080fd5b50610475600b5481565b348015610a0057600080fd5b506103ba610a0f3660046141b1565b612c63565b348015610a2057600080fd5b506011546103e7906001600160a01b031681565b348015610a4057600080fd5b50600f546103e7906001600160a01b031681565b348015610a6057600080fd5b506104757f000000000000000000000000000000000000000000000000000000000000000081565b348015610a9457600080fd5b50610390610aa33660046146aa565b612d3b565b348015610ab457600080fd5b50610ac8610ac33660046141df565b612e3b565b60405161039c91906146d8565b348015610ae157600080fd5b50610aea612eaf565b60405161039c919061470b565b348015610b0357600080fd5b5061041f610b123660046141df565b612f2e565b348015610b2357600080fd5b5061041f610b32366004614753565b612ffb565b348015610b4357600080fd5b506104757f000000000000000000000000000000000000000000000000000000000000000081565b348015610b7757600080fd5b5061041f610b863660046147aa565b613594565b348015610b9757600080fd5b5061041f610ba6366004614434565b6135e7565b60006001600160e01b031982167f780e9d63000000000000000000000000000000000000000000000000000000001480610be95750610be982613642565b92915050565b606060008054610bfe906147cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2a906147cc565b8015610c775780601f10610c4c57610100808354040283529160200191610c77565b820191906000526020600020905b815481529060010190602001808311610c5a57829003601f168201915b5050505050905090565b6000610c8c826136dd565b610cf25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6006546001600160a01b03163314610d565760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6000610d8382611d4d565b9050806001600160a01b0316836001600160a01b031603610e0c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610ce9565b336001600160a01b0382161480610e285750610e288133612d3b565b610e9a5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610ce9565b610ea48383613727565b505050565b60138181548110610eb957600080fd5b9060005260206000209060109182820401919006600202915054906101000a900461ffff1681565b610eeb3382613795565b610f5d5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610ce9565b610ea4838383613857565b6000610f7383611ded565b8210610fd55760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610ce9565b6000805b6003548110156110455760038181548110610ff657610ff6614806565b6000918252602090912001546001600160a01b039081169086160361103357838203611025579150610be99050565b8161102f81614832565b9250505b8061103d81614832565b915050610fd9565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610ce9565b6006546001600160a01b031633146110ea5760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b600f546001600160a01b0382811691161461111b57600f80546001600160a01b0319166001600160a01b0383161790555b50565b600654600160a01b900460ff16156111785760405162461bcd60e51b815260206004820181905260248201527f63616e6e6f74207265656e7465722061206c6f636b65642066756e6374696f6e6044820152606401610ce9565b6006805460ff60a01b1916600160a01b179055600e54158015906111b257506000600d5460ff1660038111156111b0576111b061449e565b115b6111fe5760405162461bcd60e51b815260206004820152601860248201527f70726573616c6520706572696f64206e6f74206f70656e2100000000000000006044820152606401610ce9565b600061120960035490565b90506112367f0000000000000000000000000000000000000000000000000000000000000000600161484b565b611240848361484b565b106112835760405162461bcd60e51b81526020600482015260136024820152721b585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610ce9565b600e546040516bffffffffffffffffffffffff193360601b1660208201527fffff000000000000000000000000000000000000000000000000000000000000861660348201526112ee9187916036015b604051602081830303815290604052805190602001206139da565b61133a5760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964202070726f6f662d6b657920636f6d626f00000000000000006044820152606401610ce9565b60f084901c60078360078111156113535761135361449e565b03611719576003600d5460ff1660038111156113715761137161449e565b106113be5760405162461bcd60e51b815260206004820152600f60248201527f70726573616c6520636c6f7365642100000000000000000000000000000000006044820152606401610ce9565b6007546113cb9085614863565b34101561141a5760405162461bcd60e51b815260206004820152601360248201527f6e6f7420656e6f756768204554482073656e74000000000000000000000000006044820152606401610ce9565b6114457f0000000000000000000000000000000000000000000000000000000000000000600161484b565b846010600086600781111561145c5761145c61449e565b600781111561146d5761146d61449e565b81526020810191909152604001600020546114999190600160401b900467ffffffffffffffff1661484b565b106114e65760405162461bcd60e51b815260206004820152601060248201527f70726573616c6520736f6c64206f7574000000000000000000000000000000006044820152606401610ce9565b6001600d5460ff1660038111156114ff576114ff61449e565b036115945761150f816001614882565b3360009081526012602052604090205460ff9190911690611542908690600160401b900467ffffffffffffffff1661484b565b1061158f5760405162461bcd60e51b815260206004820152601b60248201527f6d61782070726573616c6520636c61696d7320657863656564656400000000006044820152606401610ce9565b611648565b6002600d5460ff1660038111156115ad576115ad61449e565b03611648576115bd8160026148a7565b6115c8906001614882565b3360009081526012602052604090205460ff91909116906115fb908690600160401b900467ffffffffffffffff1661484b565b106116485760405162461bcd60e51b815260206004820152601b60248201527f6d6178207068617365203220636c61696d7320657863656564656400000000006044820152606401610ce9565b836010600085600781111561165f5761165f61449e565b60078111156116705761167061449e565b8152602081019190915260400160002080546008906116a1908490600160401b900467ffffffffffffffff166148d0565b82546101009290920a67ffffffffffffffff818102199093169183160217909155336000908152601260205260409020805487935090916008916116ee918591600160401b9004166148d0565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550611a26565b600483600781111561172d5761172d61449e565b1161177a5760405162461bcd60e51b815260206004820152600d60248201527f696e76616c696420746f6b656e000000000000000000000000000000000000006044820152606401610ce9565b600284106117ca5760405162461bcd60e51b815260206004820152600e60248201527f6f6e6c79203120616c6c6f7765640000000000000000000000000000000000006044820152606401610ce9565b3360009081526012602052604090206001018360078111156117ee576117ee61449e565b600781106117fe576117fe614806565b602081049091015460ff601f9092166101000a900416156118615760405162461bcd60e51b815260206004820152601960248201527f746f6b656e4d696e7420616c726561647920636c61696d6564000000000000006044820152606401610ce9565b601060008460078111156118775761187761449e565b60078111156118885761188861449e565b8152602081019190915260400160009081205467ffffffffffffffff16906010908560078111156118bb576118bb61449e565b60078111156118cc576118cc61449e565b8152602081019190915260400160002054600160401b900467ffffffffffffffff161061193b5760405162461bcd60e51b815260206004820152601660248201527f6d617820746f6b656e4d696e74206578636565646564000000000000000000006044820152606401610ce9565b83601060008560078111156119525761195261449e565b60078111156119635761196361449e565b815260208101919091526040016000208054600890611994908490600160401b900467ffffffffffffffff166148d0565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160126000336001600160a01b03166001600160a01b031681526020019081526020016000206001018460078111156119f6576119f661449e565b60078110611a0657611a06614806565b602091828204019190066101000a81548160ff0219169083151502179055505b60005b84811015611a5657611a4433611a3f838661484b565b6139f0565b80611a4e81614832565b915050611a29565b50506006805460ff60a01b191690555050505050565b6006546001600160a01b03163314611ab45760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b6040514790600090736e37d65d20ec3842358fb326a03e5e0ca47a0fa59083908381818185875af1925050503d8060008114611b0c576040519150601f19603f3d011682016040523d82523d6000602084013e611b11565b606091505b5050905080611b625760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610ce9565b5050565b610ea48383836040518060200160405280600081525061296f565b6003546000908210611bfb5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610ce9565b5090565b600a8054611c0c906147cc565b80601f0160208091040260200160405190810160405280929190818152602001828054611c38906147cc565b8015611c855780601f10611c5a57610100808354040283529160200191611c85565b820191906000526020600020905b815481529060010190602001808311611c6857829003601f168201915b505050505081565b6006546001600160a01b03163314611cd55760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b61111b81613a0a565b6006546001600160a01b03163314611d265760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b600d805482919060ff19166001836003811115611d4557611d4561449e565b021790555050565b60008060038381548110611d6357611d63614806565b6000918252602090912001546001600160a01b0316905080610be95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610ce9565b60006001600160a01b038216611e6b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610ce9565b6000805b600354811015611ed057836001600160a01b031660038281548110611e9657611e96614806565b6000918252602090912001546001600160a01b031603611ebe5781611eba81614832565b9250505b80611ec881614832565b915050611e6f565b5092915050565b6006546001600160a01b03163314611f1f5760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b611f296000613a1d565b565b6006546001600160a01b03163314611f735760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b600e55565b6000611f9483600e5433856040516020016112d39291906148fc565b9392505050565b600654600160a01b900460ff1615611ff55760405162461bcd60e51b815260206004820181905260248201527f63616e6e6f74207265656e7465722061206c6f636b65642066756e6374696f6e6044820152606401610ce9565b6006805460ff60a01b1916600160a01b179055600e541580159061202f57506000600d5460ff16600381111561202d5761202d61449e565b115b61207b5760405162461bcd60e51b815260206004820152601460248201527f746f6b656e206d696e74206e6f74206f70656e210000000000000000000000006044820152606401610ce9565b600061208660035490565b90507f000000000000000000000000000000000000000000000000000000000000000081106120ed5760405162461bcd60e51b81526020600482015260136024820152721b585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610ce9565b601060008360078111156121035761210361449e565b60078111156121145761211461449e565b8152602081019190915260400160009081205467ffffffffffffffff16906010908460078111156121475761214761449e565b60078111156121585761215861449e565b8152602081019190915260400160002054600160401b900467ffffffffffffffff16106121c75760405162461bcd60e51b815260206004820152601660248201527f6d617820746f6b656e4d696e74206578636565646564000000000000000000006044820152606401610ce9565b3360009081526012602052604090206001018260078111156121eb576121eb61449e565b600781106121fb576121fb614806565b602081049091015460ff601f9092166101000a9004161561225e5760405162461bcd60e51b815260206004820152601960248201527f746f6b656e4d696e7420616c726561647920636c61696d6564000000000000006044820152606401610ce9565b60058260078111156122725761227261449e565b106122bf5760405162461bcd60e51b815260206004820152600d60248201527f696e76616c6964204552433230000000000000000000000000000000000000006044820152606401610ce9565b6000601060008460078111156122d7576122d761449e565b60078111156122e8576122e861449e565b815260208101919091526040016000908120600101546009546001600160a01b03918216926323b872dd923392169060109088600781111561232c5761232c61449e565b600781111561233d5761233d61449e565b8152602081019190915260409081016000205490516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526fffffffffffffffffffffffffffffffff7001000000000000000000000000000000009091041660448201526064016020604051808303816000875af11580156123ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123ee9190614934565b90508061243d5760405162461bcd60e51b815260206004820152601560248201527f746f6b656e207472616e73666572206661696c656400000000000000000000006044820152606401610ce9565b6001601060008560078111156124555761245561449e565b60078111156124665761246661449e565b815260208101919091526040016000208054600890612497908490600160401b900467ffffffffffffffff166148d0565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160126000336001600160a01b03166001600160a01b031681526020019081526020016000206001018460078111156124f9576124f961449e565b6007811061250957612509614806565b602091828204019190066101000a81548160ff02191690831515021790555061253233836139f0565b50506006805460ff60a01b1916905550565b606060018054610bfe906147cc565b600654600160a01b900460ff16156125ad5760405162461bcd60e51b815260206004820181905260248201527f63616e6e6f74207265656e7465722061206c6f636b65642066756e6374696f6e6044820152606401610ce9565b6006805460ff60a01b1916600160a01b1790556002600d5460ff1660038111156125d9576125d961449e565b116126265760405162461bcd60e51b815260206004820152601960248201527f7075626c69632073616c65206973206e6f7420616374697665000000000000006044820152606401610ce9565b3332146126755760405162461bcd60e51b815260206004820152601560248201527f6e6f2070726f7879207472616e73616374696f6e7300000000000000000000006044820152606401610ce9565b600061268060035490565b9050600b546001612691919061484b565b82106126df5760405162461bcd60e51b815260206004820152601860248201527f6d6178207472616e73616374696f6e20657863656564656400000000000000006044820152606401610ce9565b61270a7f0000000000000000000000000000000000000000000000000000000000000000600161484b565b612714838361484b565b106127575760405162461bcd60e51b81526020600482015260136024820152721b585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610ce9565b6008546127649083614863565b3410156127b35760405162461bcd60e51b815260206004820152601360248201527f6e6f7420656e6f756768204554482073656e74000000000000000000000000006044820152606401610ce9565b60005b82811015612532576127cc33611a3f838561484b565b806127d681614832565b9150506127b6565b611b62338383613a6f565b6006546001600160a01b031633146128315760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b61285c7f0000000000000000000000000000000000000000000000000000000000000000600161484b565b600c54612869908361484b565b106128b65760405162461bcd60e51b815260206004820181905260248201527f4e6f7420656e6f7567682072657365727665206c65667420666f72207465616d6044820152606401610ce9565b60006128c160035490565b905081600c546128d1919061484b565b600c5560005b828110156128ff576128ed84611a3f838561484b565b806128f781614832565b9150506128d7565b50505050565b6006546001600160a01b0316331461294d5760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6129793383613795565b6129eb5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610ce9565b6128ff84848484613b3d565b6006546001600160a01b03163314612a3f5760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b600060106000866007811115612a5757612a5761449e565b6007811115612a6857612a6861449e565b8152602081019190915260400160002054600160401b900467ffffffffffffffff161115612b32578267ffffffffffffffff1660106000866007811115612ab157612ab161449e565b6007811115612ac257612ac261449e565b8152602081019190915260400160002054600160401b900467ffffffffffffffff161015612b325760405162461bcd60e51b815260206004820152601f60248201527f737570706c7920616c72656164792067726561746572207468616e206d6178006044820152606401610ce9565b8260106000866007811115612b4957612b4961449e565b6007811115612b5a57612b5a61449e565b815260200190815260200160002060000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508160106000866007811115612ba857612ba861449e565b6007811115612bb957612bb961449e565b815260200190815260200160002060000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055508060106000866007811115612c1757612c1761449e565b6007811115612c2857612c2861449e565b815260200190815260200160002060010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555050505050565b6060612c6e826136dd565b612ce05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610ce9565b6000612cea613bbb565b90506000815111612d0a5760405180602001604052806000815250611f94565b80612d1484613bca565b604051602001612d25929190614951565b6040516020818303038152906040529392505050565b6011546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015612da6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dca9190614977565b6001600160a01b03161480612dfa57506001600160a01b03831660009081526012602052604090206002015460ff165b15612e09576001915050610be9565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b612e43614065565b6001600160a01b038216600090815260126020526040808220815160e0810192839052926001909101916007918390855b825461010083900a900460ff161515815260206001928301818104948501949093039092029101808411612e74575094979650505050505050565b60606013805480602002602001604051908101604052809291908181526020018280548015610c7757602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff1681526020019060020190602082600101049283019260010382029150808411612eec5790505050505050905090565b6006546001600160a01b03163314612f765760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b6001600160a01b038116612ff25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610ce9565b61111b81613a1d565b600654600160a01b900460ff16156130555760405162461bcd60e51b815260206004820181905260248201527f63616e6e6f74207265656e7465722061206c6f636b65642066756e6374696f6e6044820152606401610ce9565b6006805460ff60a01b1916600160a01b179055600e541580159061308f57506000600d5460ff16600381111561308d5761308d61449e565b115b6130db5760405162461bcd60e51b815260206004820152601b60248201527f6672656520636c61696d20706572696f64206e6f74206f70656e2100000000006044820152606401610ce9565b60006130e660035490565b90506131137f0000000000000000000000000000000000000000000000000000000000000000600161484b565b61311d838361484b565b106131605760405162461bcd60e51b81526020600482015260136024820152721b585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610ce9565b6013546000906131709083614994565b905061319d7f0000000000000000000000000000000000000000000000000000000000000000600161484b565b6131a7848361484b565b106131f45760405162461bcd60e51b815260206004820152601460248201527f6d617820706f7274616c732065786365656465640000000000000000000000006044820152606401610ce9565b600e546040516bffffffffffffffffffffffff193360601b1660208201527fffff000000000000000000000000000000000000000000000000000000000000861660348201526132489187916036016112d3565b6132945760405162461bcd60e51b815260206004820152601760248201527f696e76616c69642070726f6f662d6b657920636f6d626f0000000000000000006044820152606401610ce9565b60f884901c6132a4816001614882565b3360009081526012602052604090205460ff91909116906132d090869067ffffffffffffffff1661484b565b1061331d5760405162461bcd60e51b815260206004820152601b60248201527f6d617820616c6c6f77656420636c61696d7320657863656564656400000000006044820152606401610ce9565b6133487f0000000000000000000000000000000000000000000000000000000000000000600161484b565b3360009081526012602052604090205461336d90869067ffffffffffffffff1661484b565b106133ba5760405162461bcd60e51b815260206004820152601860248201527f6d6178206672656520636c61696d7320657863656564656400000000000000006044820152606401610ce9565b336000908152601260205260409020546133de9067ffffffffffffffff168561484b565b6133e9906003614863565b600f546040517f70a082310000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b03909116906370a0823190602401602060405180830381865afa15801561344a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061346e91906149ab565b10156134bc5760405162461bcd60e51b815260206004820152601a60248201527f696e7375666669656e74204f47204c616d622062616c616e63650000000000006044820152606401610ce9565b33600090815260126020526040812080548692906134e590849067ffffffffffffffff166148d0565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508367ffffffffffffffff1682613521919061484b565b915060005b84811015611a5657601361353a828661484b565b81546001810183556000928352602090922060108304018054600f9093166002026101000a61ffff81810219909416929093169290920217905561358233611a3f838761484b565b8061358c81614832565b915050613526565b6006546001600160a01b031633146135dc5760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b600891909155600755565b6006546001600160a01b0316331461362f5760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b8051611b6290600a906020840190614083565b60006001600160e01b031982167f80ac58cd0000000000000000000000000000000000000000000000000000000014806136a557506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610be957507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610be9565b60035460009082108015610be9575060006001600160a01b03166003838154811061370a5761370a614806565b6000918252602090912001546001600160a01b0316141592915050565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061375c82611d4d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006137a0826136dd565b6138015760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610ce9565b600061380c83611d4d565b9050806001600160a01b0316846001600160a01b031614806138475750836001600160a01b031661383c84610c81565b6001600160a01b0316145b80612e335750612e338185612d3b565b826001600160a01b031661386a82611d4d565b6001600160a01b0316146138e65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610ce9565b6001600160a01b0382166139615760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610ce9565b61396c600082613727565b816003828154811061398057613980614806565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6000826139e78584613cff565b14949350505050565b611b62828260405180602001604052806000815250613d73565b8051611b62906002906020840190614083565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031603613ad05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610ce9565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b613b48848484613857565b613b5484848484613df1565b6128ff5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610ce9565b606060028054610bfe906147cc565b606081600003613c0d57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115613c375780613c2181614832565b9150613c309050600a836149da565b9150613c11565b60008167ffffffffffffffff811115613c5257613c52614269565b6040519080825280601f01601f191660200182016040528015613c7c576020820181803683370190505b5090505b8415612e3357613c91600183614994565b9150613c9e600a866149ee565b613ca990603061484b565b60f81b818381518110613cbe57613cbe614806565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613cf8600a866149da565b9450613c80565b600081815b8451811015613d6b576000858281518110613d2157613d21614806565b60200260200101519050808311613d475760008381526020829052604090209250613d58565b600081815260208490526040902092505b5080613d6381614832565b915050613d04565b509392505050565b613d7d8383613f3d565b613d8a6000848484613df1565b610ea45760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610ce9565b60006001600160a01b0384163b15613f3257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613e35903390899088908890600401614a02565b6020604051808303816000875af1925050508015613e70575060408051601f3d908101601f19168201909252613e6d91810190614a3e565b60015b613f18573d808015613e9e576040519150601f19603f3d011682016040523d82523d6000602084013e613ea3565b606091505b508051600003613f105760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610ce9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612e33565b506001949350505050565b6001600160a01b038216613f935760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ce9565b613f9c816136dd565b15613fe95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ce9565b6003805460018101825560009182527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6040518060e001604052806007906020820280368337509192915050565b82805461408f906147cc565b90600052602060002090601f0160209004810192826140b157600085556140f7565b82601f106140ca57805160ff19168380011785556140f7565b828001600101855582156140f7579182015b828111156140f75782518255916020019190600101906140dc565b50611bfb9291505b80821115611bfb57600081556001016140ff565b6001600160e01b03198116811461111b57600080fd5b60006020828403121561413b57600080fd5b8135611f9481614113565b60005b83811015614161578181015183820152602001614149565b838111156128ff5750506000910152565b6000815180845261418a816020860160208601614146565b601f01601f19169290920160200192915050565b602081526000611f946020830184614172565b6000602082840312156141c357600080fd5b5035919050565b6001600160a01b038116811461111b57600080fd5b6000602082840312156141f157600080fd5b8135611f94816141ca565b6000806040838503121561420f57600080fd5b823561421a816141ca565b946020939093013593505050565b60008060006060848603121561423d57600080fd5b8335614248816141ca565b92506020840135614258816141ca565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156142a8576142a8614269565b604052919050565b600082601f8301126142c157600080fd5b8135602067ffffffffffffffff8211156142dd576142dd614269565b8160051b6142ec82820161427f565b928352848101820192828101908785111561430657600080fd5b83870192505b848310156143255782358252918301919083019061430c565b979650505050505050565b80357fffff0000000000000000000000000000000000000000000000000000000000008116811461436057600080fd5b919050565b80356008811061436057600080fd5b6000806000806080858703121561438a57600080fd5b843567ffffffffffffffff8111156143a157600080fd5b6143ad878288016142b0565b9450506143bc60208601614330565b9250604085013591506143d160608601614365565b905092959194509250565b600067ffffffffffffffff8311156143f6576143f6614269565b614409601f8401601f191660200161427f565b905082815283838301111561441d57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561444657600080fd5b813567ffffffffffffffff81111561445d57600080fd5b8201601f8101841361446e57600080fd5b612e33848235602084016143dc565b60006020828403121561448f57600080fd5b813560048110611f9457600080fd5b634e487b7160e01b600052602160045260246000fd5b60208101600483106144d657634e487b7160e01b600052602160045260246000fd5b91905290565b600082601f8301126144ed57600080fd5b611f94838335602085016143dc565b6000806040838503121561450f57600080fd5b823567ffffffffffffffff8082111561452757600080fd5b614533868387016142b0565b9350602085013591508082111561454957600080fd5b50614556858286016144dc565b9150509250929050565b60006020828403121561457257600080fd5b611f9482614365565b801515811461111b57600080fd5b6000806040838503121561459c57600080fd5b82356145a7816141ca565b915060208301356145b78161457b565b809150509250929050565b600080600080608085870312156145d857600080fd5b84356145e3816141ca565b935060208501356145f3816141ca565b925060408501359150606085013567ffffffffffffffff81111561461657600080fd5b614622878288016144dc565b91505092959194509250565b6000806000806080858703121561464457600080fd5b61464d85614365565b9350602085013567ffffffffffffffff8116811461466a57600080fd5b925060408501356fffffffffffffffffffffffffffffffff8116811461468f57600080fd5b9150606085013561469f816141ca565b939692955090935050565b600080604083850312156146bd57600080fd5b82356146c8816141ca565b915060208301356145b7816141ca565b60e08101818360005b600781101561470257815115158352602092830192909101906001016146e1565b50505092915050565b6020808252825182820181905260009190848201906040850190845b8181101561474757835161ffff1683529284019291840191600101614727565b50909695505050505050565b60008060006060848603121561476857600080fd5b833567ffffffffffffffff81111561477f57600080fd5b61478b868287016142b0565b93505061479a60208501614330565b9150604084013590509250925092565b600080604083850312156147bd57600080fd5b50508035926020909101359150565b600181811c908216806147e057607f821691505b60208210810361480057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016148445761484461481c565b5060010190565b6000821982111561485e5761485e61481c565b500190565b600081600019048311821515161561487d5761487d61481c565b500290565b600060ff821660ff84168060ff0382111561489f5761489f61481c565b019392505050565b600060ff821660ff84168160ff04811182151516156148c8576148c861481c565b029392505050565b600067ffffffffffffffff8083168185168083038211156148f3576148f361481c565b01949350505050565b6bffffffffffffffffffffffff198360601b16815260008251614926816014850160208701614146565b919091016014019392505050565b60006020828403121561494657600080fd5b8151611f948161457b565b60008351614963818460208801614146565b8351908301906148f3818360208801614146565b60006020828403121561498957600080fd5b8151611f94816141ca565b6000828210156149a6576149a661481c565b500390565b6000602082840312156149bd57600080fd5b5051919050565b634e487b7160e01b600052601260045260246000fd5b6000826149e9576149e96149c4565b500490565b6000826149fd576149fd6149c4565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152614a346080830184614172565b9695505050505050565b600060208284031215614a5057600080fd5b8151611f948161411356fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220a71683006700f4f791abb8022252e020757198f182a21bf56ad03fa6b3c1271e64736f6c634300080d0033

Deployed Bytecode

0x60806040526004361061036b5760003560e01c806370a08231116101c6578063c062b65d116100f7578063ef4de08711610095578063f4e470781161006f578063f4e4707814610b17578063f529df7314610b37578063f7d9757714610b6b578063ffe630b514610b8b57600080fd5b8063ef4de08714610aa8578063f0c14fc614610ad5578063f2fde38b14610af757600080fd5b8063cd7c0326116100d1578063cd7c032614610a14578063d7227bf114610a34578063d76687da14610a54578063e985e9c514610a8857600080fd5b8063c062b65d14610915578063c81557e8146109de578063c87b56dd146109f457600080fd5b8063a0712d6811610164578063add5a4fa1161013e578063add5a4fa14610895578063adfdeef9146108b5578063b88d4fde146108d5578063b9aead00146108f557600080fd5b8063a0712d681461084c578063a22cb4651461085f578063add40ddb1461087f57600080fd5b80637e7641c3116101a05780637e7641c3146107d95780638a92d418146107f95780638da5cb5b1461081957806395d89b411461083757600080fd5b806370a0823114610784578063715018a6146107a45780637cb64759146107b957600080fd5b8063378f33be116102a05780635073955b1161023e5780635a67de07116102185780635a67de0714610708578063603f4d52146107285780636352211e1461074f5780636487d9a71461076f57600080fd5b80635073955b146106b357806355889ec1146106d357806355f804b3146106e857600080fd5b806342842e0e1161027a57806342842e0e1461060b5780634a3a0a8b1461062b5780634d4c4e991461065f5780634f6ccce71461069357600080fd5b8063378f33be146105cd5780633c3110d3146105e35780633ccfd60b146105f657600080fd5b806318160ddd1161030d57806322d0e347116102e757806322d0e3471461055757806323b872dd1461056d5780632f745c591461058d57806336c3c3e7146105ad57600080fd5b806318160ddd146104995780631bbe1cfb146104ae5780632126fcb2146104e157600080fd5b8063089488051161034957806308948805146103ff578063095ea7b3146104215780630ce9159a14610441578063132d3f6a1461048357600080fd5b806301ffc9a71461037057806306fdde03146103a5578063081812fc146103c7575b600080fd5b34801561037c57600080fd5b5061039061038b366004614129565b610bab565b60405190151581526020015b60405180910390f35b3480156103b157600080fd5b506103ba610bef565b60405161039c919061419e565b3480156103d357600080fd5b506103e76103e23660046141b1565b610c81565b6040516001600160a01b03909116815260200161039c565b34801561040b57600080fd5b5061041f61041a3660046141df565b610d0e565b005b34801561042d57600080fd5b5061041f61043c3660046141fc565b610d78565b34801561044d57600080fd5b506104757f000000000000000000000000000000000000000000000000000000000000006481565b60405190815260200161039c565b34801561048f57600080fd5b50610475600e5481565b3480156104a557600080fd5b50600354610475565b3480156104ba57600080fd5b506104ce6104c93660046141b1565b610ea9565b60405161ffff909116815260200161039c565b3480156104ed57600080fd5b5061052e6104fc3660046141df565b6012602052600090815260409020805460029091015467ffffffffffffffff80831692600160401b9004169060ff1683565b6040805167ffffffffffffffff948516815293909216602084015215159082015260600161039c565b34801561056357600080fd5b5061047560075481565b34801561057957600080fd5b5061041f610588366004614228565b610ee1565b34801561059957600080fd5b506104756105a83660046141fc565b610f68565b3480156105b957600080fd5b5061041f6105c83660046141df565b6110a2565b3480156105d957600080fd5b50610475600c5481565b61041f6105f1366004614374565b61111e565b34801561060257600080fd5b5061041f611a6c565b34801561061757600080fd5b5061041f610626366004614228565b611b66565b34801561063757600080fd5b506104757f000000000000000000000000000000000000000000000000000000000000001481565b34801561066b57600080fd5b506104757f000000000000000000000000000000000000000000000000000000000000180681565b34801561069f57600080fd5b506104756106ae3660046141b1565b611b81565b3480156106bf57600080fd5b506009546103e7906001600160a01b031681565b3480156106df57600080fd5b506103ba611bff565b3480156106f457600080fd5b5061041f610703366004614434565b611c8d565b34801561071457600080fd5b5061041f61072336600461447d565b611cde565b34801561073457600080fd5b50600d546107429060ff1681565b60405161039c91906144b4565b34801561075b57600080fd5b506103e761076a3660046141b1565b611d4d565b34801561077b57600080fd5b50610475600a81565b34801561079057600080fd5b5061047561079f3660046141df565b611ded565b3480156107b057600080fd5b5061041f611ed7565b3480156107c557600080fd5b5061041f6107d43660046141b1565b611f2b565b3480156107e557600080fd5b506103906107f43660046144fc565b611f78565b34801561080557600080fd5b5061041f610814366004614560565b611f9b565b34801561082557600080fd5b506006546001600160a01b03166103e7565b34801561084357600080fd5b506103ba612544565b61041f61085a3660046141b1565b612553565b34801561086b57600080fd5b5061041f61087a366004614589565b6127de565b34801561088b57600080fd5b5061047560085481565b3480156108a157600080fd5b5061041f6108b03660046141fc565b6127e9565b3480156108c157600080fd5b5061041f6108d03660046141df565b612905565b3480156108e157600080fd5b5061041f6108f03660046145c2565b61296f565b34801561090157600080fd5b5061041f61091036600461462e565b6129f7565b34801561092157600080fd5b50610992610930366004614560565b6010602052600090815260409020805460019091015467ffffffffffffffff80831692600160401b8104909116917001000000000000000000000000000000009091046fffffffffffffffffffffffffffffffff16906001600160a01b031684565b6040805167ffffffffffffffff95861681529490931660208501526fffffffffffffffffffffffffffffffff909116918301919091526001600160a01b0316606082015260800161039c565b3480156109ea57600080fd5b50610475600b5481565b348015610a0057600080fd5b506103ba610a0f3660046141b1565b612c63565b348015610a2057600080fd5b506011546103e7906001600160a01b031681565b348015610a4057600080fd5b50600f546103e7906001600160a01b031681565b348015610a6057600080fd5b506104757f000000000000000000000000000000000000000000000000000000000000213481565b348015610a9457600080fd5b50610390610aa33660046146aa565b612d3b565b348015610ab457600080fd5b50610ac8610ac33660046141df565b612e3b565b60405161039c91906146d8565b348015610ae157600080fd5b50610aea612eaf565b60405161039c919061470b565b348015610b0357600080fd5b5061041f610b123660046141df565b612f2e565b348015610b2357600080fd5b5061041f610b32366004614753565b612ffb565b348015610b4357600080fd5b506104757f00000000000000000000000000000000000000000000000000000000000005dc81565b348015610b7757600080fd5b5061041f610b863660046147aa565b613594565b348015610b9757600080fd5b5061041f610ba6366004614434565b6135e7565b60006001600160e01b031982167f780e9d63000000000000000000000000000000000000000000000000000000001480610be95750610be982613642565b92915050565b606060008054610bfe906147cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2a906147cc565b8015610c775780601f10610c4c57610100808354040283529160200191610c77565b820191906000526020600020905b815481529060010190602001808311610c5a57829003601f168201915b5050505050905090565b6000610c8c826136dd565b610cf25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6006546001600160a01b03163314610d565760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6000610d8382611d4d565b9050806001600160a01b0316836001600160a01b031603610e0c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610ce9565b336001600160a01b0382161480610e285750610e288133612d3b565b610e9a5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610ce9565b610ea48383613727565b505050565b60138181548110610eb957600080fd5b9060005260206000209060109182820401919006600202915054906101000a900461ffff1681565b610eeb3382613795565b610f5d5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610ce9565b610ea4838383613857565b6000610f7383611ded565b8210610fd55760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610ce9565b6000805b6003548110156110455760038181548110610ff657610ff6614806565b6000918252602090912001546001600160a01b039081169086160361103357838203611025579150610be99050565b8161102f81614832565b9250505b8061103d81614832565b915050610fd9565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610ce9565b6006546001600160a01b031633146110ea5760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b600f546001600160a01b0382811691161461111b57600f80546001600160a01b0319166001600160a01b0383161790555b50565b600654600160a01b900460ff16156111785760405162461bcd60e51b815260206004820181905260248201527f63616e6e6f74207265656e7465722061206c6f636b65642066756e6374696f6e6044820152606401610ce9565b6006805460ff60a01b1916600160a01b179055600e54158015906111b257506000600d5460ff1660038111156111b0576111b061449e565b115b6111fe5760405162461bcd60e51b815260206004820152601860248201527f70726573616c6520706572696f64206e6f74206f70656e2100000000000000006044820152606401610ce9565b600061120960035490565b90506112367f0000000000000000000000000000000000000000000000000000000000002134600161484b565b611240848361484b565b106112835760405162461bcd60e51b81526020600482015260136024820152721b585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610ce9565b600e546040516bffffffffffffffffffffffff193360601b1660208201527fffff000000000000000000000000000000000000000000000000000000000000861660348201526112ee9187916036015b604051602081830303815290604052805190602001206139da565b61133a5760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964202070726f6f662d6b657920636f6d626f00000000000000006044820152606401610ce9565b60f084901c60078360078111156113535761135361449e565b03611719576003600d5460ff1660038111156113715761137161449e565b106113be5760405162461bcd60e51b815260206004820152600f60248201527f70726573616c6520636c6f7365642100000000000000000000000000000000006044820152606401610ce9565b6007546113cb9085614863565b34101561141a5760405162461bcd60e51b815260206004820152601360248201527f6e6f7420656e6f756768204554482073656e74000000000000000000000000006044820152606401610ce9565b6114457f0000000000000000000000000000000000000000000000000000000000001806600161484b565b846010600086600781111561145c5761145c61449e565b600781111561146d5761146d61449e565b81526020810191909152604001600020546114999190600160401b900467ffffffffffffffff1661484b565b106114e65760405162461bcd60e51b815260206004820152601060248201527f70726573616c6520736f6c64206f7574000000000000000000000000000000006044820152606401610ce9565b6001600d5460ff1660038111156114ff576114ff61449e565b036115945761150f816001614882565b3360009081526012602052604090205460ff9190911690611542908690600160401b900467ffffffffffffffff1661484b565b1061158f5760405162461bcd60e51b815260206004820152601b60248201527f6d61782070726573616c6520636c61696d7320657863656564656400000000006044820152606401610ce9565b611648565b6002600d5460ff1660038111156115ad576115ad61449e565b03611648576115bd8160026148a7565b6115c8906001614882565b3360009081526012602052604090205460ff91909116906115fb908690600160401b900467ffffffffffffffff1661484b565b106116485760405162461bcd60e51b815260206004820152601b60248201527f6d6178207068617365203220636c61696d7320657863656564656400000000006044820152606401610ce9565b836010600085600781111561165f5761165f61449e565b60078111156116705761167061449e565b8152602081019190915260400160002080546008906116a1908490600160401b900467ffffffffffffffff166148d0565b82546101009290920a67ffffffffffffffff818102199093169183160217909155336000908152601260205260409020805487935090916008916116ee918591600160401b9004166148d0565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550611a26565b600483600781111561172d5761172d61449e565b1161177a5760405162461bcd60e51b815260206004820152600d60248201527f696e76616c696420746f6b656e000000000000000000000000000000000000006044820152606401610ce9565b600284106117ca5760405162461bcd60e51b815260206004820152600e60248201527f6f6e6c79203120616c6c6f7765640000000000000000000000000000000000006044820152606401610ce9565b3360009081526012602052604090206001018360078111156117ee576117ee61449e565b600781106117fe576117fe614806565b602081049091015460ff601f9092166101000a900416156118615760405162461bcd60e51b815260206004820152601960248201527f746f6b656e4d696e7420616c726561647920636c61696d6564000000000000006044820152606401610ce9565b601060008460078111156118775761187761449e565b60078111156118885761188861449e565b8152602081019190915260400160009081205467ffffffffffffffff16906010908560078111156118bb576118bb61449e565b60078111156118cc576118cc61449e565b8152602081019190915260400160002054600160401b900467ffffffffffffffff161061193b5760405162461bcd60e51b815260206004820152601660248201527f6d617820746f6b656e4d696e74206578636565646564000000000000000000006044820152606401610ce9565b83601060008560078111156119525761195261449e565b60078111156119635761196361449e565b815260208101919091526040016000208054600890611994908490600160401b900467ffffffffffffffff166148d0565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160126000336001600160a01b03166001600160a01b031681526020019081526020016000206001018460078111156119f6576119f661449e565b60078110611a0657611a06614806565b602091828204019190066101000a81548160ff0219169083151502179055505b60005b84811015611a5657611a4433611a3f838661484b565b6139f0565b80611a4e81614832565b915050611a29565b50506006805460ff60a01b191690555050505050565b6006546001600160a01b03163314611ab45760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b6040514790600090736e37d65d20ec3842358fb326a03e5e0ca47a0fa59083908381818185875af1925050503d8060008114611b0c576040519150601f19603f3d011682016040523d82523d6000602084013e611b11565b606091505b5050905080611b625760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610ce9565b5050565b610ea48383836040518060200160405280600081525061296f565b6003546000908210611bfb5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610ce9565b5090565b600a8054611c0c906147cc565b80601f0160208091040260200160405190810160405280929190818152602001828054611c38906147cc565b8015611c855780601f10611c5a57610100808354040283529160200191611c85565b820191906000526020600020905b815481529060010190602001808311611c6857829003601f168201915b505050505081565b6006546001600160a01b03163314611cd55760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b61111b81613a0a565b6006546001600160a01b03163314611d265760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b600d805482919060ff19166001836003811115611d4557611d4561449e565b021790555050565b60008060038381548110611d6357611d63614806565b6000918252602090912001546001600160a01b0316905080610be95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610ce9565b60006001600160a01b038216611e6b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610ce9565b6000805b600354811015611ed057836001600160a01b031660038281548110611e9657611e96614806565b6000918252602090912001546001600160a01b031603611ebe5781611eba81614832565b9250505b80611ec881614832565b915050611e6f565b5092915050565b6006546001600160a01b03163314611f1f5760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b611f296000613a1d565b565b6006546001600160a01b03163314611f735760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b600e55565b6000611f9483600e5433856040516020016112d39291906148fc565b9392505050565b600654600160a01b900460ff1615611ff55760405162461bcd60e51b815260206004820181905260248201527f63616e6e6f74207265656e7465722061206c6f636b65642066756e6374696f6e6044820152606401610ce9565b6006805460ff60a01b1916600160a01b179055600e541580159061202f57506000600d5460ff16600381111561202d5761202d61449e565b115b61207b5760405162461bcd60e51b815260206004820152601460248201527f746f6b656e206d696e74206e6f74206f70656e210000000000000000000000006044820152606401610ce9565b600061208660035490565b90507f000000000000000000000000000000000000000000000000000000000000213481106120ed5760405162461bcd60e51b81526020600482015260136024820152721b585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610ce9565b601060008360078111156121035761210361449e565b60078111156121145761211461449e565b8152602081019190915260400160009081205467ffffffffffffffff16906010908460078111156121475761214761449e565b60078111156121585761215861449e565b8152602081019190915260400160002054600160401b900467ffffffffffffffff16106121c75760405162461bcd60e51b815260206004820152601660248201527f6d617820746f6b656e4d696e74206578636565646564000000000000000000006044820152606401610ce9565b3360009081526012602052604090206001018260078111156121eb576121eb61449e565b600781106121fb576121fb614806565b602081049091015460ff601f9092166101000a9004161561225e5760405162461bcd60e51b815260206004820152601960248201527f746f6b656e4d696e7420616c726561647920636c61696d6564000000000000006044820152606401610ce9565b60058260078111156122725761227261449e565b106122bf5760405162461bcd60e51b815260206004820152600d60248201527f696e76616c6964204552433230000000000000000000000000000000000000006044820152606401610ce9565b6000601060008460078111156122d7576122d761449e565b60078111156122e8576122e861449e565b815260208101919091526040016000908120600101546009546001600160a01b03918216926323b872dd923392169060109088600781111561232c5761232c61449e565b600781111561233d5761233d61449e565b8152602081019190915260409081016000205490516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526fffffffffffffffffffffffffffffffff7001000000000000000000000000000000009091041660448201526064016020604051808303816000875af11580156123ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123ee9190614934565b90508061243d5760405162461bcd60e51b815260206004820152601560248201527f746f6b656e207472616e73666572206661696c656400000000000000000000006044820152606401610ce9565b6001601060008560078111156124555761245561449e565b60078111156124665761246661449e565b815260208101919091526040016000208054600890612497908490600160401b900467ffffffffffffffff166148d0565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160126000336001600160a01b03166001600160a01b031681526020019081526020016000206001018460078111156124f9576124f961449e565b6007811061250957612509614806565b602091828204019190066101000a81548160ff02191690831515021790555061253233836139f0565b50506006805460ff60a01b1916905550565b606060018054610bfe906147cc565b600654600160a01b900460ff16156125ad5760405162461bcd60e51b815260206004820181905260248201527f63616e6e6f74207265656e7465722061206c6f636b65642066756e6374696f6e6044820152606401610ce9565b6006805460ff60a01b1916600160a01b1790556002600d5460ff1660038111156125d9576125d961449e565b116126265760405162461bcd60e51b815260206004820152601960248201527f7075626c69632073616c65206973206e6f7420616374697665000000000000006044820152606401610ce9565b3332146126755760405162461bcd60e51b815260206004820152601560248201527f6e6f2070726f7879207472616e73616374696f6e7300000000000000000000006044820152606401610ce9565b600061268060035490565b9050600b546001612691919061484b565b82106126df5760405162461bcd60e51b815260206004820152601860248201527f6d6178207472616e73616374696f6e20657863656564656400000000000000006044820152606401610ce9565b61270a7f0000000000000000000000000000000000000000000000000000000000002134600161484b565b612714838361484b565b106127575760405162461bcd60e51b81526020600482015260136024820152721b585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610ce9565b6008546127649083614863565b3410156127b35760405162461bcd60e51b815260206004820152601360248201527f6e6f7420656e6f756768204554482073656e74000000000000000000000000006044820152606401610ce9565b60005b82811015612532576127cc33611a3f838561484b565b806127d681614832565b9150506127b6565b611b62338383613a6f565b6006546001600160a01b031633146128315760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b61285c7f0000000000000000000000000000000000000000000000000000000000000064600161484b565b600c54612869908361484b565b106128b65760405162461bcd60e51b815260206004820181905260248201527f4e6f7420656e6f7567682072657365727665206c65667420666f72207465616d6044820152606401610ce9565b60006128c160035490565b905081600c546128d1919061484b565b600c5560005b828110156128ff576128ed84611a3f838561484b565b806128f781614832565b9150506128d7565b50505050565b6006546001600160a01b0316331461294d5760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6129793383613795565b6129eb5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610ce9565b6128ff84848484613b3d565b6006546001600160a01b03163314612a3f5760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b600060106000866007811115612a5757612a5761449e565b6007811115612a6857612a6861449e565b8152602081019190915260400160002054600160401b900467ffffffffffffffff161115612b32578267ffffffffffffffff1660106000866007811115612ab157612ab161449e565b6007811115612ac257612ac261449e565b8152602081019190915260400160002054600160401b900467ffffffffffffffff161015612b325760405162461bcd60e51b815260206004820152601f60248201527f737570706c7920616c72656164792067726561746572207468616e206d6178006044820152606401610ce9565b8260106000866007811115612b4957612b4961449e565b6007811115612b5a57612b5a61449e565b815260200190815260200160002060000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508160106000866007811115612ba857612ba861449e565b6007811115612bb957612bb961449e565b815260200190815260200160002060000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055508060106000866007811115612c1757612c1761449e565b6007811115612c2857612c2861449e565b815260200190815260200160002060010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555050505050565b6060612c6e826136dd565b612ce05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610ce9565b6000612cea613bbb565b90506000815111612d0a5760405180602001604052806000815250611f94565b80612d1484613bca565b604051602001612d25929190614951565b6040516020818303038152906040529392505050565b6011546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015612da6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dca9190614977565b6001600160a01b03161480612dfa57506001600160a01b03831660009081526012602052604090206002015460ff165b15612e09576001915050610be9565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b612e43614065565b6001600160a01b038216600090815260126020526040808220815160e0810192839052926001909101916007918390855b825461010083900a900460ff161515815260206001928301818104948501949093039092029101808411612e74575094979650505050505050565b60606013805480602002602001604051908101604052809291908181526020018280548015610c7757602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff1681526020019060020190602082600101049283019260010382029150808411612eec5790505050505050905090565b6006546001600160a01b03163314612f765760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b6001600160a01b038116612ff25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610ce9565b61111b81613a1d565b600654600160a01b900460ff16156130555760405162461bcd60e51b815260206004820181905260248201527f63616e6e6f74207265656e7465722061206c6f636b65642066756e6374696f6e6044820152606401610ce9565b6006805460ff60a01b1916600160a01b179055600e541580159061308f57506000600d5460ff16600381111561308d5761308d61449e565b115b6130db5760405162461bcd60e51b815260206004820152601b60248201527f6672656520636c61696d20706572696f64206e6f74206f70656e2100000000006044820152606401610ce9565b60006130e660035490565b90506131137f0000000000000000000000000000000000000000000000000000000000002134600161484b565b61311d838361484b565b106131605760405162461bcd60e51b81526020600482015260136024820152721b585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610ce9565b6013546000906131709083614994565b905061319d7f00000000000000000000000000000000000000000000000000000000000005dc600161484b565b6131a7848361484b565b106131f45760405162461bcd60e51b815260206004820152601460248201527f6d617820706f7274616c732065786365656465640000000000000000000000006044820152606401610ce9565b600e546040516bffffffffffffffffffffffff193360601b1660208201527fffff000000000000000000000000000000000000000000000000000000000000861660348201526132489187916036016112d3565b6132945760405162461bcd60e51b815260206004820152601760248201527f696e76616c69642070726f6f662d6b657920636f6d626f0000000000000000006044820152606401610ce9565b60f884901c6132a4816001614882565b3360009081526012602052604090205460ff91909116906132d090869067ffffffffffffffff1661484b565b1061331d5760405162461bcd60e51b815260206004820152601b60248201527f6d617820616c6c6f77656420636c61696d7320657863656564656400000000006044820152606401610ce9565b6133487f0000000000000000000000000000000000000000000000000000000000000014600161484b565b3360009081526012602052604090205461336d90869067ffffffffffffffff1661484b565b106133ba5760405162461bcd60e51b815260206004820152601860248201527f6d6178206672656520636c61696d7320657863656564656400000000000000006044820152606401610ce9565b336000908152601260205260409020546133de9067ffffffffffffffff168561484b565b6133e9906003614863565b600f546040517f70a082310000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b03909116906370a0823190602401602060405180830381865afa15801561344a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061346e91906149ab565b10156134bc5760405162461bcd60e51b815260206004820152601a60248201527f696e7375666669656e74204f47204c616d622062616c616e63650000000000006044820152606401610ce9565b33600090815260126020526040812080548692906134e590849067ffffffffffffffff166148d0565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508367ffffffffffffffff1682613521919061484b565b915060005b84811015611a5657601361353a828661484b565b81546001810183556000928352602090922060108304018054600f9093166002026101000a61ffff81810219909416929093169290920217905561358233611a3f838761484b565b8061358c81614832565b915050613526565b6006546001600160a01b031633146135dc5760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b600891909155600755565b6006546001600160a01b0316331461362f5760405162461bcd60e51b81526020600482018190526024820152600080516020614a5c8339815191526044820152606401610ce9565b8051611b6290600a906020840190614083565b60006001600160e01b031982167f80ac58cd0000000000000000000000000000000000000000000000000000000014806136a557506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610be957507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610be9565b60035460009082108015610be9575060006001600160a01b03166003838154811061370a5761370a614806565b6000918252602090912001546001600160a01b0316141592915050565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061375c82611d4d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006137a0826136dd565b6138015760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610ce9565b600061380c83611d4d565b9050806001600160a01b0316846001600160a01b031614806138475750836001600160a01b031661383c84610c81565b6001600160a01b0316145b80612e335750612e338185612d3b565b826001600160a01b031661386a82611d4d565b6001600160a01b0316146138e65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610ce9565b6001600160a01b0382166139615760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610ce9565b61396c600082613727565b816003828154811061398057613980614806565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6000826139e78584613cff565b14949350505050565b611b62828260405180602001604052806000815250613d73565b8051611b62906002906020840190614083565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031603613ad05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610ce9565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b613b48848484613857565b613b5484848484613df1565b6128ff5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610ce9565b606060028054610bfe906147cc565b606081600003613c0d57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115613c375780613c2181614832565b9150613c309050600a836149da565b9150613c11565b60008167ffffffffffffffff811115613c5257613c52614269565b6040519080825280601f01601f191660200182016040528015613c7c576020820181803683370190505b5090505b8415612e3357613c91600183614994565b9150613c9e600a866149ee565b613ca990603061484b565b60f81b818381518110613cbe57613cbe614806565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613cf8600a866149da565b9450613c80565b600081815b8451811015613d6b576000858281518110613d2157613d21614806565b60200260200101519050808311613d475760008381526020829052604090209250613d58565b600081815260208490526040902092505b5080613d6381614832565b915050613d04565b509392505050565b613d7d8383613f3d565b613d8a6000848484613df1565b610ea45760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610ce9565b60006001600160a01b0384163b15613f3257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613e35903390899088908890600401614a02565b6020604051808303816000875af1925050508015613e70575060408051601f3d908101601f19168201909252613e6d91810190614a3e565b60015b613f18573d808015613e9e576040519150601f19603f3d011682016040523d82523d6000602084013e613ea3565b606091505b508051600003613f105760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610ce9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612e33565b506001949350505050565b6001600160a01b038216613f935760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ce9565b613f9c816136dd565b15613fe95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ce9565b6003805460018101825560009182527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6040518060e001604052806007906020820280368337509192915050565b82805461408f906147cc565b90600052602060002090601f0160209004810192826140b157600085556140f7565b82601f106140ca57805160ff19168380011785556140f7565b828001600101855582156140f7579182015b828111156140f75782518255916020019190600101906140dc565b50611bfb9291505b80821115611bfb57600081556001016140ff565b6001600160e01b03198116811461111b57600080fd5b60006020828403121561413b57600080fd5b8135611f9481614113565b60005b83811015614161578181015183820152602001614149565b838111156128ff5750506000910152565b6000815180845261418a816020860160208601614146565b601f01601f19169290920160200192915050565b602081526000611f946020830184614172565b6000602082840312156141c357600080fd5b5035919050565b6001600160a01b038116811461111b57600080fd5b6000602082840312156141f157600080fd5b8135611f94816141ca565b6000806040838503121561420f57600080fd5b823561421a816141ca565b946020939093013593505050565b60008060006060848603121561423d57600080fd5b8335614248816141ca565b92506020840135614258816141ca565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156142a8576142a8614269565b604052919050565b600082601f8301126142c157600080fd5b8135602067ffffffffffffffff8211156142dd576142dd614269565b8160051b6142ec82820161427f565b928352848101820192828101908785111561430657600080fd5b83870192505b848310156143255782358252918301919083019061430c565b979650505050505050565b80357fffff0000000000000000000000000000000000000000000000000000000000008116811461436057600080fd5b919050565b80356008811061436057600080fd5b6000806000806080858703121561438a57600080fd5b843567ffffffffffffffff8111156143a157600080fd5b6143ad878288016142b0565b9450506143bc60208601614330565b9250604085013591506143d160608601614365565b905092959194509250565b600067ffffffffffffffff8311156143f6576143f6614269565b614409601f8401601f191660200161427f565b905082815283838301111561441d57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561444657600080fd5b813567ffffffffffffffff81111561445d57600080fd5b8201601f8101841361446e57600080fd5b612e33848235602084016143dc565b60006020828403121561448f57600080fd5b813560048110611f9457600080fd5b634e487b7160e01b600052602160045260246000fd5b60208101600483106144d657634e487b7160e01b600052602160045260246000fd5b91905290565b600082601f8301126144ed57600080fd5b611f94838335602085016143dc565b6000806040838503121561450f57600080fd5b823567ffffffffffffffff8082111561452757600080fd5b614533868387016142b0565b9350602085013591508082111561454957600080fd5b50614556858286016144dc565b9150509250929050565b60006020828403121561457257600080fd5b611f9482614365565b801515811461111b57600080fd5b6000806040838503121561459c57600080fd5b82356145a7816141ca565b915060208301356145b78161457b565b809150509250929050565b600080600080608085870312156145d857600080fd5b84356145e3816141ca565b935060208501356145f3816141ca565b925060408501359150606085013567ffffffffffffffff81111561461657600080fd5b614622878288016144dc565b91505092959194509250565b6000806000806080858703121561464457600080fd5b61464d85614365565b9350602085013567ffffffffffffffff8116811461466a57600080fd5b925060408501356fffffffffffffffffffffffffffffffff8116811461468f57600080fd5b9150606085013561469f816141ca565b939692955090935050565b600080604083850312156146bd57600080fd5b82356146c8816141ca565b915060208301356145b7816141ca565b60e08101818360005b600781101561470257815115158352602092830192909101906001016146e1565b50505092915050565b6020808252825182820181905260009190848201906040850190845b8181101561474757835161ffff1683529284019291840191600101614727565b50909695505050505050565b60008060006060848603121561476857600080fd5b833567ffffffffffffffff81111561477f57600080fd5b61478b868287016142b0565b93505061479a60208501614330565b9150604084013590509250925092565b600080604083850312156147bd57600080fd5b50508035926020909101359150565b600181811c908216806147e057607f821691505b60208210810361480057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016148445761484461481c565b5060010190565b6000821982111561485e5761485e61481c565b500190565b600081600019048311821515161561487d5761487d61481c565b500290565b600060ff821660ff84168060ff0382111561489f5761489f61481c565b019392505050565b600060ff821660ff84168160ff04811182151516156148c8576148c861481c565b029392505050565b600067ffffffffffffffff8083168185168083038211156148f3576148f361481c565b01949350505050565b6bffffffffffffffffffffffff198360601b16815260008251614926816014850160208701614146565b919091016014019392505050565b60006020828403121561494657600080fd5b8151611f948161457b565b60008351614963818460208801614146565b8351908301906148f3818360208801614146565b60006020828403121561498957600080fd5b8151611f94816141ca565b6000828210156149a6576149a661481c565b500390565b6000602082840312156149bd57600080fd5b5051919050565b634e487b7160e01b600052601260045260246000fd5b6000826149e9576149e96149c4565b500490565b6000826149fd576149fd6149c4565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152614a346080830184614172565b9695505050505050565b600060208284031215614a5057600080fd5b8151611f948161411356fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220a71683006700f4f791abb8022252e020757198f182a21bf56ad03fa6b3c1271e64736f6c634300080d0033

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

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