ETH Price: $3,481.90 (+1.97%)

Token

IDNTTS (IDS)
 

Overview

Max Total Supply

10,000 IDS

Holders

3,462

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
jhass.eth
Balance
4 IDS
0x6C9c8e73063E2e0E8773a19f71bC1c74962C5Afe
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Protocol SWEEP & REFRESH: PaperhandVirus raging in IDNCITY-1. Citizens listed below 0.01 experience change beyond recognition. Lay your Diamond Hands on an affected token to heal it.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
IDNTTS

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : IDNTTS.sol
/*

█ ██ |██|█ |█| █
█ ██ |██|█ |█| █
█ ██ |██|█ |█| █
     IDNTTS

*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./ERC721S/ERC721SLockablePermittable.sol";
import "./ERC2981/ERC2981ContractWideRoyalties.sol";
import "./Base64.sol";

/// @title IDNTTS Project. Featuring Lockable extension by IDNTTS Labs
/// @dev   Check https://github.com/filmakarov/erc721s for details on Lockable NFTs        
/// @author of the contract filio.eth (twitter.com/filmakarov)

contract IDNTTS is ERC721SLockablePermittable, Ownable, ERC2981ContractWideRoyalties {  

    using Strings for uint256;

    /*///////////////////////////////////////////////////////////////
                                GENERAL STORAGE
    //////////////////////////////////////////////////////////////*/

    uint256 public constant MAX_ITEMS = 10000;

    address private minterAddress;
    
    mapping (bool => string) private baseURI;
    string private unrevealedURI;
    string private metadataExtension = ".json";

    string public provenanceHash;

    bool public revealState;

    constructor(string memory _myBaseUnlocked, string memory _myBaseLocked, string memory _unrevBase) ERC721S("IDNTTS", "IDS") {
            baseURI[true] = _myBaseUnlocked;
            baseURI[false] = _myBaseLocked; 
            unrevealedURI = _unrevBase;    
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721SLockablePermittable, ERC2981ContractWideRoyalties)
        returns (bool)
    {
        return ERC721SLockablePermittable.supportsInterface(interfaceId) || 
               ERC2981ContractWideRoyalties.supportsInterface(interfaceId);
    }

    /*///////////////////////////////////////////////////////////////
                        MINTING LOGIC
    //////////////////////////////////////////////////////////////*/

    function mint(address to, uint256 qty) public {
        require (msg.sender == minterAddress, "Not allowed to mint");
        require(totalMinted() + qty <= MAX_ITEMS, ">MaxSupply");

        _safeMint(to, qty);
    }

    /*///////////////////////////////////////////////////////////////
                       PUBLIC VIEWS
    //////////////////////////////////////////////////////////////*/

    /// @notice Returns the link to the metadata for the token
    /// @param tokenId token ID
    /// @return string with the link
    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        require(_exists(tokenId), "NOT_EXISTS");
        if (revealState) {
            return string(abi.encodePacked(baseURI[getLocked(tokenId) == address(0)], tokenId.toString(), metadataExtension));
        } else {
            string memory json = string(abi.encodePacked('{"name": "IDNTTS #', tokenId.toString(), '", "description": "IDNTTS is the only 10k free mint with real utility. Artistic & technological innovation. We are crazy but free!", "image": "',unrevealedURI,'","attributes": [{"trait_type": "Revealed", "value": "No"}]}'));
            return string(abi.encodePacked('data:application/json;base64,', Base64.encode(bytes(json))));
        }
    }

    /// @notice Iterates over all the exisitng tokens and checks if they belong to the user
    /// This function uses very much resources.
    /// !!! NEVER USE this function with write transactions DIRECTLY. 
    /// Only read from it and then pass data to the write tx
    /// @param tokenOwner user to get tokens of
    /// @return the array of token IDs 
    function tokensOfOwner(address tokenOwner) external view returns(uint256[] memory) {
        uint256 tokenCount = _balanceOf[tokenOwner];
        if (tokenCount == 0) {
            // Return an empty array
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 resultIndex = 0;
            uint256 NFTId;
            for (NFTId = _startTokenIndex(); NFTId < nextTokenIndex; NFTId++) { 
                if (_exists(NFTId)&&(ownerOf(NFTId) == tokenOwner)) {  
                    result[resultIndex] = NFTId;
                    resultIndex++;
                } 
            }     
            return result;
        }
    }

    function unclaimedSupply() public view returns (uint256) {
        return MAX_ITEMS - totalMinted();
    }

    function getTokenTimestamp(uint256 tokenId) public view returns (uint256) {
        return uint256(_packedOwnerships[tokenId] >> 160);
    }

    /*///////////////////////////////////////////////////////////////
                       CUSTOM LOCKING LOGIC
    //////////////////////////////////////////////////////////////*/

    /// @notice Can not lock tokens before the reveal
    function lock(address unlocker, uint256 id) public override {
        require(revealState, "CANT_LOCK_BEFORE_REVEAL");
        ERC721SLockable.lock(unlocker, id);
    }

    /*///////////////////////////////////////////////////////////////
                       ADMIN FUNCTIONS
    //////////////////////////////////////////////////////////////*/

    function setMinter(address _newMinter) public onlyOwner {
        minterAddress = _newMinter;
    }

    function setRevealState(bool _revealState) public onlyOwner {
        revealState = _revealState;
    }
    
    function setBaseURI(string memory _newBaseUnlocked, string memory _newBaseLocked) public onlyOwner {
        baseURI[true] = _newBaseUnlocked;
        baseURI[false] = _newBaseLocked;
    }

    function setUnrevURI(string memory _newUnrevURI) public onlyOwner {
        unrevealedURI = _newUnrevURI;
    }

    function setMetadataExtension(string memory _newMDExt) public onlyOwner {
        metadataExtension = _newMDExt;
    }

    function setProvenanceHash(string memory _newPH) public onlyOwner {
        if (bytes(provenanceHash).length == 0) {
            provenanceHash = _newPH;
        } else {
            revert("Provenance hash already set");
        }
    }

    /// @notice Allows to set the royalties on the contract
    /// @dev See ERC2981ContractWideRoyalties.sol
    /// @param recipient the royalties recipient
    /// @param value royalties value (between 0 and 10000)
    function setRoyalties(address recipient, uint256 value) public onlyOwner {
        _setRoyalties(recipient, value);
    }

}

//   That's all, folks!

File 2 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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);
    }
}

File 3 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

File 4 of 15 : ERC721SLockablePermittable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;

import "@openzeppelin/contracts/utils/cryptography/SignatureChecker.sol";
import "./ERC721SLockable.sol";

/// @title ERC721S Extension with EIP2612-like permits
/// @dev   Implements EIP4494 and additionally permitAll

abstract contract ERC721SLockablePermittable is ERC721SLockable {  

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override
        returns (bool)
    {
        return
            interfaceId == 0x5604e225 ||           // _INTERFACE_ID_ERC4494 = 0x5604e225
            super.supportsInterface(interfaceId);
    }

    /*///////////////////////////////////////////////////////////////
                            EIP-2612-LIKE STORAGE
    //////////////////////////////////////////////////////////////*/
    
    bytes32 public constant PERMIT_TYPEHASH =
        keccak256("Permit(address spender,uint256 tokenId,uint256 nonce,uint256 deadline)");

    bytes32 public constant PERMIT_ALL_TYPEHASH = 
        keccak256("Permit(address operator,uint256 nonce,uint256 deadline)");

    uint256 internal immutable INITIAL_CHAIN_ID;

    bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR;

    mapping(uint256 => uint256) public nonces;

    mapping(address => mapping(address => uint256)) public noncesForAll;

    /*///////////////////////////////////////////////////////////////
                              CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor() {
        INITIAL_CHAIN_ID = block.chainid;
        INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator();      
    }

    /*///////////////////////////////////////////////////////////////
                            EIP-2612-LIKE LOGIC
    //////////////////////////////////////////////////////////////*/
    
    /**
     * @dev Uses the permit to approve one token for spender
     */

    function permit(
        address signer,
        address spender,
        uint256 tokenId,
        uint256 deadline,
        bytes memory sig
    ) public virtual {
        require(block.timestamp <= deadline, "PERMIT_DEADLINE_EXPIRED");
        
        address ownerOfToken = ownerOf(tokenId);
        
        // Unchecked because the only math done is incrementing
        // the nonce which cannot realistically overflow.
        unchecked {
            bytes32 digest = keccak256(
                abi.encodePacked(
                    "\x19\x01",
                    DOMAIN_SEPARATOR(),
                    keccak256(abi.encode(PERMIT_TYPEHASH, spender, tokenId, nonces[tokenId]++, deadline))
                )
            );

            require(SignatureChecker.isValidSignatureNow(signer, digest, sig), "INVALID_SIGNATURE");

            // Signature is good, now should check if signer had rights to approve this token
            // Like, only owner or operator can user approve functions, 
            // only owner or operator can sign permits for approval. 
            require(signer == ownerOfToken || isApprovedForAll(ownerOfToken, signer), "INVALID_SIGNER"); 
        }
        
        _tokenApprovals[tokenId] = spender;

        emit Approval(ownerOfToken, spender, tokenId);
    }

    /**
     * @dev Uses the permit to approve all the tokens owned by signer for the operator
     * 
     * Having permit for all can make purchases cheaper for buyers in future, when marketplace can consume only one 
     * permitAll from buyer to all the tokens from given collection, and all next orders won't need to call permit() 
     * for every new token purchase, so buyers won't pay gas for that call
     * this can be more dangerous for seller btw, to approve All of his tokens to the marketplace instead of per token approvals
     */
     
    function permitAll(
        address signer,
        address operator,
        uint256 deadline,
        bytes memory sig
    ) public virtual {
        require(block.timestamp <= deadline, "PERMIT_DEADLINE_EXPIRED");
        
        // Unchecked because the only math done is incrementing
        // the owner's nonce which cannot realistically overflow.
        unchecked {
            bytes32 digest = keccak256(
                abi.encodePacked(
                    "\x19\x01",
                    DOMAIN_SEPARATOR(),
                    keccak256(abi.encode(PERMIT_ALL_TYPEHASH, operator, noncesForAll[signer][operator]++, deadline))
                )
            );

            require(SignatureChecker.isValidSignatureNow(signer, digest, sig), "INVALID_SIGNATURE");
        }
        
        // no need to check any kind of ownerships because we always approve operator on behalf of signer,
        // not on behalf of any other owner
        // that does not allow current operators to make isApprovedForAll[owner][one_more_operator] = true
        // but current operator can still aprove explicit tokens with permit(), that is enough I guess
        // and better for security
        _operatorApprovals[signer][operator] = true;

        emit ApprovalForAll(signer, operator, true);
    }

    function DOMAIN_SEPARATOR() public view virtual returns (bytes32 domainSeparator) {
        domainSeparator = block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator();
    }

    function computeDomainSeparator() internal view virtual returns (bytes32 domainSeparator) {
        domainSeparator = keccak256(
            abi.encode(
                keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
                keccak256(bytes(name)),
                keccak256(bytes("1")),
                block.chainid,
                address(this)
            )
        );
    }

}

//   That's all, folks!

File 5 of 15 : ERC2981ContractWideRoyalties.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

//import '@openzeppelin/contracts/utils/introspection/ERC165.sol';
import './IERC2981Royalties.sol';

/// @dev This is a contract used to add ERC2981 support to ERC721 and 1155
/// @dev This implementation has the same royalties for each and every tokens
abstract contract ERC2981ContractWideRoyalties is IERC2981Royalties {

    struct RoyaltyInfo {
        address recipient;
        uint24 amount;
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        returns (bool)
    {
        return
            interfaceId == type(IERC2981Royalties).interfaceId;
    }

    RoyaltyInfo private _royalties;

    /// @dev Sets token royalties
    /// @param recipient recipient of the royalties
    /// @param value percentage (using 2 decimals - 10000 = 100, 0 = 0)
    function _setRoyalties(address recipient, uint256 value) internal {
        require(value <= 10000, 'ERC2981Royalties: Too high');
        _royalties = RoyaltyInfo(recipient, uint24(value));
    }

    /// @inheritdoc	IERC2981Royalties
    function royaltyInfo(uint256, uint256 value)
        external
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        RoyaltyInfo memory royalties = _royalties;
        receiver = royalties.recipient;
        royaltyAmount = (value * royalties.amount) / 10000;
    }
}

