ETH Price: $2,676.77 (+2.14%)

Token

DOGE GOBBLERS (DGOB)
 

Overview

Max Total Supply

2,069 DGOB

Holders

471

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 DGOB
0x38b6f6984d79586F545B523f897c16363F7Ac8BE
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:
DOGEGOBBLERS

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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

    string public baseURI;

    address public lead;

    bool public publicPaused = true;
    
    uint256 public cost = 0.001 ether;
    uint256 public maxSupply = 2069;
    uint256 public maxPerWallet = 10;
    uint256 public maxPerTx = 10;
    uint256 public maxPerWalletFree = 1;
    uint256 public maxPerTxFree = 1;
    uint256 supply = totalSupply();

    mapping(address => uint) public addressMintedBalance;
    mapping(address => uint) public addressMintedBalanceFree;
    

 constructor(
    string memory _baseURI,
    address _lead,
    address _contractV1
  )TinyERC721("DOGE GOBBLERS", "DGOB", 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 teamMint(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 freeMint(uint256 _quantitty)
    public 
    payable 
    publicnotPaused() 
    callerIsUser() 
  {
    uint256 supply = totalSupply();
    require(_quantitty <= maxPerTxFree, "Over Tx Limit");
    require(_quantitty + supply <= maxSupply, "SoldOut");
    require(addressMintedBalanceFree[msg.sender] < maxPerWalletFree, "Over MaxPerWallet");
    addressMintedBalanceFree[msg.sender] += _quantitty;
    
    _safeMint(msg.sender, _quantitty);
  }

  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":"","type":"address"}],"name":"addressMintedBalanceFree","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":"_quantitty","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"payable","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":"maxPerTxFree","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":"maxPerWalletFree","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":"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":"uint256","name":"_quanitity","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","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"}]

