ETH Price: $3,399.69 (+2.59%)
Gas: 6.55 Gwei

Token

Spaces by Shirley Lo (SSL)
 

Overview

Max Total Supply

555 SSL

Holders

224

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
fumbledbags.eth
Balance
1 SSL
0xb08e5877cc44068c1f7af03bc901169beb089a19
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
SpacesbyShirleyLo

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : SpacesbyShirleyLo.sol
pragma solidity ^0.8.7;

import "@openzeppelin/contracts/access/Ownable.sol";
import "tiny-erc721/contracts/TinyERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

contract SpacesbyShirleyLo is TinyERC721, Ownable {

    string public baseURI;

    address public proxyRegistryAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1;
    address public lead;

    bool public publicPaused = true;
    
    uint256 public cost = 0.002 ether;
    uint256 public maxSupply = 555;
    uint256 public maxPerWalletPublic = 5;
    uint256 public maxPerTxPublic = 5;
    address public contractV1;
    uint256 supply = totalSupply();

    mapping(address => uint) public addressMintedBalance;
    

 constructor(
    string memory _baseURI,
    address _lead,
    address _contractV1
  )TinyERC721("Spaces by Shirley Lo", "SSL", 0) {
    baseURI = _baseURI;
    lead = _lead;
    contractV1 = _contractV1;
  }

  modifier publicnotPaused() {
    require(!publicPaused, "Contract is Paused");
     _;
  }

  modifier callerIsUser() {
    require(tx.origin == msg.sender, 'The caller is another contract.');
    _;
  }


  function setContractV1Address(address _contractV1) public onlyOwner {
    contractV1 =_contractV1;
  }

  function tokenURI(uint256 _tokenId) public view override returns (string memory) {
    require(_exists(_tokenId), "Token does not exist.");
    return string(abi.encodePacked(baseURI, Strings.toString(_tokenId),".json"));
  }

  function setProxyRegistryAddress(address _proxyRegistryAddress) external onlyOwner {
    proxyRegistryAddress = _proxyRegistryAddress;
  }

  function togglePublic(bool _state) external onlyOwner {
    publicPaused = _state;
  }

  function privateMint(uint256 _quanitity) public onlyOwner {        
    uint256 supply = totalSupply();
    require(_quanitity + supply <= maxSupply);
    _safeMint(msg.sender, _quanitity);
  }

  function setBaseURI(string memory _baseURI) public onlyOwner {
    baseURI = _baseURI;
  }

  function setmaxSupply(uint256 _maxSupply) public onlyOwner {
    maxSupply = _maxSupply;
  }

  function setCost(uint256 _cost) public onlyOwner {
    cost = _cost;
  }

  function setmaxPerWalletPublic(uint256 _MPWPublic) public onlyOwner {
    maxPerWalletPublic = _MPWPublic;
  }

  function setmaxPerTxPublic(uint256 _MPTxPublic) public onlyOwner {
    maxPerTxPublic = _MPTxPublic;
  }

  function publicMint(uint256 _quantity)
    public 
    payable 
    publicnotPaused() 
    callerIsUser() 
  {
    uint256 supply = totalSupply();
    require(msg.value >= cost * _quantity, "Not Enough Ether");
    require(_quantity <= maxPerTxPublic, "Over Tx Limit");
    require(_quantity + supply <= maxSupply, "SoldOut");
    require(addressMintedBalance[msg.sender] < maxPerWalletPublic, "Over MaxPerWallet");
    addressMintedBalance[msg.sender] += _quantity;
    
    _safeMint(msg.sender, _quantity);
  }

  function isApprovedForAll(address _owner, address operator) public view override returns (bool) {
    OpenSeaProxyRegistry proxyRegistry = OpenSeaProxyRegistry(proxyRegistryAddress);
    if (address(proxyRegistry.proxies(_owner)) == operator) return true;
    return super.isApprovedForAll(_owner, operator);
  }
    
  function withdraw() public onlyOwner {
    (bool success, ) = lead.call{value: address(this).balance}("");
    require(success, "Failed to send to lead.");
  }

}

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

File 2 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

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

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

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

File 3 of 11 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 4 of 11 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 11 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 6 of 11 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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

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

File 7 of 11 : 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 11 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 9 of 11 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 10 of 11 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error TokenDataQueryForNonexistentToken();
error OwnerQueryForNonexistentToken();
error OperatorQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

