ETH Price: $3,806.99 (+4.88%)

PiratePunks (PP)
 

Overview

TokenID

241

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Pirate Punks are a generative NFT project inspired by the OG Crypto Punks. Each Pirate Punk lives on the Ethereum blockchain, and ownership of the NFT gives full commercial rights to your Pirate Punk as well as access to exclusive drops, giveaways and more.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
PiratePunks

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-08-21
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

//Interfaces

interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);

    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    function grantRole(bytes32 role, address account) external;

    function revokeRole(bytes32 role, address account) external;

    function renounceRole(bytes32 role, address account) external;
}

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);
}

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;
}

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);
}

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);
}

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);
}

//libraries

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);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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);
            }
        }
    }
}

library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute.
        return (a / 2) + (b / 2) + (((a % 2) + (b % 2)) / 2);
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a / b + (a % b == 0 ? 0 : 1);
    }
}

library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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);
    }
}

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

abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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(to).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 {}
}

abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

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();
    }
}

abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

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);
    }
}

abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

//Token

contract PiratePunks is ERC721Enumerable, ERC721Burnable, Ownable, AccessControl {
    
    using Counters for Counters.Counter;

    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");

    Counters.Counter private _tokenIdTracker;

    uint256 private maxMint = 6969;
    string private baseTokenURI;

    constructor(
        string memory _uri,
        string memory _contractName,
        string memory _tokenSymbol,
        uint256 _maxMint
    ) ERC721(_contractName, _tokenSymbol) {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());

        maxMint = _maxMint;
        baseTokenURI = _uri;
    }

    function mint(address to) public {
        require(hasRole(MINTER_ROLE, _msgSender()), "Must have minter role to mint");
        require(_tokenIdTracker.current() < maxMint, "Max mint reached");

        _mint(to, _tokenIdTracker.current());

        _tokenIdTracker.increment();
    }

    function canMint(uint256 quantity) external view returns (bool) {
        return (_tokenIdTracker.current() + quantity) <= maxMint;
    }

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

    function setBaseURI(string calldata uri) public onlyOwner() {
        baseTokenURI = uri;
    }

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

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

contract PiratePunksDrop is Ownable, Pausable, ReentrancyGuard {
    
    PiratePunks private token;

    address private wallet;
    uint256 private price;
    uint256 constant MAX_MINT_PER_ORDER = 20;

    constructor(
        PiratePunks _token,
        uint256 _price,
        address _wallet
    ) Ownable() {
        token = _token;
        price = _price;
        wallet = _wallet;

        _pause();
    }

    function mint(uint256 quantity) external payable whenNotPaused() nonReentrant() {
        require(msg.value >= price * quantity, "PiratePunksDrop: Insufficient value");
        require(quantity <= MAX_MINT_PER_ORDER, "PiratePunksDrop: Exceeds order limit");
        require(token.canMint(quantity), "PiratePunksDrop: Exceeds total");

        for (uint256 i = 0; i < quantity; i++) {
            token.mint(_msgSender());
        }
    }

    function ownerMint(uint256 quantity) external onlyOwner() {
        require(token.canMint(quantity), "PiratePunksDrop: Exceeds total");

        for (uint256 i = 0; i < quantity; i++) {
            token.mint(_msgSender());
        }
    }

    function mintGiveaways(address[] calldata addresses) external onlyOwner() {
        require(token.canMint(addresses.length), "PiratePunksDrop: Exceeds total");

        for (uint256 i = 0; i < addresses.length; i++) {
            token.mint(addresses[i]);
        }
    }

    function withdraw(uint256 _amount) external onlyOwner() {
        payable(wallet).transfer(_amount);
    }

    function pause() external whenNotPaused() onlyOwner() {
        _pause();
    }

    function unpause() external whenPaused() onlyOwner() {
        _unpause();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_uri","type":"string"},{"internalType":"string","name":"_contractName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"uint256","name":"_maxMint","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":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"canMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":"uri","type":"string"}],"name":"setBaseURI","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"}]

