ETH Price: $3,401.10 (+1.99%)

Token

Time by THEM (TBT)
 

Overview

Max Total Supply

333 TBT

Holders

145

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
0 TBT
0x2de9e9c350f703a61907feed02d7edbbc356c8a9
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:
TimebyTHEM

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : TimebyTHEM.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 TimebyTHEM is TinyERC721, Ownable {

    string public baseURI;

    address public lead;

    bool public publicPaused = true;
    
    uint256 public cost = 0.003 ether;
    uint256 public maxSupply = 333;
    uint256 public maxPerWallet = 3;
    uint256 public maxPerTx = 3;
    uint256 supply = totalSupply();

    mapping(address => uint) public addressMintedBalance;
    

 constructor(
    string memory _baseURI,
    address _lead,
    address _contractV1
  )TinyERC721("Time by THEM", "TBT", 0) {
    baseURI = _baseURI;
    lead = _lead;
  }

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

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

  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 togglePublic(bool _state) external onlyOwner {
    publicPaused = _state;
  }

  function reserveMint(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 _MPW) public onlyOwner {
    maxPerWallet = _MPW;
  }

  function setmaxPerTxPublic(uint256 _MPTx) public onlyOwner {
    maxPerTx = _MPTx;
  }

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

  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":"uint256","name":"_quantity","type":"uint256"}],"name":"Mint","outputs":[],"stateMutability":"payable","type":"function"},{"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":"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":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","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":[],"name":"publicPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quanitity","type":"uint256"}],"name":"reserveMint","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":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MPTx","type":"uint256"}],"name":"setmaxPerTxPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MPW","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"}]