contract TinyERC721 is Context, ERC165, IERC721, IERC721Metadata {
  using Address for address;
  using Strings for uint256;

  struct TokenData {
    address owner;
    bytes12 aux;
  }

  uint256 private immutable _maxBatchSize;

  mapping(uint256 => TokenData) private _tokens;
  uint256 private _mintCounter;

  string private _name;
  string private _symbol;

  mapping(uint256 => address) private _tokenApprovals;
  mapping(address => mapping(address => bool)) private _operatorApprovals;

  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_
  ) {
    _name = name_;
    _symbol = symbol_;
    _maxBatchSize = maxBatchSize_;
  }

  function totalSupply() public view virtual returns (uint256) {
    return _mintCounter;
  }

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

  function name() public view virtual override returns (string memory) {
    return _name;
  }

  function symbol() public view virtual override returns (string memory) {
    return _symbol;
  }

  function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
    if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

  function _baseURI() internal view virtual returns (string memory) {
    return '';
  }

  function balanceOf(address owner) public view virtual override returns (uint256) {
    if (owner == address(0)) revert BalanceQueryForZeroAddress();

    uint256 total = totalSupply();
    uint256 count;
    address lastOwner;
    for (uint256 i; i < total; ++i) {
      address tokenOwner = _tokens[i].owner;
      if (tokenOwner != address(0)) lastOwner = tokenOwner;
      if (lastOwner == owner) ++count;
    }

    return count;
  }

  function _tokenData(uint256 tokenId) internal view returns (TokenData storage) {
    if (!_exists(tokenId)) revert TokenDataQueryForNonexistentToken();

    TokenData storage token = _tokens[tokenId];
    uint256 currentIndex = tokenId;
    while (token.owner == address(0)) {
      unchecked {
        --currentIndex;
      }
      token = _tokens[currentIndex];
    }

    return token;
  }

  function ownerOf(uint256 tokenId) public view virtual override returns (address) {
    if (!_exists(tokenId)) revert OwnerQueryForNonexistentToken();
    return _tokenData(tokenId).owner;
  }

  function approve(address to, uint256 tokenId) public virtual override {
    TokenData memory token = _tokenData(tokenId);
    address owner = token.owner;
    if (to == owner) revert ApprovalToCurrentOwner();

    if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
      revert ApprovalCallerNotOwnerNorApproved();
    }

    _approve(to, tokenId, token);
  }

  function getApproved(uint256 tokenId) public view virtual override returns (address) {
    if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

    return _tokenApprovals[tokenId];
  }

  function setApprovalForAll(address operator, bool approved) public virtual override {
    if (operator == _msgSender()) revert ApproveToCaller();

    _operatorApprovals[_msgSender()][operator] = approved;
    emit ApprovalForAll(_msgSender(), operator, approved);
  }

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

  function transferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public virtual override {
    TokenData memory token = _tokenData(tokenId);
    if (!_isApprovedOrOwner(_msgSender(), tokenId, token)) revert TransferCallerNotOwnerNorApproved();

    _transfer(from, to, tokenId, token);
  }

  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public virtual override {
    safeTransferFrom(from, to, tokenId, '');
  }

  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public virtual override {
    TokenData memory token = _tokenData(tokenId);
    if (!_isApprovedOrOwner(_msgSender(), tokenId, token)) revert TransferCallerNotOwnerNorApproved();

    _safeTransfer(from, to, tokenId, token, _data);
  }

  function _safeTransfer(
    address from,
    address to,
    uint256 tokenId,
    TokenData memory token,
    bytes memory _data
  ) internal virtual {
    _transfer(from, to, tokenId, token);

    if (to.isContract() && !_checkOnERC721Received(from, to, tokenId, _data))
      revert TransferToNonERC721ReceiverImplementer();
  }

  function _exists(uint256 tokenId) internal view virtual returns (bool) {
    return tokenId < _mintCounter;
  }

  function _isApprovedOrOwner(
    address spender,
    uint256 tokenId,
    TokenData memory token
  ) internal view virtual returns (bool) {
    address owner = token.owner;
    return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
  }

  function _safeMint(address to, uint256 quantity) internal virtual {
    _safeMint(to, quantity, '');
  }

  function _safeMint(
    address to,
    uint256 quantity,
    bytes memory _data
  ) internal virtual {
    uint256 startTokenId = _mintCounter;
    _mint(to, quantity);

    if (to.isContract()) {
      unchecked {
        for (uint256 i; i < quantity; ++i) {
          if (!_checkOnERC721Received(address(0), to, startTokenId + i, _data))
            revert TransferToNonERC721ReceiverImplementer();
        }
      }
    }
  }

  function _mint(address to, uint256 quantity) internal virtual {
    if (to == address(0)) revert MintToZeroAddress();
    if (quantity == 0) revert MintZeroQuantity();

    uint256 startTokenId = _mintCounter;
    _beforeTokenTransfers(address(0), to, startTokenId, quantity);

    unchecked {
      for (uint256 i; i < quantity; ++i) {
        if (_maxBatchSize == 0 ? i == 0 : i % _maxBatchSize == 0) {
          TokenData storage token = _tokens[startTokenId + i];
          token.owner = to;
          token.aux = _calculateAux(address(0), to, startTokenId + i, 0);
        }

        emit Transfer(address(0), to, startTokenId + i);
      }
      _mintCounter += quantity;
    }

    _afterTokenTransfers(address(0), to, startTokenId, quantity);
  }

  function _transfer(
    address from,
    address to,
    uint256 tokenId,
    TokenData memory token
  ) internal virtual {
    if (token.owner != from) revert TransferFromIncorrectOwner();
    if (to == address(0)) revert TransferToZeroAddress();

    _beforeTokenTransfers(from, to, tokenId, 1);

    _approve(address(0), tokenId, token);

    unchecked {
      uint256 nextTokenId = tokenId + 1;
      if (_exists(nextTokenId)) {
        TokenData storage nextToken = _tokens[nextTokenId];
        if (nextToken.owner == address(0)) {
          nextToken.owner = token.owner;
          nextToken.aux = token.aux;
        }
      }
    }

    TokenData storage newToken = _tokens[tokenId];
    newToken.owner = to;
    newToken.aux = _calculateAux(from, to, tokenId, token.aux);

    emit Transfer(from, to, tokenId);

    _afterTokenTransfers(from, to, tokenId, 1);
  }

  function _calculateAux(
    address from,
    address to,
    uint256 tokenId,
    bytes12 current
  ) internal view virtual returns (bytes12) {}

  function _approve(
    address to,
    uint256 tokenId,
    TokenData memory token
  ) internal virtual {
    _tokenApprovals[tokenId] = to;
    emit Approval(token.owner, to, tokenId);
  }

  function _checkOnERC721Received(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) private returns (bool) {
    try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
      return retval == IERC721Receiver.onERC721Received.selector;
    } catch (bytes memory reason) {
      if (reason.length == 0) {
        revert TransferToNonERC721ReceiverImplementer();
      } else {
        assembly {
          revert(add(32, reason), mload(reason))
        }
      }
    }
  }

  function _beforeTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}

  function _afterTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}
}

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":"_baseURI","type":"string"},{"internalType":"address","name":"_lead","type":"address"},{"internalType":"address","name":"_contractV1","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenDataQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractV1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","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":"address","name":"_owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lead","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTxPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quanitity","type":"uint256"}],"name":"privateMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractV1","type":"address"}],"name":"setContractV1Address","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MPTxPublic","type":"uint256"}],"name":"setmaxPerTxPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MPWPublic","type":"uint256"}],"name":"setmaxPerWalletPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setmaxSupply","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":"bool","name":"_state","type":"bool"}],"name":"togglePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405273a5409ec958c83c3f309868babaca7c86dcb077c1600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600960146101000a81548160ff02191690831515021790555066071afd498d0000600a5561022b600b556005600c556005600d556200009f6200024460201b60201c565b600f55348015620000af57600080fd5b50604051620045de380380620045de8339818101604052810190620000d5919062000461565b6040518060400160405280601481526020017f53706163657320627920536869726c6579204c6f0000000000000000000000008152506040518060400160405280600381526020017f53534c0000000000000000000000000000000000000000000000000000000000815250600082600290805190602001906200015b9291906200031c565b508160039080519060200190620001749291906200031c565b508060808181525050505050620001a0620001946200024e60201b60201c565b6200025660201b60201c565b8260079080519060200190620001b89291906200031c565b5081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050620006ae565b6000600154905090565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200032a90620005a5565b90600052602060002090601f0160209004810192826200034e57600085556200039a565b82601f106200036957805160ff19168380011785556200039a565b828001600101855582156200039a579182015b82811115620003995782518255916020019190600101906200037c565b5b509050620003a99190620003ad565b5090565b5b80821115620003c8576000816000905550600101620003ae565b5090565b6000620003e3620003dd8462000505565b620004dc565b90508281526020810184848401111562000402576200040162000674565b5b6200040f8482856200056f565b509392505050565b600081519050620004288162000694565b92915050565b600082601f8301126200044657620004456200066f565b5b815162000458848260208601620003cc565b91505092915050565b6000806000606084860312156200047d576200047c6200067e565b5b600084015167ffffffffffffffff8111156200049e576200049d62000679565b5b620004ac868287016200042e565b9350506020620004bf8682870162000417565b9250506040620004d28682870162000417565b9150509250925092565b6000620004e8620004fb565b9050620004f68282620005db565b919050565b6000604051905090565b600067ffffffffffffffff82111562000523576200052262000640565b5b6200052e8262000683565b9050602081019050919050565b600062000548826200054f565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200058f57808201518184015260208101905062000572565b838111156200059f576000848401525b50505050565b60006002820490506001821680620005be57607f821691505b60208210811415620005d557620005d462000611565b5b50919050565b620005e68262000683565b810181811067ffffffffffffffff8211171562000608576200060762000640565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200069f816200053b565b8114620006ab57600080fd5b50565b608051613f0d620006d160003960008181612c160152612c3e0152613f0d6000f3fe6080604052600436106102255760003560e01c8063701ee00611610123578063b029a514116100ab578063cd7c03261161006f578063cd7c0326146107d0578063d26ea6c0146107fb578063d5abeb0114610824578063e985e9c51461084f578063f2fde38b1461088c57610225565b8063b029a514146106ed578063b88d4fde14610718578063c3c62d3814610741578063c4d4ec941461076a578063c87b56dd1461079357610225565b80638da5cb5b116100f25780638da5cb5b1461061a57806395d89b41146106455780639943770d14610670578063a22cb4651461069b578063abfe40a8146106c457610225565b8063701ee0061461057257806370a082311461059b578063715018a6146105d85780637885ce39146105ef57610225565b8063228025e8116101b157806344a0d68a1161017557806344a0d68a1461048d57806346bb0a16146104b657806355f804b3146104e15780636352211e1461050a5780636c0360eb1461054757610225565b8063228025e8146103df57806323b872dd146104085780632db11544146104315780633ccfd60b1461044d57806342842e0e1461046457610225565b80630bb12bb8116101f85780630bb12bb8146102f85780630e21f59f1461032357806313faede61461034c57806318160ddd1461037757806318cae269146103a257610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190613191565b6108b5565b60405161025e919061362c565b60405180910390f35b34801561027357600080fd5b5061027c610997565b6040516102899190613647565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190613261565b610a29565b6040516102c691906135c5565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613124565b610aa5565b005b34801561030457600080fd5b5061030d610c60565b60405161031a919061362c565b60405180910390f35b34801561032f57600080fd5b5061034a60048036038101906103459190613164565b610c73565b005b34801561035857600080fd5b50610361610d0c565b60405161036e91906137a9565b60405180910390f35b34801561038357600080fd5b5061038c610d12565b60405161039991906137a9565b60405180910390f35b3480156103ae57600080fd5b506103c960048036038101906103c49190612fa1565b610d1c565b6040516103d691906137a9565b60405180910390f35b3480156103eb57600080fd5b5061040660048036038101906104019190613261565b610d34565b005b34801561041457600080fd5b5061042f600480360381019061042a919061300e565b610dba565b005b61044b60048036038101906104469190613261565b610ec7565b005b34801561045957600080fd5b5061046261115d565b005b34801561047057600080fd5b5061048b6004803603810190610486919061300e565b6112aa565b005b34801561049957600080fd5b506104b460048036038101906104af9190613261565b6112ca565b005b3480156104c257600080fd5b506104cb611350565b6040516104d891906135c5565b60405180910390f35b3480156104ed57600080fd5b5061050860048036038101906105039190613218565b611376565b005b34801561051657600080fd5b50610531600480360381019061052c9190613261565b61140c565b60405161053e91906135c5565b60405180910390f35b34801561055357600080fd5b5061055c611481565b6040516105699190613647565b60405180910390f35b34801561057e57600080fd5b5061059960048036038101906105949190613261565b61150f565b005b3480156105a757600080fd5b506105c260048036038101906105bd9190612fa1565b611595565b6040516105cf91906137a9565b60405180910390f35b3480156105e457600080fd5b506105ed6116e8565b005b3480156105fb57600080fd5b50610604611770565b60405161061191906135c5565b60405180910390f35b34801561062657600080fd5b5061062f611796565b60405161063c91906135c5565b60405180910390f35b34801561065157600080fd5b5061065a6117c0565b6040516106679190613647565b60405180910390f35b34801561067c57600080fd5b50610685611852565b60405161069291906137a9565b60405180910390f35b3480156106a757600080fd5b506106c260048036038101906106bd91906130e4565b611858565b005b3480156106d057600080fd5b506106eb60048036038101906106e69190613261565b6119d0565b005b3480156106f957600080fd5b50610702611a80565b60405161070f91906137a9565b60405180910390f35b34801561072457600080fd5b5061073f600480360381019061073a9190613061565b611a86565b005b34801561074d57600080fd5b5061076860048036038101906107639190613261565b611b95565b005b34801561077657600080fd5b50610791600480360381019061078c9190612fa1565b611c1b565b005b34801561079f57600080fd5b506107ba60048036038101906107b59190613261565b611cdb565b6040516107c79190613647565b60405180910390f35b3480156107dc57600080fd5b506107e5611d57565b6040516107f291906135c5565b60405180910390f35b34801561080757600080fd5b50610822600480360381019061081d9190612fa1565b611d7d565b005b34801561083057600080fd5b50610839611e3d565b60405161084691906137a9565b60405180910390f35b34801561085b57600080fd5b5061087660048036038101906108719190612fce565b611e43565b604051610883919061362c565b60405180910390f35b34801561089857600080fd5b506108b360048036038101906108ae9190612fa1565b611f45565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061098057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610990575061098f8261203d565b5b9050919050565b6060600280546109a690613a8b565b80601f01602080910402602001604051908101604052809291908181526020018280546109d290613a8b565b8015610a1f5780601f106109f457610100808354040283529160200191610a1f565b820191906000526020600020905b815481529060010190602001808311610a0257829003601f168201915b5050505050905090565b6000610a34826120a7565b610a6a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ab0826120b5565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152505090506000816000015190508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610bc7576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610be6612195565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c185750610c1681610c11612195565b611e43565b155b15610c4f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c5a84848461219d565b50505050565b600960149054906101000a900460ff1681565b610c7b612195565b73ffffffffffffffffffffffffffffffffffffffff16610c99611796565b73ffffffffffffffffffffffffffffffffffffffff1614610cef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce690613749565b60405180910390fd5b80600960146101000a81548160ff02191690831515021790555050565b600a5481565b6000600154905090565b60106020528060005260406000206000915090505481565b610d3c612195565b73ffffffffffffffffffffffffffffffffffffffff16610d5a611796565b73ffffffffffffffffffffffffffffffffffffffff1614610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da790613749565b60405180910390fd5b80600b8190555050565b6000610dc5826120b5565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815250509050610e7f610e78612195565b8383612253565b610eb5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ec1848484846122e5565b50505050565b600960149054906101000a900460ff1615610f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0e90613769565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610f85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7c906136e9565b60405180910390fd5b6000610f8f610d12565b905081600a54610f9f9190613935565b341015610fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd8906136a9565b60405180910390fd5b600d54821115611026576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101d90613789565b60405180910390fd5b600b54818361103591906138ae565b1115611076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106d906136c9565b60405180910390fd5b600c54601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106110f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f090613689565b60405180910390fd5b81601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461114891906138ae565b9250508190555061115933836125c9565b5050565b611165612195565b73ffffffffffffffffffffffffffffffffffffffff16611183611796565b73ffffffffffffffffffffffffffffffffffffffff16146111d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d090613749565b60405180910390fd5b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611221906135b0565b60006040518083038185875af1925050503d806000811461125e576040519150601f19603f3d011682016040523d82523d6000602084013e611263565b606091505b50509050806112a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129e90613669565b60405180910390fd5b50565b6112c583838360405180602001604052806000815250611a86565b505050565b6112d2612195565b73ffffffffffffffffffffffffffffffffffffffff166112f0611796565b73ffffffffffffffffffffffffffffffffffffffff1614611346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133d90613749565b60405180910390fd5b80600a8190555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61137e612195565b73ffffffffffffffffffffffffffffffffffffffff1661139c611796565b73ffffffffffffffffffffffffffffffffffffffff16146113f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e990613749565b60405180910390fd5b8060079080519060200190611408929190612da0565b5050565b6000611417826120a7565b61144d576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611456826120b5565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6007805461148e90613a8b565b80601f01602080910402602001604051908101604052809291908181526020018280546114ba90613a8b565b80156115075780601f106114dc57610100808354040283529160200191611507565b820191906000526020600020905b8154815290600101906020018083116114ea57829003601f168201915b505050505081565b611517612195565b73ffffffffffffffffffffffffffffffffffffffff16611535611796565b73ffffffffffffffffffffffffffffffffffffffff161461158b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158290613749565b60405180910390fd5b80600c8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115fd576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611607610d12565b905060008060005b838110156116dc57600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611689578092505b8673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156116ca57836116c790613aee565b93505b50806116d590613aee565b905061160f565b50819350505050919050565b6116f0612195565b73ffffffffffffffffffffffffffffffffffffffff1661170e611796565b73ffffffffffffffffffffffffffffffffffffffff1614611764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175b90613749565b60405180910390fd5b61176e60006125e7565b565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546117cf90613a8b565b80601f01602080910402602001604051908101604052809291908181526020018280546117fb90613a8b565b80156118485780601f1061181d57610100808354040283529160200191611848565b820191906000526020600020905b81548152906001019060200180831161182b57829003601f168201915b5050505050905090565b600d5481565b611860612195565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118c5576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600560006118d2612195565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661197f612195565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119c4919061362c565b60405180910390a35050565b6119d8612195565b73ffffffffffffffffffffffffffffffffffffffff166119f6611796565b73ffffffffffffffffffffffffffffffffffffffff1614611a4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4390613749565b60405180910390fd5b6000611a56610d12565b9050600b548183611a6791906138ae565b1115611a7257600080fd5b611a7c33836125c9565b5050565b600c5481565b6000611a91836120b5565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815250509050611b4b611b44612195565b8483612253565b611b81576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b8e85858584866126ad565b5050505050565b611b9d612195565b73ffffffffffffffffffffffffffffffffffffffff16611bbb611796565b73ffffffffffffffffffffffffffffffffffffffff1614611c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0890613749565b60405180910390fd5b80600d8190555050565b611c23612195565b73ffffffffffffffffffffffffffffffffffffffff16611c41611796565b73ffffffffffffffffffffffffffffffffffffffff1614611c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8e90613749565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060611ce6826120a7565b611d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1c90613729565b60405180910390fd5b6007611d308361272b565b604051602001611d41929190613581565b6040516020818303038152906040529050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611d85612195565b73ffffffffffffffffffffffffffffffffffffffff16611da3611796565b73ffffffffffffffffffffffffffffffffffffffff1614611df9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df090613749565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b5481565b600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611ebb91906135c5565b60206040518083038186803b158015611ed357600080fd5b505afa158015611ee7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f0b91906131eb565b73ffffffffffffffffffffffffffffffffffffffff161415611f31576001915050611f3f565b611f3b848461288c565b9150505b92915050565b611f4d612195565b73ffffffffffffffffffffffffffffffffffffffff16611f6b611796565b73ffffffffffffffffffffffffffffffffffffffff1614611fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb890613749565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202890613709565b60405180910390fd5b61203a816125e7565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060015482109050919050565b60006120c0826120a7565b6120f6576040517f3210dcc600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000848152602001908152602001600020905060008390505b600073ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561218b57806001900390506000808281526020019081526020016000209150612112565b8192505050919050565b600033905090565b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600080826000015190508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061229d575061229c8186611e43565b5b806122db57508473ffffffffffffffffffffffffffffffffffffffff166122c385610a29565b73ffffffffffffffffffffffffffffffffffffffff16145b9150509392505050565b8373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461234e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123b5576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123c28484846001612920565b6123ce6000838361219d565b60006001830190506123df816120a7565b156124c95760008060008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156124c75782600001518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001518160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c02179055505b505b5060008060008481526020019081526020016000209050838160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506125338585858560200151612926565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125c28585856001612930565b5050505050565b6125e3828260405180602001604052806000815250612936565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6126b9858585856122e5565b6126d88473ffffffffffffffffffffffffffffffffffffffff166129ce565b80156126ed57506126eb858585846129f1565b155b15612724576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b60606000821415612773576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612887565b600082905060005b600082146127a557808061278e90613aee565b915050600a8261279e9190613904565b915061277b565b60008167ffffffffffffffff8111156127c1576127c0613c24565b5b6040519080825280601f01601f1916602001820160405280156127f35781602001600182028036833780820191505090505b5090505b600085146128805760018261280c919061398f565b9150600a8561281b9190613b37565b603061282791906138ae565b60f81b81838151811061283d5761283c613bf5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128799190613904565b94506127f7565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b50505050565b6000949350505050565b50505050565b600060015490506129478484612b51565b6129668473ffffffffffffffffffffffffffffffffffffffff166129ce565b156129c85760005b838110156129c657612985600086838501866129f1565b6129bb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600101905061296e565b505b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a17612195565b8786866040518563ffffffff1660e01b8152600401612a3994939291906135e0565b602060405180830381600087803b158015612a5357600080fd5b505af1925050508015612a8457506040513d601f19601f82011682018060405250810190612a8191906131be565b60015b612afe573d8060008114612ab4576040519150601f19603f3d011682016040523d82523d6000602084013e612ab9565b606091505b50600081511415612af6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bb8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000811415612bf3576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006001549050612c076000848385612920565b60005b82811015612d7d5760007f000000000000000000000000000000000000000000000000000000000000000014612c735760007f00000000000000000000000000000000000000000000000000000000000000008281612c6c57612c6b613b97565b5b0614612c78565b600081145b15612d1457600080600083850181526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612ceb600086848601600060a01b612926565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550505b8082018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4806001019050612c0a565b5081600160008282540192505081905550612d9b6000848385612930565b505050565b828054612dac90613a8b565b90600052602060002090601f016020900481019282612dce5760008555612e15565b82601f10612de757805160ff1916838001178555612e15565b82800160010185558215612e15579182015b82811115612e14578251825591602001919060010190612df9565b5b509050612e229190612e26565b5090565b5b80821115612e3f576000816000905550600101612e27565b5090565b6000612e56612e51846137e9565b6137c4565b905082815260208101848484011115612e7257612e71613c58565b5b612e7d848285613a49565b509392505050565b6000612e98612e938461381a565b6137c4565b905082815260208101848484011115612eb457612eb3613c58565b5b612ebf848285613a49565b509392505050565b600081359050612ed681613e64565b92915050565b600081359050612eeb81613e7b565b92915050565b600081359050612f0081613e92565b92915050565b600081519050612f1581613e92565b92915050565b600082601f830112612f3057612f2f613c53565b5b8135612f40848260208601612e43565b91505092915050565b600081519050612f5881613ea9565b92915050565b600082601f830112612f7357612f72613c53565b5b8135612f83848260208601612e85565b91505092915050565b600081359050612f9b81613ec0565b92915050565b600060208284031215612fb757612fb6613c62565b5b6000612fc584828501612ec7565b91505092915050565b60008060408385031215612fe557612fe4613c62565b5b6000612ff385828601612ec7565b925050602061300485828601612ec7565b9150509250929050565b60008060006060848603121561302757613026613c62565b5b600061303586828701612ec7565b935050602061304686828701612ec7565b925050604061305786828701612f8c565b9150509250925092565b6000806000806080858703121561307b5761307a613c62565b5b600061308987828801612ec7565b945050602061309a87828801612ec7565b93505060406130ab87828801612f8c565b925050606085013567ffffffffffffffff8111156130cc576130cb613c5d565b5b6130d887828801612f1b565b91505092959194509250565b600080604083850312156130fb576130fa613c62565b5b600061310985828601612ec7565b925050602061311a85828601612edc565b9150509250929050565b6000806040838503121561313b5761313a613c62565b5b600061314985828601612ec7565b925050602061315a85828601612f8c565b9150509250929050565b60006020828403121561317a57613179613c62565b5b600061318884828501612edc565b91505092915050565b6000602082840312156131a7576131a6613c62565b5b60006131b584828501612ef1565b91505092915050565b6000602082840312156131d4576131d3613c62565b5b60006131e284828501612f06565b91505092915050565b60006020828403121561320157613200613c62565b5b600061320f84828501612f49565b91505092915050565b60006020828403121561322e5761322d613c62565b5b600082013567ffffffffffffffff81111561324c5761324b613c5d565b5b61325884828501612f5e565b91505092915050565b60006020828403121561327757613276613c62565b5b600061328584828501612f8c565b91505092915050565b613297816139c3565b82525050565b6132a6816139d5565b82525050565b60006132b782613860565b6132c18185613876565b93506132d1818560208601613a58565b6132da81613c67565b840191505092915050565b60006132f08261386b565b6132fa8185613892565b935061330a818560208601613a58565b61331381613c67565b840191505092915050565b60006133298261386b565b61333381856138a3565b9350613343818560208601613a58565b80840191505092915050565b6000815461335c81613a8b565b61336681866138a3565b945060018216600081146133815760018114613392576133c5565b60ff198316865281860193506133c5565b61339b8561384b565b60005b838110156133bd5781548189015260018201915060208101905061339e565b838801955050505b50505092915050565b60006133db601783613892565b91506133e682613c78565b602082019050919050565b60006133fe601183613892565b915061340982613ca1565b602082019050919050565b6000613421601083613892565b915061342c82613cca565b602082019050919050565b6000613444600783613892565b915061344f82613cf3565b602082019050919050565b6000613467601f83613892565b915061347282613d1c565b602082019050919050565b600061348a602683613892565b915061349582613d45565b604082019050919050565b60006134ad601583613892565b91506134b882613d94565b602082019050919050565b60006134d06005836138a3565b91506134db82613dbd565b600582019050919050565b60006134f3602083613892565b91506134fe82613de6565b602082019050919050565b6000613516601283613892565b915061352182613e0f565b602082019050919050565b6000613539600083613887565b915061354482613e38565b600082019050919050565b600061355c600d83613892565b915061356782613e3b565b602082019050919050565b61357b81613a3f565b82525050565b600061358d828561334f565b9150613599828461331e565b91506135a4826134c3565b91508190509392505050565b60006135bb8261352c565b9150819050919050565b60006020820190506135da600083018461328e565b92915050565b60006080820190506135f5600083018761328e565b613602602083018661328e565b61360f6040830185613572565b818103606083015261362181846132ac565b905095945050505050565b6000602082019050613641600083018461329d565b92915050565b6000602082019050818103600083015261366181846132e5565b905092915050565b60006020820190508181036000830152613682816133ce565b9050919050565b600060208201905081810360008301526136a2816133f1565b9050919050565b600060208201905081810360008301526136c281613414565b9050919050565b600060208201905081810360008301526136e281613437565b9050919050565b600060208201905081810360008301526137028161345a565b9050919050565b600060208201905081810360008301526137228161347d565b9050919050565b60006020820190508181036000830152613742816134a0565b9050919050565b60006020820190508181036000830152613762816134e6565b9050919050565b6000602082019050818103600083015261378281613509565b9050919050565b600060208201905081810360008301526137a28161354f565b9050919050565b60006020820190506137be6000830184613572565b92915050565b60006137ce6137df565b90506137da8282613abd565b919050565b6000604051905090565b600067ffffffffffffffff82111561380457613803613c24565b5b61380d82613c67565b9050602081019050919050565b600067ffffffffffffffff82111561383557613834613c24565b5b61383e82613c67565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006138b982613a3f565b91506138c483613a3f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138f9576138f8613b68565b5b828201905092915050565b600061390f82613a3f565b915061391a83613a3f565b92508261392a57613929613b97565b5b828204905092915050565b600061394082613a3f565b915061394b83613a3f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561398457613983613b68565b5b828202905092915050565b600061399a82613a3f565b91506139a583613a3f565b9250828210156139b8576139b7613b68565b5b828203905092915050565b60006139ce82613a1f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000613a18826139c3565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613a76578082015181840152602081019050613a5b565b83811115613a85576000848401525b50505050565b60006002820490506001821680613aa357607f821691505b60208210811415613ab757613ab6613bc6565b5b50919050565b613ac682613c67565b810181811067ffffffffffffffff82111715613ae557613ae4613c24565b5b80604052505050565b6000613af982613a3f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613b2c57613b2b613b68565b5b600182019050919050565b6000613b4282613a3f565b9150613b4d83613a3f565b925082613b5d57613b5c613b97565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4661696c656420746f2073656e6420746f206c6561642e000000000000000000600082015250565b7f4f766572204d617850657257616c6c6574000000000000000000000000000000600082015250565b7f4e6f7420456e6f75676820457468657200000000000000000000000000000000600082015250565b7f536f6c644f757400000000000000000000000000000000000000000000000000600082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f436f6e7472616374206973205061757365640000000000000000000000000000600082015250565b50565b7f4f766572205478204c696d697400000000000000000000000000000000000000600082015250565b613e6d816139c3565b8114613e7857600080fd5b50565b613e84816139d5565b8114613e8f57600080fd5b50565b613e9b816139e1565b8114613ea657600080fd5b50565b613eb281613a0d565b8114613ebd57600080fd5b50565b613ec981613a3f565b8114613ed457600080fd5b5056fea26469706673582212207be0ae3de75e3a7b64273cd238d38945f40b3506c68445001e55f433a01215b964736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000600000000000000000000000007ede3c0cb45bab9ae7bd27ee9e56d39fed9fe24c0000000000000000000000007ede3c0cb45bab9ae7bd27ee9e56d39fed9fe24c0000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d55525545564c7155755752526f58436876714b6e374c69796f69454164457a62436441635457324a3548675a2f00000000000000000000