File 6 of 15 : Base64.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>
library Base64 {
    bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /// @notice Encodes some bytes to the base64 representation
    function encode(bytes memory data) internal pure returns (string memory) {
        uint256 len = data.length;
        if (len == 0) return "";

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((len + 2) / 3);

        // Add some extra buffer at the end
        bytes memory result = new bytes(encodedLen + 32);

        bytes memory table = TABLE;

        assembly {
            let tablePtr := add(table, 1)
            let resultPtr := add(result, 32)

            for {
                let i := 0
            } lt(i, len) {

            } {
                i := add(i, 3)
                let input := and(mload(add(data, i)), 0xffffff)

                let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF))
                out := shl(224, out)

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

            switch mod(len, 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

File 7 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

File 8 of 15 : SignatureChecker.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/SignatureChecker.sol)

pragma solidity ^0.8.0;

import "./ECDSA.sol";
import "../Address.sol";
import "../../interfaces/IERC1271.sol";

/**
 * @dev Signature verification helper that can be used instead of `ECDSA.recover` to seamlessly support both ECDSA
 * signatures from externally owned accounts (EOAs) as well as ERC1271 signatures from smart contract wallets like
 * Argent and Gnosis Safe.
 *
 * _Available since v4.1._
 */
library SignatureChecker {
    /**
     * @dev Checks if a signature is valid for a given signer and data hash. If the signer is a smart contract, the
     * signature is validated against that smart contract using ERC1271, otherwise it's validated using `ECDSA.recover`.
     *
     * NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus
     * change through time. It could return true at block N and false at block N+1 (or the opposite).
     */
    function isValidSignatureNow(
        address signer,
        bytes32 hash,
        bytes memory signature
    ) internal view returns (bool) {
        (address recovered, ECDSA.RecoverError error) = ECDSA.tryRecover(hash, signature);
        if (error == ECDSA.RecoverError.NoError && recovered == signer) {
            return true;
        }

        (bool success, bytes memory result) = signer.staticcall(
            abi.encodeWithSelector(IERC1271.isValidSignature.selector, hash, signature)
        );
        return (success && result.length == 32 && abi.decode(result, (bytes4)) == IERC1271.isValidSignature.selector);
    }
}

File 9 of 15 : ERC721SLockable.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;

import './ERC721S.sol';
import './IERC721Lockable.sol';

/// @title Lockable Extension for ERC721S implementation of ERC721 Standard
/// @author filio.eth (https://twitter.com/filmakarov)
/// @dev Check the repo and readme at https://github.com/filmakarov/erc721s 

abstract contract ERC721SLockable is ERC721S, IERC721Lockable {

    /*///////////////////////////////////////////////////////////////
                            LOCKABLE EXTENSION STORAGE                        
    //////////////////////////////////////////////////////////////*/

    mapping(uint256 => address) internal unlockers;

    /*///////////////////////////////////////////////////////////////
                              LOCKABLE LOGIC
    //////////////////////////////////////////////////////////////*/

    /**
     * @dev Public function to lock the token. Verifies if the msg.sender is the owner
     *      or approved party.
     */

    function lock(address unlocker, uint256 id) public virtual {
        address tokenOwner = ownerOf(id);
        require(msg.sender == tokenOwner || isApprovedForAll(tokenOwner, msg.sender)
        , "Locking: not auhorized to lock");
        require(unlockers[id] == address(0), "Locking: Token is already locked"); 
        unlockers[id] = unlocker;
        super.approve(unlocker, id); //approve unlocker, so unlocker will be able to transfer
    }

    /**
     * @dev Public function to unlock the token. Only the unlocker (stated at the time of locking) can unlock
     */
    function unlock(uint256 id) public virtual {
        require(msg.sender == unlockers[id], "Locking: Not allowed to unlock");
        unlockers[id] = address(0);
    }

    /**
     * @dev Returns the unlocker for the tokenId
     *      address(0) means token is not locked
     *      reverts if token does not exist
     */
    function getLocked(uint256 tokenId) public virtual view returns (address) {
        require(_exists(tokenId), "Lockable: locking query for nonexistent token");
        return unlockers[tokenId];
    }

    /**
     * @dev Locks the token
     */
    function _lock(address unlocker, uint256 id) internal virtual {
        unlockers[id] = unlocker;
    }

    /**
     * @dev Unlocks the token
     */
    function _unlock(uint256 id) internal virtual {
        unlockers[id] = address(0);
    }

    /*///////////////////////////////////////////////////////////////
                              OVERRIDES
    //////////////////////////////////////////////////////////////*/

    function approve(address to, uint256 tokenId) public virtual override {
        require (getLocked(tokenId) == address(0), "Can not approve locked token"); // so the unlocker stays approved
        super.approve(to, tokenId);
    }

    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual override {
        // if it is a Transfer or Burn, we always deal with one token, that is startTokenId
        if (from != address(0)) { 
            // token should not be locked or msg.sender should be unlocker to do that
            require(getLocked(startTokenId) == address(0) || msg.sender == getLocked(startTokenId), "Lockable: token is locked");
        }
    }

    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual override {
        // if it is a Transfer or Burn, we always deal with one token, that is startTokenId
        if (from != address(0)) { 
            // clear locks
            delete unlockers[startTokenId];
        }
    }

    /*///////////////////////////////////////////////////////////////
                              ERC165 LOGIC
    //////////////////////////////////////////////////////////////*/

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override
        returns (bool)
    {
        return
            interfaceId == type(IERC721Lockable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

}

File 10 of 15 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 11 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 12 of 15 : IERC1271.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC1271.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC1271 standard signature validation method for
 * contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271].
 *
 * _Available since v4.1._
 */
interface IERC1271 {
    /**
     * @dev Should return whether the signature provided is valid for the provided data
     * @param hash      Hash of the data to be signed
     * @param signature Signature byte array associated with _data
     */
    function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue);
}

File 13 of 15 : ERC721S.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;

/// @title ERC721s
/// @notice Custom ERC721. Batch minting. Timestamps for ownerships. 
///         Inspiration: ERC721A by Chiru Labs, Solmate by Rari Capital
/// @author filio.eth (https://twitter.com/filmakarov)
/// @dev Check the repo and readme at https://github.com/filmakarov/erc721s 

abstract contract ERC721S {

    /*///////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event Transfer(address indexed _from, address indexed _to, uint256 indexed _id);

    event Approval(address indexed owner, address indexed spender, uint256 indexed id);

    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /*///////////////////////////////////////////////////////////////
                          METADATA STORAGE/LOGIC
    //////////////////////////////////////////////////////////////*/

    string public name;
    string public symbol;

    function tokenURI(uint256 id) public view virtual returns (string memory);

    /*///////////////////////////////////////////////////////////////
                            ERC721 STORAGE                        
    //////////////////////////////////////////////////////////////*/

    uint256 public nextTokenIndex;
    mapping(uint256 => uint256) internal _packedOwnerships;
    mapping(uint256 => address) internal _tokenApprovals;
    mapping(address => mapping(address => bool)) internal _operatorApprovals;
    mapping(address => uint256) internal _balanceOf;
    mapping(uint256 => bool) public isBurned;
    uint256 public burnedCounter;

    uint256 private constant ADDRESS_BITMASK = (1 << 160) - 1;

    /*///////////////////////////////////////////////////////////////
                              CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(string memory _name, string memory _symbol) {
        name = _name;
        symbol = _symbol;
        nextTokenIndex = _startTokenIndex();
    }

    /*///////////////////////////////////////////////////////////////
                              APPROVALS LOGIC
    //////////////////////////////////////////////////////////////*/

    function approve(address spender, uint256 id) public virtual {
        address owner = ownerOf(id);
        require(msg.sender == owner || _operatorApprovals[owner][msg.sender], "ERC721S: Not authorized to approve");
        _tokenApprovals[id] = spender;
        emit Approval(owner, spender, id);
    }

    function setApprovalForAll(address operator, bool approved) public virtual {
        _operatorApprovals[msg.sender][operator] = approved;
        emit ApprovalForAll(msg.sender, operator, approved);
    }

    function getApproved(uint256 tokenId) public view virtual returns (address) {
        require(_exists(tokenId), "ERC721S: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    function isApprovedForAll(address owner, address operator) public view virtual returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /*///////////////////////////////////////////////////////////////
                              OWNERSHIPS
    //////////////////////////////////////////////////////////////*/

    function _exists(uint256 id) internal view returns (bool) {
        return (id < nextTokenIndex && !isBurned[id] && id >= _startTokenIndex());
    }

    function ownerOf(uint256 id) public view returns (address) {
        return address(uint160( _packedOwnershipOf(id) ));
    }

    function _packedOwnershipOf(uint256 id) internal view returns (uint256) {
        if (id >= _startTokenIndex()) {
            if (id<nextTokenIndex) {
                if (!isBurned[id]) { 
                    uint256 curr = id;
                    unchecked {
                        uint256 packed = _packedOwnerships[curr];
                        
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
            }
        }
        revert('ERC721S: Token does not exist');
    }

    function _packOwnership(address owner) internal virtual returns (uint256 result) {
        assembly {
            owner := and(owner, ADDRESS_BITMASK)
            result := or(owner, shl(160, timestamp()))
        }
    }

    /*///////////////////////////////////////////////////////////////
                              TRANSFERS LOGIC
    //////////////////////////////////////////////////////////////*/

    function transferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {

        uint256 prevOwnership = _packedOwnershipOf(id);
        
        require(from == address(uint160(prevOwnership)), "ERC721S: From is not the owner");
        require(to != address(0), "ERC721S: Can not transfer to 0 address");

        // msg.sender should be authorized to transfer
        // i.e. msg.sender should be owner, approved or unlocker
        require(
            msg.sender == from || 
            msg.sender == getApproved(id) || isApprovedForAll(from, msg.sender), 
            "ERC721S: Not authorized to transfer"
        );

        _beforeTokenTransfers(from, to, id, 1);

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        unchecked {
            _balanceOf[from]--;
            _balanceOf[to]++;
        }

        _packedOwnerships[id] = _packOwnership(to);

        uint256 nextId = id+1;

        if (_exists(nextId)) {
            // _packedOwnerships[nextId] == 0 is true only if the token ownership has not been initialized
            // burned token has non-zero ownership and if it was burned, the next token after burned one
            // was initialized 
            if (_packedOwnerships[nextId] == 0) {
                _packedOwnerships[nextId] = prevOwnership;
            }
        }     

        delete _tokenApprovals[id];

        emit Transfer(from, to, id);
        _afterTokenTransfers(from, to, id, 1);
    } 

    function safeTransferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        transferFrom(from, to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") ==
                ERC721TokenReceiver.onERC721Received.selector,
            "ERC721S: Transfer to unsafe recepient"
        );
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        bytes calldata data
    ) public virtual {
        transferFrom(from, to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) ==
                ERC721TokenReceiver.onERC721Received.selector,
            "ERC721S: Transfer to unsafe recepient"
        );
    }

    /*///////////////////////////////////////////////////////////////
                              Views
    //////////////////////////////////////////////////////////////*/

    function balanceOf(address owner) public view virtual returns (uint256) {
        require(owner != address(0), "ERC721S: BalanceOf query for zero address");
        return _balanceOf[owner];
    }

    function totalSupply() public view returns (uint256) {
        return totalMinted() - burnedCounter;
    }

    function totalMinted() public view returns (uint256) {
        return nextTokenIndex - _startTokenIndex();
    }

    /*///////////////////////////////////////////////////////////////
                       INTERNAL MINT LOGIC
    //////////////////////////////////////////////////////////////*/

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     * Inspired by ERC721A
     */
    function _startTokenIndex() internal view virtual returns (uint256) {
        return 0;
    }

    function _mint(address to, uint256 qty) internal virtual {
        require(to != address(0), "ERC721S: Can not mint to 0 address");
        require(qty != 0, "ERC721S: Can not mint 0 tokens");

        uint256 startTokenIndex = nextTokenIndex;

        _beforeTokenTransfers(address(0), to, startTokenIndex, qty);

        // put just the first owner in the batch
        _packedOwnerships[nextTokenIndex] = _packOwnership(to);

        // Counter overflow is incredibly unrealistic here.
        unchecked {
                nextTokenIndex += qty;
            }
          
        //balanceOf change thru assembly
        assembly {
            mstore(0, to)
            mstore(32, _balanceOf.slot)
            let hash := keccak256(0, 64)
            sstore(hash, add(sload(hash), qty))
        } 

        for (uint256 i=startTokenIndex; i<nextTokenIndex; i++) {
            emit Transfer(address(0), to, i);
        }

        _afterTokenTransfers(address(0), to, startTokenIndex, qty);
        
    }

    function _safeMint(address to, uint256 qty) internal virtual {
        _mint(to, qty);
        
        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), nextTokenIndex-qty, "") ==
                ERC721TokenReceiver.onERC721Received.selector,
            "ERC721S: Mint to unsafe recepient"
        );
    }

    function _safeMint(
        address to,
        uint256 qty,
        bytes memory data
    ) internal virtual {
        _mint(to, qty);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), nextTokenIndex-qty, data) ==
                ERC721TokenReceiver.onERC721Received.selector,
            "ERC721S: Mint to unsafe recepient"
        );
    }

    /*///////////////////////////////////////////////////////////////
                       BURN LOGIC
    //////////////////////////////////////////////////////////////*/

    function _burn(uint256 id) internal virtual {
        
        address owner = ownerOf(id);
        uint256 prevOwnership = _packedOwnershipOf(id);

        _beforeTokenTransfers(owner, address(0), id, 1);

        // Ownership check above ensures no underflow.
        unchecked {
            _balanceOf[owner]--;
        }
        
        _packedOwnerships[id] = _packOwnership(address(0)); // thus we have time of burning the token

        isBurned[id] = true;
        burnedCounter++;

        uint256 nextId = id+1;
        if (_packedOwnerships[nextId] == 0) {  //if that was not the last token of batch
            if (_exists(nextId)) { //and the next token exists (was minted) and has not been burned
                _packedOwnerships[nextId] = prevOwnership; //explicitly set the owner for that token
            }
        }
        
        delete _tokenApprovals[id];

        emit Transfer(owner, address(0), id);
        _afterTokenTransfers(owner, address(0), id, 1);
    }

    /*///////////////////////////////////////////////////////////////
                              ERC165 LOGIC
    //////////////////////////////////////////////////////////////*/

    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return
            interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165
            interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721
            interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata
    }

    /*///////////////////////////////////////////////////////////////
                              HOOKS
    //////////////////////////////////////////////////////////////*/

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token IDs
     * have been transferred. This includes minting.
     * And also called after one token has been burned.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

}