60a06040526001600860146101000a81548160ff021916908315150217905550660aa87bee53800060095561014d600a556003600b556003600c556200004a620001ae60201b60201c565b600d553480156200005a57600080fd5b506040516200413b3803806200413b8339818101604052810190620000809190620003cb565b6040518060400160405280600c81526020017f54696d65206279205448454d00000000000000000000000000000000000000008152506040518060400160405280600381526020017f5442540000000000000000000000000000000000000000000000000000000000815250600082600290805190602001906200010692919062000286565b5081600390805190602001906200011f92919062000286565b5080608081815250505050506200014b6200013f620001b860201b60201c565b620001c060201b60201c565b82600790805190602001906200016392919062000286565b5081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505062000618565b6000600154905090565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000294906200050f565b90600052602060002090601f016020900481019282620002b8576000855562000304565b82601f10620002d357805160ff191683800117855562000304565b8280016001018555821562000304579182015b8281111562000303578251825591602001919060010190620002e6565b5b50905062000313919062000317565b5090565b5b808211156200033257600081600090555060010162000318565b5090565b60006200034d62000347846200046f565b62000446565b9050828152602081018484840111156200036c576200036b620005de565b5b62000379848285620004d9565b509392505050565b6000815190506200039281620005fe565b92915050565b600082601f830112620003b057620003af620005d9565b5b8151620003c284826020860162000336565b91505092915050565b600080600060608486031215620003e757620003e6620005e8565b5b600084015167ffffffffffffffff811115620004085762000407620005e3565b5b620004168682870162000398565b9350506020620004298682870162000381565b92505060406200043c8682870162000381565b9150509250925092565b60006200045262000465565b905062000460828262000545565b919050565b6000604051905090565b600067ffffffffffffffff8211156200048d576200048c620005aa565b5b6200049882620005ed565b9050602081019050919050565b6000620004b282620004b9565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620004f9578082015181840152602081019050620004dc565b8381111562000509576000848401525b50505050565b600060028204905060018216806200052857607f821691505b602082108114156200053f576200053e6200057b565b5b50919050565b6200055082620005ed565b810181811067ffffffffffffffff82111715620005725762000571620005aa565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200060981620004a5565b81146200061557600080fd5b50565b608051613b006200063b60003960008181612874015261289c0152613b006000f3fe6080604052600436106101f95760003560e01c806346bb0a161161010d57806395d89b41116100a0578063c87b56dd1161006f578063c87b56dd146106e8578063d5abeb0114610725578063e985e9c514610750578063f2fde38b1461078d578063f968adbe146107b6576101f9565b806395d89b4114610642578063a22cb4651461066d578063b88d4fde14610696578063c3c62d38146106bf576101f9565b8063701ee006116100dc578063701ee0061461059a57806370a08231146105c3578063715018a6146106005780638da5cb5b14610617576101f9565b806346bb0a16146104de57806355f804b3146105095780636352211e146105325780636c0360eb1461056f576101f9565b806313faede61161019057806323b872dd1161015f57806323b872dd146104215780633ccfd60b1461044a57806342842e0e1461046157806344a0d68a1461048a578063453c2310146104b3576101f9565b806313faede61461036557806318160ddd1461039057806318cae269146103bb578063228025e8146103f8576101f9565b8063095ea7b3116101cc578063095ea7b3146102bf5780630bb12bb8146102e85780630e21f59f146103135780631342ff4c1461033c576101f9565b806301ffc9a7146101fe57806306fdde031461023b5780630788370314610266578063081812fc14610282575b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190612dda565b6107e1565b6040516102329190613248565b60405180910390f35b34801561024757600080fd5b506102506108c3565b60405161025d9190613263565b60405180910390f35b610280600480360381019061027b9190612e7d565b610955565b005b34801561028e57600080fd5b506102a960048036038101906102a49190612e7d565b610beb565b6040516102b691906131e1565b60405180910390f35b3480156102cb57600080fd5b506102e660048036038101906102e19190612d6d565b610c67565b005b3480156102f457600080fd5b506102fd610e22565b60405161030a9190613248565b60405180910390f35b34801561031f57600080fd5b5061033a60048036038101906103359190612dad565b610e35565b005b34801561034857600080fd5b50610363600480360381019061035e9190612e7d565b610ece565b005b34801561037157600080fd5b5061037a610f7e565b60405161038791906133c5565b60405180910390f35b34801561039c57600080fd5b506103a5610f84565b6040516103b291906133c5565b60405180910390f35b3480156103c757600080fd5b506103e260048036038101906103dd9190612bea565b610f8e565b6040516103ef91906133c5565b60405180910390f35b34801561040457600080fd5b5061041f600480360381019061041a9190612e7d565b610fa6565b005b34801561042d57600080fd5b5061044860048036038101906104439190612c57565b61102c565b005b34801561045657600080fd5b5061045f611139565b005b34801561046d57600080fd5b5061048860048036038101906104839190612c57565b611286565b005b34801561049657600080fd5b506104b160048036038101906104ac9190612e7d565b6112a6565b005b3480156104bf57600080fd5b506104c861132c565b6040516104d591906133c5565b60405180910390f35b3480156104ea57600080fd5b506104f3611332565b60405161050091906131e1565b60405180910390f35b34801561051557600080fd5b50610530600480360381019061052b9190612e34565b611358565b005b34801561053e57600080fd5b5061055960048036038101906105549190612e7d565b6113ee565b60405161056691906131e1565b60405180910390f35b34801561057b57600080fd5b50610584611463565b6040516105919190613263565b60405180910390f35b3480156105a657600080fd5b506105c160048036038101906105bc9190612e7d565b6114f1565b005b3480156105cf57600080fd5b506105ea60048036038101906105e59190612bea565b611577565b6040516105f791906133c5565b60405180910390f35b34801561060c57600080fd5b506106156116ca565b005b34801561062357600080fd5b5061062c611752565b60405161063991906131e1565b60405180910390f35b34801561064e57600080fd5b5061065761177c565b6040516106649190613263565b60405180910390f35b34801561067957600080fd5b50610694600480360381019061068f9190612d2d565b61180e565b005b3480156106a257600080fd5b506106bd60048036038101906106b89190612caa565b611986565b005b3480156106cb57600080fd5b506106e660048036038101906106e19190612e7d565b611a95565b005b3480156106f457600080fd5b5061070f600480360381019061070a9190612e7d565b611b1b565b60405161071c9190613263565b60405180910390f35b34801561073157600080fd5b5061073a611b97565b60405161074791906133c5565b60405180910390f35b34801561075c57600080fd5b5061077760048036038101906107729190612c17565b611b9d565b6040516107849190613248565b60405180910390f35b34801561079957600080fd5b506107b460048036038101906107af9190612bea565b611c31565b005b3480156107c257600080fd5b506107cb611d29565b6040516107d891906133c5565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108ac57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108bc57506108bb82611d2f565b5b9050919050565b6060600280546108d290613695565b80601f01602080910402602001604051908101604052809291908181526020018280546108fe90613695565b801561094b5780601f106109205761010080835404028352916020019161094b565b820191906000526020600020905b81548152906001019060200180831161092e57829003601f168201915b5050505050905090565b600860149054906101000a900460ff16156109a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099c90613385565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610a13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0a90613305565b60405180910390fd5b6000610a1d610f84565b905081600954610a2d9190613551565b341015610a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a66906132c5565b60405180910390fd5b600c54821115610ab4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aab906133a5565b60405180910390fd5b600a548183610ac391906134ca565b1115610b04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afb906132e5565b60405180910390fd5b600b54600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7e906132a5565b60405180910390fd5b81600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610bd691906134ca565b92505081905550610be73383611d99565b5050565b6000610bf682611db7565b610c2c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c7282611dc5565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152505090506000816000015190508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610d89576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610da8611ea5565b73ffffffffffffffffffffffffffffffffffffffff1614158015610dda5750610dd881610dd3611ea5565b611b9d565b155b15610e11576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e1c848484611ead565b50505050565b600860149054906101000a900460ff1681565b610e3d611ea5565b73ffffffffffffffffffffffffffffffffffffffff16610e5b611752565b73ffffffffffffffffffffffffffffffffffffffff1614610eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea890613365565b60405180910390fd5b80600860146101000a81548160ff02191690831515021790555050565b610ed6611ea5565b73ffffffffffffffffffffffffffffffffffffffff16610ef4611752565b73ffffffffffffffffffffffffffffffffffffffff1614610f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4190613365565b60405180910390fd5b6000610f54610f84565b9050600a548183610f6591906134ca565b1115610f7057600080fd5b610f7a3383611d99565b5050565b60095481565b6000600154905090565b600e6020528060005260406000206000915090505481565b610fae611ea5565b73ffffffffffffffffffffffffffffffffffffffff16610fcc611752565b73ffffffffffffffffffffffffffffffffffffffff1614611022576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101990613365565b60405180910390fd5b80600a8190555050565b600061103782611dc5565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152505090506110f16110ea611ea5565b8383611f63565b611127576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61113384848484611ff5565b50505050565b611141611ea5565b73ffffffffffffffffffffffffffffffffffffffff1661115f611752565b73ffffffffffffffffffffffffffffffffffffffff16146111b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ac90613365565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516111fd906131cc565b60006040518083038185875af1925050503d806000811461123a576040519150601f19603f3d011682016040523d82523d6000602084013e61123f565b606091505b5050905080611283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127a90613285565b60405180910390fd5b50565b6112a183838360405180602001604052806000815250611986565b505050565b6112ae611ea5565b73ffffffffffffffffffffffffffffffffffffffff166112cc611752565b73ffffffffffffffffffffffffffffffffffffffff1614611322576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131990613365565b60405180910390fd5b8060098190555050565b600b5481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611360611ea5565b73ffffffffffffffffffffffffffffffffffffffff1661137e611752565b73ffffffffffffffffffffffffffffffffffffffff16146113d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cb90613365565b60405180910390fd5b80600790805190602001906113ea9291906129fe565b5050565b60006113f982611db7565b61142f576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61143882611dc5565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6007805461147090613695565b80601f016020809104026020016040519081016040528092919081815260200182805461149c90613695565b80156114e95780601f106114be576101008083540402835291602001916114e9565b820191906000526020600020905b8154815290600101906020018083116114cc57829003601f168201915b505050505081565b6114f9611ea5565b73ffffffffffffffffffffffffffffffffffffffff16611517611752565b73ffffffffffffffffffffffffffffffffffffffff161461156d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156490613365565b60405180910390fd5b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115df576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006115e9610f84565b905060008060005b838110156116be57600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461166b578092505b8673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156116ac57836116a9906136f8565b93505b50806116b7906136f8565b90506115f1565b50819350505050919050565b6116d2611ea5565b73ffffffffffffffffffffffffffffffffffffffff166116f0611752565b73ffffffffffffffffffffffffffffffffffffffff1614611746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173d90613365565b60405180910390fd5b61175060006122d9565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461178b90613695565b80601f01602080910402602001604051908101604052809291908181526020018280546117b790613695565b80156118045780601f106117d957610100808354040283529160200191611804565b820191906000526020600020905b8154815290600101906020018083116117e757829003601f168201915b5050505050905090565b611816611ea5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561187b576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060056000611888611ea5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611935611ea5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161197a9190613248565b60405180910390a35050565b600061199183611dc5565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815250509050611a4b611a44611ea5565b8483611f63565b611a81576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a8e858585848661239f565b5050505050565b611a9d611ea5565b73ffffffffffffffffffffffffffffffffffffffff16611abb611752565b73ffffffffffffffffffffffffffffffffffffffff1614611b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0890613365565b60405180910390fd5b80600c8190555050565b6060611b2682611db7565b611b65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5c90613345565b60405180910390fd5b6007611b708361241d565b604051602001611b8192919061319d565b6040516020818303038152906040529050919050565b600a5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c39611ea5565b73ffffffffffffffffffffffffffffffffffffffff16611c57611752565b73ffffffffffffffffffffffffffffffffffffffff1614611cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca490613365565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1490613325565b60405180910390fd5b611d26816122d9565b50565b600c5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611db382826040518060200160405280600081525061257e565b5050565b600060015482109050919050565b6000611dd082611db7565b611e06576040517f3210dcc600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000848152602001908152602001600020905060008390505b600073ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611e9b57806001900390506000808281526020019081526020016000209150611e22565b8192505050919050565b600033905090565b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600080826000015190508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611fad5750611fac8186611b9d565b5b80611feb57508473ffffffffffffffffffffffffffffffffffffffff16611fd385610beb565b73ffffffffffffffffffffffffffffffffffffffff16145b9150509392505050565b8373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461205e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120c5576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6120d28484846001612616565b6120de60008383611ead565b60006001830190506120ef81611db7565b156121d95760008060008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156121d75782600001518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001518160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c02179055505b505b5060008060008481526020019081526020016000209050838160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612243858585856020015161261c565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122d28585856001612626565b5050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6123ab85858585611ff5565b6123ca8473ffffffffffffffffffffffffffffffffffffffff1661262c565b80156123df57506123dd8585858461264f565b155b15612416576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b60606000821415612465576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612579565b600082905060005b60008214612497578080612480906136f8565b915050600a826124909190613520565b915061246d565b60008167ffffffffffffffff8111156124b3576124b261382e565b5b6040519080825280601f01601f1916602001820160405280156124e55781602001600182028036833780820191505090505b5090505b60008514612572576001826124fe91906135ab565b9150600a8561250d9190613741565b603061251991906134ca565b60f81b81838151811061252f5761252e6137ff565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561256b9190613520565b94506124e9565b8093505050505b919050565b6000600154905061258f84846127af565b6125ae8473ffffffffffffffffffffffffffffffffffffffff1661262c565b156126105760005b8381101561260e576125cd6000868385018661264f565b612603576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060010190506125b6565b505b50505050565b50505050565b6000949350505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612675611ea5565b8786866040518563ffffffff1660e01b815260040161269794939291906131fc565b602060405180830381600087803b1580156126b157600080fd5b505af19250505080156126e257506040513d601f19601f820116820180604052508101906126df9190612e07565b60015b61275c573d8060008114612712576040519150601f19603f3d011682016040523d82523d6000602084013e612717565b606091505b50600081511415612754576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612816576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000811415612851576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060015490506128656000848385612616565b60005b828110156129db5760007f0000000000000000000000000000000000000000000000000000000000000000146128d15760007f000000000000000000000000000000000000000000000000000000000000000082816128ca576128c96137a1565b5b06146128d6565b600081145b1561297257600080600083850181526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612949600086848601600060a01b61261c565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550505b8082018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4806001019050612868565b50816001600082825401925050819055506129f96000848385612626565b505050565b828054612a0a90613695565b90600052602060002090601f016020900481019282612a2c5760008555612a73565b82601f10612a4557805160ff1916838001178555612a73565b82800160010185558215612a73579182015b82811115612a72578251825591602001919060010190612a57565b5b509050612a809190612a84565b5090565b5b80821115612a9d576000816000905550600101612a85565b5090565b6000612ab4612aaf84613405565b6133e0565b905082815260208101848484011115612ad057612acf613862565b5b612adb848285613653565b509392505050565b6000612af6612af184613436565b6133e0565b905082815260208101848484011115612b1257612b11613862565b5b612b1d848285613653565b509392505050565b600081359050612b3481613a6e565b92915050565b600081359050612b4981613a85565b92915050565b600081359050612b5e81613a9c565b92915050565b600081519050612b7381613a9c565b92915050565b600082601f830112612b8e57612b8d61385d565b5b8135612b9e848260208601612aa1565b91505092915050565b600082601f830112612bbc57612bbb61385d565b5b8135612bcc848260208601612ae3565b91505092915050565b600081359050612be481613ab3565b92915050565b600060208284031215612c0057612bff61386c565b5b6000612c0e84828501612b25565b91505092915050565b60008060408385031215612c2e57612c2d61386c565b5b6000612c3c85828601612b25565b9250506020612c4d85828601612b25565b9150509250929050565b600080600060608486031215612c7057612c6f61386c565b5b6000612c7e86828701612b25565b9350506020612c8f86828701612b25565b9250506040612ca086828701612bd5565b9150509250925092565b60008060008060808587031215612cc457612cc361386c565b5b6000612cd287828801612b25565b9450506020612ce387828801612b25565b9350506040612cf487828801612bd5565b925050606085013567ffffffffffffffff811115612d1557612d14613867565b5b612d2187828801612b79565b91505092959194509250565b60008060408385031215612d4457612d4361386c565b5b6000612d5285828601612b25565b9250506020612d6385828601612b3a565b9150509250929050565b60008060408385031215612d8457612d8361386c565b5b6000612d9285828601612b25565b9250506020612da385828601612bd5565b9150509250929050565b600060208284031215612dc357612dc261386c565b5b6000612dd184828501612b3a565b91505092915050565b600060208284031215612df057612def61386c565b5b6000612dfe84828501612b4f565b91505092915050565b600060208284031215612e1d57612e1c61386c565b5b6000612e2b84828501612b64565b91505092915050565b600060208284031215612e4a57612e4961386c565b5b600082013567ffffffffffffffff811115612e6857612e67613867565b5b612e7484828501612ba7565b91505092915050565b600060208284031215612e9357612e9261386c565b5b6000612ea184828501612bd5565b91505092915050565b612eb3816135df565b82525050565b612ec2816135f1565b82525050565b6000612ed38261347c565b612edd8185613492565b9350612eed818560208601613662565b612ef681613871565b840191505092915050565b6000612f0c82613487565b612f1681856134ae565b9350612f26818560208601613662565b612f2f81613871565b840191505092915050565b6000612f4582613487565b612f4f81856134bf565b9350612f5f818560208601613662565b80840191505092915050565b60008154612f7881613695565b612f8281866134bf565b94506001821660008114612f9d5760018114612fae57612fe1565b60ff19831686528186019350612fe1565b612fb785613467565b60005b83811015612fd957815481890152600182019150602081019050612fba565b838801955050505b50505092915050565b6000612ff76017836134ae565b915061300282613882565b602082019050919050565b600061301a6011836134ae565b9150613025826138ab565b602082019050919050565b600061303d6010836134ae565b9150613048826138d4565b602082019050919050565b60006130606007836134ae565b915061306b826138fd565b602082019050919050565b6000613083601f836134ae565b915061308e82613926565b602082019050919050565b60006130a66026836134ae565b91506130b18261394f565b604082019050919050565b60006130c96015836134ae565b91506130d48261399e565b602082019050919050565b60006130ec6005836134bf565b91506130f7826139c7565b600582019050919050565b600061310f6020836134ae565b915061311a826139f0565b602082019050919050565b60006131326012836134ae565b915061313d82613a19565b602082019050919050565b60006131556000836134a3565b915061316082613a42565b600082019050919050565b6000613178600d836134ae565b915061318382613a45565b602082019050919050565b61319781613649565b82525050565b60006131a98285612f6b565b91506131b58284612f3a565b91506131c0826130df565b91508190509392505050565b60006131d782613148565b9150819050919050565b60006020820190506131f66000830184612eaa565b92915050565b60006080820190506132116000830187612eaa565b61321e6020830186612eaa565b61322b604083018561318e565b818103606083015261323d8184612ec8565b905095945050505050565b600060208201905061325d6000830184612eb9565b92915050565b6000602082019050818103600083015261327d8184612f01565b905092915050565b6000602082019050818103600083015261329e81612fea565b9050919050565b600060208201905081810360008301526132be8161300d565b9050919050565b600060208201905081810360008301526132de81613030565b9050919050565b600060208201905081810360008301526132fe81613053565b9050919050565b6000602082019050818103600083015261331e81613076565b9050919050565b6000602082019050818103600083015261333e81613099565b9050919050565b6000602082019050818103600083015261335e816130bc565b9050919050565b6000602082019050818103600083015261337e81613102565b9050919050565b6000602082019050818103600083015261339e81613125565b9050919050565b600060208201905081810360008301526133be8161316b565b9050919050565b60006020820190506133da600083018461318e565b92915050565b60006133ea6133fb565b90506133f682826136c7565b919050565b6000604051905090565b600067ffffffffffffffff8211156134205761341f61382e565b5b61342982613871565b9050602081019050919050565b600067ffffffffffffffff8211156134515761345061382e565b5b61345a82613871565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006134d582613649565b91506134e083613649565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561351557613514613772565b5b828201905092915050565b600061352b82613649565b915061353683613649565b925082613546576135456137a1565b5b828204905092915050565b600061355c82613649565b915061356783613649565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156135a05761359f613772565b5b828202905092915050565b60006135b682613649565b91506135c183613649565b9250828210156135d4576135d3613772565b5b828203905092915050565b60006135ea82613629565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613680578082015181840152602081019050613665565b8381111561368f576000848401525b50505050565b600060028204905060018216806136ad57607f821691505b602082108114156136c1576136c06137d0565b5b50919050565b6136d082613871565b810181811067ffffffffffffffff821117156136ef576136ee61382e565b5b80604052505050565b600061370382613649565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561373657613735613772565b5b600182019050919050565b600061374c82613649565b915061375783613649565b925082613767576137666137a1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4661696c656420746f2073656e6420746f206c6561642e000000000000000000600082015250565b7f4f766572204d617850657257616c6c6574000000000000000000000000000000600082015250565b7f4e6f7420456e6f75676820457468657200000000000000000000000000000000600082015250565b7f536f6c644f757400000000000000000000000000000000000000000000000000600082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f436f6e7472616374206973205061757365640000000000000000000000000000600082015250565b50565b7f4f766572205478204c696d697400000000000000000000000000000000000000600082015250565b613a77816135df565b8114613a8257600080fd5b50565b613a8e816135f1565b8114613a9957600080fd5b50565b613aa5816135fd565b8114613ab057600080fd5b50565b613abc81613649565b8114613ac757600080fd5b5056fea26469706673582212205882a1478a2116fb19d80d5cc0787fc386cc009b3ca1bd11a2d304b56b6ac19b64736f6c634300080700330000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a6224c5b2831fbeeee54c7e840b052b6497b51b6000000000000000000000000a6224c5b2831fbeeee54c7e840b052b6497b51b60000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6373785a426b6e4a656d575254386f566659504a557a554851424b3965395a5569697278595169313343706f2f00000000000000000000