6080604052611b39600d553480156200001757600080fd5b50604051620027d6380380620027d68339810160408190526200003a916200031b565b82518390839062000053906000906020850190620001c2565b50805162000069906001906020840190620001c2565b5050506200008662000080620000b860201b60201c565b620000bc565b620000936000336200010e565b600d8190558351620000ad90600e906020870190620001c2565b505050505062000403565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200011a82826200011e565b5050565b6000828152600b602090815260408083206001600160a01b038516845290915290205460ff166200011a576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200017e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b828054620001d090620003b0565b90600052602060002090601f016020900481019282620001f457600085556200023f565b82601f106200020f57805160ff19168380011785556200023f565b828001600101855582156200023f579182015b828111156200023f57825182559160200191906001019062000222565b506200024d92915062000251565b5090565b5b808211156200024d576000815560010162000252565b600082601f83011262000279578081fd5b81516001600160401b0380821115620002965762000296620003ed565b604051601f8301601f19908116603f01168101908282118183101715620002c157620002c1620003ed565b81604052838152602092508683858801011115620002dd578485fd5b8491505b83821015620003005785820183015181830184015290820190620002e1565b838211156200031157848385830101525b9695505050505050565b6000806000806080858703121562000331578384fd5b84516001600160401b038082111562000348578586fd5b620003568883890162000268565b955060208701519150808211156200036c578485fd5b6200037a8883890162000268565b9450604087015191508082111562000390578384fd5b506200039f8782880162000268565b606096909601519497939650505050565b600181811c90821680620003c557607f821691505b60208210811415620003e757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6123c380620004136000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80636352211e1161010f578063a22cb465116100a2578063d547741f11610071578063d547741f1461041c578063e63ab1e91461042f578063e985e9c514610456578063f2fde38b1461049257600080fd5b8063a22cb465146103bc578063b88d4fde146103cf578063c87b56dd146103e2578063d5391393146103f557600080fd5b80638da5cb5b116100de5780638da5cb5b1461038857806391d148541461039957806395d89b41146103ac578063a217fddf146103b457600080fd5b80636352211e146103475780636a6278421461035a57806370a082311461036d578063715018a61461038057600080fd5b80632f2ff15d1161018757806342966c681161015657806342966c68146102fb5780634f6ccce71461030e57806355f804b3146103215780635dd871a31461033457600080fd5b80632f2ff15d146102af5780632f745c59146102c257806336568abe146102d557806342842e0e146102e857600080fd5b8063095ea7b3116101c3578063095ea7b31461025257806318160ddd1461026757806323b872dd14610279578063248a9ca31461028c57600080fd5b806301ffc9a7146101ea57806306fdde0314610212578063081812fc14610227575b600080fd5b6101fd6101f8366004611f89565b6104a5565b60405190151581526020015b60405180910390f35b61021a6104b6565b604051610209919061213b565b61023a610235366004611f4f565b610548565b6040516001600160a01b039091168152602001610209565b610265610260366004611f26565b6105e2565b005b6008545b604051908152602001610209565b610265610287366004611ddc565b6106f8565b61026b61029a366004611f4f565b6000908152600b602052604090206001015490565b6102656102bd366004611f67565b61072a565b61026b6102d0366004611f26565b610750565b6102656102e3366004611f67565b6107e6565b6102656102f6366004611ddc565b610864565b610265610309366004611f4f565b61087f565b61026b61031c366004611f4f565b6108f9565b61026561032f366004611fc1565b61099a565b6101fd610342366004611f4f565b6109d0565b61023a610355366004611f4f565b6109f1565b610265610368366004611d90565b610a68565b61026b61037b366004611d90565b610b44565b610265610bcb565b600a546001600160a01b031661023a565b6101fd6103a7366004611f67565b610c01565b61021a610c2c565b61026b600081565b6102656103ca366004611eec565b610c3b565b6102656103dd366004611e17565b610d00565b61021a6103f0366004611f4f565b610d38565b61026b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61026561042a366004611f67565b610e13565b61026b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6101fd610464366004611daa565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102656104a0366004611d90565b610e39565b60006104b082610ed1565b92915050565b6060600080546104c5906122cb565b80601f01602080910402602001604051908101604052809291908181526020018280546104f1906122cb565b801561053e5780601f106105135761010080835404028352916020019161053e565b820191906000526020600020905b81548152906001019060200180831161052157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105c65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105ed826109f1565b9050806001600160a01b0316836001600160a01b0316141561065b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105bd565b336001600160a01b038216148061067757506106778133610464565b6106e95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105bd565b6106f38383610ef6565b505050565b610703335b82610f64565b61071f5760405162461bcd60e51b81526004016105bd906121d5565b6106f383838361105b565b6000828152600b60205260409020600101546107468133611206565b6106f3838361126a565b600061075b83610b44565b82106107bd5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016105bd565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6001600160a01b03811633146108565760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105bd565b61086082826112f0565b5050565b6106f383838360405180602001604052806000815250610d00565b610888336106fd565b6108ed5760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b60648201526084016105bd565b6108f681611357565b50565b600061090460085490565b82106109675760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016105bd565b6008828154811061098857634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b031633146109c45760405162461bcd60e51b81526004016105bd906121a0565b6106f3600e8383611cdb565b6000600d54826109df600c5490565b6109e99190612226565b111592915050565b6000818152600260205260408120546001600160a01b0316806104b05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105bd565b610a927f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610c01565b610ade5760405162461bcd60e51b815260206004820152601d60248201527f4d7573742068617665206d696e74657220726f6c6520746f206d696e7400000060448201526064016105bd565b600d54600c5410610b245760405162461bcd60e51b815260206004820152601060248201526f13585e081b5a5b9d081c995858da195960821b60448201526064016105bd565b610b3681610b31600c5490565b6113fe565b6108f6600c80546001019055565b60006001600160a01b038216610baf5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105bd565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610bf55760405162461bcd60e51b81526004016105bd906121a0565b610bff600061154c565b565b6000918252600b602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600180546104c5906122cb565b6001600160a01b038216331415610c945760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105bd565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d0a3383610f64565b610d265760405162461bcd60e51b81526004016105bd906121d5565b610d328484848461159e565b50505050565b6000818152600260205260409020546060906001600160a01b0316610db75760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016105bd565b6000610dc16115d1565b90506000815111610de15760405180602001604052806000815250610e0c565b80610deb846115e0565b604051602001610dfc92919061205a565b6040516020818303038152906040525b9392505050565b6000828152600b6020526040902060010154610e2f8133611206565b6106f383836112f0565b600a546001600160a01b03163314610e635760405162461bcd60e51b81526004016105bd906121a0565b6001600160a01b038116610ec85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105bd565b6108f68161154c565b60006001600160e01b03198216637965db0b60e01b14806104b057506104b0826116fa565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f2b826109f1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610fdd5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105bd565b6000610fe8836109f1565b9050806001600160a01b0316846001600160a01b031614806110235750836001600160a01b031661101884610548565b6001600160a01b0316145b8061105357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661106e826109f1565b6001600160a01b0316146110d65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016105bd565b6001600160a01b0382166111385760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105bd565b61114383838361171f565b61114e600082610ef6565b6001600160a01b0383166000908152600360205260408120805460019290611177908490612271565b90915550506001600160a01b03821660009081526003602052604081208054600192906111a5908490612226565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6112108282610c01565b61086057611228816001600160a01b0316601461172a565b61123383602061172a565b604051602001611244929190612089565b60408051601f198184030181529082905262461bcd60e51b82526105bd9160040161213b565b6112748282610c01565b610860576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff191660011790556112ac3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6112fa8282610c01565b15610860576000828152600b602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611362826109f1565b90506113708160008461171f565b61137b600083610ef6565b6001600160a01b03811660009081526003602052604081208054600192906113a4908490612271565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b0382166114545760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105bd565b6000818152600260205260409020546001600160a01b0316156114b95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105bd565b6114c56000838361171f565b6001600160a01b03821660009081526003602052604081208054600192906114ee908490612226565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6115a984848461105b565b6115b58484848461190c565b610d325760405162461bcd60e51b81526004016105bd9061214e565b6060600e80546104c5906122cb565b6060816116045750506040805180820190915260018152600360fc1b602082015290565b8160005b811561162e578061161881612306565b91506116279050600a8361223e565b9150611608565b60008167ffffffffffffffff81111561165757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611681576020820181803683370190505b5090505b841561105357611696600183612271565b91506116a3600a86612321565b6116ae906030612226565b60f81b8183815181106116d157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506116f3600a8661223e565b9450611685565b60006001600160e01b0319821663780e9d6360e01b14806104b057506104b082611a19565b6106f3838383611a69565b60606000611739836002612252565b611744906002612226565b67ffffffffffffffff81111561176a57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611794576020820181803683370190505b509050600360fc1b816000815181106117bd57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106117fa57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600061181e846002612252565b611829906001612226565b90505b60018111156118bd576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061186b57634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811061188f57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936118b6816122b4565b905061182c565b508315610e0c5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105bd565b60006001600160a01b0384163b15611a0e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906119509033908990889088906004016120fe565b602060405180830381600087803b15801561196a57600080fd5b505af192505050801561199a575060408051601f3d908101601f1916820190925261199791810190611fa5565b60015b6119f4573d8080156119c8576040519150601f19603f3d011682016040523d82523d6000602084013e6119cd565b606091505b5080516119ec5760405162461bcd60e51b81526004016105bd9061214e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611053565b506001949350505050565b60006001600160e01b031982166380ac58cd60e01b1480611a4a57506001600160e01b03198216635b5e139f60e01b145b806104b057506301ffc9a760e01b6001600160e01b03198316146104b0565b6001600160a01b038316611ac457611abf81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611ae7565b816001600160a01b0316836001600160a01b031614611ae757611ae78382611b21565b6001600160a01b038216611afe576106f381611bbe565b826001600160a01b0316826001600160a01b0316146106f3576106f38282611c97565b60006001611b2e84610b44565b611b389190612271565b600083815260076020526040902054909150808214611b8b576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611bd090600190612271565b60008381526009602052604081205460088054939450909284908110611c0657634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110611c3557634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611c7b57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611ca283610b44565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611ce7906122cb565b90600052602060002090601f016020900481019282611d095760008555611d4f565b82601f10611d225782800160ff19823516178555611d4f565b82800160010185558215611d4f579182015b82811115611d4f578235825591602001919060010190611d34565b50611d5b929150611d5f565b5090565b5b80821115611d5b5760008155600101611d60565b80356001600160a01b0381168114611d8b57600080fd5b919050565b600060208284031215611da1578081fd5b610e0c82611d74565b60008060408385031215611dbc578081fd5b611dc583611d74565b9150611dd360208401611d74565b90509250929050565b600080600060608486031215611df0578081fd5b611df984611d74565b9250611e0760208501611d74565b9150604084013590509250925092565b60008060008060808587031215611e2c578081fd5b611e3585611d74565b9350611e4360208601611d74565b925060408501359150606085013567ffffffffffffffff80821115611e66578283fd5b818701915087601f830112611e79578283fd5b813581811115611e8b57611e8b612361565b604051601f8201601f19908116603f01168101908382118183101715611eb357611eb3612361565b816040528281528a6020848701011115611ecb578586fd5b82602086016020830137918201602001949094529598949750929550505050565b60008060408385031215611efe578182fd5b611f0783611d74565b915060208301358015158114611f1b578182fd5b809150509250929050565b60008060408385031215611f38578182fd5b611f4183611d74565b946020939093013593505050565b600060208284031215611f60578081fd5b5035919050565b60008060408385031215611f79578182fd5b82359150611dd360208401611d74565b600060208284031215611f9a578081fd5b8135610e0c81612377565b600060208284031215611fb6578081fd5b8151610e0c81612377565b60008060208385031215611fd3578182fd5b823567ffffffffffffffff80821115611fea578384fd5b818501915085601f830112611ffd578384fd5b81358181111561200b578485fd5b86602082850101111561201c578485fd5b60209290920196919550909350505050565b60008151808452612046816020860160208601612288565b601f01601f19169290920160200192915050565b6000835161206c818460208801612288565b835190830190612080818360208801612288565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516120c1816017850160208801612288565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516120f2816028840160208801612288565b01602801949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121319083018461202e565b9695505050505050565b602081526000610e0c602083018461202e565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561223957612239612335565b500190565b60008261224d5761224d61234b565b500490565b600081600019048311821515161561226c5761226c612335565b500290565b60008282101561228357612283612335565b500390565b60005b838110156122a357818101518382015260200161228b565b83811115610d325750506000910152565b6000816122c3576122c3612335565b506000190190565b600181811c908216806122df57607f821691505b6020821081141561230057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561231a5761231a612335565b5060010190565b6000826123305761233061234b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146108f657600080fdfea2646970667358221220dbcd960a8271dce4295fa0511b0cbdc3ad0cc5b491c280c768b6ea0111ef2a5f64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000001b390000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d63645a366371557733415168614d6241755a7765363744547374454b54633162463837366e68703733526d632f00000000000000000000000000000000000000000000000000000000000000000000000000000000000b50697261746550756e6b7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025050000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80636352211e1161010f578063a22cb465116100a2578063d547741f11610071578063d547741f1461041c578063e63ab1e91461042f578063e985e9c514610456578063f2fde38b1461049257600080fd5b8063a22cb465146103bc578063b88d4fde146103cf578063c87b56dd146103e2578063d5391393146103f557600080fd5b80638da5cb5b116100de5780638da5cb5b1461038857806391d148541461039957806395d89b41146103ac578063a217fddf146103b457600080fd5b80636352211e146103475780636a6278421461035a57806370a082311461036d578063715018a61461038057600080fd5b80632f2ff15d1161018757806342966c681161015657806342966c68146102fb5780634f6ccce71461030e57806355f804b3146103215780635dd871a31461033457600080fd5b80632f2ff15d146102af5780632f745c59146102c257806336568abe146102d557806342842e0e146102e857600080fd5b8063095ea7b3116101c3578063095ea7b31461025257806318160ddd1461026757806323b872dd14610279578063248a9ca31461028c57600080fd5b806301ffc9a7146101ea57806306fdde0314610212578063081812fc14610227575b600080fd5b6101fd6101f8366004611f89565b6104a5565b60405190151581526020015b60405180910390f35b61021a6104b6565b604051610209919061213b565b61023a610235366004611f4f565b610548565b6040516001600160a01b039091168152602001610209565b610265610260366004611f26565b6105e2565b005b6008545b604051908152602001610209565b610265610287366004611ddc565b6106f8565b61026b61029a366004611f4f565b6000908152600b602052604090206001015490565b6102656102bd366004611f67565b61072a565b61026b6102d0366004611f26565b610750565b6102656102e3366004611f67565b6107e6565b6102656102f6366004611ddc565b610864565b610265610309366004611f4f565b61087f565b61026b61031c366004611f4f565b6108f9565b61026561032f366004611fc1565b61099a565b6101fd610342366004611f4f565b6109d0565b61023a610355366004611f4f565b6109f1565b610265610368366004611d90565b610a68565b61026b61037b366004611d90565b610b44565b610265610bcb565b600a546001600160a01b031661023a565b6101fd6103a7366004611f67565b610c01565b61021a610c2c565b61026b600081565b6102656103ca366004611eec565b610c3b565b6102656103dd366004611e17565b610d00565b61021a6103f0366004611f4f565b610d38565b61026b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61026561042a366004611f67565b610e13565b61026b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6101fd610464366004611daa565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102656104a0366004611d90565b610e39565b60006104b082610ed1565b92915050565b6060600080546104c5906122cb565b80601f01602080910402602001604051908101604052809291908181526020018280546104f1906122cb565b801561053e5780601f106105135761010080835404028352916020019161053e565b820191906000526020600020905b81548152906001019060200180831161052157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105c65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105ed826109f1565b9050806001600160a01b0316836001600160a01b0316141561065b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105bd565b336001600160a01b038216148061067757506106778133610464565b6106e95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105bd565b6106f38383610ef6565b505050565b610703335b82610f64565b61071f5760405162461bcd60e51b81526004016105bd906121d5565b6106f383838361105b565b6000828152600b60205260409020600101546107468133611206565b6106f3838361126a565b600061075b83610b44565b82106107bd5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016105bd565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6001600160a01b03811633146108565760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105bd565b61086082826112f0565b5050565b6106f383838360405180602001604052806000815250610d00565b610888336106fd565b6108ed5760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b60648201526084016105bd565b6108f681611357565b50565b600061090460085490565b82106109675760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016105bd565b6008828154811061098857634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b031633146109c45760405162461bcd60e51b81526004016105bd906121a0565b6106f3600e8383611cdb565b6000600d54826109df600c5490565b6109e99190612226565b111592915050565b6000818152600260205260408120546001600160a01b0316806104b05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105bd565b610a927f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610c01565b610ade5760405162461bcd60e51b815260206004820152601d60248201527f4d7573742068617665206d696e74657220726f6c6520746f206d696e7400000060448201526064016105bd565b600d54600c5410610b245760405162461bcd60e51b815260206004820152601060248201526f13585e081b5a5b9d081c995858da195960821b60448201526064016105bd565b610b3681610b31600c5490565b6113fe565b6108f6600c80546001019055565b60006001600160a01b038216610baf5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105bd565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610bf55760405162461bcd60e51b81526004016105bd906121a0565b610bff600061154c565b565b6000918252600b602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600180546104c5906122cb565b6001600160a01b038216331415610c945760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105bd565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d0a3383610f64565b610d265760405162461bcd60e51b81526004016105bd906121d5565b610d328484848461159e565b50505050565b6000818152600260205260409020546060906001600160a01b0316610db75760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016105bd565b6000610dc16115d1565b90506000815111610de15760405180602001604052806000815250610e0c565b80610deb846115e0565b604051602001610dfc92919061205a565b6040516020818303038152906040525b9392505050565b6000828152600b6020526040902060010154610e2f8133611206565b6106f383836112f0565b600a546001600160a01b03163314610e635760405162461bcd60e51b81526004016105bd906121a0565b6001600160a01b038116610ec85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105bd565b6108f68161154c565b60006001600160e01b03198216637965db0b60e01b14806104b057506104b0826116fa565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f2b826109f1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610fdd5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105bd565b6000610fe8836109f1565b9050806001600160a01b0316846001600160a01b031614806110235750836001600160a01b031661101884610548565b6001600160a01b0316145b8061105357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661106e826109f1565b6001600160a01b0316146110d65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016105bd565b6001600160a01b0382166111385760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105bd565b61114383838361171f565b61114e600082610ef6565b6001600160a01b0383166000908152600360205260408120805460019290611177908490612271565b90915550506001600160a01b03821660009081526003602052604081208054600192906111a5908490612226565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6112108282610c01565b61086057611228816001600160a01b0316601461172a565b61123383602061172a565b604051602001611244929190612089565b60408051601f198184030181529082905262461bcd60e51b82526105bd9160040161213b565b6112748282610c01565b610860576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff191660011790556112ac3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6112fa8282610c01565b15610860576000828152600b602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611362826109f1565b90506113708160008461171f565b61137b600083610ef6565b6001600160a01b03811660009081526003602052604081208054600192906113a4908490612271565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b0382166114545760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105bd565b6000818152600260205260409020546001600160a01b0316156114b95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105bd565b6114c56000838361171f565b6001600160a01b03821660009081526003602052604081208054600192906114ee908490612226565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6115a984848461105b565b6115b58484848461190c565b610d325760405162461bcd60e51b81526004016105bd9061214e565b6060600e80546104c5906122cb565b6060816116045750506040805180820190915260018152600360fc1b602082015290565b8160005b811561162e578061161881612306565b91506116279050600a8361223e565b9150611608565b60008167ffffffffffffffff81111561165757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611681576020820181803683370190505b5090505b841561105357611696600183612271565b91506116a3600a86612321565b6116ae906030612226565b60f81b8183815181106116d157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506116f3600a8661223e565b9450611685565b60006001600160e01b0319821663780e9d6360e01b14806104b057506104b082611a19565b6106f3838383611a69565b60606000611739836002612252565b611744906002612226565b67ffffffffffffffff81111561176a57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611794576020820181803683370190505b509050600360fc1b816000815181106117bd57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106117fa57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600061181e846002612252565b611829906001612226565b90505b60018111156118bd576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061186b57634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811061188f57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936118b6816122b4565b905061182c565b508315610e0c5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105bd565b60006001600160a01b0384163b15611a0e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906119509033908990889088906004016120fe565b602060405180830381600087803b15801561196a57600080fd5b505af192505050801561199a575060408051601f3d908101601f1916820190925261199791810190611fa5565b60015b6119f4573d8080156119c8576040519150601f19603f3d011682016040523d82523d6000602084013e6119cd565b606091505b5080516119ec5760405162461bcd60e51b81526004016105bd9061214e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611053565b506001949350505050565b60006001600160e01b031982166380ac58cd60e01b1480611a4a57506001600160e01b03198216635b5e139f60e01b145b806104b057506301ffc9a760e01b6001600160e01b03198316146104b0565b6001600160a01b038316611ac457611abf81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611ae7565b816001600160a01b0316836001600160a01b031614611ae757611ae78382611b21565b6001600160a01b038216611afe576106f381611bbe565b826001600160a01b0316826001600160a01b0316146106f3576106f38282611c97565b60006001611b2e84610b44565b611b389190612271565b600083815260076020526040902054909150808214611b8b576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611bd090600190612271565b60008381526009602052604081205460088054939450909284908110611c0657634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110611c3557634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611c7b57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611ca283610b44565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611ce7906122cb565b90600052602060002090601f016020900481019282611d095760008555611d4f565b82601f10611d225782800160ff19823516178555611d4f565b82800160010185558215611d4f579182015b82811115611d4f578235825591602001919060010190611d34565b50611d5b929150611d5f565b5090565b5b80821115611d5b5760008155600101611d60565b80356001600160a01b0381168114611d8b57600080fd5b919050565b600060208284031215611da1578081fd5b610e0c82611d74565b60008060408385031215611dbc578081fd5b611dc583611d74565b9150611dd360208401611d74565b90509250929050565b600080600060608486031215611df0578081fd5b611df984611d74565b9250611e0760208501611d74565b9150604084013590509250925092565b60008060008060808587031215611e2c578081fd5b611e3585611d74565b9350611e4360208601611d74565b925060408501359150606085013567ffffffffffffffff80821115611e66578283fd5b818701915087601f830112611e79578283fd5b813581811115611e8b57611e8b612361565b604051601f8201601f19908116603f01168101908382118183101715611eb357611eb3612361565b816040528281528a6020848701011115611ecb578586fd5b82602086016020830137918201602001949094529598949750929550505050565b60008060408385031215611efe578182fd5b611f0783611d74565b915060208301358015158114611f1b578182fd5b809150509250929050565b60008060408385031215611f38578182fd5b611f4183611d74565b946020939093013593505050565b600060208284031215611f60578081fd5b5035919050565b60008060408385031215611f79578182fd5b82359150611dd360208401611d74565b600060208284031215611f9a578081fd5b8135610e0c81612377565b600060208284031215611fb6578081fd5b8151610e0c81612377565b60008060208385031215611fd3578182fd5b823567ffffffffffffffff80821115611fea578384fd5b818501915085601f830112611ffd578384fd5b81358181111561200b578485fd5b86602082850101111561201c578485fd5b60209290920196919550909350505050565b60008151808452612046816020860160208601612288565b601f01601f19169290920160200192915050565b6000835161206c818460208801612288565b835190830190612080818360208801612288565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516120c1816017850160208801612288565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516120f2816028840160208801612288565b01602801949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121319083018461202e565b9695505050505050565b602081526000610e0c602083018461202e565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561223957612239612335565b500190565b60008261224d5761224d61234b565b500490565b600081600019048311821515161561226c5761226c612335565b500290565b60008282101561228357612283612335565b500390565b60005b838110156122a357818101518382015260200161228b565b83811115610d325750506000910152565b6000816122c3576122c3612335565b506000190190565b600181811c908216806122df57607f821691505b6020821081141561230057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561231a5761231a612335565b5060010190565b6000826123305761233061234b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146108f657600080fdfea2646970667358221220dbcd960a8271dce4295fa0511b0cbdc3ad0cc5b491c280c768b6ea0111ef2a5f64736f6c63430008040033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000001b390000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d63645a366371557733415168614d6241755a7765363744547374454b54633162463837366e68703733526d632f00000000000000000000000000000000000000000000000000000000000000000000000000000000000b50697261746550756e6b7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025050000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _uri (string): ipfs://QmcdZ6cqUw3AQhaMbAuZwe67DTstEKTc1bF876nhp73Rmc/
Arg [1] : _contractName (string): PiratePunks
Arg [2] : _tokenSymbol (string): PP
Arg [3] : _maxMint (uint256): 6969

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000001b39
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [5] : 697066733a2f2f516d63645a366371557733415168614d6241755a7765363744
Arg [6] : 547374454b54633162463837366e68703733526d632f00000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [8] : 50697261746550756e6b73000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [10] : 5050000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

