ETH Price: $3,155.64 (+1.16%)
Gas: 2 Gwei

Token

RuggedMugs (MUG)
 

Overview

Max Total Supply

888 MUG

Holders

194

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
62 MUG
0xe536eca92b17c3886eb8aee0df348efe9f040de7
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:
RuggedMugs

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 2 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

        _balances[to] += 1;
        _owners[tokenId] = to;

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

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

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

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

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 3 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT

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 4 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 5 of 14 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

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

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

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

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

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 6 of 14 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

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

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

File 7 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 8 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 9 of 14 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 14 : Context.sol
// SPDX-License-Identifier: MIT

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 11 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

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 12 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

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 13 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT

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 14 of 14 : RuggedMugs_.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Address.sol";

contract RuggedMugs is ERC721URIStorage, ERC721Enumerable, Ownable {
    
    // Token/Mint data
    uint256 private constant MAX_NUM_SHARES = 10000;
    uint256 public constant MAX_MINTS_PER_TXN = 25;
    uint256 public m_maxTokenSupply;
    uint256 public m_mintPrice;
    bool public m_saleIsActive;
    string public m_baseURI;
    string public m_provenanceHash;
    
    // Shareholder data
    address[7] private m_shareholders;
    uint[7] private m_shares;

    event PaymentReleased(address to, uint256 amount);

    constructor(string memory name, string memory symbol, uint256 maxMugSupply) ERC721(name, symbol) {
        m_maxTokenSupply = maxMugSupply;
        m_mintPrice = 30000000 gwei; // 0.03 ETH
        m_saleIsActive = false;
        m_provenanceHash = "";
        m_baseURI = "";

        m_shareholders[0] = 0x078dC8FF71Ebf938ffe746De7e2c926f64b14F1E; // Cryptic Coffee
        m_shareholders[1] = 0x16272E839A5C29A3Fa90E670Cb599d233b6943aC; // Leo Sal
        m_shareholders[2] = 0x78C46A46AF5F751bA96ba3ae1EFfcF08A04E3af3; // Iron Mike
        m_shareholders[3] = 0x88eae1D977d1B909165c904A23891878CB02F1F3; // Mocha Maniac
        m_shareholders[4] = 0x1e8A65A4d38aC5aA5739fB45A09A06a967Dc4A8d; // Charity
        m_shareholders[5] = 0x7B34Eb433D08C1100F1e5F81AEeD64e47583880E; // Community
        m_shareholders[6] = 0xD6061818731934Feb49BFE954Cf970017806340F; // Roadmap
        
        m_shares[0] = 2041;
        m_shares[1] = 2041;
        m_shares[2] = 2041;
        m_shares[3] = 474;
        m_shares[4] = 2632;
        m_shares[5] = 386;
        m_shares[6] = 385;
    }

    /// Functions for minting

    function chugMugs(uint256 numberOfTokens) public payable {
        require(m_saleIsActive, "Sale must be active to chug Rugged Mugs");
        require(numberOfTokens <= MAX_MINTS_PER_TXN, "You can only mint 25 mugs at a time");
        require(numberOfTokens + totalSupply() <= m_maxTokenSupply, "Purchase would exceed max available mugs");
        require(numberOfTokens * m_mintPrice <= msg.value, "Ether value sent is not enough");

        for(uint256 i = 0; i < numberOfTokens; i++) {
            uint256 nextTokenId = totalSupply() + 1;
            if (nextTokenId <= m_maxTokenSupply) {
                _safeMint(msg.sender, nextTokenId);
            }
        }
    }

    function reserveMint(uint256 numberOfTokens) public onlyOwner {        
        reserveMint(numberOfTokens, msg.sender);
    }

    function reserveMint(uint256 numberOfTokens, address mintAddress) public onlyOwner {        
        require(numberOfTokens + totalSupply() <= m_maxTokenSupply, "Purchase would exceed max available mugs");
        
        for(uint256 i = 0; i < numberOfTokens; i++) {
            uint256 nextTokenId = totalSupply() + 1;
            if (nextTokenId <= m_maxTokenSupply) {
                _safeMint(mintAddress, nextTokenId);
            }
        }
    }

    /// Functions for managing token metadata

    function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) {
        return super.tokenURI(tokenId);
    }

    function setTokenURI(uint256 tokenId, string memory ipfsHash) public onlyOwner {
        _setTokenURI(tokenId, ipfsHash);
    }

    function setBaseURI(string memory newBaseURI) public onlyOwner {
        m_baseURI = newBaseURI;
    }

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

    function setProvenanceHash(string memory provenanceHash) public onlyOwner {
        m_provenanceHash = provenanceHash;
    }

    /// Functions to change mint state - ONLY OWNER

    function setMaxTokenSupply(uint256 maxMugSupply) public onlyOwner {
        m_maxTokenSupply = maxMugSupply;
    }

    function setMintPrice(uint256 newPrice) public onlyOwner {
        m_mintPrice = newPrice;
    }

    function flipSaleState() public onlyOwner {
         m_saleIsActive = !m_saleIsActive;
    }
    
    /// Functions for ether withdrawal - ONLY OWNER

    function forceWithdraw(uint256 amount, address payable to) public onlyOwner {
        Address.sendValue(to, amount);
        emit PaymentReleased(to, amount);
    }

    function withdraw(uint256 amount) public onlyOwner {
        require(address(this).balance >= amount, "Insufficient balance");
        
        for (uint256 i = 0; i < m_shareholders.length; i++) {
            uint256 payment = amount * m_shares[i] / MAX_NUM_SHARES;
            Address.sendValue(payable(m_shareholders[i]), payment);
            emit PaymentReleased(m_shareholders[i], payment);
        }
    }

    /// Overrides

    function _burn(uint256 tokenId) internal virtual override(ERC721, ERC721URIStorage) {
        super._burn(tokenId);
    }
    
    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) {
        return super.supportsInterface(interfaceId);
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"maxMugSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINTS_PER_TXN","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":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"chugMugs","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"}],"name":"forceWithdraw","outputs":[],"stateMutability":"nonpayable","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":"m_baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"m_maxTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"m_mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"m_provenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"m_saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"address","name":"mintAddress","type":"address"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxMugSupply","type":"uint256"}],"name":"setMaxTokenSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"ipfsHash","type":"string"}],"name":"setTokenURI","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620056db380380620056db8339818101604052810190620000379190620006fd565b8282816000908051906020019062000051929190620005b8565b5080600190805190602001906200006a929190620005b8565b5050506200008d62000081620004ea60201b60201c565b620004f260201b60201c565b80600c81905550666a94d74f430000600d819055506000600e60006101000a81548160ff0219169083151502179055506040518060200160405280600081525060109080519060200190620000e4929190620005b8565b5060405180602001604052806000815250600f90805190602001906200010c929190620005b8565b5073078dc8ff71ebf938ffe746de7e2c926f64b14f1e60116000600781106200013a5762000139620008d1565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507316272e839a5c29a3fa90e670cb599d233b6943ac6011600160078110620001a657620001a5620008d1565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507378c46a46af5f751ba96ba3ae1effcf08a04e3af36011600260078110620002125762000211620008d1565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507388eae1d977d1b909165c904a23891878cb02f1f360116003600781106200027e576200027d620008d1565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550731e8a65a4d38ac5aa5739fb45a09a06a967dc4a8d6011600460078110620002ea57620002e9620008d1565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550737b34eb433d08c1100f1e5f81aeed64e47583880e6011600560078110620003565762000355620008d1565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073d6061818731934feb49bfe954cf970017806340f6011600660078110620003c257620003c1620008d1565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506107f960186000600781106200041c576200041b620008d1565b5b01819055506107f960186001600781106200043c576200043b620008d1565b5b01819055506107f960186002600781106200045c576200045b620008d1565b5b01819055506101da60186003600781106200047c576200047b620008d1565b5b0181905550610a4860186004600781106200049c576200049b620008d1565b5b01819055506101826018600560078110620004bc57620004bb620008d1565b5b01819055506101816018600660078110620004dc57620004db620008d1565b5b01819055505050506200096e565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620005c69062000836565b90600052602060002090601f016020900481019282620005ea576000855562000636565b82601f106200060557805160ff191683800117855562000636565b8280016001018555821562000636579182015b828111156200063557825182559160200191906001019062000618565b5b50905062000645919062000649565b5090565b5b80821115620006645760008160009055506001016200064a565b5090565b60006200067f6200067984620007c0565b62000797565b9050828152602081018484840111156200069e576200069d62000934565b5b620006ab84828562000800565b509392505050565b600082601f830112620006cb57620006ca6200092f565b5b8151620006dd84826020860162000668565b91505092915050565b600081519050620006f78162000954565b92915050565b6000806000606084860312156200071957620007186200093e565b5b600084015167ffffffffffffffff8111156200073a576200073962000939565b5b6200074886828701620006b3565b935050602084015167ffffffffffffffff8111156200076c576200076b62000939565b5b6200077a86828701620006b3565b92505060406200078d86828701620006e6565b9150509250925092565b6000620007a3620007b6565b9050620007b182826200086c565b919050565b6000604051905090565b600067ffffffffffffffff821115620007de57620007dd62000900565b5b620007e98262000943565b9050602081019050919050565b6000819050919050565b60005b838110156200082057808201518184015260208101905062000803565b8381111562000830576000848401525b50505050565b600060028204905060018216806200084f57607f821691505b60208210811415620008665762000865620008a2565b5b50919050565b620008778262000943565b810181811067ffffffffffffffff8211171562000899576200089862000900565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200095f81620007f6565b81146200096b57600080fd5b50565b614d5d806200097e6000396000f3fe60806040526004361061020f5760003560e01c806355f804b311610118578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd14610764578063dfe93fa3146107a1578063e985e9c5146107cc578063f2fde38b14610809578063f4a0a528146108325761020f565b8063a22cb465146106be578063a4c3bf02146106e7578063b07ed98214610712578063b88d4fde1461073b5761020f565b806370a08231116100e757806370a08231146105e9578063715018a6146106265780638da5cb5b1461063d57806395d89b41146106685780639b35aef6146106935761020f565b806355f804b31461052f57806360b02f7014610558578063626aea98146105815780636352211e146105ac5761020f565b806323b872dd1161019b578063359bccf41161016a578063359bccf4146104595780633e0465611461048457806342842e0e146104a05780634ef020b2146104c95780634f6ccce7146104f25761020f565b806323b872dd146103b35780632e1a7d4d146103dc5780632f745c591461040557806334918dfd146104425761020f565b806310969523116101e257806310969523146102e25780631342ff4c1461030b578063162094c414610334578063173733ec1461035d57806318160ddd146103885761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190613559565b61085b565b6040516102489190613caa565b60405180910390f35b34801561025d57600080fd5b5061026661086d565b6040516102739190613cc5565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e91906135fc565b6108ff565b6040516102b09190613bf1565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190613519565b610984565b005b3480156102ee57600080fd5b50610309600480360381019061030491906135b3565b610a9c565b005b34801561031757600080fd5b50610332600480360381019061032d91906135fc565b610b32565b005b34801561034057600080fd5b5061035b600480360381019061035691906136a9565b610bbb565b005b34801561036957600080fd5b50610372610c45565b60405161037f9190613caa565b60405180910390f35b34801561039457600080fd5b5061039d610c58565b6040516103aa9190614047565b60405180910390f35b3480156103bf57600080fd5b506103da60048036038101906103d59190613403565b610c65565b005b3480156103e857600080fd5b5061040360048036038101906103fe91906135fc565b610cc5565b005b34801561041157600080fd5b5061042c60048036038101906104279190613519565b610e87565b6040516104399190614047565b60405180910390f35b34801561044e57600080fd5b50610457610f2c565b005b34801561046557600080fd5b5061046e610fd4565b60405161047b9190613cc5565b60405180910390f35b61049e600480360381019061049991906135fc565b611062565b005b3480156104ac57600080fd5b506104c760048036038101906104c29190613403565b6111eb565b005b3480156104d557600080fd5b506104f060048036038101906104eb9190613669565b61120b565b005b3480156104fe57600080fd5b50610519600480360381019061051491906135fc565b6112ce565b6040516105269190614047565b60405180910390f35b34801561053b57600080fd5b50610556600480360381019061055191906135b3565b61133f565b005b34801561056457600080fd5b5061057f600480360381019061057a9190613629565b6113d5565b005b34801561058d57600080fd5b506105966114f8565b6040516105a39190614047565b60405180910390f35b3480156105b857600080fd5b506105d360048036038101906105ce91906135fc565b6114fe565b6040516105e09190613bf1565b60405180910390f35b3480156105f557600080fd5b50610610600480360381019061060b9190613396565b6115b0565b60405161061d9190614047565b60405180910390f35b34801561063257600080fd5b5061063b611668565b005b34801561064957600080fd5b506106526116f0565b60405161065f9190613bf1565b60405180910390f35b34801561067457600080fd5b5061067d61171a565b60405161068a9190613cc5565b60405180910390f35b34801561069f57600080fd5b506106a86117ac565b6040516106b59190613cc5565b60405180910390f35b3480156106ca57600080fd5b506106e560048036038101906106e091906134d9565b61183a565b005b3480156106f357600080fd5b506106fc6119bb565b6040516107099190614047565b60405180910390f35b34801561071e57600080fd5b50610739600480360381019061073491906135fc565b6119c1565b005b34801561074757600080fd5b50610762600480360381019061075d9190613456565b611a47565b005b34801561077057600080fd5b5061078b600480360381019061078691906135fc565b611aa9565b6040516107989190613cc5565b60405180910390f35b3480156107ad57600080fd5b506107b6611abb565b6040516107c39190614047565b60405180910390f35b3480156107d857600080fd5b506107f360048036038101906107ee91906133c3565b611ac0565b6040516108009190613caa565b60405180910390f35b34801561081557600080fd5b50610830600480360381019061082b9190613396565b611b54565b005b34801561083e57600080fd5b50610859600480360381019061085491906135fc565b611c4c565b005b600061086682611cd2565b9050919050565b60606000805461087c9061434a565b80601f01602080910402602001604051908101604052809291908181526020018280546108a89061434a565b80156108f55780601f106108ca576101008083540402835291602001916108f5565b820191906000526020600020905b8154815290600101906020018083116108d857829003601f168201915b5050505050905090565b600061090a82611d4c565b610949576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094090613f27565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061098f826114fe565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f790613fa7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a1f611db8565b73ffffffffffffffffffffffffffffffffffffffff161480610a4e5750610a4d81610a48611db8565b611ac0565b5b610a8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8490613e67565b60405180910390fd5b610a978383611dc0565b505050565b610aa4611db8565b73ffffffffffffffffffffffffffffffffffffffff16610ac26116f0565b73ffffffffffffffffffffffffffffffffffffffff1614610b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0f90613f47565b60405180910390fd5b8060109080519060200190610b2e929190613195565b5050565b610b3a611db8565b73ffffffffffffffffffffffffffffffffffffffff16610b586116f0565b73ffffffffffffffffffffffffffffffffffffffff1614610bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba590613f47565b60405180910390fd5b610bb881336113d5565b50565b610bc3611db8565b73ffffffffffffffffffffffffffffffffffffffff16610be16116f0565b73ffffffffffffffffffffffffffffffffffffffff1614610c37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2e90613f47565b60405180910390fd5b610c418282611e79565b5050565b600e60009054906101000a900460ff1681565b6000600980549050905090565b610c76610c70611db8565b82611eed565b610cb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cac90613fc7565b60405180910390fd5b610cc0838383611fcb565b505050565b610ccd611db8565b73ffffffffffffffffffffffffffffffffffffffff16610ceb6116f0565b73ffffffffffffffffffffffffffffffffffffffff1614610d41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3890613f47565b60405180910390fd5b80471015610d84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7b90613dc7565b60405180910390fd5b60005b6007811015610e8357600061271060188360078110610da957610da86144e3565b5b015484610db691906141be565b610dc0919061418d565b9050610e0160118360078110610dd957610dd86144e3565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612227565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05660118360078110610e3657610e356144e3565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682604051610e67929190613c81565b60405180910390a1508080610e7b906143ad565b915050610d87565b5050565b6000610e92836115b0565b8210610ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eca90613ce7565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f34611db8565b73ffffffffffffffffffffffffffffffffffffffff16610f526116f0565b73ffffffffffffffffffffffffffffffffffffffff1614610fa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9f90613f47565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b600f8054610fe19061434a565b80601f016020809104026020016040519081016040528092919081815260200182805461100d9061434a565b801561105a5780601f1061102f5761010080835404028352916020019161105a565b820191906000526020600020905b81548152906001019060200180831161103d57829003601f168201915b505050505081565b600e60009054906101000a900460ff166110b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a890613e47565b60405180910390fd5b60198111156110f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ec90613d67565b60405180910390fd5b600c54611100610c58565b8261110b9190614137565b111561114c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114390614027565b60405180910390fd5b34600d548261115b91906141be565b111561119c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119390614007565b60405180910390fd5b60005b818110156111e757600060016111b3610c58565b6111bd9190614137565b9050600c5481116111d3576111d2338261231b565b5b5080806111df906143ad565b91505061119f565b5050565b61120683838360405180602001604052806000815250611a47565b505050565b611213611db8565b73ffffffffffffffffffffffffffffffffffffffff166112316116f0565b73ffffffffffffffffffffffffffffffffffffffff1614611287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127e90613f47565b60405180910390fd5b6112918183612227565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05681836040516112c2929190613c0c565b60405180910390a15050565b60006112d8610c58565b8210611319576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131090613fe7565b60405180910390fd5b6009828154811061132d5761132c6144e3565b5b90600052602060002001549050919050565b611347611db8565b73ffffffffffffffffffffffffffffffffffffffff166113656116f0565b73ffffffffffffffffffffffffffffffffffffffff16146113bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b290613f47565b60405180910390fd5b80600f90805190602001906113d1929190613195565b5050565b6113dd611db8565b73ffffffffffffffffffffffffffffffffffffffff166113fb6116f0565b73ffffffffffffffffffffffffffffffffffffffff1614611451576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144890613f47565b60405180910390fd5b600c5461145c610c58565b836114679190614137565b11156114a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149f90614027565b60405180910390fd5b60005b828110156114f357600060016114bf610c58565b6114c99190614137565b9050600c5481116114df576114de838261231b565b5b5080806114eb906143ad565b9150506114ab565b505050565b600d5481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159e90613ea7565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611621576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161890613e87565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611670611db8565b73ffffffffffffffffffffffffffffffffffffffff1661168e6116f0565b73ffffffffffffffffffffffffffffffffffffffff16146116e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116db90613f47565b60405180910390fd5b6116ee6000612339565b565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546117299061434a565b80601f01602080910402602001604051908101604052809291908181526020018280546117559061434a565b80156117a25780601f10611777576101008083540402835291602001916117a2565b820191906000526020600020905b81548152906001019060200180831161178557829003601f168201915b5050505050905090565b601080546117b99061434a565b80601f01602080910402602001604051908101604052809291908181526020018280546117e59061434a565b80156118325780601f1061180757610100808354040283529160200191611832565b820191906000526020600020905b81548152906001019060200180831161181557829003601f168201915b505050505081565b611842611db8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a790613da7565b60405180910390fd5b80600560006118bd611db8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661196a611db8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119af9190613caa565b60405180910390a35050565b600c5481565b6119c9611db8565b73ffffffffffffffffffffffffffffffffffffffff166119e76116f0565b73ffffffffffffffffffffffffffffffffffffffff1614611a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3490613f47565b60405180910390fd5b80600c8190555050565b611a58611a52611db8565b83611eed565b611a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8e90613fc7565b60405180910390fd5b611aa3848484846123ff565b50505050565b6060611ab48261245b565b9050919050565b601981565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b5c611db8565b73ffffffffffffffffffffffffffffffffffffffff16611b7a6116f0565b73ffffffffffffffffffffffffffffffffffffffff1614611bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc790613f47565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3790613d27565b60405180910390fd5b611c4981612339565b50565b611c54611db8565b73ffffffffffffffffffffffffffffffffffffffff16611c726116f0565b73ffffffffffffffffffffffffffffffffffffffff1614611cc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbf90613f47565b60405180910390fd5b80600d8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d455750611d44826125ad565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e33836114fe565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611e8282611d4c565b611ec1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb890613ec7565b60405180910390fd5b80600660008481526020019081526020016000209080519060200190611ee8929190613195565b505050565b6000611ef882611d4c565b611f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2e90613e27565b60405180910390fd5b6000611f42836114fe565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611fb157508373ffffffffffffffffffffffffffffffffffffffff16611f99846108ff565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fc25750611fc18185611ac0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611feb826114fe565b73ffffffffffffffffffffffffffffffffffffffff1614612041576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203890613f67565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a890613d87565b60405180910390fd5b6120bc83838361268f565b6120c7600082611dc0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121179190614218565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461216e9190614137565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b8047101561226a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226190613e07565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161229090613bdc565b60006040518083038185875af1925050503d80600081146122cd576040519150601f19603f3d011682016040523d82523d6000602084013e6122d2565b606091505b5050905080612316576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230d90613de7565b60405180910390fd5b505050565b61233582826040518060200160405280600081525061269f565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61240a848484611fcb565b612416848484846126fa565b612455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244c90613d07565b60405180910390fd5b50505050565b606061246682611d4c565b6124a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249c90613f07565b60405180910390fd5b60006006600084815260200190815260200160002080546124c59061434a565b80601f01602080910402602001604051908101604052809291908181526020018280546124f19061434a565b801561253e5780601f106125135761010080835404028352916020019161253e565b820191906000526020600020905b81548152906001019060200180831161252157829003601f168201915b50505050509050600061254f612891565b90506000815114156125655781925050506125a8565b60008251111561259a578082604051602001612582929190613bb8565b604051602081830303815290604052925050506125a8565b6125a384612923565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061267857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806126885750612687826129ca565b5b9050919050565b61269a838383612a34565b505050565b6126a98383612b48565b6126b660008484846126fa565b6126f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ec90613d07565b60405180910390fd5b505050565b600061271b8473ffffffffffffffffffffffffffffffffffffffff16612d16565b15612884578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612744611db8565b8786866040518563ffffffff1660e01b81526004016127669493929190613c35565b602060405180830381600087803b15801561278057600080fd5b505af19250505080156127b157506040513d601f19601f820116820180604052508101906127ae9190613586565b60015b612834573d80600081146127e1576040519150601f19603f3d011682016040523d82523d6000602084013e6127e6565b606091505b5060008151141561282c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282390613d07565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612889565b600190505b949350505050565b6060600f80546128a09061434a565b80601f01602080910402602001604051908101604052809291908181526020018280546128cc9061434a565b80156129195780601f106128ee57610100808354040283529160200191612919565b820191906000526020600020905b8154815290600101906020018083116128fc57829003601f168201915b5050505050905090565b606061292e82611d4c565b61296d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296490613f87565b60405180910390fd5b6000612977612891565b9050600081511161299757604051806020016040528060008152506129c2565b806129a184612d29565b6040516020016129b2929190613bb8565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612a3f838383612e8a565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a8257612a7d81612e8f565b612ac1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612ac057612abf8382612ed8565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b0457612aff81613045565b612b43565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612b4257612b418282613116565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612baf90613ee7565b60405180910390fd5b612bc181611d4c565b15612c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf890613d47565b60405180910390fd5b612c0d6000838361268f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c5d9190614137565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60606000821415612d71576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e85565b600082905060005b60008214612da3578080612d8c906143ad565b915050600a82612d9c919061418d565b9150612d79565b60008167ffffffffffffffff811115612dbf57612dbe614512565b5b6040519080825280601f01601f191660200182016040528015612df15781602001600182028036833780820191505090505b5090505b60008514612e7e57600182612e0a9190614218565b9150600a85612e1991906143f6565b6030612e259190614137565b60f81b818381518110612e3b57612e3a6144e3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e77919061418d565b9450612df5565b8093505050505b919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612ee5846115b0565b612eef9190614218565b9050600060086000848152602001908152602001600020549050818114612fd4576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506130599190614218565b90506000600a6000848152602001908152602001600020549050600060098381548110613089576130886144e3565b5b9060005260206000200154905080600983815481106130ab576130aa6144e3565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a60008581526020019081526020016000206000905560098054806130fa576130f96144b4565b5b6001900381819060005260206000200160009055905550505050565b6000613121836115b0565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b8280546131a19061434a565b90600052602060002090601f0160209004810192826131c3576000855561320a565b82601f106131dc57805160ff191683800117855561320a565b8280016001018555821561320a579182015b828111156132095782518255916020019190600101906131ee565b5b509050613217919061321b565b5090565b5b8082111561323457600081600090555060010161321c565b5090565b600061324b61324684614087565b614062565b90508281526020810184848401111561326757613266614546565b5b613272848285614308565b509392505050565b600061328d613288846140b8565b614062565b9050828152602081018484840111156132a9576132a8614546565b5b6132b4848285614308565b509392505050565b6000813590506132cb81614cb4565b92915050565b6000813590506132e081614ccb565b92915050565b6000813590506132f581614ce2565b92915050565b60008135905061330a81614cf9565b92915050565b60008151905061331f81614cf9565b92915050565b600082601f83011261333a57613339614541565b5b813561334a848260208601613238565b91505092915050565b600082601f83011261336857613367614541565b5b813561337884826020860161327a565b91505092915050565b60008135905061339081614d10565b92915050565b6000602082840312156133ac576133ab614550565b5b60006133ba848285016132bc565b91505092915050565b600080604083850312156133da576133d9614550565b5b60006133e8858286016132bc565b92505060206133f9858286016132bc565b9150509250929050565b60008060006060848603121561341c5761341b614550565b5b600061342a868287016132bc565b935050602061343b868287016132bc565b925050604061344c86828701613381565b9150509250925092565b600080600080608085870312156134705761346f614550565b5b600061347e878288016132bc565b945050602061348f878288016132bc565b93505060406134a087828801613381565b925050606085013567ffffffffffffffff8111156134c1576134c061454b565b5b6134cd87828801613325565b91505092959194509250565b600080604083850312156134f0576134ef614550565b5b60006134fe858286016132bc565b925050602061350f858286016132e6565b9150509250929050565b600080604083850312156135305761352f614550565b5b600061353e858286016132bc565b925050602061354f85828601613381565b9150509250929050565b60006020828403121561356f5761356e614550565b5b600061357d848285016132fb565b91505092915050565b60006020828403121561359c5761359b614550565b5b60006135aa84828501613310565b91505092915050565b6000602082840312156135c9576135c8614550565b5b600082013567ffffffffffffffff8111156135e7576135e661454b565b5b6135f384828501613353565b91505092915050565b60006020828403121561361257613611614550565b5b600061362084828501613381565b91505092915050565b600080604083850312156136405761363f614550565b5b600061364e85828601613381565b925050602061365f858286016132bc565b9150509250929050565b600080604083850312156136805761367f614550565b5b600061368e85828601613381565b925050602061369f858286016132d1565b9150509250929050565b600080604083850312156136c0576136bf614550565b5b60006136ce85828601613381565b925050602083013567ffffffffffffffff8111156136ef576136ee61454b565b5b6136fb85828601613353565b9150509250929050565b61370e816142d2565b82525050565b61371d8161424c565b82525050565b61372c81614270565b82525050565b600061373d826140e9565b61374781856140ff565b9350613757818560208601614317565b61376081614555565b840191505092915050565b6000613776826140f4565b613780818561411b565b9350613790818560208601614317565b61379981614555565b840191505092915050565b60006137af826140f4565b6137b9818561412c565b93506137c9818560208601614317565b80840191505092915050565b60006137e2602b8361411b565b91506137ed82614566565b604082019050919050565b600061380560328361411b565b9150613810826145b5565b604082019050919050565b600061382860268361411b565b915061383382614604565b604082019050919050565b600061384b601c8361411b565b915061385682614653565b602082019050919050565b600061386e60238361411b565b91506138798261467c565b604082019050919050565b600061389160248361411b565b915061389c826146cb565b604082019050919050565b60006138b460198361411b565b91506138bf8261471a565b602082019050919050565b60006138d760148361411b565b91506138e282614743565b602082019050919050565b60006138fa603a8361411b565b91506139058261476c565b604082019050919050565b600061391d601d8361411b565b9150613928826147bb565b602082019050919050565b6000613940602c8361411b565b915061394b826147e4565b604082019050919050565b600061396360278361411b565b915061396e82614833565b604082019050919050565b600061398660388361411b565b915061399182614882565b604082019050919050565b60006139a9602a8361411b565b91506139b4826148d1565b604082019050919050565b60006139cc60298361411b565b91506139d782614920565b604082019050919050565b60006139ef602e8361411b565b91506139fa8261496f565b604082019050919050565b6000613a1260208361411b565b9150613a1d826149be565b602082019050919050565b6000613a3560318361411b565b9150613a40826149e7565b604082019050919050565b6000613a58602c8361411b565b9150613a6382614a36565b604082019050919050565b6000613a7b60208361411b565b9150613a8682614a85565b602082019050919050565b6000613a9e60298361411b565b9150613aa982614aae565b604082019050919050565b6000613ac1602f8361411b565b9150613acc82614afd565b604082019050919050565b6000613ae460218361411b565b9150613aef82614b4c565b604082019050919050565b6000613b07600083614110565b9150613b1282614b9b565b600082019050919050565b6000613b2a60318361411b565b9150613b3582614b9e565b604082019050919050565b6000613b4d602c8361411b565b9150613b5882614bed565b604082019050919050565b6000613b70601e8361411b565b9150613b7b82614c3c565b602082019050919050565b6000613b9360288361411b565b9150613b9e82614c65565b604082019050919050565b613bb2816142c8565b82525050565b6000613bc482856137a4565b9150613bd082846137a4565b91508190509392505050565b6000613be782613afa565b9150819050919050565b6000602082019050613c066000830184613714565b92915050565b6000604082019050613c216000830185613705565b613c2e6020830184613ba9565b9392505050565b6000608082019050613c4a6000830187613714565b613c576020830186613714565b613c646040830185613ba9565b8181036060830152613c768184613732565b905095945050505050565b6000604082019050613c966000830185613714565b613ca36020830184613ba9565b9392505050565b6000602082019050613cbf6000830184613723565b92915050565b60006020820190508181036000830152613cdf818461376b565b905092915050565b60006020820190508181036000830152613d00816137d5565b9050919050565b60006020820190508181036000830152613d20816137f8565b9050919050565b60006020820190508181036000830152613d408161381b565b9050919050565b60006020820190508181036000830152613d608161383e565b9050919050565b60006020820190508181036000830152613d8081613861565b9050919050565b60006020820190508181036000830152613da081613884565b9050919050565b60006020820190508181036000830152613dc0816138a7565b9050919050565b60006020820190508181036000830152613de0816138ca565b9050919050565b60006020820190508181036000830152613e00816138ed565b9050919050565b60006020820190508181036000830152613e2081613910565b9050919050565b60006020820190508181036000830152613e4081613933565b9050919050565b60006020820190508181036000830152613e6081613956565b9050919050565b60006020820190508181036000830152613e8081613979565b9050919050565b60006020820190508181036000830152613ea08161399c565b9050919050565b60006020820190508181036000830152613ec0816139bf565b9050919050565b60006020820190508181036000830152613ee0816139e2565b9050919050565b60006020820190508181036000830152613f0081613a05565b9050919050565b60006020820190508181036000830152613f2081613a28565b9050919050565b60006020820190508181036000830152613f4081613a4b565b9050919050565b60006020820190508181036000830152613f6081613a6e565b9050919050565b60006020820190508181036000830152613f8081613a91565b9050919050565b60006020820190508181036000830152613fa081613ab4565b9050919050565b60006020820190508181036000830152613fc081613ad7565b9050919050565b60006020820190508181036000830152613fe081613b1d565b9050919050565b6000602082019050818103600083015261400081613b40565b9050919050565b6000602082019050818103600083015261402081613b63565b9050919050565b6000602082019050818103600083015261404081613b86565b9050919050565b600060208201905061405c6000830184613ba9565b92915050565b600061406c61407d565b9050614078828261437c565b919050565b6000604051905090565b600067ffffffffffffffff8211156140a2576140a1614512565b5b6140ab82614555565b9050602081019050919050565b600067ffffffffffffffff8211156140d3576140d2614512565b5b6140dc82614555565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614142826142c8565b915061414d836142c8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561418257614181614427565b5b828201905092915050565b6000614198826142c8565b91506141a3836142c8565b9250826141b3576141b2614456565b5b828204905092915050565b60006141c9826142c8565b91506141d4836142c8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561420d5761420c614427565b5b828202905092915050565b6000614223826142c8565b915061422e836142c8565b92508282101561424157614240614427565b5b828203905092915050565b6000614257826142a8565b9050919050565b6000614269826142a8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006142dd826142e4565b9050919050565b60006142ef826142f6565b9050919050565b6000614301826142a8565b9050919050565b82818337600083830152505050565b60005b8381101561433557808201518184015260208101905061431a565b83811115614344576000848401525b50505050565b6000600282049050600182168061436257607f821691505b6020821081141561437657614375614485565b5b50919050565b61438582614555565b810181811067ffffffffffffffff821117156143a4576143a3614512565b5b80604052505050565b60006143b8826142c8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156143eb576143ea614427565b5b600182019050919050565b6000614401826142c8565b915061440c836142c8565b92508261441c5761441b614456565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f596f752063616e206f6e6c79206d696e74203235206d7567732061742061207460008201527f696d650000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f53616c65206d7573742062652061637469766520746f2063687567205275676760008201527f6564204d75677300000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420656e6f7567680000600082015250565b7f507572636861736520776f756c6420657863656564206d617820617661696c6160008201527f626c65206d756773000000000000000000000000000000000000000000000000602082015250565b614cbd8161424c565b8114614cc857600080fd5b50565b614cd48161425e565b8114614cdf57600080fd5b50565b614ceb81614270565b8114614cf657600080fd5b50565b614d028161427c565b8114614d0d57600080fd5b50565b614d19816142c8565b8114614d2457600080fd5b5056fea2646970667358221220310003a018e282207f00dc3cbe1135a20eb6cafb3b3771cbe01bbebb191b069e64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000000a5275676765644d7567730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d55470000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061020f5760003560e01c806355f804b311610118578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd14610764578063dfe93fa3146107a1578063e985e9c5146107cc578063f2fde38b14610809578063f4a0a528146108325761020f565b8063a22cb465146106be578063a4c3bf02146106e7578063b07ed98214610712578063b88d4fde1461073b5761020f565b806370a08231116100e757806370a08231146105e9578063715018a6146106265780638da5cb5b1461063d57806395d89b41146106685780639b35aef6146106935761020f565b806355f804b31461052f57806360b02f7014610558578063626aea98146105815780636352211e146105ac5761020f565b806323b872dd1161019b578063359bccf41161016a578063359bccf4146104595780633e0465611461048457806342842e0e146104a05780634ef020b2146104c95780634f6ccce7146104f25761020f565b806323b872dd146103b35780632e1a7d4d146103dc5780632f745c591461040557806334918dfd146104425761020f565b806310969523116101e257806310969523146102e25780631342ff4c1461030b578063162094c414610334578063173733ec1461035d57806318160ddd146103885761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190613559565b61085b565b6040516102489190613caa565b60405180910390f35b34801561025d57600080fd5b5061026661086d565b6040516102739190613cc5565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e91906135fc565b6108ff565b6040516102b09190613bf1565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190613519565b610984565b005b3480156102ee57600080fd5b50610309600480360381019061030491906135b3565b610a9c565b005b34801561031757600080fd5b50610332600480360381019061032d91906135fc565b610b32565b005b34801561034057600080fd5b5061035b600480360381019061035691906136a9565b610bbb565b005b34801561036957600080fd5b50610372610c45565b60405161037f9190613caa565b60405180910390f35b34801561039457600080fd5b5061039d610c58565b6040516103aa9190614047565b60405180910390f35b3480156103bf57600080fd5b506103da60048036038101906103d59190613403565b610c65565b005b3480156103e857600080fd5b5061040360048036038101906103fe91906135fc565b610cc5565b005b34801561041157600080fd5b5061042c60048036038101906104279190613519565b610e87565b6040516104399190614047565b60405180910390f35b34801561044e57600080fd5b50610457610f2c565b005b34801561046557600080fd5b5061046e610fd4565b60405161047b9190613cc5565b60405180910390f35b61049e600480360381019061049991906135fc565b611062565b005b3480156104ac57600080fd5b506104c760048036038101906104c29190613403565b6111eb565b005b3480156104d557600080fd5b506104f060048036038101906104eb9190613669565b61120b565b005b3480156104fe57600080fd5b50610519600480360381019061051491906135fc565b6112ce565b6040516105269190614047565b60405180910390f35b34801561053b57600080fd5b50610556600480360381019061055191906135b3565b61133f565b005b34801561056457600080fd5b5061057f600480360381019061057a9190613629565b6113d5565b005b34801561058d57600080fd5b506105966114f8565b6040516105a39190614047565b60405180910390f35b3480156105b857600080fd5b506105d360048036038101906105ce91906135fc565b6114fe565b6040516105e09190613bf1565b60405180910390f35b3480156105f557600080fd5b50610610600480360381019061060b9190613396565b6115b0565b60405161061d9190614047565b60405180910390f35b34801561063257600080fd5b5061063b611668565b005b34801561064957600080fd5b506106526116f0565b60405161065f9190613bf1565b60405180910390f35b34801561067457600080fd5b5061067d61171a565b60405161068a9190613cc5565b60405180910390f35b34801561069f57600080fd5b506106a86117ac565b6040516106b59190613cc5565b60405180910390f35b3480156106ca57600080fd5b506106e560048036038101906106e091906134d9565b61183a565b005b3480156106f357600080fd5b506106fc6119bb565b6040516107099190614047565b60405180910390f35b34801561071e57600080fd5b50610739600480360381019061073491906135fc565b6119c1565b005b34801561074757600080fd5b50610762600480360381019061075d9190613456565b611a47565b005b34801561077057600080fd5b5061078b600480360381019061078691906135fc565b611aa9565b6040516107989190613cc5565b60405180910390f35b3480156107ad57600080fd5b506107b6611abb565b6040516107c39190614047565b60405180910390f35b3480156107d857600080fd5b506107f360048036038101906107ee91906133c3565b611ac0565b6040516108009190613caa565b60405180910390f35b34801561081557600080fd5b50610830600480360381019061082b9190613396565b611b54565b005b34801561083e57600080fd5b50610859600480360381019061085491906135fc565b611c4c565b005b600061086682611cd2565b9050919050565b60606000805461087c9061434a565b80601f01602080910402602001604051908101604052809291908181526020018280546108a89061434a565b80156108f55780601f106108ca576101008083540402835291602001916108f5565b820191906000526020600020905b8154815290600101906020018083116108d857829003601f168201915b5050505050905090565b600061090a82611d4c565b610949576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094090613f27565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061098f826114fe565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f790613fa7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a1f611db8565b73ffffffffffffffffffffffffffffffffffffffff161480610a4e5750610a4d81610a48611db8565b611ac0565b5b610a8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8490613e67565b60405180910390fd5b610a978383611dc0565b505050565b610aa4611db8565b73ffffffffffffffffffffffffffffffffffffffff16610ac26116f0565b73ffffffffffffffffffffffffffffffffffffffff1614610b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0f90613f47565b60405180910390fd5b8060109080519060200190610b2e929190613195565b5050565b610b3a611db8565b73ffffffffffffffffffffffffffffffffffffffff16610b586116f0565b73ffffffffffffffffffffffffffffffffffffffff1614610bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba590613f47565b60405180910390fd5b610bb881336113d5565b50565b610bc3611db8565b73ffffffffffffffffffffffffffffffffffffffff16610be16116f0565b73ffffffffffffffffffffffffffffffffffffffff1614610c37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2e90613f47565b60405180910390fd5b610c418282611e79565b5050565b600e60009054906101000a900460ff1681565b6000600980549050905090565b610c76610c70611db8565b82611eed565b610cb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cac90613fc7565b60405180910390fd5b610cc0838383611fcb565b505050565b610ccd611db8565b73ffffffffffffffffffffffffffffffffffffffff16610ceb6116f0565b73ffffffffffffffffffffffffffffffffffffffff1614610d41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3890613f47565b60405180910390fd5b80471015610d84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7b90613dc7565b60405180910390fd5b60005b6007811015610e8357600061271060188360078110610da957610da86144e3565b5b015484610db691906141be565b610dc0919061418d565b9050610e0160118360078110610dd957610dd86144e3565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612227565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05660118360078110610e3657610e356144e3565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682604051610e67929190613c81565b60405180910390a1508080610e7b906143ad565b915050610d87565b5050565b6000610e92836115b0565b8210610ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eca90613ce7565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f34611db8565b73ffffffffffffffffffffffffffffffffffffffff16610f526116f0565b73ffffffffffffffffffffffffffffffffffffffff1614610fa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9f90613f47565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b600f8054610fe19061434a565b80601f016020809104026020016040519081016040528092919081815260200182805461100d9061434a565b801561105a5780601f1061102f5761010080835404028352916020019161105a565b820191906000526020600020905b81548152906001019060200180831161103d57829003601f168201915b505050505081565b600e60009054906101000a900460ff166110b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a890613e47565b60405180910390fd5b60198111156110f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ec90613d67565b60405180910390fd5b600c54611100610c58565b8261110b9190614137565b111561114c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114390614027565b60405180910390fd5b34600d548261115b91906141be565b111561119c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119390614007565b60405180910390fd5b60005b818110156111e757600060016111b3610c58565b6111bd9190614137565b9050600c5481116111d3576111d2338261231b565b5b5080806111df906143ad565b91505061119f565b5050565b61120683838360405180602001604052806000815250611a47565b505050565b611213611db8565b73ffffffffffffffffffffffffffffffffffffffff166112316116f0565b73ffffffffffffffffffffffffffffffffffffffff1614611287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127e90613f47565b60405180910390fd5b6112918183612227565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05681836040516112c2929190613c0c565b60405180910390a15050565b60006112d8610c58565b8210611319576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131090613fe7565b60405180910390fd5b6009828154811061132d5761132c6144e3565b5b90600052602060002001549050919050565b611347611db8565b73ffffffffffffffffffffffffffffffffffffffff166113656116f0565b73ffffffffffffffffffffffffffffffffffffffff16146113bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b290613f47565b60405180910390fd5b80600f90805190602001906113d1929190613195565b5050565b6113dd611db8565b73ffffffffffffffffffffffffffffffffffffffff166113fb6116f0565b73ffffffffffffffffffffffffffffffffffffffff1614611451576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144890613f47565b60405180910390fd5b600c5461145c610c58565b836114679190614137565b11156114a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149f90614027565b60405180910390fd5b60005b828110156114f357600060016114bf610c58565b6114c99190614137565b9050600c5481116114df576114de838261231b565b5b5080806114eb906143ad565b9150506114ab565b505050565b600d5481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159e90613ea7565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611621576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161890613e87565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611670611db8565b73ffffffffffffffffffffffffffffffffffffffff1661168e6116f0565b73ffffffffffffffffffffffffffffffffffffffff16146116e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116db90613f47565b60405180910390fd5b6116ee6000612339565b565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546117299061434a565b80601f01602080910402602001604051908101604052809291908181526020018280546117559061434a565b80156117a25780601f10611777576101008083540402835291602001916117a2565b820191906000526020600020905b81548152906001019060200180831161178557829003601f168201915b5050505050905090565b601080546117b99061434a565b80601f01602080910402602001604051908101604052809291908181526020018280546117e59061434a565b80156118325780601f1061180757610100808354040283529160200191611832565b820191906000526020600020905b81548152906001019060200180831161181557829003601f168201915b505050505081565b611842611db8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a790613da7565b60405180910390fd5b80600560006118bd611db8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661196a611db8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119af9190613caa565b60405180910390a35050565b600c5481565b6119c9611db8565b73ffffffffffffffffffffffffffffffffffffffff166119e76116f0565b73ffffffffffffffffffffffffffffffffffffffff1614611a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3490613f47565b60405180910390fd5b80600c8190555050565b611a58611a52611db8565b83611eed565b611a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8e90613fc7565b60405180910390fd5b611aa3848484846123ff565b50505050565b6060611ab48261245b565b9050919050565b601981565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b5c611db8565b73ffffffffffffffffffffffffffffffffffffffff16611b7a6116f0565b73ffffffffffffffffffffffffffffffffffffffff1614611bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc790613f47565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3790613d27565b60405180910390fd5b611c4981612339565b50565b611c54611db8565b73ffffffffffffffffffffffffffffffffffffffff16611c726116f0565b73ffffffffffffffffffffffffffffffffffffffff1614611cc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbf90613f47565b60405180910390fd5b80600d8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d455750611d44826125ad565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e33836114fe565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611e8282611d4c565b611ec1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb890613ec7565b60405180910390fd5b80600660008481526020019081526020016000209080519060200190611ee8929190613195565b505050565b6000611ef882611d4c565b611f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2e90613e27565b60405180910390fd5b6000611f42836114fe565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611fb157508373ffffffffffffffffffffffffffffffffffffffff16611f99846108ff565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fc25750611fc18185611ac0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611feb826114fe565b73ffffffffffffffffffffffffffffffffffffffff1614612041576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203890613f67565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a890613d87565b60405180910390fd5b6120bc83838361268f565b6120c7600082611dc0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121179190614218565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461216e9190614137565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b8047101561226a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226190613e07565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161229090613bdc565b60006040518083038185875af1925050503d80600081146122cd576040519150601f19603f3d011682016040523d82523d6000602084013e6122d2565b606091505b5050905080612316576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230d90613de7565b60405180910390fd5b505050565b61233582826040518060200160405280600081525061269f565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61240a848484611fcb565b612416848484846126fa565b612455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244c90613d07565b60405180910390fd5b50505050565b606061246682611d4c565b6124a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249c90613f07565b60405180910390fd5b60006006600084815260200190815260200160002080546124c59061434a565b80601f01602080910402602001604051908101604052809291908181526020018280546124f19061434a565b801561253e5780601f106125135761010080835404028352916020019161253e565b820191906000526020600020905b81548152906001019060200180831161252157829003601f168201915b50505050509050600061254f612891565b90506000815114156125655781925050506125a8565b60008251111561259a578082604051602001612582929190613bb8565b604051602081830303815290604052925050506125a8565b6125a384612923565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061267857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806126885750612687826129ca565b5b9050919050565b61269a838383612a34565b505050565b6126a98383612b48565b6126b660008484846126fa565b6126f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ec90613d07565b60405180910390fd5b505050565b600061271b8473ffffffffffffffffffffffffffffffffffffffff16612d16565b15612884578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612744611db8565b8786866040518563ffffffff1660e01b81526004016127669493929190613c35565b602060405180830381600087803b15801561278057600080fd5b505af19250505080156127b157506040513d601f19601f820116820180604052508101906127ae9190613586565b60015b612834573d80600081146127e1576040519150601f19603f3d011682016040523d82523d6000602084013e6127e6565b606091505b5060008151141561282c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282390613d07565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612889565b600190505b949350505050565b6060600f80546128a09061434a565b80601f01602080910402602001604051908101604052809291908181526020018280546128cc9061434a565b80156129195780601f106128ee57610100808354040283529160200191612919565b820191906000526020600020905b8154815290600101906020018083116128fc57829003601f168201915b5050505050905090565b606061292e82611d4c565b61296d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296490613f87565b60405180910390fd5b6000612977612891565b9050600081511161299757604051806020016040528060008152506129c2565b806129a184612d29565b6040516020016129b2929190613bb8565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612a3f838383612e8a565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a8257612a7d81612e8f565b612ac1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612ac057612abf8382612ed8565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b0457612aff81613045565b612b43565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612b4257612b418282613116565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612baf90613ee7565b60405180910390fd5b612bc181611d4c565b15612c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf890613d47565b60405180910390fd5b612c0d6000838361268f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c5d9190614137565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60606000821415612d71576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e85565b600082905060005b60008214612da3578080612d8c906143ad565b915050600a82612d9c919061418d565b9150612d79565b60008167ffffffffffffffff811115612dbf57612dbe614512565b5b6040519080825280601f01601f191660200182016040528015612df15781602001600182028036833780820191505090505b5090505b60008514612e7e57600182612e0a9190614218565b9150600a85612e1991906143f6565b6030612e259190614137565b60f81b818381518110612e3b57612e3a6144e3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e77919061418d565b9450612df5565b8093505050505b919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612ee5846115b0565b612eef9190614218565b9050600060086000848152602001908152602001600020549050818114612fd4576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506130599190614218565b90506000600a6000848152602001908152602001600020549050600060098381548110613089576130886144e3565b5b9060005260206000200154905080600983815481106130ab576130aa6144e3565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a60008581526020019081526020016000206000905560098054806130fa576130f96144b4565b5b6001900381819060005260206000200160009055905550505050565b6000613121836115b0565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b8280546131a19061434a565b90600052602060002090601f0160209004810192826131c3576000855561320a565b82601f106131dc57805160ff191683800117855561320a565b8280016001018555821561320a579182015b828111156132095782518255916020019190600101906131ee565b5b509050613217919061321b565b5090565b5b8082111561323457600081600090555060010161321c565b5090565b600061324b61324684614087565b614062565b90508281526020810184848401111561326757613266614546565b5b613272848285614308565b509392505050565b600061328d613288846140b8565b614062565b9050828152602081018484840111156132a9576132a8614546565b5b6132b4848285614308565b509392505050565b6000813590506132cb81614cb4565b92915050565b6000813590506132e081614ccb565b92915050565b6000813590506132f581614ce2565b92915050565b60008135905061330a81614cf9565b92915050565b60008151905061331f81614cf9565b92915050565b600082601f83011261333a57613339614541565b5b813561334a848260208601613238565b91505092915050565b600082601f83011261336857613367614541565b5b813561337884826020860161327a565b91505092915050565b60008135905061339081614d10565b92915050565b6000602082840312156133ac576133ab614550565b5b60006133ba848285016132bc565b91505092915050565b600080604083850312156133da576133d9614550565b5b60006133e8858286016132bc565b92505060206133f9858286016132bc565b9150509250929050565b60008060006060848603121561341c5761341b614550565b5b600061342a868287016132bc565b935050602061343b868287016132bc565b925050604061344c86828701613381565b9150509250925092565b600080600080608085870312156134705761346f614550565b5b600061347e878288016132bc565b945050602061348f878288016132bc565b93505060406134a087828801613381565b925050606085013567ffffffffffffffff8111156134c1576134c061454b565b5b6134cd87828801613325565b91505092959194509250565b600080604083850312156134f0576134ef614550565b5b60006134fe858286016132bc565b925050602061350f858286016132e6565b9150509250929050565b600080604083850312156135305761352f614550565b5b600061353e858286016132bc565b925050602061354f85828601613381565b9150509250929050565b60006020828403121561356f5761356e614550565b5b600061357d848285016132fb565b91505092915050565b60006020828403121561359c5761359b614550565b5b60006135aa84828501613310565b91505092915050565b6000602082840312156135c9576135c8614550565b5b600082013567ffffffffffffffff8111156135e7576135e661454b565b5b6135f384828501613353565b91505092915050565b60006020828403121561361257613611614550565b5b600061362084828501613381565b91505092915050565b600080604083850312156136405761363f614550565b5b600061364e85828601613381565b925050602061365f858286016132bc565b9150509250929050565b600080604083850312156136805761367f614550565b5b600061368e85828601613381565b925050602061369f858286016132d1565b9150509250929050565b600080604083850312156136c0576136bf614550565b5b60006136ce85828601613381565b925050602083013567ffffffffffffffff8111156136ef576136ee61454b565b5b6136fb85828601613353565b9150509250929050565b61370e816142d2565b82525050565b61371d8161424c565b82525050565b61372c81614270565b82525050565b600061373d826140e9565b61374781856140ff565b9350613757818560208601614317565b61376081614555565b840191505092915050565b6000613776826140f4565b613780818561411b565b9350613790818560208601614317565b61379981614555565b840191505092915050565b60006137af826140f4565b6137b9818561412c565b93506137c9818560208601614317565b80840191505092915050565b60006137e2602b8361411b565b91506137ed82614566565b604082019050919050565b600061380560328361411b565b9150613810826145b5565b604082019050919050565b600061382860268361411b565b915061383382614604565b604082019050919050565b600061384b601c8361411b565b915061385682614653565b602082019050919050565b600061386e60238361411b565b91506138798261467c565b604082019050919050565b600061389160248361411b565b915061389c826146cb565b604082019050919050565b60006138b460198361411b565b91506138bf8261471a565b602082019050919050565b60006138d760148361411b565b91506138e282614743565b602082019050919050565b60006138fa603a8361411b565b91506139058261476c565b604082019050919050565b600061391d601d8361411b565b9150613928826147bb565b602082019050919050565b6000613940602c8361411b565b915061394b826147e4565b604082019050919050565b600061396360278361411b565b915061396e82614833565b604082019050919050565b600061398660388361411b565b915061399182614882565b604082019050919050565b60006139a9602a8361411b565b91506139b4826148d1565b604082019050919050565b60006139cc60298361411b565b91506139d782614920565b604082019050919050565b60006139ef602e8361411b565b91506139fa8261496f565b604082019050919050565b6000613a1260208361411b565b9150613a1d826149be565b602082019050919050565b6000613a3560318361411b565b9150613a40826149e7565b604082019050919050565b6000613a58602c8361411b565b9150613a6382614a36565b604082019050919050565b6000613a7b60208361411b565b9150613a8682614a85565b602082019050919050565b6000613a9e60298361411b565b9150613aa982614aae565b604082019050919050565b6000613ac1602f8361411b565b9150613acc82614afd565b604082019050919050565b6000613ae460218361411b565b9150613aef82614b4c565b604082019050919050565b6000613b07600083614110565b9150613b1282614b9b565b600082019050919050565b6000613b2a60318361411b565b9150613b3582614b9e565b604082019050919050565b6000613b4d602c8361411b565b9150613b5882614bed565b604082019050919050565b6000613b70601e8361411b565b9150613b7b82614c3c565b602082019050919050565b6000613b9360288361411b565b9150613b9e82614c65565b604082019050919050565b613bb2816142c8565b82525050565b6000613bc482856137a4565b9150613bd082846137a4565b91508190509392505050565b6000613be782613afa565b9150819050919050565b6000602082019050613c066000830184613714565b92915050565b6000604082019050613c216000830185613705565b613c2e6020830184613ba9565b9392505050565b6000608082019050613c4a6000830187613714565b613c576020830186613714565b613c646040830185613ba9565b8181036060830152613c768184613732565b905095945050505050565b6000604082019050613c966000830185613714565b613ca36020830184613ba9565b9392505050565b6000602082019050613cbf6000830184613723565b92915050565b60006020820190508181036000830152613cdf818461376b565b905092915050565b60006020820190508181036000830152613d00816137d5565b9050919050565b60006020820190508181036000830152613d20816137f8565b9050919050565b60006020820190508181036000830152613d408161381b565b9050919050565b60006020820190508181036000830152613d608161383e565b9050919050565b60006020820190508181036000830152613d8081613861565b9050919050565b60006020820190508181036000830152613da081613884565b9050919050565b60006020820190508181036000830152613dc0816138a7565b9050919050565b60006020820190508181036000830152613de0816138ca565b9050919050565b60006020820190508181036000830152613e00816138ed565b9050919050565b60006020820190508181036000830152613e2081613910565b9050919050565b60006020820190508181036000830152613e4081613933565b9050919050565b60006020820190508181036000830152613e6081613956565b9050919050565b60006020820190508181036000830152613e8081613979565b9050919050565b60006020820190508181036000830152613ea08161399c565b9050919050565b60006020820190508181036000830152613ec0816139bf565b9050919050565b60006020820190508181036000830152613ee0816139e2565b9050919050565b60006020820190508181036000830152613f0081613a05565b9050919050565b60006020820190508181036000830152613f2081613a28565b9050919050565b60006020820190508181036000830152613f4081613a4b565b9050919050565b60006020820190508181036000830152613f6081613a6e565b9050919050565b60006020820190508181036000830152613f8081613a91565b9050919050565b60006020820190508181036000830152613fa081613ab4565b9050919050565b60006020820190508181036000830152613fc081613ad7565b9050919050565b60006020820190508181036000830152613fe081613b1d565b9050919050565b6000602082019050818103600083015261400081613b40565b9050919050565b6000602082019050818103600083015261402081613b63565b9050919050565b6000602082019050818103600083015261404081613b86565b9050919050565b600060208201905061405c6000830184613ba9565b92915050565b600061406c61407d565b9050614078828261437c565b919050565b6000604051905090565b600067ffffffffffffffff8211156140a2576140a1614512565b5b6140ab82614555565b9050602081019050919050565b600067ffffffffffffffff8211156140d3576140d2614512565b5b6140dc82614555565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614142826142c8565b915061414d836142c8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561418257614181614427565b5b828201905092915050565b6000614198826142c8565b91506141a3836142c8565b9250826141b3576141b2614456565b5b828204905092915050565b60006141c9826142c8565b91506141d4836142c8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561420d5761420c614427565b5b828202905092915050565b6000614223826142c8565b915061422e836142c8565b92508282101561424157614240614427565b5b828203905092915050565b6000614257826142a8565b9050919050565b6000614269826142a8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006142dd826142e4565b9050919050565b60006142ef826142f6565b9050919050565b6000614301826142a8565b9050919050565b82818337600083830152505050565b60005b8381101561433557808201518184015260208101905061431a565b83811115614344576000848401525b50505050565b6000600282049050600182168061436257607f821691505b6020821081141561437657614375614485565b5b50919050565b61438582614555565b810181811067ffffffffffffffff821117156143a4576143a3614512565b5b80604052505050565b60006143b8826142c8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156143eb576143ea614427565b5b600182019050919050565b6000614401826142c8565b915061440c836142c8565b92508261441c5761441b614456565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f596f752063616e206f6e6c79206d696e74203235206d7567732061742061207460008201527f696d650000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f53616c65206d7573742062652061637469766520746f2063687567205275676760008201527f6564204d75677300000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420656e6f7567680000600082015250565b7f507572636861736520776f756c6420657863656564206d617820617661696c6160008201527f626c65206d756773000000000000000000000000000000000000000000000000602082015250565b614cbd8161424c565b8114614cc857600080fd5b50565b614cd48161425e565b8114614cdf57600080fd5b50565b614ceb81614270565b8114614cf657600080fd5b50565b614d028161427c565b8114614d0d57600080fd5b50565b614d19816142c8565b8114614d2457600080fd5b5056fea2646970667358221220310003a018e282207f00dc3cbe1135a20eb6cafb3b3771cbe01bbebb191b069e64736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000000a5275676765644d7567730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d55470000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): RuggedMugs
Arg [1] : symbol (string): MUG
Arg [2] : maxMugSupply (uint256): 10000

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 5275676765644d75677300000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 4d55470000000000000000000000000000000000000000000000000000000000


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.