Deployed Bytecode

0x6080604052600436106101f95760003560e01c806346bb0a161161010d57806395d89b41116100a0578063c87b56dd1161006f578063c87b56dd146106e8578063d5abeb0114610725578063e985e9c514610750578063f2fde38b1461078d578063f968adbe146107b6576101f9565b806395d89b4114610642578063a22cb4651461066d578063b88d4fde14610696578063c3c62d38146106bf576101f9565b8063701ee006116100dc578063701ee0061461059a57806370a08231146105c3578063715018a6146106005780638da5cb5b14610617576101f9565b806346bb0a16146104de57806355f804b3146105095780636352211e146105325780636c0360eb1461056f576101f9565b806313faede61161019057806323b872dd1161015f57806323b872dd146104215780633ccfd60b1461044a57806342842e0e1461046157806344a0d68a1461048a578063453c2310146104b3576101f9565b806313faede61461036557806318160ddd1461039057806318cae269146103bb578063228025e8146103f8576101f9565b8063095ea7b3116101cc578063095ea7b3146102bf5780630bb12bb8146102e85780630e21f59f146103135780631342ff4c1461033c576101f9565b806301ffc9a7146101fe57806306fdde031461023b5780630788370314610266578063081812fc14610282575b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190612dda565b6107e1565b6040516102329190613248565b60405180910390f35b34801561024757600080fd5b506102506108c3565b60405161025d9190613263565b60405180910390f35b610280600480360381019061027b9190612e7d565b610955565b005b34801561028e57600080fd5b506102a960048036038101906102a49190612e7d565b610beb565b6040516102b691906131e1565b60405180910390f35b3480156102cb57600080fd5b506102e660048036038101906102e19190612d6d565b610c67565b005b3480156102f457600080fd5b506102fd610e22565b60405161030a9190613248565b60405180910390f35b34801561031f57600080fd5b5061033a60048036038101906103359190612dad565b610e35565b005b34801561034857600080fd5b50610363600480360381019061035e9190612e7d565b610ece565b005b34801561037157600080fd5b5061037a610f7e565b60405161038791906133c5565b60405180910390f35b34801561039c57600080fd5b506103a5610f84565b6040516103b291906133c5565b60405180910390f35b3480156103c757600080fd5b506103e260048036038101906103dd9190612bea565b610f8e565b6040516103ef91906133c5565b60405180910390f35b34801561040457600080fd5b5061041f600480360381019061041a9190612e7d565b610fa6565b005b34801561042d57600080fd5b5061044860048036038101906104439190612c57565b61102c565b005b34801561045657600080fd5b5061045f611139565b005b34801561046d57600080fd5b5061048860048036038101906104839190612c57565b611286565b005b34801561049657600080fd5b506104b160048036038101906104ac9190612e7d565b6112a6565b005b3480156104bf57600080fd5b506104c861132c565b6040516104d591906133c5565b60405180910390f35b3480156104ea57600080fd5b506104f3611332565b60405161050091906131e1565b60405180910390f35b34801561051557600080fd5b50610530600480360381019061052b9190612e34565b611358565b005b34801561053e57600080fd5b5061055960048036038101906105549190612e7d565b6113ee565b60405161056691906131e1565b60405180910390f35b34801561057b57600080fd5b50610584611463565b6040516105919190613263565b60405180910390f35b3480156105a657600080fd5b506105c160048036038101906105bc9190612e7d565b6114f1565b005b3480156105cf57600080fd5b506105ea60048036038101906105e59190612bea565b611577565b6040516105f791906133c5565b60405180910390f35b34801561060c57600080fd5b506106156116ca565b005b34801561062357600080fd5b5061062c611752565b60405161063991906131e1565b60405180910390f35b34801561064e57600080fd5b5061065761177c565b6040516106649190613263565b60405180910390f35b34801561067957600080fd5b50610694600480360381019061068f9190612d2d565b61180e565b005b3480156106a257600080fd5b506106bd60048036038101906106b89190612caa565b611986565b005b3480156106cb57600080fd5b506106e660048036038101906106e19190612e7d565b611a95565b005b3480156106f457600080fd5b5061070f600480360381019061070a9190612e7d565b611b1b565b60405161071c9190613263565b60405180910390f35b34801561073157600080fd5b5061073a611b97565b60405161074791906133c5565b60405180910390f35b34801561075c57600080fd5b5061077760048036038101906107729190612c17565b611b9d565b6040516107849190613248565b60405180910390f35b34801561079957600080fd5b506107b460048036038101906107af9190612bea565b611c31565b005b3480156107c257600080fd5b506107cb611d29565b6040516107d891906133c5565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108ac57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108bc57506108bb82611d2f565b5b9050919050565b6060600280546108d290613695565b80601f01602080910402602001604051908101604052809291908181526020018280546108fe90613695565b801561094b5780601f106109205761010080835404028352916020019161094b565b820191906000526020600020905b81548152906001019060200180831161092e57829003601f168201915b5050505050905090565b600860149054906101000a900460ff16156109a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099c90613385565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610a13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0a90613305565b60405180910390fd5b6000610a1d610f84565b905081600954610a2d9190613551565b341015610a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a66906132c5565b60405180910390fd5b600c54821115610ab4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aab906133a5565b60405180910390fd5b600a548183610ac391906134ca565b1115610b04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afb906132e5565b60405180910390fd5b600b54600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7e906132a5565b60405180910390fd5b81600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610bd691906134ca565b92505081905550610be73383611d99565b5050565b6000610bf682611db7565b610c2c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c7282611dc5565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152505090506000816000015190508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610d89576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610da8611ea5565b73ffffffffffffffffffffffffffffffffffffffff1614158015610dda5750610dd881610dd3611ea5565b611b9d565b155b15610e11576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e1c848484611ead565b50505050565b600860149054906101000a900460ff1681565b610e3d611ea5565b73ffffffffffffffffffffffffffffffffffffffff16610e5b611752565b73ffffffffffffffffffffffffffffffffffffffff1614610eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea890613365565b60405180910390fd5b80600860146101000a81548160ff02191690831515021790555050565b610ed6611ea5565b73ffffffffffffffffffffffffffffffffffffffff16610ef4611752565b73ffffffffffffffffffffffffffffffffffffffff1614610f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4190613365565b60405180910390fd5b6000610f54610f84565b9050600a548183610f6591906134ca565b1115610f7057600080fd5b610f7a3383611d99565b5050565b60095481565b6000600154905090565b600e6020528060005260406000206000915090505481565b610fae611ea5565b73ffffffffffffffffffffffffffffffffffffffff16610fcc611752565b73ffffffffffffffffffffffffffffffffffffffff1614611022576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101990613365565b60405180910390fd5b80600a8190555050565b600061103782611dc5565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152505090506110f16110ea611ea5565b8383611f63565b611127576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61113384848484611ff5565b50505050565b611141611ea5565b73ffffffffffffffffffffffffffffffffffffffff1661115f611752565b73ffffffffffffffffffffffffffffffffffffffff16146111b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ac90613365565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516111fd906131cc565b60006040518083038185875af1925050503d806000811461123a576040519150601f19603f3d011682016040523d82523d6000602084013e61123f565b606091505b5050905080611283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127a90613285565b60405180910390fd5b50565b6112a183838360405180602001604052806000815250611986565b505050565b6112ae611ea5565b73ffffffffffffffffffffffffffffffffffffffff166112cc611752565b73ffffffffffffffffffffffffffffffffffffffff1614611322576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131990613365565b60405180910390fd5b8060098190555050565b600b5481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611360611ea5565b73ffffffffffffffffffffffffffffffffffffffff1661137e611752565b73ffffffffffffffffffffffffffffffffffffffff16146113d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cb90613365565b60405180910390fd5b80600790805190602001906113ea9291906129fe565b5050565b60006113f982611db7565b61142f576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61143882611dc5565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6007805461147090613695565b80601f016020809104026020016040519081016040528092919081815260200182805461149c90613695565b80156114e95780601f106114be576101008083540402835291602001916114e9565b820191906000526020600020905b8154815290600101906020018083116114cc57829003601f168201915b505050505081565b6114f9611ea5565b73ffffffffffffffffffffffffffffffffffffffff16611517611752565b73ffffffffffffffffffffffffffffffffffffffff161461156d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156490613365565b60405180910390fd5b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115df576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006115e9610f84565b905060008060005b838110156116be57600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461166b578092505b8673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156116ac57836116a9906136f8565b93505b50806116b7906136f8565b90506115f1565b50819350505050919050565b6116d2611ea5565b73ffffffffffffffffffffffffffffffffffffffff166116f0611752565b73ffffffffffffffffffffffffffffffffffffffff1614611746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173d90613365565b60405180910390fd5b61175060006122d9565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461178b90613695565b80601f01602080910402602001604051908101604052809291908181526020018280546117b790613695565b80156118045780601f106117d957610100808354040283529160200191611804565b820191906000526020600020905b8154815290600101906020018083116117e757829003601f168201915b5050505050905090565b611816611ea5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561187b576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060056000611888611ea5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611935611ea5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161197a9190613248565b60405180910390a35050565b600061199183611dc5565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815250509050611a4b611a44611ea5565b8483611f63565b611a81576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a8e858585848661239f565b5050505050565b611a9d611ea5565b73ffffffffffffffffffffffffffffffffffffffff16611abb611752565b73ffffffffffffffffffffffffffffffffffffffff1614611b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0890613365565b60405180910390fd5b80600c8190555050565b6060611b2682611db7565b611b65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5c90613345565b60405180910390fd5b6007611b708361241d565b604051602001611b8192919061319d565b6040516020818303038152906040529050919050565b600a5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c39611ea5565b73ffffffffffffffffffffffffffffffffffffffff16611c57611752565b73ffffffffffffffffffffffffffffffffffffffff1614611cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca490613365565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1490613325565b60405180910390fd5b611d26816122d9565b50565b600c5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611db382826040518060200160405280600081525061257e565b5050565b600060015482109050919050565b6000611dd082611db7565b611e06576040517f3210dcc600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000848152602001908152602001600020905060008390505b600073ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611e9b57806001900390506000808281526020019081526020016000209150611e22565b8192505050919050565b600033905090565b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600080826000015190508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611fad5750611fac8186611b9d565b5b80611feb57508473ffffffffffffffffffffffffffffffffffffffff16611fd385610beb565b73ffffffffffffffffffffffffffffffffffffffff16145b9150509392505050565b8373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461205e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120c5576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6120d28484846001612616565b6120de60008383611ead565b60006001830190506120ef81611db7565b156121d95760008060008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156121d75782600001518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001518160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c02179055505b505b5060008060008481526020019081526020016000209050838160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612243858585856020015161261c565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122d28585856001612626565b5050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6123ab85858585611ff5565b6123ca8473ffffffffffffffffffffffffffffffffffffffff1661262c565b80156123df57506123dd8585858461264f565b155b15612416576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b60606000821415612465576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612579565b600082905060005b60008214612497578080612480906136f8565b915050600a826124909190613520565b915061246d565b60008167ffffffffffffffff8111156124b3576124b261382e565b5b6040519080825280601f01601f1916602001820160405280156124e55781602001600182028036833780820191505090505b5090505b60008514612572576001826124fe91906135ab565b9150600a8561250d9190613741565b603061251991906134ca565b60f81b81838151811061252f5761252e6137ff565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561256b9190613520565b94506124e9565b8093505050505b919050565b6000600154905061258f84846127af565b6125ae8473ffffffffffffffffffffffffffffffffffffffff1661262c565b156126105760005b8381101561260e576125cd6000868385018661264f565b612603576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060010190506125b6565b505b50505050565b50505050565b6000949350505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612675611ea5565b8786866040518563ffffffff1660e01b815260040161269794939291906131fc565b602060405180830381600087803b1580156126b157600080fd5b505af19250505080156126e257506040513d601f19601f820116820180604052508101906126df9190612e07565b60015b61275c573d8060008114612712576040519150601f19603f3d011682016040523d82523d6000602084013e612717565b606091505b50600081511415612754576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612816576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000811415612851576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060015490506128656000848385612616565b60005b828110156129db5760007f0000000000000000000000000000000000000000000000000000000000000000146128d15760007f000000000000000000000000000000000000000000000000000000000000000082816128ca576128c96137a1565b5b06146128d6565b600081145b1561297257600080600083850181526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612949600086848601600060a01b61261c565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550505b8082018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4806001019050612868565b50816001600082825401925050819055506129f96000848385612626565b505050565b828054612a0a90613695565b90600052602060002090601f016020900481019282612a2c5760008555612a73565b82601f10612a4557805160ff1916838001178555612a73565b82800160010185558215612a73579182015b82811115612a72578251825591602001919060010190612a57565b5b509050612a809190612a84565b5090565b5b80821115612a9d576000816000905550600101612a85565b5090565b6000612ab4612aaf84613405565b6133e0565b905082815260208101848484011115612ad057612acf613862565b5b612adb848285613653565b509392505050565b6000612af6612af184613436565b6133e0565b905082815260208101848484011115612b1257612b11613862565b5b612b1d848285613653565b509392505050565b600081359050612b3481613a6e565b92915050565b600081359050612b4981613a85565b92915050565b600081359050612b5e81613a9c565b92915050565b600081519050612b7381613a9c565b92915050565b600082601f830112612b8e57612b8d61385d565b5b8135612b9e848260208601612aa1565b91505092915050565b600082601f830112612bbc57612bbb61385d565b5b8135612bcc848260208601612ae3565b91505092915050565b600081359050612be481613ab3565b92915050565b600060208284031215612c0057612bff61386c565b5b6000612c0e84828501612b25565b91505092915050565b60008060408385031215612c2e57612c2d61386c565b5b6000612c3c85828601612b25565b9250506020612c4d85828601612b25565b9150509250929050565b600080600060608486031215612c7057612c6f61386c565b5b6000612c7e86828701612b25565b9350506020612c8f86828701612b25565b9250506040612ca086828701612bd5565b9150509250925092565b60008060008060808587031215612cc457612cc361386c565b5b6000612cd287828801612b25565b9450506020612ce387828801612b25565b9350506040612cf487828801612bd5565b925050606085013567ffffffffffffffff811115612d1557612d14613867565b5b612d2187828801612b79565b91505092959194509250565b60008060408385031215612d4457612d4361386c565b5b6000612d5285828601612b25565b9250506020612d6385828601612b3a565b9150509250929050565b60008060408385031215612d8457612d8361386c565b5b6000612d9285828601612b25565b9250506020612da385828601612bd5565b9150509250929050565b600060208284031215612dc357612dc261386c565b5b6000612dd184828501612b3a565b91505092915050565b600060208284031215612df057612def61386c565b5b6000612dfe84828501612b4f565b91505092915050565b600060208284031215612e1d57612e1c61386c565b5b6000612e2b84828501612b64565b91505092915050565b600060208284031215612e4a57612e4961386c565b5b600082013567ffffffffffffffff811115612e6857612e67613867565b5b612e7484828501612ba7565b91505092915050565b600060208284031215612e9357612e9261386c565b5b6000612ea184828501612bd5565b91505092915050565b612eb3816135df565b82525050565b612ec2816135f1565b82525050565b6000612ed38261347c565b612edd8185613492565b9350612eed818560208601613662565b612ef681613871565b840191505092915050565b6000612f0c82613487565b612f1681856134ae565b9350612f26818560208601613662565b612f2f81613871565b840191505092915050565b6000612f4582613487565b612f4f81856134bf565b9350612f5f818560208601613662565b80840191505092915050565b60008154612f7881613695565b612f8281866134bf565b94506001821660008114612f9d5760018114612fae57612fe1565b60ff19831686528186019350612fe1565b612fb785613467565b60005b83811015612fd957815481890152600182019150602081019050612fba565b838801955050505b50505092915050565b6000612ff76017836134ae565b915061300282613882565b602082019050919050565b600061301a6011836134ae565b9150613025826138ab565b602082019050919050565b600061303d6010836134ae565b9150613048826138d4565b602082019050919050565b60006130606007836134ae565b915061306b826138fd565b602082019050919050565b6000613083601f836134ae565b915061308e82613926565b602082019050919050565b60006130a66026836134ae565b91506130b18261394f565b604082019050919050565b60006130c96015836134ae565b91506130d48261399e565b602082019050919050565b60006130ec6005836134bf565b91506130f7826139c7565b600582019050919050565b600061310f6020836134ae565b915061311a826139f0565b602082019050919050565b60006131326012836134ae565b915061313d82613a19565b602082019050919050565b60006131556000836134a3565b915061316082613a42565b600082019050919050565b6000613178600d836134ae565b915061318382613a45565b602082019050919050565b61319781613649565b82525050565b60006131a98285612f6b565b91506131b58284612f3a565b91506131c0826130df565b91508190509392505050565b60006131d782613148565b9150819050919050565b60006020820190506131f66000830184612eaa565b92915050565b60006080820190506132116000830187612eaa565b61321e6020830186612eaa565b61322b604083018561318e565b818103606083015261323d8184612ec8565b905095945050505050565b600060208201905061325d6000830184612eb9565b92915050565b6000602082019050818103600083015261327d8184612f01565b905092915050565b6000602082019050818103600083015261329e81612fea565b9050919050565b600060208201905081810360008301526132be8161300d565b9050919050565b600060208201905081810360008301526132de81613030565b9050919050565b600060208201905081810360008301526132fe81613053565b9050919050565b6000602082019050818103600083015261331e81613076565b9050919050565b6000602082019050818103600083015261333e81613099565b9050919050565b6000602082019050818103600083015261335e816130bc565b9050919050565b6000602082019050818103600083015261337e81613102565b9050919050565b6000602082019050818103600083015261339e81613125565b9050919050565b600060208201905081810360008301526133be8161316b565b9050919050565b60006020820190506133da600083018461318e565b92915050565b60006133ea6133fb565b90506133f682826136c7565b919050565b6000604051905090565b600067ffffffffffffffff8211156134205761341f61382e565b5b61342982613871565b9050602081019050919050565b600067ffffffffffffffff8211156134515761345061382e565b5b61345a82613871565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006134d582613649565b91506134e083613649565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561351557613514613772565b5b828201905092915050565b600061352b82613649565b915061353683613649565b925082613546576135456137a1565b5b828204905092915050565b600061355c82613649565b915061356783613649565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156135a05761359f613772565b5b828202905092915050565b60006135b682613649565b91506135c183613649565b9250828210156135d4576135d3613772565b5b828203905092915050565b60006135ea82613629565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613680578082015181840152602081019050613665565b8381111561368f576000848401525b50505050565b600060028204905060018216806136ad57607f821691505b602082108114156136c1576136c06137d0565b5b50919050565b6136d082613871565b810181811067ffffffffffffffff821117156136ef576136ee61382e565b5b80604052505050565b600061370382613649565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561373657613735613772565b5b600182019050919050565b600061374c82613649565b915061375783613649565b925082613767576137666137a1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4661696c656420746f2073656e6420746f206c6561642e000000000000000000600082015250565b7f4f766572204d617850657257616c6c6574000000000000000000000000000000600082015250565b7f4e6f7420456e6f75676820457468657200000000000000000000000000000000600082015250565b7f536f6c644f757400000000000000000000000000000000000000000000000000600082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f436f6e7472616374206973205061757365640000000000000000000000000000600082015250565b50565b7f4f766572205478204c696d697400000000000000000000000000000000000000600082015250565b613a77816135df565b8114613a8257600080fd5b50565b613a8e816135f1565b8114613a9957600080fd5b50565b613aa5816135fd565b8114613ab057600080fd5b50565b613abc81613649565b8114613ac757600080fd5b5056fea26469706673582212205882a1478a2116fb19d80d5cc0787fc386cc009b3ca1bd11a2d304b56b6ac19b64736f6c63430008070033

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

0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a6224c5b2831fbeeee54c7e840b052b6497b51b6000000000000000000000000a6224c5b2831fbeeee54c7e840b052b6497b51b60000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6373785a426b6e4a656d575254386f566659504a557a554851424b3965395a5569697278595169313343706f2f00000000000000000000

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

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 000000000000000000000000a6224c5b2831fbeeee54c7e840b052b6497b51b6
Arg [2] : 000000000000000000000000a6224c5b2831fbeeee54c7e840b052b6497b51b6
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [4] : 697066733a2f2f516d6373785a426b6e4a656d575254386f566659504a557a55
Arg [5] : 4851424b3965395a5569697278595169313343706f2f00000000000000000000


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.