/*///////////////////////////////////////////////////////////////
                              TOKEN RECEIVER
//////////////////////////////////////////////////////////////*/

/// @notice A generic interface for a contract which properly accepts ERC721 tokens.
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol)
abstract contract ERC721TokenReceiver {
    function onERC721Received(
        address,
        address,
        uint256,
        bytes calldata
    ) external virtual returns (bytes4) {
        return ERC721TokenReceiver.onERC721Received.selector;
    }
}

File 14 of 15 : IERC721Lockable.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;

/// @title ILockable
/// @dev Interface for the Lockable extension
/// @author filio.eth 

interface IERC721Lockable {

    /**
     * @dev Emitted when `id` token is locked, and `unlocker` is stated as unlocking wallet.
     */
    event Lock (address indexed unlocker, uint256 indexed id);

    /**
     * @dev Emitted when `id` token is unlocked.
     */
    event Unlock (uint256 indexed id);

    /**
     * @dev Locks the `id` token and states `unlocker` wallet as unlocker.
     */
    function lock(address unlocker, uint256 id) external;

    /**
     * @dev Unlocks the `id` token.
     */
    function unlock(uint256 id) external;

    /**
     * @dev Returns the wallet, that is stated as unlocking wallet for the `tokenId` token.
     * If address(0) returned, that means token is not locked. Any other result means token is locked.
     */
    function getLocked(uint256 tokenId) external view returns (address);

}