Deployed Bytecode

0x6080604052600436106102255760003560e01c8063701ee00611610123578063b029a514116100ab578063cd7c03261161006f578063cd7c0326146107d0578063d26ea6c0146107fb578063d5abeb0114610824578063e985e9c51461084f578063f2fde38b1461088c57610225565b8063b029a514146106ed578063b88d4fde14610718578063c3c62d3814610741578063c4d4ec941461076a578063c87b56dd1461079357610225565b80638da5cb5b116100f25780638da5cb5b1461061a57806395d89b41146106455780639943770d14610670578063a22cb4651461069b578063abfe40a8146106c457610225565b8063701ee0061461057257806370a082311461059b578063715018a6146105d85780637885ce39146105ef57610225565b8063228025e8116101b157806344a0d68a1161017557806344a0d68a1461048d57806346bb0a16146104b657806355f804b3146104e15780636352211e1461050a5780636c0360eb1461054757610225565b8063228025e8146103df57806323b872dd146104085780632db11544146104315780633ccfd60b1461044d57806342842e0e1461046457610225565b80630bb12bb8116101f85780630bb12bb8146102f85780630e21f59f1461032357806313faede61461034c57806318160ddd1461037757806318cae269146103a257610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190613191565b6108b5565b60405161025e919061362c565b60405180910390f35b34801561027357600080fd5b5061027c610997565b6040516102899190613647565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190613261565b610a29565b6040516102c691906135c5565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613124565b610aa5565b005b34801561030457600080fd5b5061030d610c60565b60405161031a919061362c565b60405180910390f35b34801561032f57600080fd5b5061034a60048036038101906103459190613164565b610c73565b005b34801561035857600080fd5b50610361610d0c565b60405161036e91906137a9565b60405180910390f35b34801561038357600080fd5b5061038c610d12565b60405161039991906137a9565b60405180910390f35b3480156103ae57600080fd5b506103c960048036038101906103c49190612fa1565b610d1c565b6040516103d691906137a9565b60405180910390f35b3480156103eb57600080fd5b5061040660048036038101906104019190613261565b610d34565b005b34801561041457600080fd5b5061042f600480360381019061042a919061300e565b610dba565b005b61044b60048036038101906104469190613261565b610ec7565b005b34801561045957600080fd5b5061046261115d565b005b34801561047057600080fd5b5061048b6004803603810190610486919061300e565b6112aa565b005b34801561049957600080fd5b506104b460048036038101906104af9190613261565b6112ca565b005b3480156104c257600080fd5b506104cb611350565b6040516104d891906135c5565b60405180910390f35b3480156104ed57600080fd5b5061050860048036038101906105039190613218565b611376565b005b34801561051657600080fd5b50610531600480360381019061052c9190613261565b61140c565b60405161053e91906135c5565b60405180910390f35b34801561055357600080fd5b5061055c611481565b6040516105699190613647565b60405180910390f35b34801561057e57600080fd5b5061059960048036038101906105949190613261565b61150f565b005b3480156105a757600080fd5b506105c260048036038101906105bd9190612fa1565b611595565b6040516105cf91906137a9565b60405180910390f35b3480156105e457600080fd5b506105ed6116e8565b005b3480156105fb57600080fd5b50610604611770565b60405161061191906135c5565b60405180910390f35b34801561062657600080fd5b5061062f611796565b60405161063c91906135c5565b60405180910390f35b34801561065157600080fd5b5061065a6117c0565b6040516106679190613647565b60405180910390f35b34801561067c57600080fd5b50610685611852565b60405161069291906137a9565b60405180910390f35b3480156106a757600080fd5b506106c260048036038101906106bd91906130e4565b611858565b005b3480156106d057600080fd5b506106eb60048036038101906106e69190613261565b6119d0565b005b3480156106f957600080fd5b50610702611a80565b60405161070f91906137a9565b60405180910390f35b34801561072457600080fd5b5061073f600480360381019061073a9190613061565b611a86565b005b34801561074d57600080fd5b5061076860048036038101906107639190613261565b611b95565b005b34801561077657600080fd5b50610791600480360381019061078c9190612fa1565b611c1b565b005b34801561079f57600080fd5b506107ba60048036038101906107b59190613261565b611cdb565b6040516107c79190613647565b60405180910390f35b3480156107dc57600080fd5b506107e5611d57565b6040516107f291906135c5565b60405180910390f35b34801561080757600080fd5b50610822600480360381019061081d9190612fa1565b611d7d565b005b34801561083057600080fd5b50610839611e3d565b60405161084691906137a9565b60405180910390f35b34801561085b57600080fd5b5061087660048036038101906108719190612fce565b611e43565b604051610883919061362c565b60405180910390f35b34801561089857600080fd5b506108b360048036038101906108ae9190612fa1565b611f45565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061098057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610990575061098f8261203d565b5b9050919050565b6060600280546109a690613a8b565b80601f01602080910402602001604051908101604052809291908181526020018280546109d290613a8b565b8015610a1f5780601f106109f457610100808354040283529160200191610a1f565b820191906000526020600020905b815481529060010190602001808311610a0257829003601f168201915b5050505050905090565b6000610a34826120a7565b610a6a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ab0826120b5565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152505090506000816000015190508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610bc7576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610be6612195565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c185750610c1681610c11612195565b611e43565b155b15610c4f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c5a84848461219d565b50505050565b600960149054906101000a900460ff1681565b610c7b612195565b73ffffffffffffffffffffffffffffffffffffffff16610c99611796565b73ffffffffffffffffffffffffffffffffffffffff1614610cef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce690613749565b60405180910390fd5b80600960146101000a81548160ff02191690831515021790555050565b600a5481565b6000600154905090565b60106020528060005260406000206000915090505481565b610d3c612195565b73ffffffffffffffffffffffffffffffffffffffff16610d5a611796565b73ffffffffffffffffffffffffffffffffffffffff1614610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da790613749565b60405180910390fd5b80600b8190555050565b6000610dc5826120b5565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815250509050610e7f610e78612195565b8383612253565b610eb5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ec1848484846122e5565b50505050565b600960149054906101000a900460ff1615610f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0e90613769565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610f85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7c906136e9565b60405180910390fd5b6000610f8f610d12565b905081600a54610f9f9190613935565b341015610fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd8906136a9565b60405180910390fd5b600d54821115611026576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101d90613789565b60405180910390fd5b600b54818361103591906138ae565b1115611076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106d906136c9565b60405180910390fd5b600c54601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106110f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f090613689565b60405180910390fd5b81601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461114891906138ae565b9250508190555061115933836125c9565b5050565b611165612195565b73ffffffffffffffffffffffffffffffffffffffff16611183611796565b73ffffffffffffffffffffffffffffffffffffffff16146111d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d090613749565b60405180910390fd5b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611221906135b0565b60006040518083038185875af1925050503d806000811461125e576040519150601f19603f3d011682016040523d82523d6000602084013e611263565b606091505b50509050806112a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129e90613669565b60405180910390fd5b50565b6112c583838360405180602001604052806000815250611a86565b505050565b6112d2612195565b73ffffffffffffffffffffffffffffffffffffffff166112f0611796565b73ffffffffffffffffffffffffffffffffffffffff1614611346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133d90613749565b60405180910390fd5b80600a8190555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61137e612195565b73ffffffffffffffffffffffffffffffffffffffff1661139c611796565b73ffffffffffffffffffffffffffffffffffffffff16146113f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e990613749565b60405180910390fd5b8060079080519060200190611408929190612da0565b5050565b6000611417826120a7565b61144d576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611456826120b5565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6007805461148e90613a8b565b80601f01602080910402602001604051908101604052809291908181526020018280546114ba90613a8b565b80156115075780601f106114dc57610100808354040283529160200191611507565b820191906000526020600020905b8154815290600101906020018083116114ea57829003601f168201915b505050505081565b611517612195565b73ffffffffffffffffffffffffffffffffffffffff16611535611796565b73ffffffffffffffffffffffffffffffffffffffff161461158b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158290613749565b60405180910390fd5b80600c8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115fd576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611607610d12565b905060008060005b838110156116dc57600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611689578092505b8673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156116ca57836116c790613aee565b93505b50806116d590613aee565b905061160f565b50819350505050919050565b6116f0612195565b73ffffffffffffffffffffffffffffffffffffffff1661170e611796565b73ffffffffffffffffffffffffffffffffffffffff1614611764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175b90613749565b60405180910390fd5b61176e60006125e7565b565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546117cf90613a8b565b80601f01602080910402602001604051908101604052809291908181526020018280546117fb90613a8b565b80156118485780601f1061181d57610100808354040283529160200191611848565b820191906000526020600020905b81548152906001019060200180831161182b57829003601f168201915b5050505050905090565b600d5481565b611860612195565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118c5576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600560006118d2612195565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661197f612195565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119c4919061362c565b60405180910390a35050565b6119d8612195565b73ffffffffffffffffffffffffffffffffffffffff166119f6611796565b73ffffffffffffffffffffffffffffffffffffffff1614611a4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4390613749565b60405180910390fd5b6000611a56610d12565b9050600b548183611a6791906138ae565b1115611a7257600080fd5b611a7c33836125c9565b5050565b600c5481565b6000611a91836120b5565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815250509050611b4b611b44612195565b8483612253565b611b81576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b8e85858584866126ad565b5050505050565b611b9d612195565b73ffffffffffffffffffffffffffffffffffffffff16611bbb611796565b73ffffffffffffffffffffffffffffffffffffffff1614611c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0890613749565b60405180910390fd5b80600d8190555050565b611c23612195565b73ffffffffffffffffffffffffffffffffffffffff16611c41611796565b73ffffffffffffffffffffffffffffffffffffffff1614611c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8e90613749565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060611ce6826120a7565b611d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1c90613729565b60405180910390fd5b6007611d308361272b565b604051602001611d41929190613581565b6040516020818303038152906040529050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611d85612195565b73ffffffffffffffffffffffffffffffffffffffff16611da3611796565b73ffffffffffffffffffffffffffffffffffffffff1614611df9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df090613749565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b5481565b600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611ebb91906135c5565b60206040518083038186803b158015611ed357600080fd5b505afa158015611ee7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f0b91906131eb565b73ffffffffffffffffffffffffffffffffffffffff161415611f31576001915050611f3f565b611f3b848461288c565b9150505b92915050565b611f4d612195565b73ffffffffffffffffffffffffffffffffffffffff16611f6b611796565b73ffffffffffffffffffffffffffffffffffffffff1614611fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb890613749565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202890613709565b60405180910390fd5b61203a816125e7565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060015482109050919050565b60006120c0826120a7565b6120f6576040517f3210dcc600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000848152602001908152602001600020905060008390505b600073ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561218b57806001900390506000808281526020019081526020016000209150612112565b8192505050919050565b600033905090565b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600080826000015190508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061229d575061229c8186611e43565b5b806122db57508473ffffffffffffffffffffffffffffffffffffffff166122c385610a29565b73ffffffffffffffffffffffffffffffffffffffff16145b9150509392505050565b8373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461234e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123b5576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123c28484846001612920565b6123ce6000838361219d565b60006001830190506123df816120a7565b156124c95760008060008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156124c75782600001518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001518160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c02179055505b505b5060008060008481526020019081526020016000209050838160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506125338585858560200151612926565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125c28585856001612930565b5050505050565b6125e3828260405180602001604052806000815250612936565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6126b9858585856122e5565b6126d88473ffffffffffffffffffffffffffffffffffffffff166129ce565b80156126ed57506126eb858585846129f1565b155b15612724576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b60606000821415612773576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612887565b600082905060005b600082146127a557808061278e90613aee565b915050600a8261279e9190613904565b915061277b565b60008167ffffffffffffffff8111156127c1576127c0613c24565b5b6040519080825280601f01601f1916602001820160405280156127f35781602001600182028036833780820191505090505b5090505b600085146128805760018261280c919061398f565b9150600a8561281b9190613b37565b603061282791906138ae565b60f81b81838151811061283d5761283c613bf5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128799190613904565b94506127f7565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b50505050565b6000949350505050565b50505050565b600060015490506129478484612b51565b6129668473ffffffffffffffffffffffffffffffffffffffff166129ce565b156129c85760005b838110156129c657612985600086838501866129f1565b6129bb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600101905061296e565b505b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a17612195565b8786866040518563ffffffff1660e01b8152600401612a3994939291906135e0565b602060405180830381600087803b158015612a5357600080fd5b505af1925050508015612a8457506040513d601f19601f82011682018060405250810190612a8191906131be565b60015b612afe573d8060008114612ab4576040519150601f19603f3d011682016040523d82523d6000602084013e612ab9565b606091505b50600081511415612af6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bb8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000811415612bf3576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006001549050612c076000848385612920565b60005b82811015612d7d5760007f000000000000000000000000000000000000000000000000000000000000000014612c735760007f00000000000000000000000000000000000000000000000000000000000000008281612c6c57612c6b613b97565b5b0614612c78565b600081145b15612d1457600080600083850181526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612ceb600086848601600060a01b612926565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550505b8082018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4806001019050612c0a565b5081600160008282540192505081905550612d9b6000848385612930565b505050565b828054612dac90613a8b565b90600052602060002090601f016020900481019282612dce5760008555612e15565b82601f10612de757805160ff1916838001178555612e15565b82800160010185558215612e15579182015b82811115612e14578251825591602001919060010190612df9565b5b509050612e229190612e26565b5090565b5b80821115612e3f576000816000905550600101612e27565b5090565b6000612e56612e51846137e9565b6137c4565b905082815260208101848484011115612e7257612e71613c58565b5b612e7d848285613a49565b509392505050565b6000612e98612e938461381a565b6137c4565b905082815260208101848484011115612eb457612eb3613c58565b5b612ebf848285613a49565b509392505050565b600081359050612ed681613e64565b92915050565b600081359050612eeb81613e7b565b92915050565b600081359050612f0081613e92565b92915050565b600081519050612f1581613e92565b92915050565b600082601f830112612f3057612f2f613c53565b5b8135612f40848260208601612e43565b91505092915050565b600081519050612f5881613ea9565b92915050565b600082601f830112612f7357612f72613c53565b5b8135612f83848260208601612e85565b91505092915050565b600081359050612f9b81613ec0565b92915050565b600060208284031215612fb757612fb6613c62565b5b6000612fc584828501612ec7565b91505092915050565b60008060408385031215612fe557612fe4613c62565b5b6000612ff385828601612ec7565b925050602061300485828601612ec7565b9150509250929050565b60008060006060848603121561302757613026613c62565b5b600061303586828701612ec7565b935050602061304686828701612ec7565b925050604061305786828701612f8c565b9150509250925092565b6000806000806080858703121561307b5761307a613c62565b5b600061308987828801612ec7565b945050602061309a87828801612ec7565b93505060406130ab87828801612f8c565b925050606085013567ffffffffffffffff8111156130cc576130cb613c5d565b5b6130d887828801612f1b565b91505092959194509250565b600080604083850312156130fb576130fa613c62565b5b600061310985828601612ec7565b925050602061311a85828601612edc565b9150509250929050565b6000806040838503121561313b5761313a613c62565b5b600061314985828601612ec7565b925050602061315a85828601612f8c565b9150509250929050565b60006020828403121561317a57613179613c62565b5b600061318884828501612edc565b91505092915050565b6000602082840312156131a7576131a6613c62565b5b60006131b584828501612ef1565b91505092915050565b6000602082840312156131d4576131d3613c62565b5b60006131e284828501612f06565b91505092915050565b60006020828403121561320157613200613c62565b5b600061320f84828501612f49565b91505092915050565b60006020828403121561322e5761322d613c62565b5b600082013567ffffffffffffffff81111561324c5761324b613c5d565b5b61325884828501612f5e565b91505092915050565b60006020828403121561327757613276613c62565b5b600061328584828501612f8c565b91505092915050565b613297816139c3565b82525050565b6132a6816139d5565b82525050565b60006132b782613860565b6132c18185613876565b93506132d1818560208601613a58565b6132da81613c67565b840191505092915050565b60006132f08261386b565b6132fa8185613892565b935061330a818560208601613a58565b61331381613c67565b840191505092915050565b60006133298261386b565b61333381856138a3565b9350613343818560208601613a58565b80840191505092915050565b6000815461335c81613a8b565b61336681866138a3565b945060018216600081146133815760018114613392576133c5565b60ff198316865281860193506133c5565b61339b8561384b565b60005b838110156133bd5781548189015260018201915060208101905061339e565b838801955050505b50505092915050565b60006133db601783613892565b91506133e682613c78565b602082019050919050565b60006133fe601183613892565b915061340982613ca1565b602082019050919050565b6000613421601083613892565b915061342c82613cca565b602082019050919050565b6000613444600783613892565b915061344f82613cf3565b602082019050919050565b6000613467601f83613892565b915061347282613d1c565b602082019050919050565b600061348a602683613892565b915061349582613d45565b604082019050919050565b60006134ad601583613892565b91506134b882613d94565b602082019050919050565b60006134d06005836138a3565b91506134db82613dbd565b600582019050919050565b60006134f3602083613892565b91506134fe82613de6565b602082019050919050565b6000613516601283613892565b915061352182613e0f565b602082019050919050565b6000613539600083613887565b915061354482613e38565b600082019050919050565b600061355c600d83613892565b915061356782613e3b565b602082019050919050565b61357b81613a3f565b82525050565b600061358d828561334f565b9150613599828461331e565b91506135a4826134c3565b91508190509392505050565b60006135bb8261352c565b9150819050919050565b60006020820190506135da600083018461328e565b92915050565b60006080820190506135f5600083018761328e565b613602602083018661328e565b61360f6040830185613572565b818103606083015261362181846132ac565b905095945050505050565b6000602082019050613641600083018461329d565b92915050565b6000602082019050818103600083015261366181846132e5565b905092915050565b60006020820190508181036000830152613682816133ce565b9050919050565b600060208201905081810360008301526136a2816133f1565b9050919050565b600060208201905081810360008301526136c281613414565b9050919050565b600060208201905081810360008301526136e281613437565b9050919050565b600060208201905081810360008301526137028161345a565b9050919050565b600060208201905081810360008301526137228161347d565b9050919050565b60006020820190508181036000830152613742816134a0565b9050919050565b60006020820190508181036000830152613762816134e6565b9050919050565b6000602082019050818103600083015261378281613509565b9050919050565b600060208201905081810360008301526137a28161354f565b9050919050565b60006020820190506137be6000830184613572565b92915050565b60006137ce6137df565b90506137da8282613abd565b919050565b6000604051905090565b600067ffffffffffffffff82111561380457613803613c24565b5b61380d82613c67565b9050602081019050919050565b600067ffffffffffffffff82111561383557613834613c24565b5b61383e82613c67565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006138b982613a3f565b91506138c483613a3f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138f9576138f8613b68565b5b828201905092915050565b600061390f82613a3f565b915061391a83613a3f565b92508261392a57613929613b97565b5b828204905092915050565b600061394082613a3f565b915061394b83613a3f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561398457613983613b68565b5b828202905092915050565b600061399a82613a3f565b91506139a583613a3f565b9250828210156139b8576139b7613b68565b5b828203905092915050565b60006139ce82613a1f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000613a18826139c3565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613a76578082015181840152602081019050613a5b565b83811115613a85576000848401525b50505050565b60006002820490506001821680613aa357607f821691505b60208210811415613ab757613ab6613bc6565b5b50919050565b613ac682613c67565b810181811067ffffffffffffffff82111715613ae557613ae4613c24565b5b80604052505050565b6000613af982613a3f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613b2c57613b2b613b68565b5b600182019050919050565b6000613b4282613a3f565b9150613b4d83613a3f565b925082613b5d57613b5c613b97565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4661696c656420746f2073656e6420746f206c6561642e000000000000000000600082015250565b7f4f766572204d617850657257616c6c6574000000000000000000000000000000600082015250565b7f4e6f7420456e6f75676820457468657200000000000000000000000000000000600082015250565b7f536f6c644f757400000000000000000000000000000000000000000000000000600082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f436f6e7472616374206973205061757365640000000000000000000000000000600082015250565b50565b7f4f766572205478204c696d697400000000000000000000000000000000000000600082015250565b613e6d816139c3565b8114613e7857600080fd5b50565b613e84816139d5565b8114613e8f57600080fd5b50565b613e9b816139e1565b8114613ea657600080fd5b50565b613eb281613a0d565b8114613ebd57600080fd5b50565b613ec981613a3f565b8114613ed457600080fd5b5056fea26469706673582212207be0ae3de75e3a7b64273cd238d38945f40b3506c68445001e55f433a01215b964736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000600000000000000000000000007ede3c0cb45bab9ae7bd27ee9e56d39fed9fe24c0000000000000000000000007ede3c0cb45bab9ae7bd27ee9e56d39fed9fe24c0000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d55525545564c7155755752526f58436876714b6e374c69796f69454164457a62436441635457324a3548675a2f00000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://QmURUEVLqUuWRRoXChvqKn7LiyoiEAdEzbCdAcTW2J5HgZ/
Arg [1] : _lead (address): 0x7eDE3C0CB45BAb9Ae7Bd27eE9E56d39FEd9FE24C
Arg [2] : _contractV1 (address): 0x7eDE3C0CB45BAb9Ae7Bd27eE9E56d39FEd9FE24C

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 0000000000000000000000007ede3c0cb45bab9ae7bd27ee9e56d39fed9fe24c
Arg [2] : 0000000000000000000000007ede3c0cb45bab9ae7bd27ee9e56d39fed9fe24c
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [4] : 697066733a2f2f516d55525545564c7155755752526f58436876714b6e374c69
Arg [5] : 796f69454164457a62436441635457324a3548675a2f00000000000000000000


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.