51927:1861:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53541:244;;;;;;:::i;:::-;;:::i;:::-;;;7064:14:1;;7057:22;7039:41;;7027:2;7012:18;53541:244:0;;;;;;;;21737:100;;;:::i;:::-;;;;;;;:::i;23296:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6362:32:1;;;6344:51;;6332:2;6317:18;23296:221:0;6299:102:1;22819:411:0;;;;;;:::i;:::-;;:::i;:::-;;34653:113;34741:10;:17;34653:113;;;7237:25:1;;;7225:2;7210:18;34653:113:0;7192:76:1;24186:339:0;;;;;;:::i;:::-;;:::i;43527:123::-;;;;;;:::i;:::-;43593:7;43620:12;;;:6;:12;;;;;:22;;;;43527:123;43912:147;;;;;;:::i;:::-;;:::i;34321:256::-;;;;;;:::i;:::-;;:::i;44960:218::-;;;;;;:::i;:::-;;:::i;24596:185::-;;;;;;:::i;:::-;;:::i;33152:245::-;;;;;;:::i;:::-;;:::i;34843:233::-;;;;;;:::i;:::-;;:::i;53205:97::-;;;;;;:::i;:::-;;:::i;52945:139::-;;;;;;:::i;:::-;;:::i;21431:239::-;;;;;;:::i;:::-;;:::i;52645:292::-;;;;;;:::i;:::-;;:::i;21161:208::-;;;;;;:::i;:::-;;:::i;47736:94::-;;;:::i;47085:87::-;47158:6;;-1:-1:-1;;;;;47158:6:0;47085:87;;42412:139;;;;;;:::i;:::-;;:::i;21906:104::-;;;:::i;40390:49::-;;40435:4;40390:49;;23589:295;;;;;;:::i;:::-;;:::i;24852:328::-;;;;;;:::i;:::-;;:::i;22081:334::-;;;;;;:::i;:::-;;:::i;52065:62::-;;52103:24;52065:62;;44304:149;;;;;;:::i;:::-;;:::i;52134:62::-;;52172:24;52134:62;;23955:164;;;;;;:::i;:::-;-1:-1:-1;;;;;24076:25:0;;;24052:4;24076:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23955:164;47985:192;;;;;;:::i;:::-;;:::i;53541:244::-;53712:4;53741:36;53765:11;53741:23;:36::i;:::-;53734:43;53541:244;-1:-1:-1;;53541:244:0:o;21737:100::-;21791:13;21824:5;21817:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21737:100;:::o;23296:221::-;23372:7;26779:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26779:16:0;23392:73;;;;-1:-1:-1;;;23392:73:0;;12792:2:1;23392:73:0;;;12774:21:1;12831:2;12811:18;;;12804:30;12870:34;12850:18;;;12843:62;-1:-1:-1;;;12921:18:1;;;12914:42;12973:19;;23392:73:0;;;;;;;;;-1:-1:-1;23485:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;23485:24:0;;23296:221::o;22819:411::-;22900:13;22916:23;22931:7;22916:14;:23::i;:::-;22900:39;;22964:5;-1:-1:-1;;;;;22958:11:0;:2;-1:-1:-1;;;;;22958:11:0;;;22950:57;;;;-1:-1:-1;;;22950:57:0;;14392:2:1;22950:57:0;;;14374:21:1;14431:2;14411:18;;;14404:30;14470:34;14450:18;;;14443:62;-1:-1:-1;;;14521:18:1;;;14514:31;14562:19;;22950:57:0;14364:223:1;22950:57:0;19412:10;-1:-1:-1;;;;;23042:21:0;;;;:62;;-1:-1:-1;23067:37:0;23084:5;19412:10;23955:164;:::i;23067:37::-;23020:168;;;;-1:-1:-1;;;23020:168:0;;10827:2:1;23020:168:0;;;10809:21:1;10866:2;10846:18;;;10839:30;10905:34;10885:18;;;10878:62;10976:26;10956:18;;;10949:54;11020:19;;23020:168:0;10799:246:1;23020:168:0;23201:21;23210:2;23214:7;23201:8;:21::i;:::-;22819:411;;;:::o;24186:339::-;24381:41;19412:10;24400:12;24414:7;24381:18;:41::i;:::-;24373:103;;;;-1:-1:-1;;;24373:103:0;;;;;;;:::i;:::-;24489:28;24499:4;24505:2;24509:7;24489:9;:28::i;43912:147::-;43593:7;43620:12;;;:6;:12;;;;;:22;;;41994:30;42005:4;19412:10;41994;:30::i;:::-;44026:25:::1;44037:4;44043:7;44026:10;:25::i;34321:256::-:0;34418:7;34454:23;34471:5;34454:16;:23::i;:::-;34446:5;:31;34438:87;;;;-1:-1:-1;;;34438:87:0;;8060:2:1;34438:87:0;;;8042:21:1;8099:2;8079:18;;;8072:30;8138:34;8118:18;;;8111:62;-1:-1:-1;;;8189:18:1;;;8182:41;8240:19;;34438:87:0;8032:233:1;34438:87:0;-1:-1:-1;;;;;;34543:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;34321:256::o;44960:218::-;-1:-1:-1;;;;;45056:23:0;;19412:10;45056:23;45048:83;;;;-1:-1:-1;;;45048:83:0;;16387:2:1;45048:83:0;;;16369:21:1;16426:2;16406:18;;;16399:30;16465:34;16445:18;;;16438:62;-1:-1:-1;;;16516:18:1;;;16509:45;16571:19;;45048:83:0;16359:237:1;45048:83:0;45144:26;45156:4;45162:7;45144:11;:26::i;:::-;44960:218;;:::o;24596:185::-;24734:39;24751:4;24757:2;24761:7;24734:39;;;;;;;;;;;;:16;:39::i;33152:245::-;33270:41;19412:10;33289:12;19332:98;33270:41;33262:102;;;;-1:-1:-1;;;33262:102:0;;15970:2:1;33262:102:0;;;15952:21:1;16009:2;15989:18;;;15982:30;16048:34;16028:18;;;16021:62;-1:-1:-1;;;16099:18:1;;;16092:46;16155:19;;33262:102:0;15942:238:1;33262:102:0;33375:14;33381:7;33375:5;:14::i;:::-;33152:245;:::o;34843:233::-;34918:7;34954:30;34741:10;:17;;34653:113;34954:30;34946:5;:38;34938:95;;;;-1:-1:-1;;;34938:95:0;;15557:2:1;34938:95:0;;;15539:21:1;15596:2;15576:18;;;15569:30;15635:34;15615:18;;;15608:62;-1:-1:-1;;;15686:18:1;;;15679:42;15738:19;;34938:95:0;15529:234:1;34938:95:0;35051:10;35062:5;35051:17;;;;;;-1:-1:-1;;;35051:17:0;;;;;;;;;;;;;;;;;35044:24;;34843:233;;;:::o;53205:97::-;47158:6;;-1:-1:-1;;;;;47158:6:0;19412:10;47305:23;47297:68;;;;-1:-1:-1;;;47297:68:0;;;;;;;:::i;:::-;53276:18:::1;:12;53291:3:::0;;53276:18:::1;:::i;52945:139::-:0;53003:4;53069:7;;53056:8;53028:25;:15;16836:14;;16744:114;53028:25;:36;;;;:::i;:::-;53027:49;;;52945:139;-1:-1:-1;;52945:139:0:o;21431:239::-;21503:7;21539:16;;;:7;:16;;;;;;-1:-1:-1;;;;;21539:16:0;21574:19;21566:73;;;;-1:-1:-1;;;21566:73:0;;11663:2:1;21566:73:0;;;11645:21:1;11702:2;11682:18;;;11675:30;11741:34;11721:18;;;11714:62;-1:-1:-1;;;11792:18:1;;;11785:39;11841:19;;21566:73:0;11635:231:1;52645:292:0;52697:34;52103:24;19412:10;42412:139;:::i;52697:34::-;52689:76;;;;-1:-1:-1;;;52689:76:0;;12434:2:1;52689:76:0;;;12416:21:1;12473:2;12453:18;;;12446:30;12512:31;12492:18;;;12485:59;12561:18;;52689:76:0;12406:179:1;52689:76:0;52812:7;;52784:15;16836:14;52784:35;52776:64;;;;-1:-1:-1;;;52776:64:0;;14794:2:1;52776:64:0;;;14776:21:1;14833:2;14813:18;;;14806:30;-1:-1:-1;;;14852:18:1;;;14845:46;14908:18;;52776:64:0;14766:166:1;52776:64:0;52853:36;52859:2;52863:25;:15;16836:14;;16744:114;52863:25;52853:5;:36::i;:::-;52902:27;:15;16955:19;;16973:1;16955:19;;;16866:127;21161:208;21233:7;-1:-1:-1;;;;;21261:19:0;;21253:74;;;;-1:-1:-1;;;21253:74:0;;11252:2:1;21253:74:0;;;11234:21:1;11291:2;11271:18;;;11264:30;11330:34;11310:18;;;11303:62;-1:-1:-1;;;11381:18:1;;;11374:40;11431:19;;21253:74:0;11224:232:1;21253:74:0;-1:-1:-1;;;;;;21345:16:0;;;;;:9;:16;;;;;;;21161:208::o;47736:94::-;47158:6;;-1:-1:-1;;;;;47158:6:0;19412:10;47305:23;47297:68;;;;-1:-1:-1;;;47297:68:0;;;;;;;:::i;:::-;47801:21:::1;47819:1;47801:9;:21::i;:::-;47736:94::o:0;42412:139::-;42490:4;42514:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;42514:29:0;;;;;;;;;;;;;;;42412:139::o;21906:104::-;21962:13;21995:7;21988:14;;;;;:::i;23589:295::-;-1:-1:-1;;;;;23692:24:0;;19412:10;23692:24;;23684:62;;;;-1:-1:-1;;;23684:62:0;;10060:2:1;23684:62:0;;;10042:21:1;10099:2;10079:18;;;10072:30;10138:27;10118:18;;;10111:55;10183:18;;23684:62:0;10032:175:1;23684:62:0;19412:10;23759:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;23759:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;23759:53:0;;;;;;;;;;23828:48;;7039:41:1;;;23759:42:0;;19412:10;23828:48;;7012:18:1;23828:48:0;;;;;;;23589:295;;:::o;24852:328::-;25027:41;19412:10;25060:7;25027:18;:41::i;:::-;25019:103;;;;-1:-1:-1;;;25019:103:0;;;;;;;:::i;:::-;25133:39;25147:4;25153:2;25157:7;25166:5;25133:13;:39::i;:::-;24852:328;;;;:::o;22081:334::-;26755:4;26779:16;;;:7;:16;;;;;;22154:13;;-1:-1:-1;;;;;26779:16:0;22180:76;;;;-1:-1:-1;;;22180:76:0;;13976:2:1;22180:76:0;;;13958:21:1;14015:2;13995:18;;;13988:30;14054:34;14034:18;;;14027:62;-1:-1:-1;;;14105:18:1;;;14098:45;14160:19;;22180:76:0;13948:237:1;22180:76:0;22269:21;22293:10;:8;:10::i;:::-;22269:34;;22345:1;22327:7;22321:21;:25;:86;;;;;;;;;;;;;;;;;22373:7;22382:18;:7;:16;:18::i;:::-;22356:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;22321:86;22314:93;22081:334;-1:-1:-1;;;22081:334:0:o;44304:149::-;43593:7;43620:12;;;:6;:12;;;;;:22;;;41994:30;42005:4;19412:10;41994;:30::i;:::-;44419:26:::1;44431:4;44437:7;44419:11;:26::i;47985:192::-:0;47158:6;;-1:-1:-1;;;;;47158:6:0;19412:10;47305:23;47297:68;;;;-1:-1:-1;;;47297:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;48074:22:0;::::1;48066:73;;;::::0;-1:-1:-1;;;48066:73:0;;8891:2:1;48066:73:0::1;::::0;::::1;8873:21:1::0;8930:2;8910:18;;;8903:30;8969:34;8949:18;;;8942:62;-1:-1:-1;;;9020:18:1;;;9013:36;9066:19;;48066:73:0::1;8863:228:1::0;48066:73:0::1;48150:19;48160:8;48150:9;:19::i;42116:204::-:0;42201:4;-1:-1:-1;;;;;;42225:47:0;;-1:-1:-1;;;42225:47:0;;:87;;;42276:36;42300:11;42276:23;:36::i;30672:174::-;30747:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;30747:29:0;-1:-1:-1;;;;;30747:29:0;;;;;;;;:24;;30801:23;30747:24;30801:14;:23::i;:::-;-1:-1:-1;;;;;30792:46:0;;;;;;;;;;;30672:174;;:::o;26984:348::-;27077:4;26779:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26779:16:0;27094:73;;;;-1:-1:-1;;;27094:73:0;;10414:2:1;27094:73:0;;;10396:21:1;10453:2;10433:18;;;10426:30;10492:34;10472:18;;;10465:62;-1:-1:-1;;;10543:18:1;;;10536:42;10595:19;;27094:73:0;10386:234:1;27094:73:0;27178:13;27194:23;27209:7;27194:14;:23::i;:::-;27178:39;;27247:5;-1:-1:-1;;;;;27236:16:0;:7;-1:-1:-1;;;;;27236:16:0;;:51;;;;27280:7;-1:-1:-1;;;;;27256:31:0;:20;27268:7;27256:11;:20::i;:::-;-1:-1:-1;;;;;27256:31:0;;27236:51;:87;;;-1:-1:-1;;;;;;24076:25:0;;;24052:4;24076:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;27291:32;27228:96;26984:348;-1:-1:-1;;;;26984:348:0:o;29976:578::-;30135:4;-1:-1:-1;;;;;30108:31:0;:23;30123:7;30108:14;:23::i;:::-;-1:-1:-1;;;;;30108:31:0;;30100:85;;;;-1:-1:-1;;;30100:85:0;;13566:2:1;30100:85:0;;;13548:21:1;13605:2;13585:18;;;13578:30;13644:34;13624:18;;;13617:62;-1:-1:-1;;;13695:18:1;;;13688:39;13744:19;;30100:85:0;13538:231:1;30100:85:0;-1:-1:-1;;;;;30204:16:0;;30196:65;;;;-1:-1:-1;;;30196:65:0;;9655:2:1;30196:65:0;;;9637:21:1;9694:2;9674:18;;;9667:30;9733:34;9713:18;;;9706:62;-1:-1:-1;;;9784:18:1;;;9777:34;9828:19;;30196:65:0;9627:226:1;30196:65:0;30274:39;30295:4;30301:2;30305:7;30274:20;:39::i;:::-;30378:29;30395:1;30399:7;30378:8;:29::i;:::-;-1:-1:-1;;;;;30420:15:0;;;;;;:9;:15;;;;;:20;;30439:1;;30420:15;:20;;30439:1;;30420:20;:::i;:::-;;;;-1:-1:-1;;;;;;;30451:13:0;;;;;;:9;:13;;;;;:18;;30468:1;;30451:13;:18;;30468:1;;30451:18;:::i;:::-;;;;-1:-1:-1;;30480:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30480:21:0;-1:-1:-1;;;;;30480:21:0;;;;;;;;;30519:27;;30480:16;;30519:27;;;;;;;29976:578;;;:::o;42841:497::-;42922:22;42930:4;42936:7;42922;:22::i;:::-;42917:414;;43110:41;43138:7;-1:-1:-1;;;;;43110:41:0;43148:2;43110:19;:41::i;:::-;43224:38;43252:4;43259:2;43224:19;:38::i;:::-;43015:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;43015:270:0;;;;;;;;;;-1:-1:-1;;;42961:358:0;;;;;;;:::i;46208:229::-;46283:22;46291:4;46297:7;46283;:22::i;:::-;46278:152;;46322:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;46322:29:0;;;;;;;;;:36;;-1:-1:-1;;46322:36:0;46354:4;46322:36;;;46405:12;19412:10;;19332:98;46405:12;-1:-1:-1;;;;;46378:40:0;46396:7;-1:-1:-1;;;;;46378:40:0;46390:4;46378:40;;;;;;;;;;46208:229;;:::o;46445:230::-;46520:22;46528:4;46534:7;46520;:22::i;:::-;46516:152;;;46591:5;46559:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;46559:29:0;;;;;;;;;;:37;;-1:-1:-1;;46559:37:0;;;46616:40;19412:10;;46559:12;;46616:40;;46591:5;46616:40;46445:230;;:::o;29279:360::-;29339:13;29355:23;29370:7;29355:14;:23::i;:::-;29339:39;;29391:48;29412:5;29427:1;29431:7;29391:20;:48::i;:::-;29480:29;29497:1;29501:7;29480:8;:29::i;:::-;-1:-1:-1;;;;;29522:16:0;;;;;;:9;:16;;;;;:21;;29542:1;;29522:16;:21;;29542:1;;29522:21;:::i;:::-;;;;-1:-1:-1;;29561:16:0;;;;:7;:16;;;;;;29554:23;;-1:-1:-1;;;;;;29554:23:0;;;29595:36;29569:7;;29561:16;-1:-1:-1;;;;;29595:36:0;;;;;29561:16;;29595:36;29279:360;;:::o;28668:382::-;-1:-1:-1;;;;;28748:16:0;;28740:61;;;;-1:-1:-1;;;28740:61:0;;12073:2:1;28740:61:0;;;12055:21:1;;;12092:18;;;12085:30;12151:34;12131:18;;;12124:62;12203:18;;28740:61:0;12045:182:1;28740:61:0;26755:4;26779:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26779:16:0;:30;28812:58;;;;-1:-1:-1;;;28812:58:0;;9298:2:1;28812:58:0;;;9280:21:1;9337:2;9317:18;;;9310:30;9376;9356:18;;;9349:58;9424:18;;28812:58:0;9270:178:1;28812:58:0;28883:45;28912:1;28916:2;28920:7;28883:20;:45::i;:::-;-1:-1:-1;;;;;28941:13:0;;;;;;:9;:13;;;;;:18;;28958:1;;28941:13;:18;;28958:1;;28941:18;:::i;:::-;;;;-1:-1:-1;;28970:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;28970:21:0;-1:-1:-1;;;;;28970:21:0;;;;;;;;29009:33;;28970:16;;;29009:33;;28970:16;;29009:33;28668:382;;:::o;48185:173::-;48260:6;;;-1:-1:-1;;;;;48277:17:0;;;-1:-1:-1;;;;;;48277:17:0;;;;;;;48310:40;;48260:6;;;48277:17;48260:6;;48310:40;;48241:16;;48310:40;48185:173;;:::o;26062:315::-;26219:28;26229:4;26235:2;26239:7;26219:9;:28::i;:::-;26266:48;26289:4;26295:2;26299:7;26308:5;26266:22;:48::i;:::-;26258:111;;;;-1:-1:-1;;;26258:111:0;;;;;;;:::i;53092:105::-;53144:13;53177:12;53170:19;;;;;:::i;17525:723::-;17581:13;17802:10;17798:53;;-1:-1:-1;;17829:10:0;;;;;;;;;;;;-1:-1:-1;;;17829:10:0;;;;;17525:723::o;17798:53::-;17876:5;17861:12;17917:78;17924:9;;17917:78;;17950:8;;;;:::i;:::-;;-1:-1:-1;17973:10:0;;-1:-1:-1;17981:2:0;17973:10;;:::i;:::-;;;17917:78;;;18005:19;18037:6;18027:17;;;;;;-1:-1:-1;;;18027:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18027:17:0;;18005:39;;18055:154;18062:10;;18055:154;;18089:11;18099:1;18089:11;;:::i;:::-;;-1:-1:-1;18158:10:0;18166:2;18158:5;:10;:::i;:::-;18145:24;;:2;:24;:::i;:::-;18132:39;;18115:6;18122;18115:14;;;;;;-1:-1:-1;;;18115:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;18115:56:0;;;;;;;;-1:-1:-1;18186:11:0;18195:2;18186:11;;:::i;:::-;;;18055:154;;34013:224;34115:4;-1:-1:-1;;;;;;34139:50:0;;-1:-1:-1;;;34139:50:0;;:90;;;34193:36;34217:11;34193:23;:36::i;53310:223::-;53480:45;53507:4;53513:2;53517:7;53480:26;:45::i;18826:451::-;18901:13;18927:19;18959:10;18963:6;18959:1;:10;:::i;:::-;:14;;18972:1;18959:14;:::i;:::-;18949:25;;;;;;-1:-1:-1;;;18949:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18949:25:0;;18927:47;;-1:-1:-1;;;18985:6:0;18992:1;18985:9;;;;;;-1:-1:-1;;;18985:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;18985:15:0;;;;;;;;;-1:-1:-1;;;19011:6:0;19018:1;19011:9;;;;;;-1:-1:-1;;;19011:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;19011:15:0;;;;;;;;-1:-1:-1;19042:9:0;19054:10;19058:6;19054:1;:10;:::i;:::-;:14;;19067:1;19054:14;:::i;:::-;19042:26;;19037:135;19074:1;19070;:5;19037:135;;;-1:-1:-1;;;19122:5:0;19130:3;19122:11;19109:25;;;;;-1:-1:-1;;;19109:25:0;;;;;;;;;;;;19097:6;19104:1;19097:9;;;;;;-1:-1:-1;;;19097:9:0;;;;;;;;;;;;:37;-1:-1:-1;;;;;19097:37:0;;;;;;;;-1:-1:-1;19159:1:0;19149:11;;;;;19077:3;;;:::i;:::-;;;19037:135;;;-1:-1:-1;19190:10:0;;19182:55;;;;-1:-1:-1;;;19182:55:0;;7699:2:1;19182:55:0;;;7681:21:1;;;7718:18;;;7711:30;7777:34;7757:18;;;7750:62;7829:18;;19182:55:0;7671:182:1;31411:803:0;31566:4;-1:-1:-1;;;;;31587:13:0;;8438:20;8486:8;31583:624;;31623:72;;-1:-1:-1;;;31623:72:0;;-1:-1:-1;;;;;31623:36:0;;;;;:72;;19412:10;;31674:4;;31680:7;;31689:5;;31623:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31623:72:0;;;;;;;;-1:-1:-1;;31623:72:0;;;;;;;;;;;;:::i;:::-;;;31619:533;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31869:13:0;;31865:272;;31912:60;;-1:-1:-1;;;31912:60:0;;;;;;;:::i;31865:272::-;32087:6;32081:13;32072:6;32068:2;32064:15;32057:38;31619:533;-1:-1:-1;;;;;;31746:55:0;-1:-1:-1;;;31746:55:0;;-1:-1:-1;31739:62:0;;31583:624;-1:-1:-1;32191:4:0;31411:803;;;;;;:::o;20792:305::-;20894:4;-1:-1:-1;;;;;;20931:40:0;;-1:-1:-1;;;20931:40:0;;:105;;-1:-1:-1;;;;;;;20988:48:0;;-1:-1:-1;;;20988:48:0;20931:105;:158;;;-1:-1:-1;;;;;;;;;;19762:40:0;;;21053:36;19653:157;35689:589;-1:-1:-1;;;;;35895:18:0;;35891:187;;35930:40;35962:7;37105:10;:17;;37078:24;;;;:15;:24;;;;;:44;;;37133:24;;;;;;;;;;;;37001:164;35930:40;35891:187;;;36000:2;-1:-1:-1;;;;;35992:10:0;:4;-1:-1:-1;;;;;35992:10:0;;35988:90;;36019:47;36052:4;36058:7;36019:32;:47::i;:::-;-1:-1:-1;;;;;36092:16:0;;36088:183;;36125:45;36162:7;36125:36;:45::i;36088:183::-;36198:4;-1:-1:-1;;;;;36192:10:0;:2;-1:-1:-1;;;;;36192:10:0;;36188:83;;36219:40;36247:2;36251:7;36219:27;:40::i;37792:988::-;38058:22;38108:1;38083:22;38100:4;38083:16;:22::i;:::-;:26;;;;:::i;:::-;38120:18;38141:26;;;:17;:26;;;;;;38058:51;;-1:-1:-1;38274:28:0;;;38270:328;;-1:-1:-1;;;;;38341:18:0;;38319:19;38341:18;;;:12;:18;;;;;;;;:34;;;;;;;;;38392:30;;;;;;:44;;;38509:30;;:17;:30;;;;;:43;;;38270:328;-1:-1:-1;38694:26:0;;;;:17;:26;;;;;;;;38687:33;;;-1:-1:-1;;;;;38738:18:0;;;;;:12;:18;;;;;:34;;;;;;;38731:41;37792:988::o;39075:1079::-;39353:10;:17;39328:22;;39353:21;;39373:1;;39353:21;:::i;:::-;39385:18;39406:24;;;:15;:24;;;;;;39779:10;:26;;39328:46;;-1:-1:-1;39406:24:0;;39328:46;;39779:26;;;;-1:-1:-1;;;39779:26:0;;;;;;;;;;;;;;;;;39757:48;;39843:11;39818:10;39829;39818:22;;;;;;-1:-1:-1;;;39818:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;39923:28;;;:15;:28;;;;;;;:41;;;40095:24;;;;;40088:31;40130:10;:16;;;;;-1:-1:-1;;;40130:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;39075:1079;;;;:::o;36579:221::-;36664:14;36681:20;36698:2;36681:16;:20::i;:::-;-1:-1:-1;;;;;36712:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;36757:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;36579:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:1183::-;1106:6;1114;1122;1130;1183:3;1171:9;1162:7;1158:23;1154:33;1151:2;;;1205:6;1197;1190:22;1151:2;1233:29;1252:9;1233:29;:::i;:::-;1223:39;;1281:38;1315:2;1304:9;1300:18;1281:38;:::i;:::-;1271:48;;1366:2;1355:9;1351:18;1338:32;1328:42;;1421:2;1410:9;1406:18;1393:32;1444:18;1485:2;1477:6;1474:14;1471:2;;;1506:6;1498;1491:22;1471:2;1549:6;1538:9;1534:22;1524:32;;1594:7;1587:4;1583:2;1579:13;1575:27;1565:2;;1621:6;1613;1606:22;1565:2;1662;1649:16;1684:2;1680;1677:10;1674:2;;;1690:18;;:::i;:::-;1765:2;1759:9;1733:2;1819:13;;-1:-1:-1;;1815:22:1;;;1839:2;1811:31;1807:40;1795:53;;;1863:18;;;1883:22;;;1860:46;1857:2;;;1909:18;;:::i;:::-;1949:10;1945:2;1938:22;1984:2;1976:6;1969:18;2024:7;2019:2;2014;2010;2006:11;2002:20;1999:33;1996:2;;;2050:6;2042;2035:22;1996:2;2111;2106;2102;2098:11;2093:2;2085:6;2081:15;2068:46;2134:15;;;2151:2;2130:24;2123:40;;;;1141:1053;;;;-1:-1:-1;1141:1053:1;;-1:-1:-1;;;;1141:1053:1:o;2199:367::-;2264:6;2272;2325:2;2313:9;2304:7;2300:23;2296:32;2293:2;;;2346:6;2338;2331:22;2293:2;2374:29;2393:9;2374:29;:::i;:::-;2364:39;;2453:2;2442:9;2438:18;2425:32;2500:5;2493:13;2486:21;2479:5;2476:32;2466:2;;2527:6;2519;2512:22;2466:2;2555:5;2545:15;;;2283:283;;;;;:::o;2571:264::-;2639:6;2647;2700:2;2688:9;2679:7;2675:23;2671:32;2668:2;;;2721:6;2713;2706:22;2668:2;2749:29;2768:9;2749:29;:::i;:::-;2739:39;2825:2;2810:18;;;;2797:32;;-1:-1:-1;;;2658:177:1:o;2840:190::-;2899:6;2952:2;2940:9;2931:7;2927:23;2923:32;2920:2;;;2973:6;2965;2958:22;2920:2;-1:-1:-1;3001:23:1;;2910:120;-1:-1:-1;2910:120:1:o;3035:264::-;3103:6;3111;3164:2;3152:9;3143:7;3139:23;3135:32;3132:2;;;3185:6;3177;3170:22;3132:2;3226:9;3213:23;3203:33;;3255:38;3289:2;3278:9;3274:18;3255:38;:::i;3304:255::-;3362:6;3415:2;3403:9;3394:7;3390:23;3386:32;3383:2;;;3436:6;3428;3421:22;3383:2;3480:9;3467:23;3499:30;3523:5;3499:30;:::i;3564:259::-;3633:6;3686:2;3674:9;3665:7;3661:23;3657:32;3654:2;;;3707:6;3699;3692:22;3654:2;3744:9;3738:16;3763:30;3787:5;3763:30;:::i;3828:642::-;3899:6;3907;3960:2;3948:9;3939:7;3935:23;3931:32;3928:2;;;3981:6;3973;3966:22;3928:2;4026:9;4013:23;4055:18;4096:2;4088:6;4085:14;4082:2;;;4117:6;4109;4102:22;4082:2;4160:6;4149:9;4145:22;4135:32;;4205:7;4198:4;4194:2;4190:13;4186:27;4176:2;;4232:6;4224;4217:22;4176:2;4277;4264:16;4303:2;4295:6;4292:14;4289:2;;;4324:6;4316;4309:22;4289:2;4374:7;4369:2;4360:6;4356:2;4352:15;4348:24;4345:37;4342:2;;;4400:6;4392;4385:22;4342:2;4436;4428:11;;;;;4458:6;;-1:-1:-1;3918:552:1;;-1:-1:-1;;;;3918:552:1:o;4670:257::-;4711:3;4749:5;4743:12;4776:6;4771:3;4764:19;4792:63;4848:6;4841:4;4836:3;4832:14;4825:4;4818:5;4814:16;4792:63;:::i;:::-;4909:2;4888:15;-1:-1:-1;;4884:29:1;4875:39;;;;4916:4;4871:50;;4719:208;-1:-1:-1;;4719:208:1:o;4932:470::-;5111:3;5149:6;5143:13;5165:53;5211:6;5206:3;5199:4;5191:6;5187:17;5165:53;:::i;:::-;5281:13;;5240:16;;;;5303:57;5281:13;5240:16;5337:4;5325:17;;5303:57;:::i;:::-;5376:20;;5119:283;-1:-1:-1;;;;5119:283:1:o;5407:786::-;5818:25;5813:3;5806:38;5788:3;5873:6;5867:13;5889:62;5944:6;5939:2;5934:3;5930:12;5923:4;5915:6;5911:17;5889:62;:::i;:::-;-1:-1:-1;;;6010:2:1;5970:16;;;6002:11;;;5995:40;6060:13;;6082:63;6060:13;6131:2;6123:11;;6116:4;6104:17;;6082:63;:::i;:::-;6165:17;6184:2;6161:26;;5796:397;-1:-1:-1;;;;5796:397:1:o;6406:488::-;-1:-1:-1;;;;;6675:15:1;;;6657:34;;6727:15;;6722:2;6707:18;;6700:43;6774:2;6759:18;;6752:34;;;6822:3;6817:2;6802:18;;6795:31;;;6600:4;;6843:45;;6868:19;;6860:6;6843:45;:::i;:::-;6835:53;6609:285;-1:-1:-1;;;;;;6609:285:1:o;7273:219::-;7422:2;7411:9;7404:21;7385:4;7442:44;7482:2;7471:9;7467:18;7459:6;7442:44;:::i;8270:414::-;8472:2;8454:21;;;8511:2;8491:18;;;8484:30;8550:34;8545:2;8530:18;;8523:62;-1:-1:-1;;;8616:2:1;8601:18;;8594:48;8674:3;8659:19;;8444:240::o;13003:356::-;13205:2;13187:21;;;13224:18;;;13217:30;13283:34;13278:2;13263:18;;13256:62;13350:2;13335:18;;13177:182::o;14937:413::-;15139:2;15121:21;;;15178:2;15158:18;;;15151:30;15217:34;15212:2;15197:18;;15190:62;-1:-1:-1;;;15283:2:1;15268:18;;15261:47;15340:3;15325:19;;15111:239::o;16783:128::-;16823:3;16854:1;16850:6;16847:1;16844:13;16841:2;;;16860:18;;:::i;:::-;-1:-1:-1;16896:9:1;;16831:80::o;16916:120::-;16956:1;16982;16972:2;;16987:18;;:::i;:::-;-1:-1:-1;17021:9:1;;16962:74::o;17041:168::-;17081:7;17147:1;17143;17139:6;17135:14;17132:1;17129:21;17124:1;17117:9;17110:17;17106:45;17103:2;;;17154:18;;:::i;:::-;-1:-1:-1;17194:9:1;;17093:116::o;17214:125::-;17254:4;17282:1;17279;17276:8;17273:2;;;17287:18;;:::i;:::-;-1:-1:-1;17324:9:1;;17263:76::o;17344:258::-;17416:1;17426:113;17440:6;17437:1;17434:13;17426:113;;;17516:11;;;17510:18;17497:11;;;17490:39;17462:2;17455:10;17426:113;;;17557:6;17554:1;17551:13;17548:2;;;-1:-1:-1;;17592:1:1;17574:16;;17567:27;17397:205::o;17607:136::-;17646:3;17674:5;17664:2;;17683:18;;:::i;:::-;-1:-1:-1;;;17719:18:1;;17654:89::o;17748:380::-;17827:1;17823:12;;;;17870;;;17891:2;;17945:4;17937:6;17933:17;17923:27;;17891:2;17998;17990:6;17987:14;17967:18;17964:38;17961:2;;;18044:10;18039:3;18035:20;18032:1;18025:31;18079:4;18076:1;18069:15;18107:4;18104:1;18097:15;17961:2;;17803:325;;;:::o;18133:135::-;18172:3;-1:-1:-1;;18193:17:1;;18190:2;;;18213:18;;:::i;:::-;-1:-1:-1;18260:1:1;18249:13;;18180:88::o;18273:112::-;18305:1;18331;18321:2;;18336:18;;:::i;:::-;-1:-1:-1;18370:9:1;;18311:74::o;18390:127::-;18451:10;18446:3;18442:20;18439:1;18432:31;18482:4;18479:1;18472:15;18506:4;18503:1;18496:15;18522:127;18583:10;18578:3;18574:20;18571:1;18564:31;18614:4;18611:1;18604:15;18638:4;18635:1;18628:15;18654:127;18715:10;18710:3;18706:20;18703:1;18696:31;18746:4;18743:1;18736:15;18770:4;18767:1;18760:15;18786:131;-1:-1:-1;;;;;;18860:32:1;;18850:43;;18840:2;;18907:1;18904;18897:12

Swarm Source

ipfs://dbcd960a8271dce4295fa0511b0cbdc3ad0cc5b491c280c768b6ea0111ef2a5f
Loading...
Loading
Loading...
Loading
[ 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.