File 15 of 15 : IERC2981Royalties.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/// @title IERC2981Royalties
/// @dev Interface for the ERC2981 - Token Royalty standard
interface IERC2981Royalties {
    /// @notice Called with the sale price to determine how much royalty
    //          is owed and to whom.
    /// @param _tokenId - the NFT asset queried for royalty information
    /// @param _value - the sale price of the NFT asset specified by _tokenId
    /// @return _receiver - address of who should be sent the royalty payment
    /// @return _royaltyAmount - the royalty payment amount for value sale price
    function royaltyInfo(uint256 _tokenId, uint256 _value)
        external
        view
        returns (address _receiver, uint256 _royaltyAmount);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_myBaseUnlocked","type":"string"},{"internalType":"string","name":"_myBaseLocked","type":"string"},{"internalType":"string","name":"_unrevBase","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"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":"unlocker","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Lock","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":"_id","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Unlock","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"domainSeparator","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_ITEMS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_ALL_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[],"name":"burnedCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getLocked","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isBurned","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"unlocker","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"noncesForAll","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"permitAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseUnlocked","type":"string"},{"internalType":"string","name":"_newBaseLocked","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newMDExt","type":"string"}],"name":"setMetadataExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newMinter","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newPH","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealState","type":"bool"}],"name":"setRevealState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newUnrevURI","type":"string"}],"name":"setUnrevURI","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":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"id","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":"unclaimedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250601190805190602001906200005192919062000378565b503480156200005f57600080fd5b5060405162006367380380620063678339818101604052810190620000859190620005c5565b6040518060400160405280600681526020017f49444e54545300000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f494453000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200010992919062000378565b5080600190805190602001906200012292919062000378565b5062000133620001f960201b60201c565b6002819055505050466080818152505062000153620001fe60201b60201c565b60a081815250506200017a6200016e620002aa60201b60201c565b620002b260201b60201c565b82600f600060011515151581526020019081526020016000209080519060200190620001a892919062000378565b5081600f6000801515151581526020019081526020016000209080519060200190620001d692919062000378565b508060109080519060200190620001ef92919062000378565b505050506200087e565b600090565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60006040516200023291906200078d565b60405180910390206040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152508051906020012046306040516020016200028f95949392919062000821565b60405160208183030381529060405280519060200120905090565b600033905090565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200038690620006ad565b90600052602060002090601f016020900481019282620003aa5760008555620003f6565b82601f10620003c557805160ff1916838001178555620003f6565b82800160010185558215620003f6579182015b82811115620003f5578251825591602001919060010190620003d8565b5b50905062000405919062000409565b5090565b5b80821115620004245760008160009055506001016200040a565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004918262000446565b810181811067ffffffffffffffff82111715620004b357620004b262000457565b5b80604052505050565b6000620004c862000428565b9050620004d6828262000486565b919050565b600067ffffffffffffffff821115620004f957620004f862000457565b5b620005048262000446565b9050602081019050919050565b60005b838110156200053157808201518184015260208101905062000514565b8381111562000541576000848401525b50505050565b60006200055e6200055884620004db565b620004bc565b9050828152602081018484840111156200057d576200057c62000441565b5b6200058a84828562000511565b509392505050565b600082601f830112620005aa57620005a96200043c565b5b8151620005bc84826020860162000547565b91505092915050565b600080600060608486031215620005e157620005e062000432565b5b600084015167ffffffffffffffff81111562000602576200060162000437565b5b620006108682870162000592565b935050602084015167ffffffffffffffff81111562000634576200063362000437565b5b620006428682870162000592565b925050604084015167ffffffffffffffff81111562000666576200066562000437565b5b620006748682870162000592565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006c657607f821691505b602082108103620006dc57620006db6200067e565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546200071181620006ad565b6200071d8186620006e2565b945060018216600081146200073b57600181146200074d5762000784565b60ff1983168652818601935062000784565b6200075885620006ed565b60005b838110156200077c578154818901526001820191506020810190506200075b565b838801955050505b50505092915050565b60006200079b828462000702565b915081905092915050565b6000819050919050565b620007bb81620007a6565b82525050565b6000819050919050565b620007d681620007c1565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200080982620007dc565b9050919050565b6200081b81620007fc565b82525050565b600060a082019050620008386000830188620007b0565b620008476020830187620007b0565b620008566040830186620007b0565b620008656060830185620007cb565b62000874608083018462000810565b9695505050505050565b60805160a051615ac3620008a4600039600061102501526000610ff10152615ac36000f3fe608060405234801561001057600080fd5b506004361061028a5760003560e01c806370a082311161015c578063a2309ff8116100ce578063cdb712d811610087578063cdb712d8146107d4578063d6056e9b146107f2578063db44fe071461080e578063e985e9c51461083e578063f2fde38b1461086e578063fca3b5aa1461088a5761028a565b8063a2309ff8146106fe578063b4e13c8d1461071c578063b88d4fde1461073a578063c194afca14610756578063c6ab67a314610786578063c87b56dd146107a45761028a565b80638c7ea24b116101205780638c7ea24b146106525780638da5cb5b1461066e57806395d89b411461068c5780639f6350e6146106aa5780639fd5a6cf146106c6578063a22cb465146106e25761028a565b806370a08231146105b0578063715018a6146105e0578063841bfb27146105ea5780638462151c146106065780638b2e9809146106365761028a565b80632a55205a11610200578063522439ef116101b9578063522439ef146104ee57806357d4c4ee1461050c5780635afefc091461052a5780636198e339146105485780636352211e146105645780636790a9de146105945761028a565b80632a55205a1461041957806330adf81f1461044a5780633644e515146104685780633b035df61461048657806340c10f19146104b657806342842e0e146104d25761028a565b8063131f5d0511610252578063131f5d0514610345578063141a468c1461036357806318160ddd1461039357806321a16b0c146103b157806323b872dd146103e1578063282d3fdf146103fd5761028a565b806301ffc9a71461028f57806306fdde03146102bf578063081812fc146102dd578063095ea7b31461030d5780631096952314610329575b600080fd5b6102a960048036038101906102a4919061387f565b6108a6565b6040516102b691906138c7565b60405180910390f35b6102c76108c8565b6040516102d4919061397b565b60405180910390f35b6102f760048036038101906102f291906139d3565b610956565b6040516103049190613a41565b60405180910390f35b61032760048036038101906103229190613a88565b6109db565b005b610343600480360381019061033e9190613bfd565b610a60565b005b61034d610ad8565b60405161035a91906138c7565b60405180910390f35b61037d600480360381019061037891906139d3565b610aeb565b60405161038a9190613c55565b60405180910390f35b61039b610b03565b6040516103a89190613c55565b60405180910390f35b6103cb60048036038101906103c691906139d3565b610b1f565b6040516103d89190613c55565b60405180910390f35b6103fb60048036038101906103f69190613c70565b610b40565b005b61041760048036038101906104129190613a88565b610eac565b005b610433600480360381019061042e9190613cc3565b610f09565b604051610441929190613d03565b60405180910390f35b610452610fc9565b60405161045f9190613d45565b60405180910390f35b610470610fed565b60405161047d9190613d45565b60405180910390f35b6104a0600480360381019061049b91906139d3565b61104a565b6040516104ad9190613a41565b60405180910390f35b6104d060048036038101906104cb9190613a88565b6110cf565b005b6104ec60048036038101906104e79190613c70565b6111c4565b005b6104f66112fc565b6040516105039190613c55565b60405180910390f35b610514611302565b6040516105219190613c55565b60405180910390f35b610532611308565b60405161053f9190613c55565b60405180910390f35b610562600480360381019061055d91906139d3565b611324565b005b61057e600480360381019061057991906139d3565b61141b565b60405161058b9190613a41565b60405180910390f35b6105ae60048036038101906105a99190613d60565b61142d565b005b6105ca60048036038101906105c59190613dd8565b611492565b6040516105d79190613c55565b60405180910390f35b6105e8611549565b005b61060460048036038101906105ff9190613bfd565b61155d565b005b610620600480360381019061061b9190613dd8565b61157f565b60405161062d9190613ec3565b60405180910390f35b610650600480360381019061064b9190613f11565b611720565b005b61066c60048036038101906106679190613a88565b611745565b005b61067661175b565b6040516106839190613a41565b60405180910390f35b610694611785565b6040516106a1919061397b565b60405180910390f35b6106c460048036038101906106bf9190613bfd565b611813565b005b6106e060048036038101906106db9190613fdf565b611835565b005b6106fc60048036038101906106f79190614076565b611aa7565b005b610706611ba4565b6040516107139190613c55565b60405180910390f35b610724611bc0565b6040516107319190613d45565b60405180910390f35b610754600480360381019061074f9190614116565b611be4565b005b610770600480360381019061076b919061419e565b611d22565b60405161077d9190613c55565b60405180910390f35b61078e611d47565b60405161079b919061397b565b60405180910390f35b6107be60048036038101906107b991906139d3565b611dd5565b6040516107cb919061397b565b60405180910390f35b6107dc611f14565b6040516107e99190613c55565b60405180910390f35b61080c600480360381019061080791906141de565b611f1a565b005b610828600480360381019061082391906139d3565b6121b3565b60405161083591906138c7565b60405180910390f35b6108586004803603810190610853919061419e565b6121d3565b60405161086591906138c7565b60405180910390f35b61088860048036038101906108839190613dd8565b612267565b005b6108a4600480360381019061089f9190613dd8565b6122ea565b005b60006108b182612336565b806108c157506108c082612378565b5b9050919050565b600080546108d590614290565b80601f016020809104026020016040519081016040528092919081815260200182805461090190614290565b801561094e5780601f106109235761010080835404028352916020019161094e565b820191906000526020600020905b81548152906001019060200180831161093157829003601f168201915b505050505081565b6000610961826123e2565b6109a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099790614333565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600073ffffffffffffffffffffffffffffffffffffffff166109fc8261104a565b73ffffffffffffffffffffffffffffffffffffffff1614610a52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a499061439f565b60405180910390fd5b610a5c828261242d565b5050565b610a686125eb565b600060128054610a7790614290565b905003610a9a578060129080519060200190610a94929190613770565b50610ad5565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acc9061440b565b60405180910390fd5b50565b601360009054906101000a900460ff1681565b600a6020528060005260406000206000915090505481565b6000600854610b10611ba4565b610b1a919061445a565b905090565b600060a06003600084815260200190815260200160002054901c9050919050565b6000610b4b82612669565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb2906144da565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c219061456c565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610c975750610c6882610956565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b80610ca85750610ca784336121d3565b5b610ce7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cde906145fe565b60405180910390fd5b610cf4848484600161273c565b600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550610d9c8361282c565b60036000848152602001908152602001600020819055506000600183610dc2919061461e565b9050610dcd816123e2565b15610e07576000600360008381526020019081526020016000205403610e06578160036000838152602001908152602001600020819055505b5b6004600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610ea58585856001612854565b5050505050565b601360009054906101000a900460ff16610efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef2906146c0565b60405180910390fd5b610f0582826128c5565b5050565b6000806000600d6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900462ffffff1662ffffff1662ffffff1681525050905080600001519250612710816020015162ffffff1685610fb591906146e0565b610fbf9190614769565b9150509250929050565b7f49ecf333e5b8c95c40fdafc95c1ad136e8914a8fb55e9dc8bb01eaa83a2df9ad81565b60007f000000000000000000000000000000000000000000000000000000000000000046146110235761101e612a54565b611045565b7f00000000000000000000000000000000000000000000000000000000000000005b905090565b6000611055826123e2565b611094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108b9061480c565b60405180910390fd5b6009600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461115f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115690614878565b60405180910390fd5b6127108161116b611ba4565b611175919061461e565b11156111b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ad906148e4565b60405180910390fd5b6111c08282612afc565b5050565b6111cf838383610b40565b60008273ffffffffffffffffffffffffffffffffffffffff163b14806112b8575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b81526004016112549392919061493b565b6020604051808303816000875af1158015611273573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611297919061499a565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b6112f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ee90614a39565b60405180910390fd5b505050565b60025481565b61271081565b6000611312611ba4565b61271061131f919061445a565b905090565b6009600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146113c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bc90614aa5565b60405180910390fd5b60006009600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600061142682612669565b9050919050565b6114356125eb565b81600f600060011515151581526020019081526020016000209080519060200190611461929190613770565b5080600f600080151515158152602001908152602001600020908051906020019061148d929190613770565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f990614b37565b60405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115516125eb565b61155b6000612c40565b565b6115656125eb565b806010908051906020019061157b929190613770565b5050565b60606000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000810361161f57600067ffffffffffffffff8111156115e8576115e7613ad2565b5b6040519080825280602002602001820160405280156116165781602001602082028036833780820191505090505b5091505061171b565b60008167ffffffffffffffff81111561163b5761163a613ad2565b5b6040519080825280602002602001820160405280156116695781602001602082028036833780820191505090505b509050600080611677612d06565b90505b6002548110156117135761168d816123e2565b80156116cc57508573ffffffffffffffffffffffffffffffffffffffff166116b48261141b565b73ffffffffffffffffffffffffffffffffffffffff16145b1561170057808383815181106116e5576116e4614b57565b5b60200260200101818152505081806116fc90614b86565b9250505b808061170b90614b86565b91505061167a565b829450505050505b919050565b6117286125eb565b80601360006101000a81548160ff02191690831515021790555050565b61174d6125eb565b6117578282612d0b565b5050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6001805461179290614290565b80601f01602080910402602001604051908101604052809291908181526020018280546117be90614290565b801561180b5780601f106117e05761010080835404028352916020019161180b565b820191906000526020600020905b8154815290600101906020018083116117ee57829003601f168201915b505050505081565b61181b6125eb565b8060119080519060200190611831929190613770565b5050565b81421115611878576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186f90614c1a565b60405180910390fd5b60006118838461141b565b9050600061188f610fed565b7f49ecf333e5b8c95c40fdafc95c1ad136e8914a8fb55e9dc8bb01eaa83a2df9ad8787600a60008a8152602001908152602001600020600081548092919060010191905055886040516020016118e9959493929190614c3a565b60405160208183030381529060405280519060200120604051602001611910929190614d05565b604051602081830303815290604052805190602001209050611933878285612df5565b611972576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196990614d88565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614806119b257506119b182886121d3565b5b6119f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e890614df4565b60405180910390fd5b50846004600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050505050565b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b9891906138c7565b60405180910390a35050565b6000611bae612d06565b600254611bbb919061445a565b905090565b7fafbfe754c960cea8bb403409f4a498246c360a58a15b26e69ab98c9374b1085481565b611bef858585610b40565b60008473ffffffffffffffffffffffffffffffffffffffff163b1480611cdc575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b8152600401611c78959493929190614e41565b6020604051808303816000875af1158015611c97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cbb919061499a565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b611d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1290614a39565b60405180910390fd5b5050505050565b600b602052816000526040600020602052806000526040600020600091509150505481565b60128054611d5490614290565b80601f0160208091040260200160405190810160405280929190818152602001828054611d8090614290565b8015611dcd5780601f10611da257610100808354040283529160200191611dcd565b820191906000526020600020905b815481529060010190602001808311611db057829003601f168201915b505050505081565b6060611de0826123e2565b611e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1690614edb565b60405180910390fd5b601360009054906101000a900460ff1615611eb457600f60008073ffffffffffffffffffffffffffffffffffffffff16611e588561104a565b73ffffffffffffffffffffffffffffffffffffffff1614151515158152602001908152602001600020611e8a83612fda565b6011604051602001611e9e93929190614fc0565b6040516020818303038152906040529050611f0f565b6000611ebf83612fda565b6010604051602001611ed2929190615193565b6040516020818303038152906040529050611eec8161313a565b604051602001611efc9190615224565b6040516020818303038152906040529150505b919050565b60085481565b81421115611f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5490614c1a565b60405180910390fd5b6000611f67610fed565b7fafbfe754c960cea8bb403409f4a498246c360a58a15b26e69ab98c9374b1085485600b60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919060010191905055866040516020016120289493929190615246565b6040516020818303038152906040528051906020012060405160200161204f929190614d05565b604051602081830303815290604052805190602001209050612072858284612df5565b6120b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a890614d88565b60405180910390fd5b506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160016040516121a591906138c7565b60405180910390a350505050565b60076020528060005260406000206000915054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61226f6125eb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036122de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d5906152fd565b60405180910390fd5b6122e781612c40565b50565b6122f26125eb565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000635604e22560e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123715750612370826132d1565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60006002548210801561241357506007600083815260200190815260200160002060009054906101000a900460ff16155b80156124265750612422612d06565b8210155b9050919050565b60006124388261141b565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806124fa5750600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b612539576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125309061538f565b60405180910390fd5b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6125f361334b565b73ffffffffffffffffffffffffffffffffffffffff1661261161175b565b73ffffffffffffffffffffffffffffffffffffffff1614612667576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265e906153fb565b60405180910390fd5b565b6000612673612d06565b82106126fc576002548210156126fb576007600083815260200190815260200160002060009054906101000a900460ff166126fa5760008290506000600360008381526020019081526020016000205490505b600081036126f05760036000836001900393508381526020019081526020016000205490506126c6565b8092505050612737565b5b5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272e90615467565b60405180910390fd5b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161461282657600073ffffffffffffffffffffffffffffffffffffffff166127918361104a565b73ffffffffffffffffffffffffffffffffffffffff1614806127e657506127b78261104a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612825576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281c906154d3565b60405180910390fd5b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff821691504260a01b82179050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146128bf576009600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b50505050565b60006128d08261141b565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612912575061291181336121d3565b5b612951576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129489061553f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166009600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146129f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ea906155ab565b60405180910390fd5b826009600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612a4f838361242d565b505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051612a86919061566a565b60405180910390206040518060400160405280600181526020017f3100000000000000000000000000000000000000000000000000000000000000815250805190602001204630604051602001612ae1959493929190615681565b60405160208183030381529060405280519060200120905090565b612b068282613353565b60008273ffffffffffffffffffffffffffffffffffffffff163b1480612bfd575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a0233600085600254612b7b919061445a565b6040518463ffffffff1660e01b8152600401612b999392919061493b565b6020604051808303816000875af1158015612bb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bdc919061499a565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b612c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3390615746565b60405180910390fd5b5050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600090565b612710811115612d50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d47906157b2565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff1681526020018262ffffff16815250600d60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548162ffffff021916908362ffffff1602179055509050505050565b6000806000612e0485856134f2565b9150915060006004811115612e1c57612e1b6157d2565b5b816004811115612e2f57612e2e6157d2565b5b148015612e6757508573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b15612e7757600192505050612fd3565b6000808773ffffffffffffffffffffffffffffffffffffffff16631626ba7e60e01b8888604051602401612eac929190615845565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051612f1691906158a6565b600060405180830381855afa9150503d8060008114612f51576040519150601f19603f3d011682016040523d82523d6000602084013e612f56565b606091505b5091509150818015612f69575060208151145b8015612fcc5750631626ba7e60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681806020019051810190612fab919061499a565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9450505050505b9392505050565b606060008203613021576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613135565b600082905060005b6000821461305357808061303c90614b86565b915050600a8261304c9190614769565b9150613029565b60008167ffffffffffffffff81111561306f5761306e613ad2565b5b6040519080825280601f01601f1916602001820160405280156130a15781602001600182028036833780820191505090505b5090505b6000851461312e576001826130ba919061445a565b9150600a856130c991906158bd565b60306130d5919061461e565b60f81b8183815181106130eb576130ea614b57565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131279190614769565b94506130a5565b8093505050505b919050565b60606000825190506000810361316257604051806020016040528060008152509150506132cc565b60006003600283613173919061461e565b61317d9190614769565b600461318991906146e0565b9050600060208261319a919061461e565b67ffffffffffffffff8111156131b3576131b2613ad2565b5b6040519080825280601f01601f1916602001820160405280156131e55781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001615a4e604091399050600181016020830160005b868110156132895760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050613210565b5060038606600181146132a357600281146132b3576132be565b613d3d60f01b60028303526132be565b603d60f81b60018303525b508484525050819450505050505b919050565b60007f72b68110000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613344575061334382613573565b5b9050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036133c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b990615960565b60405180910390fd5b60008103613405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133fc906159cc565b60405180910390fd5b60006002549050613419600084838561273c565b6134228361282c565b600360006002548152602001908152602001600020819055508160026000828254019250508190555082600052600660205260406000208281540181555060008190505b6002548110156134df57808473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480806134d790614b86565b915050613466565b506134ed6000848385612854565b505050565b60008060418351036135335760008060006020860151925060408601519150606086015160001a905061352787828585613605565b9450945050505061356c565b6040835103613563576000806020850151915060408501519050613558868383613711565b93509350505061356c565b60006002915091505b9250929050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806135ce57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806135fe5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613640576000600391509150613708565b601b8560ff16141580156136585750601c8560ff1614155b1561366a576000600491509150613708565b60006001878787876040516000815260200160405260405161368f9493929190615a08565b6020604051602081039080840390855afa1580156136b1573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036136ff57600060019250925050613708565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c613754919061461e565b905061376287828885613605565b935093505050935093915050565b82805461377c90614290565b90600052602060002090601f01602090048101928261379e57600085556137e5565b82601f106137b757805160ff19168380011785556137e5565b828001600101855582156137e5579182015b828111156137e45782518255916020019190600101906137c9565b5b5090506137f291906137f6565b5090565b5b8082111561380f5760008160009055506001016137f7565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61385c81613827565b811461386757600080fd5b50565b60008135905061387981613853565b92915050565b6000602082840312156138955761389461381d565b5b60006138a38482850161386a565b91505092915050565b60008115159050919050565b6138c1816138ac565b82525050565b60006020820190506138dc60008301846138b8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561391c578082015181840152602081019050613901565b8381111561392b576000848401525b50505050565b6000601f19601f8301169050919050565b600061394d826138e2565b61395781856138ed565b93506139678185602086016138fe565b61397081613931565b840191505092915050565b600060208201905081810360008301526139958184613942565b905092915050565b6000819050919050565b6139b08161399d565b81146139bb57600080fd5b50565b6000813590506139cd816139a7565b92915050565b6000602082840312156139e9576139e861381d565b5b60006139f7848285016139be565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a2b82613a00565b9050919050565b613a3b81613a20565b82525050565b6000602082019050613a566000830184613a32565b92915050565b613a6581613a20565b8114613a7057600080fd5b50565b600081359050613a8281613a5c565b92915050565b60008060408385031215613a9f57613a9e61381d565b5b6000613aad85828601613a73565b9250506020613abe858286016139be565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b0a82613931565b810181811067ffffffffffffffff82111715613b2957613b28613ad2565b5b80604052505050565b6000613b3c613813565b9050613b488282613b01565b919050565b600067ffffffffffffffff821115613b6857613b67613ad2565b5b613b7182613931565b9050602081019050919050565b82818337600083830152505050565b6000613ba0613b9b84613b4d565b613b32565b905082815260208101848484011115613bbc57613bbb613acd565b5b613bc7848285613b7e565b509392505050565b600082601f830112613be457613be3613ac8565b5b8135613bf4848260208601613b8d565b91505092915050565b600060208284031215613c1357613c1261381d565b5b600082013567ffffffffffffffff811115613c3157613c30613822565b5b613c3d84828501613bcf565b91505092915050565b613c4f8161399d565b82525050565b6000602082019050613c6a6000830184613c46565b92915050565b600080600060608486031215613c8957613c8861381d565b5b6000613c9786828701613a73565b9350506020613ca886828701613a73565b9250506040613cb9868287016139be565b9150509250925092565b60008060408385031215613cda57613cd961381d565b5b6000613ce8858286016139be565b9250506020613cf9858286016139be565b9150509250929050565b6000604082019050613d186000830185613a32565b613d256020830184613c46565b9392505050565b6000819050919050565b613d3f81613d2c565b82525050565b6000602082019050613d5a6000830184613d36565b92915050565b60008060408385031215613d7757613d7661381d565b5b600083013567ffffffffffffffff811115613d9557613d94613822565b5b613da185828601613bcf565b925050602083013567ffffffffffffffff811115613dc257613dc1613822565b5b613dce85828601613bcf565b9150509250929050565b600060208284031215613dee57613ded61381d565b5b6000613dfc84828501613a73565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613e3a8161399d565b82525050565b6000613e4c8383613e31565b60208301905092915050565b6000602082019050919050565b6000613e7082613e05565b613e7a8185613e10565b9350613e8583613e21565b8060005b83811015613eb6578151613e9d8882613e40565b9750613ea883613e58565b925050600181019050613e89565b5085935050505092915050565b60006020820190508181036000830152613edd8184613e65565b905092915050565b613eee816138ac565b8114613ef957600080fd5b50565b600081359050613f0b81613ee5565b92915050565b600060208284031215613f2757613f2661381d565b5b6000613f3584828501613efc565b91505092915050565b600067ffffffffffffffff821115613f5957613f58613ad2565b5b613f6282613931565b9050602081019050919050565b6000613f82613f7d84613f3e565b613b32565b905082815260208101848484011115613f9e57613f9d613acd565b5b613fa9848285613b7e565b509392505050565b600082601f830112613fc657613fc5613ac8565b5b8135613fd6848260208601613f6f565b91505092915050565b600080600080600060a08688031215613ffb57613ffa61381d565b5b600061400988828901613a73565b955050602061401a88828901613a73565b945050604061402b888289016139be565b935050606061403c888289016139be565b925050608086013567ffffffffffffffff81111561405d5761405c613822565b5b61406988828901613fb1565b9150509295509295909350565b6000806040838503121561408d5761408c61381d565b5b600061409b85828601613a73565b92505060206140ac85828601613efc565b9150509250929050565b600080fd5b600080fd5b60008083601f8401126140d6576140d5613ac8565b5b8235905067ffffffffffffffff8111156140f3576140f26140b6565b5b60208301915083600182028301111561410f5761410e6140bb565b5b9250929050565b6000806000806000608086880312156141325761413161381d565b5b600061414088828901613a73565b955050602061415188828901613a73565b9450506040614162888289016139be565b935050606086013567ffffffffffffffff81111561418357614182613822565b5b61418f888289016140c0565b92509250509295509295909350565b600080604083850312156141b5576141b461381d565b5b60006141c385828601613a73565b92505060206141d485828601613a73565b9150509250929050565b600080600080608085870312156141f8576141f761381d565b5b600061420687828801613a73565b945050602061421787828801613a73565b9350506040614228878288016139be565b925050606085013567ffffffffffffffff81111561424957614248613822565b5b61425587828801613fb1565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806142a857607f821691505b6020821081036142bb576142ba614261565b5b50919050565b7f455243373231533a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b600061431d602d836138ed565b9150614328826142c1565b604082019050919050565b6000602082019050818103600083015261434c81614310565b9050919050565b7f43616e206e6f7420617070726f7665206c6f636b656420746f6b656e00000000600082015250565b6000614389601c836138ed565b915061439482614353565b602082019050919050565b600060208201905081810360008301526143b88161437c565b9050919050565b7f50726f76656e616e6365206861736820616c7265616479207365740000000000600082015250565b60006143f5601b836138ed565b9150614400826143bf565b602082019050919050565b60006020820190508181036000830152614424816143e8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006144658261399d565b91506144708361399d565b9250828210156144835761448261442b565b5b828203905092915050565b7f455243373231533a2046726f6d206973206e6f7420746865206f776e65720000600082015250565b60006144c4601e836138ed565b91506144cf8261448e565b602082019050919050565b600060208201905081810360008301526144f3816144b7565b9050919050565b7f455243373231533a2043616e206e6f74207472616e7366657220746f2030206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006145566026836138ed565b9150614561826144fa565b604082019050919050565b6000602082019050818103600083015261458581614549565b9050919050565b7f455243373231533a204e6f7420617574686f72697a656420746f207472616e7360008201527f6665720000000000000000000000000000000000000000000000000000000000602082015250565b60006145e86023836138ed565b91506145f38261458c565b604082019050919050565b60006020820190508181036000830152614617816145db565b9050919050565b60006146298261399d565b91506146348361399d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146695761466861442b565b5b828201905092915050565b7f43414e545f4c4f434b5f4245464f52455f52455645414c000000000000000000600082015250565b60006146aa6017836138ed565b91506146b582614674565b602082019050919050565b600060208201905081810360008301526146d98161469d565b9050919050565b60006146eb8261399d565b91506146f68361399d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561472f5761472e61442b565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006147748261399d565b915061477f8361399d565b92508261478f5761478e61473a565b5b828204905092915050565b7f4c6f636b61626c653a206c6f636b696e6720717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b60006147f6602d836138ed565b91506148018261479a565b604082019050919050565b60006020820190508181036000830152614825816147e9565b9050919050565b7f4e6f7420616c6c6f77656420746f206d696e7400000000000000000000000000600082015250565b60006148626013836138ed565b915061486d8261482c565b602082019050919050565b6000602082019050818103600083015261489181614855565b9050919050565b7f3e4d6178537570706c7900000000000000000000000000000000000000000000600082015250565b60006148ce600a836138ed565b91506148d982614898565b602082019050919050565b600060208201905081810360008301526148fd816148c1565b9050919050565b600082825260208201905092915050565b50565b6000614925600083614904565b915061493082614915565b600082019050919050565b60006080820190506149506000830186613a32565b61495d6020830185613a32565b61496a6040830184613c46565b818103606083015261497b81614918565b9050949350505050565b60008151905061499481613853565b92915050565b6000602082840312156149b0576149af61381d565b5b60006149be84828501614985565b91505092915050565b7f455243373231533a205472616e7366657220746f20756e73616665207265636560008201527f7069656e74000000000000000000000000000000000000000000000000000000602082015250565b6000614a236025836138ed565b9150614a2e826149c7565b604082019050919050565b60006020820190508181036000830152614a5281614a16565b9050919050565b7f4c6f636b696e673a204e6f7420616c6c6f77656420746f20756e6c6f636b0000600082015250565b6000614a8f601e836138ed565b9150614a9a82614a59565b602082019050919050565b60006020820190508181036000830152614abe81614a82565b9050919050565b7f455243373231533a2042616c616e63654f6620717565727920666f72207a657260008201527f6f20616464726573730000000000000000000000000000000000000000000000602082015250565b6000614b216029836138ed565b9150614b2c82614ac5565b604082019050919050565b60006020820190508181036000830152614b5081614b14565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614b918261399d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614bc357614bc261442b565b5b600182019050919050565b7f5045524d49545f444541444c494e455f45585049524544000000000000000000600082015250565b6000614c046017836138ed565b9150614c0f82614bce565b602082019050919050565b60006020820190508181036000830152614c3381614bf7565b9050919050565b600060a082019050614c4f6000830188613d36565b614c5c6020830187613a32565b614c696040830186613c46565b614c766060830185613c46565b614c836080830184613c46565b9695505050505050565b600081905092915050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b6000614cce600283614c8d565b9150614cd982614c98565b600282019050919050565b6000819050919050565b614cff614cfa82613d2c565b614ce4565b82525050565b6000614d1082614cc1565b9150614d1c8285614cee565b602082019150614d2c8284614cee565b6020820191508190509392505050565b7f494e56414c49445f5349474e4154555245000000000000000000000000000000600082015250565b6000614d726011836138ed565b9150614d7d82614d3c565b602082019050919050565b60006020820190508181036000830152614da181614d65565b9050919050565b7f494e56414c49445f5349474e4552000000000000000000000000000000000000600082015250565b6000614dde600e836138ed565b9150614de982614da8565b602082019050919050565b60006020820190508181036000830152614e0d81614dd1565b9050919050565b6000614e208385614904565b9350614e2d838584613b7e565b614e3683613931565b840190509392505050565b6000608082019050614e566000830188613a32565b614e636020830187613a32565b614e706040830186613c46565b8181036060830152614e83818486614e14565b90509695505050505050565b7f4e4f545f45584953545300000000000000000000000000000000000000000000600082015250565b6000614ec5600a836138ed565b9150614ed082614e8f565b602082019050919050565b60006020820190508181036000830152614ef481614eb8565b9050919050565b60008190508160005260206000209050919050565b60008154614f1d81614290565b614f278186614c8d565b94506001821660008114614f425760018114614f5357614f86565b60ff19831686528186019350614f86565b614f5c85614efb565b60005b83811015614f7e57815481890152600182019150602081019050614f5f565b838801955050505b50505092915050565b6000614f9a826138e2565b614fa48185614c8d565b9350614fb48185602086016138fe565b80840191505092915050565b6000614fcc8286614f10565b9150614fd88285614f8f565b9150614fe48284614f10565b9150819050949350505050565b7f7b226e616d65223a202249444e54545320230000000000000000000000000000600082015250565b6000615027601283614c8d565b915061503282614ff1565b601282019050919050565b7f222c20226465736372697074696f6e223a202249444e5454532069732074686560008201527f206f6e6c792031306b2066726565206d696e742077697468207265616c20757460208201527f696c6974792e204172746973746963202620746563686e6f6c6f676963616c2060408201527f696e6e6f766174696f6e2e20576520617265206372617a79206275742066726560608201527f6521222c2022696d616765223a20220000000000000000000000000000000000608082015250565b600061510b608f83614c8d565b91506151168261503d565b608f82019050919050565b7f222c2261747472696275746573223a205b7b2274726169745f74797065223a2060008201527f2252657665616c6564222c202276616c7565223a20224e6f227d5d7d00000000602082015250565b600061517d603c83614c8d565b915061518882615121565b603c82019050919050565b600061519e8261501a565b91506151aa8285614f8f565b91506151b5826150fe565b91506151c18284614f10565b91506151cc82615170565b91508190509392505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b600061520e601d83614c8d565b9150615219826151d8565b601d82019050919050565b600061522f82615201565b915061523b8284614f8f565b915081905092915050565b600060808201905061525b6000830187613d36565b6152686020830186613a32565b6152756040830185613c46565b6152826060830184613c46565b95945050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006152e76026836138ed565b91506152f28261528b565b604082019050919050565b60006020820190508181036000830152615316816152da565b9050919050565b7f455243373231533a204e6f7420617574686f72697a656420746f20617070726f60008201527f7665000000000000000000000000000000000000000000000000000000000000602082015250565b60006153796022836138ed565b91506153848261531d565b604082019050919050565b600060208201905081810360008301526153a88161536c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006153e56020836138ed565b91506153f0826153af565b602082019050919050565b60006020820190508181036000830152615414816153d8565b9050919050565b7f455243373231533a20546f6b656e20646f6573206e6f74206578697374000000600082015250565b6000615451601d836138ed565b915061545c8261541b565b602082019050919050565b6000602082019050818103600083015261548081615444565b9050919050565b7f4c6f636b61626c653a20746f6b656e206973206c6f636b656400000000000000600082015250565b60006154bd6019836138ed565b91506154c882615487565b602082019050919050565b600060208201905081810360008301526154ec816154b0565b9050919050565b7f4c6f636b696e673a206e6f74206175686f72697a656420746f206c6f636b0000600082015250565b6000615529601e836138ed565b9150615534826154f3565b602082019050919050565b600060208201905081810360008301526155588161551c565b9050919050565b7f4c6f636b696e673a20546f6b656e20697320616c7265616479206c6f636b6564600082015250565b60006155956020836138ed565b91506155a08261555f565b602082019050919050565b600060208201905081810360008301526155c481615588565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546155f881614290565b61560281866155cb565b9450600182166000811461561d576001811461562e57615661565b60ff19831686528186019350615661565b615637856155d6565b60005b838110156156595781548189015260018201915060208101905061563a565b838801955050505b50505092915050565b600061567682846155eb565b915081905092915050565b600060a0820190506156966000830188613d36565b6156a36020830187613d36565b6156b06040830186613d36565b6156bd6060830185613c46565b6156ca6080830184613a32565b9695505050505050565b7f455243373231533a204d696e7420746f20756e7361666520726563657069656e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b60006157306021836138ed565b915061573b826156d4565b604082019050919050565b6000602082019050818103600083015261575f81615723565b9050919050565b7f45524332393831526f79616c746965733a20546f6f2068696768000000000000600082015250565b600061579c601a836138ed565b91506157a782615766565b602082019050919050565b600060208201905081810360008301526157cb8161578f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600081519050919050565b600061581782615801565b6158218185614904565b93506158318185602086016138fe565b61583a81613931565b840191505092915050565b600060408201905061585a6000830185613d36565b818103602083015261586c818461580c565b90509392505050565b600061588082615801565b61588a81856155cb565b935061589a8185602086016138fe565b80840191505092915050565b60006158b28284615875565b915081905092915050565b60006158c88261399d565b91506158d38361399d565b9250826158e3576158e261473a565b5b828206905092915050565b7f455243373231533a2043616e206e6f74206d696e7420746f203020616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061594a6022836138ed565b9150615955826158ee565b604082019050919050565b600060208201905081810360008301526159798161593d565b9050919050565b7f455243373231533a2043616e206e6f74206d696e74203020746f6b656e730000600082015250565b60006159b6601e836138ed565b91506159c182615980565b602082019050919050565b600060208201905081810360008301526159e5816159a9565b9050919050565b600060ff82169050919050565b615a02816159ec565b82525050565b6000608082019050615a1d6000830187613d36565b615a2a60208301866159f9565b615a376040830185613d36565b615a446060830184613d36565b9594505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220f68575b5e2882c22755c8c8a2f12ab9c159a6067701a58670ee83527e6311bcc64736f6c634300080e0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000010697066733a2f2f756e6c6f636b65642f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e697066733a2f2f6c6f636b65642f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042697066733a2f2f62616679626569616861786a61616c7a677933657465726e77616a786a7973697468376765626167667471736b626174696b7a7a357a7364616e79000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061028a5760003560e01c806370a082311161015c578063a2309ff8116100ce578063cdb712d811610087578063cdb712d8146107d4578063d6056e9b146107f2578063db44fe071461080e578063e985e9c51461083e578063f2fde38b1461086e578063fca3b5aa1461088a5761028a565b8063a2309ff8146106fe578063b4e13c8d1461071c578063b88d4fde1461073a578063c194afca14610756578063c6ab67a314610786578063c87b56dd146107a45761028a565b80638c7ea24b116101205780638c7ea24b146106525780638da5cb5b1461066e57806395d89b411461068c5780639f6350e6146106aa5780639fd5a6cf146106c6578063a22cb465146106e25761028a565b806370a08231146105b0578063715018a6146105e0578063841bfb27146105ea5780638462151c146106065780638b2e9809146106365761028a565b80632a55205a11610200578063522439ef116101b9578063522439ef146104ee57806357d4c4ee1461050c5780635afefc091461052a5780636198e339146105485780636352211e146105645780636790a9de146105945761028a565b80632a55205a1461041957806330adf81f1461044a5780633644e515146104685780633b035df61461048657806340c10f19146104b657806342842e0e146104d25761028a565b8063131f5d0511610252578063131f5d0514610345578063141a468c1461036357806318160ddd1461039357806321a16b0c146103b157806323b872dd146103e1578063282d3fdf146103fd5761028a565b806301ffc9a71461028f57806306fdde03146102bf578063081812fc146102dd578063095ea7b31461030d5780631096952314610329575b600080fd5b6102a960048036038101906102a4919061387f565b6108a6565b6040516102b691906138c7565b60405180910390f35b6102c76108c8565b6040516102d4919061397b565b60405180910390f35b6102f760048036038101906102f291906139d3565b610956565b6040516103049190613a41565b60405180910390f35b61032760048036038101906103229190613a88565b6109db565b005b610343600480360381019061033e9190613bfd565b610a60565b005b61034d610ad8565b60405161035a91906138c7565b60405180910390f35b61037d600480360381019061037891906139d3565b610aeb565b60405161038a9190613c55565b60405180910390f35b61039b610b03565b6040516103a89190613c55565b60405180910390f35b6103cb60048036038101906103c691906139d3565b610b1f565b6040516103d89190613c55565b60405180910390f35b6103fb60048036038101906103f69190613c70565b610b40565b005b61041760048036038101906104129190613a88565b610eac565b005b610433600480360381019061042e9190613cc3565b610f09565b604051610441929190613d03565b60405180910390f35b610452610fc9565b60405161045f9190613d45565b60405180910390f35b610470610fed565b60405161047d9190613d45565b60405180910390f35b6104a0600480360381019061049b91906139d3565b61104a565b6040516104ad9190613a41565b60405180910390f35b6104d060048036038101906104cb9190613a88565b6110cf565b005b6104ec60048036038101906104e79190613c70565b6111c4565b005b6104f66112fc565b6040516105039190613c55565b60405180910390f35b610514611302565b6040516105219190613c55565b60405180910390f35b610532611308565b60405161053f9190613c55565b60405180910390f35b610562600480360381019061055d91906139d3565b611324565b005b61057e600480360381019061057991906139d3565b61141b565b60405161058b9190613a41565b60405180910390f35b6105ae60048036038101906105a99190613d60565b61142d565b005b6105ca60048036038101906105c59190613dd8565b611492565b6040516105d79190613c55565b60405180910390f35b6105e8611549565b005b61060460048036038101906105ff9190613bfd565b61155d565b005b610620600480360381019061061b9190613dd8565b61157f565b60405161062d9190613ec3565b60405180910390f35b610650600480360381019061064b9190613f11565b611720565b005b61066c60048036038101906106679190613a88565b611745565b005b61067661175b565b6040516106839190613a41565b60405180910390f35b610694611785565b6040516106a1919061397b565b60405180910390f35b6106c460048036038101906106bf9190613bfd565b611813565b005b6106e060048036038101906106db9190613fdf565b611835565b005b6106fc60048036038101906106f79190614076565b611aa7565b005b610706611ba4565b6040516107139190613c55565b60405180910390f35b610724611bc0565b6040516107319190613d45565b60405180910390f35b610754600480360381019061074f9190614116565b611be4565b005b610770600480360381019061076b919061419e565b611d22565b60405161077d9190613c55565b60405180910390f35b61078e611d47565b60405161079b919061397b565b60405180910390f35b6107be60048036038101906107b991906139d3565b611dd5565b6040516107cb919061397b565b60405180910390f35b6107dc611f14565b6040516107e99190613c55565b60405180910390f35b61080c600480360381019061080791906141de565b611f1a565b005b610828600480360381019061082391906139d3565b6121b3565b60405161083591906138c7565b60405180910390f35b6108586004803603810190610853919061419e565b6121d3565b60405161086591906138c7565b60405180910390f35b61088860048036038101906108839190613dd8565b612267565b005b6108a4600480360381019061089f9190613dd8565b6122ea565b005b60006108b182612336565b806108c157506108c082612378565b5b9050919050565b600080546108d590614290565b80601f016020809104026020016040519081016040528092919081815260200182805461090190614290565b801561094e5780601f106109235761010080835404028352916020019161094e565b820191906000526020600020905b81548152906001019060200180831161093157829003601f168201915b505050505081565b6000610961826123e2565b6109a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099790614333565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600073ffffffffffffffffffffffffffffffffffffffff166109fc8261104a565b73ffffffffffffffffffffffffffffffffffffffff1614610a52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a499061439f565b60405180910390fd5b610a5c828261242d565b5050565b610a686125eb565b600060128054610a7790614290565b905003610a9a578060129080519060200190610a94929190613770565b50610ad5565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acc9061440b565b60405180910390fd5b50565b601360009054906101000a900460ff1681565b600a6020528060005260406000206000915090505481565b6000600854610b10611ba4565b610b1a919061445a565b905090565b600060a06003600084815260200190815260200160002054901c9050919050565b6000610b4b82612669565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb2906144da565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c219061456c565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610c975750610c6882610956565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b80610ca85750610ca784336121d3565b5b610ce7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cde906145fe565b60405180910390fd5b610cf4848484600161273c565b600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550610d9c8361282c565b60036000848152602001908152602001600020819055506000600183610dc2919061461e565b9050610dcd816123e2565b15610e07576000600360008381526020019081526020016000205403610e06578160036000838152602001908152602001600020819055505b5b6004600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610ea58585856001612854565b5050505050565b601360009054906101000a900460ff16610efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef2906146c0565b60405180910390fd5b610f0582826128c5565b5050565b6000806000600d6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900462ffffff1662ffffff1662ffffff1681525050905080600001519250612710816020015162ffffff1685610fb591906146e0565b610fbf9190614769565b9150509250929050565b7f49ecf333e5b8c95c40fdafc95c1ad136e8914a8fb55e9dc8bb01eaa83a2df9ad81565b60007f000000000000000000000000000000000000000000000000000000000000000146146110235761101e612a54565b611045565b7f533b10c33ad4c1acb8cdf8defac1f565d7313d4eac56850b6603d5a3d0b376275b905090565b6000611055826123e2565b611094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108b9061480c565b60405180910390fd5b6009600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461115f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115690614878565b60405180910390fd5b6127108161116b611ba4565b611175919061461e565b11156111b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ad906148e4565b60405180910390fd5b6111c08282612afc565b5050565b6111cf838383610b40565b60008273ffffffffffffffffffffffffffffffffffffffff163b14806112b8575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b81526004016112549392919061493b565b6020604051808303816000875af1158015611273573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611297919061499a565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b6112f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ee90614a39565b60405180910390fd5b505050565b60025481565b61271081565b6000611312611ba4565b61271061131f919061445a565b905090565b6009600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146113c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bc90614aa5565b60405180910390fd5b60006009600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600061142682612669565b9050919050565b6114356125eb565b81600f600060011515151581526020019081526020016000209080519060200190611461929190613770565b5080600f600080151515158152602001908152602001600020908051906020019061148d929190613770565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f990614b37565b60405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115516125eb565b61155b6000612c40565b565b6115656125eb565b806010908051906020019061157b929190613770565b5050565b60606000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000810361161f57600067ffffffffffffffff8111156115e8576115e7613ad2565b5b6040519080825280602002602001820160405280156116165781602001602082028036833780820191505090505b5091505061171b565b60008167ffffffffffffffff81111561163b5761163a613ad2565b5b6040519080825280602002602001820160405280156116695781602001602082028036833780820191505090505b509050600080611677612d06565b90505b6002548110156117135761168d816123e2565b80156116cc57508573ffffffffffffffffffffffffffffffffffffffff166116b48261141b565b73ffffffffffffffffffffffffffffffffffffffff16145b1561170057808383815181106116e5576116e4614b57565b5b60200260200101818152505081806116fc90614b86565b9250505b808061170b90614b86565b91505061167a565b829450505050505b919050565b6117286125eb565b80601360006101000a81548160ff02191690831515021790555050565b61174d6125eb565b6117578282612d0b565b5050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6001805461179290614290565b80601f01602080910402602001604051908101604052809291908181526020018280546117be90614290565b801561180b5780601f106117e05761010080835404028352916020019161180b565b820191906000526020600020905b8154815290600101906020018083116117ee57829003601f168201915b505050505081565b61181b6125eb565b8060119080519060200190611831929190613770565b5050565b81421115611878576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186f90614c1a565b60405180910390fd5b60006118838461141b565b9050600061188f610fed565b7f49ecf333e5b8c95c40fdafc95c1ad136e8914a8fb55e9dc8bb01eaa83a2df9ad8787600a60008a8152602001908152602001600020600081548092919060010191905055886040516020016118e9959493929190614c3a565b60405160208183030381529060405280519060200120604051602001611910929190614d05565b604051602081830303815290604052805190602001209050611933878285612df5565b611972576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196990614d88565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614806119b257506119b182886121d3565b5b6119f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e890614df4565b60405180910390fd5b50846004600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050505050565b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b9891906138c7565b60405180910390a35050565b6000611bae612d06565b600254611bbb919061445a565b905090565b7fafbfe754c960cea8bb403409f4a498246c360a58a15b26e69ab98c9374b1085481565b611bef858585610b40565b60008473ffffffffffffffffffffffffffffffffffffffff163b1480611cdc575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b8152600401611c78959493929190614e41565b6020604051808303816000875af1158015611c97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cbb919061499a565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b611d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1290614a39565b60405180910390fd5b5050505050565b600b602052816000526040600020602052806000526040600020600091509150505481565b60128054611d5490614290565b80601f0160208091040260200160405190810160405280929190818152602001828054611d8090614290565b8015611dcd5780601f10611da257610100808354040283529160200191611dcd565b820191906000526020600020905b815481529060010190602001808311611db057829003601f168201915b505050505081565b6060611de0826123e2565b611e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1690614edb565b60405180910390fd5b601360009054906101000a900460ff1615611eb457600f60008073ffffffffffffffffffffffffffffffffffffffff16611e588561104a565b73ffffffffffffffffffffffffffffffffffffffff1614151515158152602001908152602001600020611e8a83612fda565b6011604051602001611e9e93929190614fc0565b6040516020818303038152906040529050611f0f565b6000611ebf83612fda565b6010604051602001611ed2929190615193565b6040516020818303038152906040529050611eec8161313a565b604051602001611efc9190615224565b6040516020818303038152906040529150505b919050565b60085481565b81421115611f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5490614c1a565b60405180910390fd5b6000611f67610fed565b7fafbfe754c960cea8bb403409f4a498246c360a58a15b26e69ab98c9374b1085485600b60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919060010191905055866040516020016120289493929190615246565b6040516020818303038152906040528051906020012060405160200161204f929190614d05565b604051602081830303815290604052805190602001209050612072858284612df5565b6120b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a890614d88565b60405180910390fd5b506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160016040516121a591906138c7565b60405180910390a350505050565b60076020528060005260406000206000915054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61226f6125eb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036122de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d5906152fd565b60405180910390fd5b6122e781612c40565b50565b6122f26125eb565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000635604e22560e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123715750612370826132d1565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60006002548210801561241357506007600083815260200190815260200160002060009054906101000a900460ff16155b80156124265750612422612d06565b8210155b9050919050565b60006124388261141b565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806124fa5750600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b612539576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125309061538f565b60405180910390fd5b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6125f361334b565b73ffffffffffffffffffffffffffffffffffffffff1661261161175b565b73ffffffffffffffffffffffffffffffffffffffff1614612667576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265e906153fb565b60405180910390fd5b565b6000612673612d06565b82106126fc576002548210156126fb576007600083815260200190815260200160002060009054906101000a900460ff166126fa5760008290506000600360008381526020019081526020016000205490505b600081036126f05760036000836001900393508381526020019081526020016000205490506126c6565b8092505050612737565b5b5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272e90615467565b60405180910390fd5b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161461282657600073ffffffffffffffffffffffffffffffffffffffff166127918361104a565b73ffffffffffffffffffffffffffffffffffffffff1614806127e657506127b78261104a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612825576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281c906154d3565b60405180910390fd5b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff821691504260a01b82179050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146128bf576009600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b50505050565b60006128d08261141b565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612912575061291181336121d3565b5b612951576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129489061553f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166009600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146129f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ea906155ab565b60405180910390fd5b826009600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612a4f838361242d565b505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051612a86919061566a565b60405180910390206040518060400160405280600181526020017f3100000000000000000000000000000000000000000000000000000000000000815250805190602001204630604051602001612ae1959493929190615681565b60405160208183030381529060405280519060200120905090565b612b068282613353565b60008273ffffffffffffffffffffffffffffffffffffffff163b1480612bfd575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a0233600085600254612b7b919061445a565b6040518463ffffffff1660e01b8152600401612b999392919061493b565b6020604051808303816000875af1158015612bb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bdc919061499a565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b612c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3390615746565b60405180910390fd5b5050565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600090565b612710811115612d50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d47906157b2565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff1681526020018262ffffff16815250600d60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548162ffffff021916908362ffffff1602179055509050505050565b6000806000612e0485856134f2565b9150915060006004811115612e1c57612e1b6157d2565b5b816004811115612e2f57612e2e6157d2565b5b148015612e6757508573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b15612e7757600192505050612fd3565b6000808773ffffffffffffffffffffffffffffffffffffffff16631626ba7e60e01b8888604051602401612eac929190615845565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051612f1691906158a6565b600060405180830381855afa9150503d8060008114612f51576040519150601f19603f3d011682016040523d82523d6000602084013e612f56565b606091505b5091509150818015612f69575060208151145b8015612fcc5750631626ba7e60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681806020019051810190612fab919061499a565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9450505050505b9392505050565b606060008203613021576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613135565b600082905060005b6000821461305357808061303c90614b86565b915050600a8261304c9190614769565b9150613029565b60008167ffffffffffffffff81111561306f5761306e613ad2565b5b6040519080825280601f01601f1916602001820160405280156130a15781602001600182028036833780820191505090505b5090505b6000851461312e576001826130ba919061445a565b9150600a856130c991906158bd565b60306130d5919061461e565b60f81b8183815181106130eb576130ea614b57565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131279190614769565b94506130a5565b8093505050505b919050565b60606000825190506000810361316257604051806020016040528060008152509150506132cc565b60006003600283613173919061461e565b61317d9190614769565b600461318991906146e0565b9050600060208261319a919061461e565b67ffffffffffffffff8111156131b3576131b2613ad2565b5b6040519080825280601f01601f1916602001820160405280156131e55781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001615a4e604091399050600181016020830160005b868110156132895760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050613210565b5060038606600181146132a357600281146132b3576132be565b613d3d60f01b60028303526132be565b603d60f81b60018303525b508484525050819450505050505b919050565b60007f72b68110000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613344575061334382613573565b5b9050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036133c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b990615960565b60405180910390fd5b60008103613405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133fc906159cc565b60405180910390fd5b60006002549050613419600084838561273c565b6134228361282c565b600360006002548152602001908152602001600020819055508160026000828254019250508190555082600052600660205260406000208281540181555060008190505b6002548110156134df57808473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480806134d790614b86565b915050613466565b506134ed6000848385612854565b505050565b60008060418351036135335760008060006020860151925060408601519150606086015160001a905061352787828585613605565b9450945050505061356c565b6040835103613563576000806020850151915060408501519050613558868383613711565b93509350505061356c565b60006002915091505b9250929050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806135ce57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806135fe5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613640576000600391509150613708565b601b8560ff16141580156136585750601c8560ff1614155b1561366a576000600491509150613708565b60006001878787876040516000815260200160405260405161368f9493929190615a08565b6020604051602081039080840390855afa1580156136b1573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036136ff57600060019250925050613708565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c613754919061461e565b905061376287828885613605565b935093505050935093915050565b82805461377c90614290565b90600052602060002090601f01602090048101928261379e57600085556137e5565b82601f106137b757805160ff19168380011785556137e5565b828001600101855582156137e5579182015b828111156137e45782518255916020019190600101906137c9565b5b5090506137f291906137f6565b5090565b5b8082111561380f5760008160009055506001016137f7565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61385c81613827565b811461386757600080fd5b50565b60008135905061387981613853565b92915050565b6000602082840312156138955761389461381d565b5b60006138a38482850161386a565b91505092915050565b60008115159050919050565b6138c1816138ac565b82525050565b60006020820190506138dc60008301846138b8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561391c578082015181840152602081019050613901565b8381111561392b576000848401525b50505050565b6000601f19601f8301169050919050565b600061394d826138e2565b61395781856138ed565b93506139678185602086016138fe565b61397081613931565b840191505092915050565b600060208201905081810360008301526139958184613942565b905092915050565b6000819050919050565b6139b08161399d565b81146139bb57600080fd5b50565b6000813590506139cd816139a7565b92915050565b6000602082840312156139e9576139e861381d565b5b60006139f7848285016139be565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a2b82613a00565b9050919050565b613a3b81613a20565b82525050565b6000602082019050613a566000830184613a32565b92915050565b613a6581613a20565b8114613a7057600080fd5b50565b600081359050613a8281613a5c565b92915050565b60008060408385031215613a9f57613a9e61381d565b5b6000613aad85828601613a73565b9250506020613abe858286016139be565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b0a82613931565b810181811067ffffffffffffffff82111715613b2957613b28613ad2565b5b80604052505050565b6000613b3c613813565b9050613b488282613b01565b919050565b600067ffffffffffffffff821115613b6857613b67613ad2565b5b613b7182613931565b9050602081019050919050565b82818337600083830152505050565b6000613ba0613b9b84613b4d565b613b32565b905082815260208101848484011115613bbc57613bbb613acd565b5b613bc7848285613b7e565b509392505050565b600082601f830112613be457613be3613ac8565b5b8135613bf4848260208601613b8d565b91505092915050565b600060208284031215613c1357613c1261381d565b5b600082013567ffffffffffffffff811115613c3157613c30613822565b5b613c3d84828501613bcf565b91505092915050565b613c4f8161399d565b82525050565b6000602082019050613c6a6000830184613c46565b92915050565b600080600060608486031215613c8957613c8861381d565b5b6000613c9786828701613a73565b9350506020613ca886828701613a73565b9250506040613cb9868287016139be565b9150509250925092565b60008060408385031215613cda57613cd961381d565b5b6000613ce8858286016139be565b9250506020613cf9858286016139be565b9150509250929050565b6000604082019050613d186000830185613a32565b613d256020830184613c46565b9392505050565b6000819050919050565b613d3f81613d2c565b82525050565b6000602082019050613d5a6000830184613d36565b92915050565b60008060408385031215613d7757613d7661381d565b5b600083013567ffffffffffffffff811115613d9557613d94613822565b5b613da185828601613bcf565b925050602083013567ffffffffffffffff811115613dc257613dc1613822565b5b613dce85828601613bcf565b9150509250929050565b600060208284031215613dee57613ded61381d565b5b6000613dfc84828501613a73565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613e3a8161399d565b82525050565b6000613e4c8383613e31565b60208301905092915050565b6000602082019050919050565b6000613e7082613e05565b613e7a8185613e10565b9350613e8583613e21565b8060005b83811015613eb6578151613e9d8882613e40565b9750613ea883613e58565b925050600181019050613e89565b5085935050505092915050565b60006020820190508181036000830152613edd8184613e65565b905092915050565b613eee816138ac565b8114613ef957600080fd5b50565b600081359050613f0b81613ee5565b92915050565b600060208284031215613f2757613f2661381d565b5b6000613f3584828501613efc565b91505092915050565b600067ffffffffffffffff821115613f5957613f58613ad2565b5b613f6282613931565b9050602081019050919050565b6000613f82613f7d84613f3e565b613b32565b905082815260208101848484011115613f9e57613f9d613acd565b5b613fa9848285613b7e565b509392505050565b600082601f830112613fc657613fc5613ac8565b5b8135613fd6848260208601613f6f565b91505092915050565b600080600080600060a08688031215613ffb57613ffa61381d565b5b600061400988828901613a73565b955050602061401a88828901613a73565b945050604061402b888289016139be565b935050606061403c888289016139be565b925050608086013567ffffffffffffffff81111561405d5761405c613822565b5b61406988828901613fb1565b9150509295509295909350565b6000806040838503121561408d5761408c61381d565b5b600061409b85828601613a73565b92505060206140ac85828601613efc565b9150509250929050565b600080fd5b600080fd5b60008083601f8401126140d6576140d5613ac8565b5b8235905067ffffffffffffffff8111156140f3576140f26140b6565b5b60208301915083600182028301111561410f5761410e6140bb565b5b9250929050565b6000806000806000608086880312156141325761413161381d565b5b600061414088828901613a73565b955050602061415188828901613a73565b9450506040614162888289016139be565b935050606086013567ffffffffffffffff81111561418357614182613822565b5b61418f888289016140c0565b92509250509295509295909350565b600080604083850312156141b5576141b461381d565b5b60006141c385828601613a73565b92505060206141d485828601613a73565b9150509250929050565b600080600080608085870312156141f8576141f761381d565b5b600061420687828801613a73565b945050602061421787828801613a73565b9350506040614228878288016139be565b925050606085013567ffffffffffffffff81111561424957614248613822565b5b61425587828801613fb1565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806142a857607f821691505b6020821081036142bb576142ba614261565b5b50919050565b7f455243373231533a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b600061431d602d836138ed565b9150614328826142c1565b604082019050919050565b6000602082019050818103600083015261434c81614310565b9050919050565b7f43616e206e6f7420617070726f7665206c6f636b656420746f6b656e00000000600082015250565b6000614389601c836138ed565b915061439482614353565b602082019050919050565b600060208201905081810360008301526143b88161437c565b9050919050565b7f50726f76656e616e6365206861736820616c7265616479207365740000000000600082015250565b60006143f5601b836138ed565b9150614400826143bf565b602082019050919050565b60006020820190508181036000830152614424816143e8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006144658261399d565b91506144708361399d565b9250828210156144835761448261442b565b5b828203905092915050565b7f455243373231533a2046726f6d206973206e6f7420746865206f776e65720000600082015250565b60006144c4601e836138ed565b91506144cf8261448e565b602082019050919050565b600060208201905081810360008301526144f3816144b7565b9050919050565b7f455243373231533a2043616e206e6f74207472616e7366657220746f2030206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006145566026836138ed565b9150614561826144fa565b604082019050919050565b6000602082019050818103600083015261458581614549565b9050919050565b7f455243373231533a204e6f7420617574686f72697a656420746f207472616e7360008201527f6665720000000000000000000000000000000000000000000000000000000000602082015250565b60006145e86023836138ed565b91506145f38261458c565b604082019050919050565b60006020820190508181036000830152614617816145db565b9050919050565b60006146298261399d565b91506146348361399d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146695761466861442b565b5b828201905092915050565b7f43414e545f4c4f434b5f4245464f52455f52455645414c000000000000000000600082015250565b60006146aa6017836138ed565b91506146b582614674565b602082019050919050565b600060208201905081810360008301526146d98161469d565b9050919050565b60006146eb8261399d565b91506146f68361399d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561472f5761472e61442b565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006147748261399d565b915061477f8361399d565b92508261478f5761478e61473a565b5b828204905092915050565b7f4c6f636b61626c653a206c6f636b696e6720717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b60006147f6602d836138ed565b91506148018261479a565b604082019050919050565b60006020820190508181036000830152614825816147e9565b9050919050565b7f4e6f7420616c6c6f77656420746f206d696e7400000000000000000000000000600082015250565b60006148626013836138ed565b915061486d8261482c565b602082019050919050565b6000602082019050818103600083015261489181614855565b9050919050565b7f3e4d6178537570706c7900000000000000000000000000000000000000000000600082015250565b60006148ce600a836138ed565b91506148d982614898565b602082019050919050565b600060208201905081810360008301526148fd816148c1565b9050919050565b600082825260208201905092915050565b50565b6000614925600083614904565b915061493082614915565b600082019050919050565b60006080820190506149506000830186613a32565b61495d6020830185613a32565b61496a6040830184613c46565b818103606083015261497b81614918565b9050949350505050565b60008151905061499481613853565b92915050565b6000602082840312156149b0576149af61381d565b5b60006149be84828501614985565b91505092915050565b7f455243373231533a205472616e7366657220746f20756e73616665207265636560008201527f7069656e74000000000000000000000000000000000000000000000000000000602082015250565b6000614a236025836138ed565b9150614a2e826149c7565b604082019050919050565b60006020820190508181036000830152614a5281614a16565b9050919050565b7f4c6f636b696e673a204e6f7420616c6c6f77656420746f20756e6c6f636b0000600082015250565b6000614a8f601e836138ed565b9150614a9a82614a59565b602082019050919050565b60006020820190508181036000830152614abe81614a82565b9050919050565b7f455243373231533a2042616c616e63654f6620717565727920666f72207a657260008201527f6f20616464726573730000000000000000000000000000000000000000000000602082015250565b6000614b216029836138ed565b9150614b2c82614ac5565b604082019050919050565b60006020820190508181036000830152614b5081614b14565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614b918261399d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614bc357614bc261442b565b5b600182019050919050565b7f5045524d49545f444541444c494e455f45585049524544000000000000000000600082015250565b6000614c046017836138ed565b9150614c0f82614bce565b602082019050919050565b60006020820190508181036000830152614c3381614bf7565b9050919050565b600060a082019050614c4f6000830188613d36565b614c5c6020830187613a32565b614c696040830186613c46565b614c766060830185613c46565b614c836080830184613c46565b9695505050505050565b600081905092915050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b6000614cce600283614c8d565b9150614cd982614c98565b600282019050919050565b6000819050919050565b614cff614cfa82613d2c565b614ce4565b82525050565b6000614d1082614cc1565b9150614d1c8285614cee565b602082019150614d2c8284614cee565b6020820191508190509392505050565b7f494e56414c49445f5349474e4154555245000000000000000000000000000000600082015250565b6000614d726011836138ed565b9150614d7d82614d3c565b602082019050919050565b60006020820190508181036000830152614da181614d65565b9050919050565b7f494e56414c49445f5349474e4552000000000000000000000000000000000000600082015250565b6000614dde600e836138ed565b9150614de982614da8565b602082019050919050565b60006020820190508181036000830152614e0d81614dd1565b9050919050565b6000614e208385614904565b9350614e2d838584613b7e565b614e3683613931565b840190509392505050565b6000608082019050614e566000830188613a32565b614e636020830187613a32565b614e706040830186613c46565b8181036060830152614e83818486614e14565b90509695505050505050565b7f4e4f545f45584953545300000000000000000000000000000000000000000000600082015250565b6000614ec5600a836138ed565b9150614ed082614e8f565b602082019050919050565b60006020820190508181036000830152614ef481614eb8565b9050919050565b60008190508160005260206000209050919050565b60008154614f1d81614290565b614f278186614c8d565b94506001821660008114614f425760018114614f5357614f86565b60ff19831686528186019350614f86565b614f5c85614efb565b60005b83811015614f7e57815481890152600182019150602081019050614f5f565b838801955050505b50505092915050565b6000614f9a826138e2565b614fa48185614c8d565b9350614fb48185602086016138fe565b80840191505092915050565b6000614fcc8286614f10565b9150614fd88285614f8f565b9150614fe48284614f10565b9150819050949350505050565b7f7b226e616d65223a202249444e54545320230000000000000000000000000000600082015250565b6000615027601283614c8d565b915061503282614ff1565b601282019050919050565b7f222c20226465736372697074696f6e223a202249444e5454532069732074686560008201527f206f6e6c792031306b2066726565206d696e742077697468207265616c20757460208201527f696c6974792e204172746973746963202620746563686e6f6c6f676963616c2060408201527f696e6e6f766174696f6e2e20576520617265206372617a79206275742066726560608201527f6521222c2022696d616765223a20220000000000000000000000000000000000608082015250565b600061510b608f83614c8d565b91506151168261503d565b608f82019050919050565b7f222c2261747472696275746573223a205b7b2274726169745f74797065223a2060008201527f2252657665616c6564222c202276616c7565223a20224e6f227d5d7d00000000602082015250565b600061517d603c83614c8d565b915061518882615121565b603c82019050919050565b600061519e8261501a565b91506151aa8285614f8f565b91506151b5826150fe565b91506151c18284614f10565b91506151cc82615170565b91508190509392505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b600061520e601d83614c8d565b9150615219826151d8565b601d82019050919050565b600061522f82615201565b915061523b8284614f8f565b915081905092915050565b600060808201905061525b6000830187613d36565b6152686020830186613a32565b6152756040830185613c46565b6152826060830184613c46565b95945050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006152e76026836138ed565b91506152f28261528b565b604082019050919050565b60006020820190508181036000830152615316816152da565b9050919050565b7f455243373231533a204e6f7420617574686f72697a656420746f20617070726f60008201527f7665000000000000000000000000000000000000000000000000000000000000602082015250565b60006153796022836138ed565b91506153848261531d565b604082019050919050565b600060208201905081810360008301526153a88161536c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006153e56020836138ed565b91506153f0826153af565b602082019050919050565b60006020820190508181036000830152615414816153d8565b9050919050565b7f455243373231533a20546f6b656e20646f6573206e6f74206578697374000000600082015250565b6000615451601d836138ed565b915061545c8261541b565b602082019050919050565b6000602082019050818103600083015261548081615444565b9050919050565b7f4c6f636b61626c653a20746f6b656e206973206c6f636b656400000000000000600082015250565b60006154bd6019836138ed565b91506154c882615487565b602082019050919050565b600060208201905081810360008301526154ec816154b0565b9050919050565b7f4c6f636b696e673a206e6f74206175686f72697a656420746f206c6f636b0000600082015250565b6000615529601e836138ed565b9150615534826154f3565b602082019050919050565b600060208201905081810360008301526155588161551c565b9050919050565b7f4c6f636b696e673a20546f6b656e20697320616c7265616479206c6f636b6564600082015250565b60006155956020836138ed565b91506155a08261555f565b602082019050919050565b600060208201905081810360008301526155c481615588565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546155f881614290565b61560281866155cb565b9450600182166000811461561d576001811461562e57615661565b60ff19831686528186019350615661565b615637856155d6565b60005b838110156156595781548189015260018201915060208101905061563a565b838801955050505b50505092915050565b600061567682846155eb565b915081905092915050565b600060a0820190506156966000830188613d36565b6156a36020830187613d36565b6156b06040830186613d36565b6156bd6060830185613c46565b6156ca6080830184613a32565b9695505050505050565b7f455243373231533a204d696e7420746f20756e7361666520726563657069656e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b60006157306021836138ed565b915061573b826156d4565b604082019050919050565b6000602082019050818103600083015261575f81615723565b9050919050565b7f45524332393831526f79616c746965733a20546f6f2068696768000000000000600082015250565b600061579c601a836138ed565b91506157a782615766565b602082019050919050565b600060208201905081810360008301526157cb8161578f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600081519050919050565b600061581782615801565b6158218185614904565b93506158318185602086016138fe565b61583a81613931565b840191505092915050565b600060408201905061585a6000830185613d36565b818103602083015261586c818461580c565b90509392505050565b600061588082615801565b61588a81856155cb565b935061589a8185602086016138fe565b80840191505092915050565b60006158b28284615875565b915081905092915050565b60006158c88261399d565b91506158d38361399d565b9250826158e3576158e261473a565b5b828206905092915050565b7f455243373231533a2043616e206e6f74206d696e7420746f203020616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061594a6022836138ed565b9150615955826158ee565b604082019050919050565b600060208201905081810360008301526159798161593d565b9050919050565b7f455243373231533a2043616e206e6f74206d696e74203020746f6b656e730000600082015250565b60006159b6601e836138ed565b91506159c182615980565b602082019050919050565b600060208201905081810360008301526159e5816159a9565b9050919050565b600060ff82169050919050565b615a02816159ec565b82525050565b6000608082019050615a1d6000830187613d36565b615a2a60208301866159f9565b615a376040830185613d36565b615a446060830184613d36565b9594505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220f68575b5e2882c22755c8c8a2f12ab9c159a6067701a58670ee83527e6311bcc64736f6c634300080e0033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000010697066733a2f2f756e6c6f636b65642f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e697066733a2f2f6c6f636b65642f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042697066733a2f2f62616679626569616861786a61616c7a677933657465726e77616a786a7973697468376765626167667471736b626174696b7a7a357a7364616e79000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _myBaseUnlocked (string): ipfs://unlocked/
Arg [1] : _myBaseLocked (string): ipfs://locked/
Arg [2] : _unrevBase (string): ipfs://bafybeiahaxjaalzgy3eternwajxjysith7gebagftqskbatikzz5zsdany

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [4] : 697066733a2f2f756e6c6f636b65642f00000000000000000000000000000000
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [6] : 697066733a2f2f6c6f636b65642f000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [8] : 697066733a2f2f62616679626569616861786a61616c7a677933657465726e77
Arg [9] : 616a786a7973697468376765626167667471736b626174696b7a7a357a736461
Arg [10] : 6e79000000000000000000000000000000000000000000000000000000000000


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.