60a06040526001600860146101000a81548160ff02191690831515021790555066038d7ea4c68000600955610815600a55600a600b55600a600c556001600d556001600e5562000054620001b860201b60201c565b600f553480156200006457600080fd5b506040516200448a3803806200448a83398181016040528101906200008a9190620003d5565b6040518060400160405280600d81526020017f444f474520474f42424c455253000000000000000000000000000000000000008152506040518060400160405280600481526020017f44474f4200000000000000000000000000000000000000000000000000000000815250600082600290805190602001906200011092919062000290565b5081600390805190602001906200012992919062000290565b5080608081815250505050506200015562000149620001c260201b60201c565b620001ca60201b60201c565b82600790805190602001906200016d92919062000290565b5081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505062000622565b6000600154905090565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200029e9062000519565b90600052602060002090601f016020900481019282620002c257600085556200030e565b82601f10620002dd57805160ff19168380011785556200030e565b828001600101855582156200030e579182015b828111156200030d578251825591602001919060010190620002f0565b5b5090506200031d919062000321565b5090565b5b808211156200033c57600081600090555060010162000322565b5090565b600062000357620003518462000479565b62000450565b905082815260208101848484011115620003765762000375620005e8565b5b62000383848285620004e3565b509392505050565b6000815190506200039c8162000608565b92915050565b600082601f830112620003ba57620003b9620005e3565b5b8151620003cc84826020860162000340565b91505092915050565b600080600060608486031215620003f157620003f0620005f2565b5b600084015167ffffffffffffffff811115620004125762000411620005ed565b5b6200042086828701620003a2565b935050602062000433868287016200038b565b925050604062000446868287016200038b565b9150509250925092565b60006200045c6200046f565b90506200046a82826200054f565b919050565b6000604051905090565b600067ffffffffffffffff821115620004975762000496620005b4565b5b620004a282620005f7565b9050602081019050919050565b6000620004bc82620004c3565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b8381101562000503578082015181840152602081019050620004e6565b8381111562000513576000848401525b50505050565b600060028204905060018216806200053257607f821691505b6020821081141562000549576200054862000585565b5b50919050565b6200055a82620005f7565b810181811067ffffffffffffffff821117156200057c576200057b620005b4565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200061381620004af565b81146200061f57600080fd5b50565b608051613e456200064560003960008181612bb90152612be10152613e456000f3fe6080604052600436106102255760003560e01c806355f804b31161012357806395d89b41116100ab578063c87b56dd1161006f578063c87b56dd146107c3578063d5abeb0114610800578063e985e9c51461082b578063f2fde38b14610868578063f968adbe1461089157610225565b806395d89b41146106f2578063980a70d21461071d578063a22cb46514610748578063b88d4fde14610771578063c3c62d381461079a57610225565b806370a08231116100f257806370a082311461062c578063715018a6146106695780637c928fe9146106805780637f5f5a451461069c5780638da5cb5b146106c757610225565b806355f804b3146105725780636352211e1461059b5780636c0360eb146105d8578063701ee0061461060357610225565b806318cae269116101b157806342842e0e1161017557806342842e0e1461048d57806344a0d68a146104b6578063453c2310146104df57806345801a0e1461050a57806346bb0a161461054757610225565b806318cae269146103be578063228025e8146103fb57806323b872dd146104245780632fbba1151461044d5780633ccfd60b1461047657610225565b8063095ea7b3116101f8578063095ea7b3146102eb5780630bb12bb8146103145780630e21f59f1461033f57806313faede61461036857806318160ddd1461039357610225565b806301ffc9a71461022a57806306fdde03146102675780630788370314610292578063081812fc146102ae575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c919061311f565b6108bc565b60405161025e919061358d565b60405180910390f35b34801561027357600080fd5b5061027c61099e565b60405161028991906135a8565b60405180910390f35b6102ac60048036038101906102a791906131c2565b610a30565b005b3480156102ba57600080fd5b506102d560048036038101906102d091906131c2565b610cc6565b6040516102e29190613526565b60405180910390f35b3480156102f757600080fd5b50610312600480360381019061030d91906130b2565b610d42565b005b34801561032057600080fd5b50610329610efd565b604051610336919061358d565b60405180910390f35b34801561034b57600080fd5b50610366600480360381019061036191906130f2565b610f10565b005b34801561037457600080fd5b5061037d610fa9565b60405161038a919061370a565b60405180910390f35b34801561039f57600080fd5b506103a8610faf565b6040516103b5919061370a565b60405180910390f35b3480156103ca57600080fd5b506103e560048036038101906103e09190612f2f565b610fb9565b6040516103f2919061370a565b60405180910390f35b34801561040757600080fd5b50610422600480360381019061041d91906131c2565b610fd1565b005b34801561043057600080fd5b5061044b60048036038101906104469190612f9c565b611057565b005b34801561045957600080fd5b50610474600480360381019061046f91906131c2565b611164565b005b34801561048257600080fd5b5061048b611214565b005b34801561049957600080fd5b506104b460048036038101906104af9190612f9c565b611361565b005b3480156104c257600080fd5b506104dd60048036038101906104d891906131c2565b611381565b005b3480156104eb57600080fd5b506104f4611407565b604051610501919061370a565b60405180910390f35b34801561051657600080fd5b50610531600480360381019061052c9190612f2f565b61140d565b60405161053e919061370a565b60405180910390f35b34801561055357600080fd5b5061055c611425565b6040516105699190613526565b60405180910390f35b34801561057e57600080fd5b5061059960048036038101906105949190613179565b61144b565b005b3480156105a757600080fd5b506105c260048036038101906105bd91906131c2565b6114e1565b6040516105cf9190613526565b60405180910390f35b3480156105e457600080fd5b506105ed611556565b6040516105fa91906135a8565b60405180910390f35b34801561060f57600080fd5b5061062a600480360381019061062591906131c2565b6115e4565b005b34801561063857600080fd5b50610653600480360381019061064e9190612f2f565b61166a565b604051610660919061370a565b60405180910390f35b34801561067557600080fd5b5061067e6117bd565b005b61069a600480360381019061069591906131c2565b611845565b005b3480156106a857600080fd5b506106b1611a8b565b6040516106be919061370a565b60405180910390f35b3480156106d357600080fd5b506106dc611a91565b6040516106e99190613526565b60405180910390f35b3480156106fe57600080fd5b50610707611abb565b60405161071491906135a8565b60405180910390f35b34801561072957600080fd5b50610732611b4d565b60405161073f919061370a565b60405180910390f35b34801561075457600080fd5b5061076f600480360381019061076a9190613072565b611b53565b005b34801561077d57600080fd5b5061079860048036038101906107939190612fef565b611ccb565b005b3480156107a657600080fd5b506107c160048036038101906107bc91906131c2565b611dda565b005b3480156107cf57600080fd5b506107ea60048036038101906107e591906131c2565b611e60565b6040516107f791906135a8565b60405180910390f35b34801561080c57600080fd5b50610815611edc565b604051610822919061370a565b60405180910390f35b34801561083757600080fd5b50610852600480360381019061084d9190612f5c565b611ee2565b60405161085f919061358d565b60405180910390f35b34801561087457600080fd5b5061088f600480360381019061088a9190612f2f565b611f76565b005b34801561089d57600080fd5b506108a661206e565b6040516108b3919061370a565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061098757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610997575061099682612074565b5b9050919050565b6060600280546109ad906139da565b80601f01602080910402602001604051908101604052809291908181526020018280546109d9906139da565b8015610a265780601f106109fb57610100808354040283529160200191610a26565b820191906000526020600020905b815481529060010190602001808311610a0957829003601f168201915b5050505050905090565b600860149054906101000a900460ff1615610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a77906136ca565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae59061364a565b60405180910390fd5b6000610af8610faf565b905081600954610b089190613896565b341015610b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b419061360a565b60405180910390fd5b600c54821115610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b86906136ea565b60405180910390fd5b600a548183610b9e919061380f565b1115610bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd69061362a565b60405180910390fd5b600b54601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610c62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c59906135ea565b60405180910390fd5b81601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610cb1919061380f565b92505081905550610cc233836120de565b5050565b6000610cd1826120fc565b610d07576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d4d8261210a565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152505090506000816000015190508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610e64576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e836121ea565b73ffffffffffffffffffffffffffffffffffffffff1614158015610eb55750610eb381610eae6121ea565b611ee2565b155b15610eec576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ef78484846121f2565b50505050565b600860149054906101000a900460ff1681565b610f186121ea565b73ffffffffffffffffffffffffffffffffffffffff16610f36611a91565b73ffffffffffffffffffffffffffffffffffffffff1614610f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f83906136aa565b60405180910390fd5b80600860146101000a81548160ff02191690831515021790555050565b60095481565b6000600154905090565b60106020528060005260406000206000915090505481565b610fd96121ea565b73ffffffffffffffffffffffffffffffffffffffff16610ff7611a91565b73ffffffffffffffffffffffffffffffffffffffff161461104d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611044906136aa565b60405180910390fd5b80600a8190555050565b60006110628261210a565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff191681525050905061111c6111156121ea565b83836122a8565b611152576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61115e8484848461233a565b50505050565b61116c6121ea565b73ffffffffffffffffffffffffffffffffffffffff1661118a611a91565b73ffffffffffffffffffffffffffffffffffffffff16146111e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d7906136aa565b60405180910390fd5b60006111ea610faf565b9050600a5481836111fb919061380f565b111561120657600080fd5b61121033836120de565b5050565b61121c6121ea565b73ffffffffffffffffffffffffffffffffffffffff1661123a611a91565b73ffffffffffffffffffffffffffffffffffffffff1614611290576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611287906136aa565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516112d890613511565b60006040518083038185875af1925050503d8060008114611315576040519150601f19603f3d011682016040523d82523d6000602084013e61131a565b606091505b505090508061135e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611355906135ca565b60405180910390fd5b50565b61137c83838360405180602001604052806000815250611ccb565b505050565b6113896121ea565b73ffffffffffffffffffffffffffffffffffffffff166113a7611a91565b73ffffffffffffffffffffffffffffffffffffffff16146113fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f4906136aa565b60405180910390fd5b8060098190555050565b600b5481565b60116020528060005260406000206000915090505481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6114536121ea565b73ffffffffffffffffffffffffffffffffffffffff16611471611a91565b73ffffffffffffffffffffffffffffffffffffffff16146114c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114be906136aa565b60405180910390fd5b80600790805190602001906114dd929190612d43565b5050565b60006114ec826120fc565b611522576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61152b8261210a565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60078054611563906139da565b80601f016020809104026020016040519081016040528092919081815260200182805461158f906139da565b80156115dc5780601f106115b1576101008083540402835291602001916115dc565b820191906000526020600020905b8154815290600101906020018083116115bf57829003601f168201915b505050505081565b6115ec6121ea565b73ffffffffffffffffffffffffffffffffffffffff1661160a611a91565b73ffffffffffffffffffffffffffffffffffffffff1614611660576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611657906136aa565b60405180910390fd5b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116d2576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006116dc610faf565b905060008060005b838110156117b157600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461175e578092505b8673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561179f578361179c90613a3d565b93505b50806117aa90613a3d565b90506116e4565b50819350505050919050565b6117c56121ea565b73ffffffffffffffffffffffffffffffffffffffff166117e3611a91565b73ffffffffffffffffffffffffffffffffffffffff1614611839576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611830906136aa565b60405180910390fd5b611843600061261e565b565b600860149054906101000a900460ff1615611895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188c906136ca565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fa9061364a565b60405180910390fd5b600061190d610faf565b9050600e54821115611954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194b906136ea565b60405180910390fd5b600a548183611963919061380f565b11156119a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199b9061362a565b60405180910390fd5b600d54601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1e906135ea565b60405180910390fd5b81601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a76919061380f565b92505081905550611a8733836120de565b5050565b600d5481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611aca906139da565b80601f0160208091040260200160405190810160405280929190818152602001828054611af6906139da565b8015611b435780601f10611b1857610100808354040283529160200191611b43565b820191906000526020600020905b815481529060010190602001808311611b2657829003601f168201915b5050505050905090565b600e5481565b611b5b6121ea565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bc0576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060056000611bcd6121ea565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c7a6121ea565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611cbf919061358d565b60405180910390a35050565b6000611cd68361210a565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815250509050611d90611d896121ea565b84836122a8565b611dc6576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611dd385858584866126e4565b5050505050565b611de26121ea565b73ffffffffffffffffffffffffffffffffffffffff16611e00611a91565b73ffffffffffffffffffffffffffffffffffffffff1614611e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4d906136aa565b60405180910390fd5b80600c8190555050565b6060611e6b826120fc565b611eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea19061368a565b60405180910390fd5b6007611eb583612762565b604051602001611ec69291906134e2565b6040516020818303038152906040529050919050565b600a5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f7e6121ea565b73ffffffffffffffffffffffffffffffffffffffff16611f9c611a91565b73ffffffffffffffffffffffffffffffffffffffff1614611ff2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe9906136aa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612062576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120599061366a565b60405180910390fd5b61206b8161261e565b50565b600c5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6120f88282604051806020016040528060008152506128c3565b5050565b600060015482109050919050565b6000612115826120fc565b61214b576040517f3210dcc600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000848152602001908152602001600020905060008390505b600073ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156121e057806001900390506000808281526020019081526020016000209150612167565b8192505050919050565b600033905090565b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600080826000015190508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806122f257506122f18186611ee2565b5b8061233057508473ffffffffffffffffffffffffffffffffffffffff1661231885610cc6565b73ffffffffffffffffffffffffffffffffffffffff16145b9150509392505050565b8373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146123a3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561240a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612417848484600161295b565b612423600083836121f2565b6000600183019050612434816120fc565b1561251e5760008060008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561251c5782600001518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001518160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c02179055505b505b5060008060008481526020019081526020016000209050838160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506125888585858560200151612961565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612617858585600161296b565b5050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6126f08585858561233a565b61270f8473ffffffffffffffffffffffffffffffffffffffff16612971565b8015612724575061272285858584612994565b155b1561275b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b606060008214156127aa576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506128be565b600082905060005b600082146127dc5780806127c590613a3d565b915050600a826127d59190613865565b91506127b2565b60008167ffffffffffffffff8111156127f8576127f7613b73565b5b6040519080825280601f01601f19166020018201604052801561282a5781602001600182028036833780820191505090505b5090505b600085146128b75760018261284391906138f0565b9150600a856128529190613a86565b603061285e919061380f565b60f81b81838151811061287457612873613b44565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128b09190613865565b945061282e565b8093505050505b919050565b600060015490506128d48484612af4565b6128f38473ffffffffffffffffffffffffffffffffffffffff16612971565b156129555760005b838110156129535761291260008683850186612994565b612948576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060010190506128fb565b505b50505050565b50505050565b6000949350505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129ba6121ea565b8786866040518563ffffffff1660e01b81526004016129dc9493929190613541565b602060405180830381600087803b1580156129f657600080fd5b505af1925050508015612a2757506040513d601f19601f82011682018060405250810190612a24919061314c565b60015b612aa1573d8060008114612a57576040519150601f19603f3d011682016040523d82523d6000602084013e612a5c565b606091505b50600081511415612a99576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b5b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000811415612b96576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006001549050612baa600084838561295b565b60005b82811015612d205760007f000000000000000000000000000000000000000000000000000000000000000014612c165760007f00000000000000000000000000000000000000000000000000000000000000008281612c0f57612c0e613ae6565b5b0614612c1b565b600081145b15612cb757600080600083850181526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612c8e600086848601600060a01b612961565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550505b8082018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4806001019050612bad565b5081600160008282540192505081905550612d3e600084838561296b565b505050565b828054612d4f906139da565b90600052602060002090601f016020900481019282612d715760008555612db8565b82601f10612d8a57805160ff1916838001178555612db8565b82800160010185558215612db8579182015b82811115612db7578251825591602001919060010190612d9c565b5b509050612dc59190612dc9565b5090565b5b80821115612de2576000816000905550600101612dca565b5090565b6000612df9612df48461374a565b613725565b905082815260208101848484011115612e1557612e14613ba7565b5b612e20848285613998565b509392505050565b6000612e3b612e368461377b565b613725565b905082815260208101848484011115612e5757612e56613ba7565b5b612e62848285613998565b509392505050565b600081359050612e7981613db3565b92915050565b600081359050612e8e81613dca565b92915050565b600081359050612ea381613de1565b92915050565b600081519050612eb881613de1565b92915050565b600082601f830112612ed357612ed2613ba2565b5b8135612ee3848260208601612de6565b91505092915050565b600082601f830112612f0157612f00613ba2565b5b8135612f11848260208601612e28565b91505092915050565b600081359050612f2981613df8565b92915050565b600060208284031215612f4557612f44613bb1565b5b6000612f5384828501612e6a565b91505092915050565b60008060408385031215612f7357612f72613bb1565b5b6000612f8185828601612e6a565b9250506020612f9285828601612e6a565b9150509250929050565b600080600060608486031215612fb557612fb4613bb1565b5b6000612fc386828701612e6a565b9350506020612fd486828701612e6a565b9250506040612fe586828701612f1a565b9150509250925092565b6000806000806080858703121561300957613008613bb1565b5b600061301787828801612e6a565b945050602061302887828801612e6a565b935050604061303987828801612f1a565b925050606085013567ffffffffffffffff81111561305a57613059613bac565b5b61306687828801612ebe565b91505092959194509250565b6000806040838503121561308957613088613bb1565b5b600061309785828601612e6a565b92505060206130a885828601612e7f565b9150509250929050565b600080604083850312156130c9576130c8613bb1565b5b60006130d785828601612e6a565b92505060206130e885828601612f1a565b9150509250929050565b60006020828403121561310857613107613bb1565b5b600061311684828501612e7f565b91505092915050565b60006020828403121561313557613134613bb1565b5b600061314384828501612e94565b91505092915050565b60006020828403121561316257613161613bb1565b5b600061317084828501612ea9565b91505092915050565b60006020828403121561318f5761318e613bb1565b5b600082013567ffffffffffffffff8111156131ad576131ac613bac565b5b6131b984828501612eec565b91505092915050565b6000602082840312156131d8576131d7613bb1565b5b60006131e684828501612f1a565b91505092915050565b6131f881613924565b82525050565b61320781613936565b82525050565b6000613218826137c1565b61322281856137d7565b93506132328185602086016139a7565b61323b81613bb6565b840191505092915050565b6000613251826137cc565b61325b81856137f3565b935061326b8185602086016139a7565b61327481613bb6565b840191505092915050565b600061328a826137cc565b6132948185613804565b93506132a48185602086016139a7565b80840191505092915050565b600081546132bd816139da565b6132c78186613804565b945060018216600081146132e257600181146132f357613326565b60ff19831686528186019350613326565b6132fc856137ac565b60005b8381101561331e578154818901526001820191506020810190506132ff565b838801955050505b50505092915050565b600061333c6017836137f3565b915061334782613bc7565b602082019050919050565b600061335f6011836137f3565b915061336a82613bf0565b602082019050919050565b60006133826010836137f3565b915061338d82613c19565b602082019050919050565b60006133a56007836137f3565b91506133b082613c42565b602082019050919050565b60006133c8601f836137f3565b91506133d382613c6b565b602082019050919050565b60006133eb6026836137f3565b91506133f682613c94565b604082019050919050565b600061340e6015836137f3565b915061341982613ce3565b602082019050919050565b6000613431600583613804565b915061343c82613d0c565b600582019050919050565b60006134546020836137f3565b915061345f82613d35565b602082019050919050565b60006134776012836137f3565b915061348282613d5e565b602082019050919050565b600061349a6000836137e8565b91506134a582613d87565b600082019050919050565b60006134bd600d836137f3565b91506134c882613d8a565b602082019050919050565b6134dc8161398e565b82525050565b60006134ee82856132b0565b91506134fa828461327f565b915061350582613424565b91508190509392505050565b600061351c8261348d565b9150819050919050565b600060208201905061353b60008301846131ef565b92915050565b600060808201905061355660008301876131ef565b61356360208301866131ef565b61357060408301856134d3565b8181036060830152613582818461320d565b905095945050505050565b60006020820190506135a260008301846131fe565b92915050565b600060208201905081810360008301526135c28184613246565b905092915050565b600060208201905081810360008301526135e38161332f565b9050919050565b6000602082019050818103600083015261360381613352565b9050919050565b6000602082019050818103600083015261362381613375565b9050919050565b6000602082019050818103600083015261364381613398565b9050919050565b60006020820190508181036000830152613663816133bb565b9050919050565b60006020820190508181036000830152613683816133de565b9050919050565b600060208201905081810360008301526136a381613401565b9050919050565b600060208201905081810360008301526136c381613447565b9050919050565b600060208201905081810360008301526136e38161346a565b9050919050565b60006020820190508181036000830152613703816134b0565b9050919050565b600060208201905061371f60008301846134d3565b92915050565b600061372f613740565b905061373b8282613a0c565b919050565b6000604051905090565b600067ffffffffffffffff82111561376557613764613b73565b5b61376e82613bb6565b9050602081019050919050565b600067ffffffffffffffff82111561379657613795613b73565b5b61379f82613bb6565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061381a8261398e565b91506138258361398e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561385a57613859613ab7565b5b828201905092915050565b60006138708261398e565b915061387b8361398e565b92508261388b5761388a613ae6565b5b828204905092915050565b60006138a18261398e565b91506138ac8361398e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156138e5576138e4613ab7565b5b828202905092915050565b60006138fb8261398e565b91506139068361398e565b92508282101561391957613918613ab7565b5b828203905092915050565b600061392f8261396e565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156139c55780820151818401526020810190506139aa565b838111156139d4576000848401525b50505050565b600060028204905060018216806139f257607f821691505b60208210811415613a0657613a05613b15565b5b50919050565b613a1582613bb6565b810181811067ffffffffffffffff82111715613a3457613a33613b73565b5b80604052505050565b6000613a488261398e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a7b57613a7a613ab7565b5b600182019050919050565b6000613a918261398e565b9150613a9c8361398e565b925082613aac57613aab613ae6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4661696c656420746f2073656e6420746f206c6561642e000000000000000000600082015250565b7f4f766572204d617850657257616c6c6574000000000000000000000000000000600082015250565b7f4e6f7420456e6f75676820457468657200000000000000000000000000000000600082015250565b7f536f6c644f757400000000000000000000000000000000000000000000000000600082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f436f6e7472616374206973205061757365640000000000000000000000000000600082015250565b50565b7f4f766572205478204c696d697400000000000000000000000000000000000000600082015250565b613dbc81613924565b8114613dc757600080fd5b50565b613dd381613936565b8114613dde57600080fd5b50565b613dea81613942565b8114613df557600080fd5b50565b613e018161398e565b8114613e0c57600080fd5b5056fea264697066735822122045cbf939ef0cfcc1531b4b285457d6b8c7ea387db762158d1ee3127b68845d1864736f6c634300080700330000000000000000000000000000000000000000000000000000000000000060000000000000000000000000d3200cf199dee8315ed8712b222b7f2ba3967b6b000000000000000000000000d3200cf199dee8315ed8712b222b7f2ba3967b6b0000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656968626e783762706f69616f6878366874323461356b756d646a70736c6f6470323437333363747a336777327737676d72646768652f0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102255760003560e01c806355f804b31161012357806395d89b41116100ab578063c87b56dd1161006f578063c87b56dd146107c3578063d5abeb0114610800578063e985e9c51461082b578063f2fde38b14610868578063f968adbe1461089157610225565b806395d89b41146106f2578063980a70d21461071d578063a22cb46514610748578063b88d4fde14610771578063c3c62d381461079a57610225565b806370a08231116100f257806370a082311461062c578063715018a6146106695780637c928fe9146106805780637f5f5a451461069c5780638da5cb5b146106c757610225565b806355f804b3146105725780636352211e1461059b5780636c0360eb146105d8578063701ee0061461060357610225565b806318cae269116101b157806342842e0e1161017557806342842e0e1461048d57806344a0d68a146104b6578063453c2310146104df57806345801a0e1461050a57806346bb0a161461054757610225565b806318cae269146103be578063228025e8146103fb57806323b872dd146104245780632fbba1151461044d5780633ccfd60b1461047657610225565b8063095ea7b3116101f8578063095ea7b3146102eb5780630bb12bb8146103145780630e21f59f1461033f57806313faede61461036857806318160ddd1461039357610225565b806301ffc9a71461022a57806306fdde03146102675780630788370314610292578063081812fc146102ae575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c919061311f565b6108bc565b60405161025e919061358d565b60405180910390f35b34801561027357600080fd5b5061027c61099e565b60405161028991906135a8565b60405180910390f35b6102ac60048036038101906102a791906131c2565b610a30565b005b3480156102ba57600080fd5b506102d560048036038101906102d091906131c2565b610cc6565b6040516102e29190613526565b60405180910390f35b3480156102f757600080fd5b50610312600480360381019061030d91906130b2565b610d42565b005b34801561032057600080fd5b50610329610efd565b604051610336919061358d565b60405180910390f35b34801561034b57600080fd5b50610366600480360381019061036191906130f2565b610f10565b005b34801561037457600080fd5b5061037d610fa9565b60405161038a919061370a565b60405180910390f35b34801561039f57600080fd5b506103a8610faf565b6040516103b5919061370a565b60405180910390f35b3480156103ca57600080fd5b506103e560048036038101906103e09190612f2f565b610fb9565b6040516103f2919061370a565b60405180910390f35b34801561040757600080fd5b50610422600480360381019061041d91906131c2565b610fd1565b005b34801561043057600080fd5b5061044b60048036038101906104469190612f9c565b611057565b005b34801561045957600080fd5b50610474600480360381019061046f91906131c2565b611164565b005b34801561048257600080fd5b5061048b611214565b005b34801561049957600080fd5b506104b460048036038101906104af9190612f9c565b611361565b005b3480156104c257600080fd5b506104dd60048036038101906104d891906131c2565b611381565b005b3480156104eb57600080fd5b506104f4611407565b604051610501919061370a565b60405180910390f35b34801561051657600080fd5b50610531600480360381019061052c9190612f2f565b61140d565b60405161053e919061370a565b60405180910390f35b34801561055357600080fd5b5061055c611425565b6040516105699190613526565b60405180910390f35b34801561057e57600080fd5b5061059960048036038101906105949190613179565b61144b565b005b3480156105a757600080fd5b506105c260048036038101906105bd91906131c2565b6114e1565b6040516105cf9190613526565b60405180910390f35b3480156105e457600080fd5b506105ed611556565b6040516105fa91906135a8565b60405180910390f35b34801561060f57600080fd5b5061062a600480360381019061062591906131c2565b6115e4565b005b34801561063857600080fd5b50610653600480360381019061064e9190612f2f565b61166a565b604051610660919061370a565b60405180910390f35b34801561067557600080fd5b5061067e6117bd565b005b61069a600480360381019061069591906131c2565b611845565b005b3480156106a857600080fd5b506106b1611a8b565b6040516106be919061370a565b60405180910390f35b3480156106d357600080fd5b506106dc611a91565b6040516106e99190613526565b60405180910390f35b3480156106fe57600080fd5b50610707611abb565b60405161071491906135a8565b60405180910390f35b34801561072957600080fd5b50610732611b4d565b60405161073f919061370a565b60405180910390f35b34801561075457600080fd5b5061076f600480360381019061076a9190613072565b611b53565b005b34801561077d57600080fd5b5061079860048036038101906107939190612fef565b611ccb565b005b3480156107a657600080fd5b506107c160048036038101906107bc91906131c2565b611dda565b005b3480156107cf57600080fd5b506107ea60048036038101906107e591906131c2565b611e60565b6040516107f791906135a8565b60405180910390f35b34801561080c57600080fd5b50610815611edc565b604051610822919061370a565b60405180910390f35b34801561083757600080fd5b50610852600480360381019061084d9190612f5c565b611ee2565b60405161085f919061358d565b60405180910390f35b34801561087457600080fd5b5061088f600480360381019061088a9190612f2f565b611f76565b005b34801561089d57600080fd5b506108a661206e565b6040516108b3919061370a565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061098757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610997575061099682612074565b5b9050919050565b6060600280546109ad906139da565b80601f01602080910402602001604051908101604052809291908181526020018280546109d9906139da565b8015610a265780601f106109fb57610100808354040283529160200191610a26565b820191906000526020600020905b815481529060010190602001808311610a0957829003601f168201915b5050505050905090565b600860149054906101000a900460ff1615610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a77906136ca565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae59061364a565b60405180910390fd5b6000610af8610faf565b905081600954610b089190613896565b341015610b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b419061360a565b60405180910390fd5b600c54821115610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b86906136ea565b60405180910390fd5b600a548183610b9e919061380f565b1115610bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd69061362a565b60405180910390fd5b600b54601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610c62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c59906135ea565b60405180910390fd5b81601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610cb1919061380f565b92505081905550610cc233836120de565b5050565b6000610cd1826120fc565b610d07576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d4d8261210a565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff19168152505090506000816000015190508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610e64576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e836121ea565b73ffffffffffffffffffffffffffffffffffffffff1614158015610eb55750610eb381610eae6121ea565b611ee2565b155b15610eec576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ef78484846121f2565b50505050565b600860149054906101000a900460ff1681565b610f186121ea565b73ffffffffffffffffffffffffffffffffffffffff16610f36611a91565b73ffffffffffffffffffffffffffffffffffffffff1614610f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f83906136aa565b60405180910390fd5b80600860146101000a81548160ff02191690831515021790555050565b60095481565b6000600154905090565b60106020528060005260406000206000915090505481565b610fd96121ea565b73ffffffffffffffffffffffffffffffffffffffff16610ff7611a91565b73ffffffffffffffffffffffffffffffffffffffff161461104d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611044906136aa565b60405180910390fd5b80600a8190555050565b60006110628261210a565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff191681525050905061111c6111156121ea565b83836122a8565b611152576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61115e8484848461233a565b50505050565b61116c6121ea565b73ffffffffffffffffffffffffffffffffffffffff1661118a611a91565b73ffffffffffffffffffffffffffffffffffffffff16146111e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d7906136aa565b60405180910390fd5b60006111ea610faf565b9050600a5481836111fb919061380f565b111561120657600080fd5b61121033836120de565b5050565b61121c6121ea565b73ffffffffffffffffffffffffffffffffffffffff1661123a611a91565b73ffffffffffffffffffffffffffffffffffffffff1614611290576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611287906136aa565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516112d890613511565b60006040518083038185875af1925050503d8060008114611315576040519150601f19603f3d011682016040523d82523d6000602084013e61131a565b606091505b505090508061135e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611355906135ca565b60405180910390fd5b50565b61137c83838360405180602001604052806000815250611ccb565b505050565b6113896121ea565b73ffffffffffffffffffffffffffffffffffffffff166113a7611a91565b73ffffffffffffffffffffffffffffffffffffffff16146113fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f4906136aa565b60405180910390fd5b8060098190555050565b600b5481565b60116020528060005260406000206000915090505481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6114536121ea565b73ffffffffffffffffffffffffffffffffffffffff16611471611a91565b73ffffffffffffffffffffffffffffffffffffffff16146114c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114be906136aa565b60405180910390fd5b80600790805190602001906114dd929190612d43565b5050565b60006114ec826120fc565b611522576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61152b8261210a565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60078054611563906139da565b80601f016020809104026020016040519081016040528092919081815260200182805461158f906139da565b80156115dc5780601f106115b1576101008083540402835291602001916115dc565b820191906000526020600020905b8154815290600101906020018083116115bf57829003601f168201915b505050505081565b6115ec6121ea565b73ffffffffffffffffffffffffffffffffffffffff1661160a611a91565b73ffffffffffffffffffffffffffffffffffffffff1614611660576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611657906136aa565b60405180910390fd5b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116d2576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006116dc610faf565b905060008060005b838110156117b157600080600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461175e578092505b8673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561179f578361179c90613a3d565b93505b50806117aa90613a3d565b90506116e4565b50819350505050919050565b6117c56121ea565b73ffffffffffffffffffffffffffffffffffffffff166117e3611a91565b73ffffffffffffffffffffffffffffffffffffffff1614611839576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611830906136aa565b60405180910390fd5b611843600061261e565b565b600860149054906101000a900460ff1615611895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188c906136ca565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fa9061364a565b60405180910390fd5b600061190d610faf565b9050600e54821115611954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194b906136ea565b60405180910390fd5b600a548183611963919061380f565b11156119a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199b9061362a565b60405180910390fd5b600d54601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1e906135ea565b60405180910390fd5b81601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a76919061380f565b92505081905550611a8733836120de565b5050565b600d5481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611aca906139da565b80601f0160208091040260200160405190810160405280929190818152602001828054611af6906139da565b8015611b435780601f10611b1857610100808354040283529160200191611b43565b820191906000526020600020905b815481529060010190602001808311611b2657829003601f168201915b5050505050905090565b600e5481565b611b5b6121ea565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bc0576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060056000611bcd6121ea565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c7a6121ea565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611cbf919061358d565b60405180910390a35050565b6000611cd68361210a565b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460a01b73ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff1916815250509050611d90611d896121ea565b84836122a8565b611dc6576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611dd385858584866126e4565b5050505050565b611de26121ea565b73ffffffffffffffffffffffffffffffffffffffff16611e00611a91565b73ffffffffffffffffffffffffffffffffffffffff1614611e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4d906136aa565b60405180910390fd5b80600c8190555050565b6060611e6b826120fc565b611eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea19061368a565b60405180910390fd5b6007611eb583612762565b604051602001611ec69291906134e2565b6040516020818303038152906040529050919050565b600a5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f7e6121ea565b73ffffffffffffffffffffffffffffffffffffffff16611f9c611a91565b73ffffffffffffffffffffffffffffffffffffffff1614611ff2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe9906136aa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612062576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120599061366a565b60405180910390fd5b61206b8161261e565b50565b600c5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6120f88282604051806020016040528060008152506128c3565b5050565b600060015482109050919050565b6000612115826120fc565b61214b576040517f3210dcc600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806000848152602001908152602001600020905060008390505b600073ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156121e057806001900390506000808281526020019081526020016000209150612167565b8192505050919050565b600033905090565b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600080826000015190508073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806122f257506122f18186611ee2565b5b8061233057508473ffffffffffffffffffffffffffffffffffffffff1661231885610cc6565b73ffffffffffffffffffffffffffffffffffffffff16145b9150509392505050565b8373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146123a3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561240a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612417848484600161295b565b612423600083836121f2565b6000600183019050612434816120fc565b1561251e5760008060008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561251c5782600001518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001518160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c02179055505b505b5060008060008481526020019081526020016000209050838160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506125888585858560200151612961565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612617858585600161296b565b5050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6126f08585858561233a565b61270f8473ffffffffffffffffffffffffffffffffffffffff16612971565b8015612724575061272285858584612994565b155b1561275b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b606060008214156127aa576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506128be565b600082905060005b600082146127dc5780806127c590613a3d565b915050600a826127d59190613865565b91506127b2565b60008167ffffffffffffffff8111156127f8576127f7613b73565b5b6040519080825280601f01601f19166020018201604052801561282a5781602001600182028036833780820191505090505b5090505b600085146128b75760018261284391906138f0565b9150600a856128529190613a86565b603061285e919061380f565b60f81b81838151811061287457612873613b44565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128b09190613865565b945061282e565b8093505050505b919050565b600060015490506128d48484612af4565b6128f38473ffffffffffffffffffffffffffffffffffffffff16612971565b156129555760005b838110156129535761291260008683850186612994565b612948576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060010190506128fb565b505b50505050565b50505050565b6000949350505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129ba6121ea565b8786866040518563ffffffff1660e01b81526004016129dc9493929190613541565b602060405180830381600087803b1580156129f657600080fd5b505af1925050508015612a2757506040513d601f19601f82011682018060405250810190612a24919061314c565b60015b612aa1573d8060008114612a57576040519150601f19603f3d011682016040523d82523d6000602084013e612a5c565b606091505b50600081511415612a99576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b5b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000811415612b96576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006001549050612baa600084838561295b565b60005b82811015612d205760007f000000000000000000000000000000000000000000000000000000000000000014612c165760007f00000000000000000000000000000000000000000000000000000000000000008281612c0f57612c0e613ae6565b5b0614612c1b565b600081145b15612cb757600080600083850181526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612c8e600086848601600060a01b612961565b8160000160146101000a8154816bffffffffffffffffffffffff021916908360a01c0217905550505b8082018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4806001019050612bad565b5081600160008282540192505081905550612d3e600084838561296b565b505050565b828054612d4f906139da565b90600052602060002090601f016020900481019282612d715760008555612db8565b82601f10612d8a57805160ff1916838001178555612db8565b82800160010185558215612db8579182015b82811115612db7578251825591602001919060010190612d9c565b5b509050612dc59190612dc9565b5090565b5b80821115612de2576000816000905550600101612dca565b5090565b6000612df9612df48461374a565b613725565b905082815260208101848484011115612e1557612e14613ba7565b5b612e20848285613998565b509392505050565b6000612e3b612e368461377b565b613725565b905082815260208101848484011115612e5757612e56613ba7565b5b612e62848285613998565b509392505050565b600081359050612e7981613db3565b92915050565b600081359050612e8e81613dca565b92915050565b600081359050612ea381613de1565b92915050565b600081519050612eb881613de1565b92915050565b600082601f830112612ed357612ed2613ba2565b5b8135612ee3848260208601612de6565b91505092915050565b600082601f830112612f0157612f00613ba2565b5b8135612f11848260208601612e28565b91505092915050565b600081359050612f2981613df8565b92915050565b600060208284031215612f4557612f44613bb1565b5b6000612f5384828501612e6a565b91505092915050565b60008060408385031215612f7357612f72613bb1565b5b6000612f8185828601612e6a565b9250506020612f9285828601612e6a565b9150509250929050565b600080600060608486031215612fb557612fb4613bb1565b5b6000612fc386828701612e6a565b9350506020612fd486828701612e6a565b9250506040612fe586828701612f1a565b9150509250925092565b6000806000806080858703121561300957613008613bb1565b5b600061301787828801612e6a565b945050602061302887828801612e6a565b935050604061303987828801612f1a565b925050606085013567ffffffffffffffff81111561305a57613059613bac565b5b61306687828801612ebe565b91505092959194509250565b6000806040838503121561308957613088613bb1565b5b600061309785828601612e6a565b92505060206130a885828601612e7f565b9150509250929050565b600080604083850312156130c9576130c8613bb1565b5b60006130d785828601612e6a565b92505060206130e885828601612f1a565b9150509250929050565b60006020828403121561310857613107613bb1565b5b600061311684828501612e7f565b91505092915050565b60006020828403121561313557613134613bb1565b5b600061314384828501612e94565b91505092915050565b60006020828403121561316257613161613bb1565b5b600061317084828501612ea9565b91505092915050565b60006020828403121561318f5761318e613bb1565b5b600082013567ffffffffffffffff8111156131ad576131ac613bac565b5b6131b984828501612eec565b91505092915050565b6000602082840312156131d8576131d7613bb1565b5b60006131e684828501612f1a565b91505092915050565b6131f881613924565b82525050565b61320781613936565b82525050565b6000613218826137c1565b61322281856137d7565b93506132328185602086016139a7565b61323b81613bb6565b840191505092915050565b6000613251826137cc565b61325b81856137f3565b935061326b8185602086016139a7565b61327481613bb6565b840191505092915050565b600061328a826137cc565b6132948185613804565b93506132a48185602086016139a7565b80840191505092915050565b600081546132bd816139da565b6132c78186613804565b945060018216600081146132e257600181146132f357613326565b60ff19831686528186019350613326565b6132fc856137ac565b60005b8381101561331e578154818901526001820191506020810190506132ff565b838801955050505b50505092915050565b600061333c6017836137f3565b915061334782613bc7565b602082019050919050565b600061335f6011836137f3565b915061336a82613bf0565b602082019050919050565b60006133826010836137f3565b915061338d82613c19565b602082019050919050565b60006133a56007836137f3565b91506133b082613c42565b602082019050919050565b60006133c8601f836137f3565b91506133d382613c6b565b602082019050919050565b60006133eb6026836137f3565b91506133f682613c94565b604082019050919050565b600061340e6015836137f3565b915061341982613ce3565b602082019050919050565b6000613431600583613804565b915061343c82613d0c565b600582019050919050565b60006134546020836137f3565b915061345f82613d35565b602082019050919050565b60006134776012836137f3565b915061348282613d5e565b602082019050919050565b600061349a6000836137e8565b91506134a582613d87565b600082019050919050565b60006134bd600d836137f3565b91506134c882613d8a565b602082019050919050565b6134dc8161398e565b82525050565b60006134ee82856132b0565b91506134fa828461327f565b915061350582613424565b91508190509392505050565b600061351c8261348d565b9150819050919050565b600060208201905061353b60008301846131ef565b92915050565b600060808201905061355660008301876131ef565b61356360208301866131ef565b61357060408301856134d3565b8181036060830152613582818461320d565b905095945050505050565b60006020820190506135a260008301846131fe565b92915050565b600060208201905081810360008301526135c28184613246565b905092915050565b600060208201905081810360008301526135e38161332f565b9050919050565b6000602082019050818103600083015261360381613352565b9050919050565b6000602082019050818103600083015261362381613375565b9050919050565b6000602082019050818103600083015261364381613398565b9050919050565b60006020820190508181036000830152613663816133bb565b9050919050565b60006020820190508181036000830152613683816133de565b9050919050565b600060208201905081810360008301526136a381613401565b9050919050565b600060208201905081810360008301526136c381613447565b9050919050565b600060208201905081810360008301526136e38161346a565b9050919050565b60006020820190508181036000830152613703816134b0565b9050919050565b600060208201905061371f60008301846134d3565b92915050565b600061372f613740565b905061373b8282613a0c565b919050565b6000604051905090565b600067ffffffffffffffff82111561376557613764613b73565b5b61376e82613bb6565b9050602081019050919050565b600067ffffffffffffffff82111561379657613795613b73565b5b61379f82613bb6565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061381a8261398e565b91506138258361398e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561385a57613859613ab7565b5b828201905092915050565b60006138708261398e565b915061387b8361398e565b92508261388b5761388a613ae6565b5b828204905092915050565b60006138a18261398e565b91506138ac8361398e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156138e5576138e4613ab7565b5b828202905092915050565b60006138fb8261398e565b91506139068361398e565b92508282101561391957613918613ab7565b5b828203905092915050565b600061392f8261396e565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156139c55780820151818401526020810190506139aa565b838111156139d4576000848401525b50505050565b600060028204905060018216806139f257607f821691505b60208210811415613a0657613a05613b15565b5b50919050565b613a1582613bb6565b810181811067ffffffffffffffff82111715613a3457613a33613b73565b5b80604052505050565b6000613a488261398e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a7b57613a7a613ab7565b5b600182019050919050565b6000613a918261398e565b9150613a9c8361398e565b925082613aac57613aab613ae6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4661696c656420746f2073656e6420746f206c6561642e000000000000000000600082015250565b7f4f766572204d617850657257616c6c6574000000000000000000000000000000600082015250565b7f4e6f7420456e6f75676820457468657200000000000000000000000000000000600082015250565b7f536f6c644f757400000000000000000000000000000000000000000000000000600082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f436f6e7472616374206973205061757365640000000000000000000000000000600082015250565b50565b7f4f766572205478204c696d697400000000000000000000000000000000000000600082015250565b613dbc81613924565b8114613dc757600080fd5b50565b613dd381613936565b8114613dde57600080fd5b50565b613dea81613942565b8114613df557600080fd5b50565b613e018161398e565b8114613e0c57600080fd5b5056fea264697066735822122045cbf939ef0cfcc1531b4b285457d6b8c7ea387db762158d1ee3127b68845d1864736f6c63430008070033

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

0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000d3200cf199dee8315ed8712b222b7f2ba3967b6b000000000000000000000000d3200cf199dee8315ed8712b222b7f2ba3967b6b0000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656968626e783762706f69616f6878366874323461356b756d646a70736c6f6470323437333363747a336777327737676d72646768652f0000000000000000000000000000000000000000000000000000000000

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

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 000000000000000000000000d3200cf199dee8315ed8712b222b7f2ba3967b6b
Arg [2] : 000000000000000000000000d3200cf199dee8315ed8712b222b7f2ba3967b6b
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [4] : 697066733a2f2f6261667962656968626e783762706f69616f68783668743234
Arg [5] : 61356b756d646a70736c6f6470323437333363747a336777327737676d726467
Arg [6] : 68652f0000000000000000000000000000000000000000000000000000000000


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.