ETH Price: $2,436.94 (-1.53%)
 

Overview

Max Total Supply

243 SC

Holders

153

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
SamuraiCocks

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-12-08
*/

// SPDX-License-Identifier: MIT

// File contracts/OperatorFilter/IOperatorFilterRegistry.sol

pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}


// File contracts/OperatorFilter/OperatorFilterer.sol


pragma solidity ^0.8.13;

abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry constant operatorFilterRegistry =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(operatorFilterRegistry).code.length > 0) {
            if (subscribe) {
                operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    operatorFilterRegistry.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(operatorFilterRegistry).code.length > 0) {
            // Allow spending tokens from addresses with balance
            // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
            // from an EOA.
            if (from == msg.sender) {
                _;
                return;
            }
            if (
                !(
                    operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)
                        && operatorFilterRegistry.isOperatorAllowed(address(this), from)
                )
            ) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }
}


// File contracts/OperatorFilter/DefaultOperatorFilterer.sol


pragma solidity ^0.8.13;

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}


// File @openzeppelin/contracts/utils/introspection/[email protected]


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/token/ERC721/[email protected]


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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;

    /**
     * @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 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);
}


// File @openzeppelin/contracts/utils/[email protected]


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}


// File @openzeppelin/contracts/utils/[email protected]


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC721/[email protected]


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

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

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

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


// File @openzeppelin/contracts/utils/[email protected]


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @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);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}


// File @openzeppelin/contracts/utils/introspection/[email protected]


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

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


// File erc721a/contracts/[email protected]


// Creator: Chiru Labs

pragma solidity ^0.8.4;







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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @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 override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        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 override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

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

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSender()) revert ApproveToCaller();

        _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 {
        _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 {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _startTokenId() <= tokenId && tokenId < _currentIndex &&
            !_ownerships[tokenId].burned;
    }

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

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}


// File @openzeppelin/contracts/access/[email protected]


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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


// File @openzeppelin/contracts/interfaces/[email protected]


// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}


// File @openzeppelin/contracts/token/common/[email protected]


// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;


/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

pragma solidity ^0.8.7;

error SaleInactive();
error SoldOut();
error InvalidPrice();
error WithdrawFailed();
error InvalidQuantity();
error InvalidProof();
error InvalidBatchMint();

contract SamuraiCocks is ERC721A, Ownable, ERC2981, OperatorFilterer {
    uint256 public price = 0 ether;
    uint256 public maxPerWallet = 1;
    uint256 public maxPerTransaction = 1;

    uint256 public immutable supply = 243;

    enum SaleState {
        CLOSED,
        OPEN
    }

    SaleState public saleState = SaleState.CLOSED;

    string public _baseTokenURI;

    mapping(address => uint256) public addressMintBalance;

    address[] public withdrawAddresses = [0xe8d8F6168E7DD322b2E272C5d8971326c403A393];
    uint256[] public withdrawPercentages = [100];

    constructor(
        string memory _name,
        string memory _symbol,
        string memory _baseUri,
        uint96 _royaltyAmount
    ) ERC721A(_name, _symbol) OperatorFilterer(address(0), false) {
        _baseTokenURI = _baseUri;
        _setDefaultRoyalty(0xe8d8F6168E7DD322b2E272C5d8971326c403A393, _royaltyAmount);
    }

    function mint(uint256 qty) external {
        if (saleState != SaleState.OPEN) revert SaleInactive();
        if (_currentIndex + (qty - 1) > supply) revert SoldOut();
        if (addressMintBalance[msg.sender] + qty > maxPerWallet) revert InvalidQuantity();
        if (qty > maxPerTransaction) revert InvalidQuantity();
        require(tx.origin == msg.sender, "Only samurai");
        addressMintBalance[msg.sender] += qty;

        _safeMint(msg.sender, qty);

    }

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

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

    
    function setBaseURI(string memory baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }

    function setPrice(uint256 newPrice) external onlyOwner {
        price = newPrice;
    }

    function setSaleState(uint8 _state) external onlyOwner {
        saleState = SaleState(_state);
    }

    function dojoMint(uint256 qty, address recipient) external onlyOwner {
        if (_currentIndex + (qty - 1) > supply) revert SoldOut();
        _safeMint(recipient, qty);
    }

    function setPerWalletMax(uint256 _val) external onlyOwner {
        maxPerWallet = _val;
    }

    function setPerTransactionMax(uint256 _val) external onlyOwner {
        maxPerTransaction = _val;
    }

    function _withdraw(address _address, uint256 _amount) private {
        (bool success, ) = _address.call{value: _amount}("");
        if (!success) revert WithdrawFailed();
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;

        for (uint256 i; i < withdrawAddresses.length; i++) {
            _withdraw(withdrawAddresses[i], (balance * withdrawPercentages[i]) / 100);
        }
    }

    function setRoyaltyInfo(address receiver, uint96 feeBasisPoints)
        external
        onlyOwner
    {
        _setDefaultRoyalty(receiver, feeBasisPoints);
    }

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

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId, data);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_baseUri","type":"string"},{"internalType":"uint96","name":"_royaltyAmount","type":"uint96"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQuantity","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"SaleInactive","type":"error"},{"inputs":[],"name":"SoldOut","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"WithdrawFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"dojoMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":[],"name":"saleState","outputs":[{"internalType":"enum SamuraiCocks.SaleState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_val","type":"uint256"}],"name":"setPerTransactionMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_val","type":"uint256"}],"name":"setPerWalletMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeBasisPoints","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_state","type":"uint8"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"withdrawAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"withdrawPercentages","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

6000600b556001600c819055600d81905560f3608052600e805460ff1916905560c060405273e8d8f6168e7dd322b2e272c5d8971326c403a39360a09081526200004d9160119190620003c2565b506040805160208101909152606481526200006d9060129060016200042c565b503480156200007b57600080fd5b506040516200294f3803806200294f8339810160408190526200009e91620005d0565b60008085858160029080519060200190620000bb9291906200046f565b508051620000d19060039060208401906200046f565b5050600160005550620000e4336200026b565b6daaeb6d7670e522a718067333cd4e3b15620002295780156200017757604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200015857600080fd5b505af11580156200016d573d6000803e3d6000fd5b5050505062000229565b6001600160a01b03821615620001c85760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200013d565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200020f57600080fd5b505af115801562000224573d6000803e3d6000fd5b505050505b505081516200024090600f9060208501906200046f565b506200026173e8d8f6168e7dd322b2e272c5d8971326c403a39382620002bd565b50505050620006bf565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b0382161115620003315760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620003895760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640162000328565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b8280548282559060005260206000209081019282156200041a579160200282015b828111156200041a57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620003e3565b5062000428929150620004ec565b5090565b8280548282559060005260206000209081019282156200041a579160200282015b828111156200041a578251829060ff169055916020019190600101906200044d565b8280546200047d9062000683565b90600052602060002090601f016020900481019282620004a157600085556200041a565b82601f10620004bc57805160ff19168380011785556200041a565b828001600101855582156200041a579182015b828111156200041a578251825591602001919060010190620004cf565b5b80821115620004285760008155600101620004ed565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200052b57600080fd5b81516001600160401b038082111562000548576200054862000503565b604051601f8301601f19908116603f0116810190828211818310171562000573576200057362000503565b816040528381526020925086838588010111156200059057600080fd5b600091505b83821015620005b4578582018301518183018401529082019062000595565b83821115620005c65760008385830101525b9695505050505050565b60008060008060808587031215620005e757600080fd5b84516001600160401b0380821115620005ff57600080fd5b6200060d8883890162000519565b955060208701519150808211156200062457600080fd5b620006328883890162000519565b945060408701519150808211156200064957600080fd5b50620006588782880162000519565b606087015190935090506001600160601b03811681146200067857600080fd5b939692955090935050565b600181811c908216806200069857607f821691505b602082108103620006b957634e487b7160e01b600052602260045260246000fd5b50919050565b608051612266620006e96000396000818161026301528181610aec0152610c7101526122666000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c80635a67de0711610125578063a0712d68116100ad578063c87b56dd1161007c578063c87b56dd146104b0578063cfc86f7b146104c3578063d86bed9b146104cb578063e985e9c5146104de578063f2fde38b1461051a57600080fd5b8063a0712d6814610464578063a22cb46514610477578063b88d4fde1461048a578063bd3b14d31461049d57600080fd5b8063715018a6116100f4578063715018a6146104275780638da5cb5b1461042f57806391b7f5ed1461044057806395d89b4114610453578063a035b1fe1461045b57600080fd5b80635a67de07146103d4578063603f4d52146103e75780636352211e1461040157806370a082311461041457600080fd5b80633406c726116101a857806344bb82791161017757806344bb827914610389578063453c23101461039c5780634b980d67146103a5578063519a9c97146103ae57806355f804b3146103c157600080fd5b80633406c7261461033b578063391176681461035b5780633ccfd60b1461036e57806342842e0e1461037657600080fd5b8063081812fc116101ef578063081812fc146102a8578063095ea7b3146102d357806318160ddd146102e657806323b872dd146102f65780632a55205a1461030957600080fd5b806301ffc9a71461022157806302fa7c4714610249578063047fc9aa1461025e57806306fdde0314610293575b600080fd5b61023461022f366004611c9a565b61052d565b60405190151581526020015b60405180910390f35b61025c610257366004611cd3565b61053e565b005b6102857f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610240565b61029b610554565b6040516102409190611d6e565b6102bb6102b6366004611d81565b6105e6565b6040516001600160a01b039091168152602001610240565b61025c6102e1366004611d9a565b61062a565b6001546000540360001901610285565b61025c610304366004611dc4565b6106b7565b61031c610317366004611e00565b610818565b604080516001600160a01b039093168352602083019190915201610240565b610285610349366004611e22565b60106020526000908152604090205481565b61025c610369366004611d81565b6108c4565b61025c6108d1565b61025c610384366004611dc4565b610967565b6102bb610397366004611d81565b610ab8565b610285600c5481565b610285600d5481565b61025c6103bc366004611e3d565b610ae2565b61025c6103cf366004611ef5565b610b4c565b61025c6103e2366004611f3e565b610b67565b600e546103f49060ff1681565b6040516102409190611f77565b6102bb61040f366004611d81565b610ba7565b610285610422366004611e22565b610bb9565b61025c610c08565b6008546001600160a01b03166102bb565b61025c61044e366004611d81565b610c1c565b61029b610c29565b610285600b5481565b61025c610472366004611d81565b610c38565b61025c610485366004611fad565b610d97565b61025c610498366004611fd9565b610e2c565b61025c6104ab366004611d81565b610f8b565b61029b6104be366004611d81565b610f98565b61029b61101c565b6102856104d9366004611d81565b6110aa565b6102346104ec366004612055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61025c610528366004611e22565b6110cb565b600061053882611141565b92915050565b610546611166565b61055082826111c0565b5050565b6060600280546105639061207f565b80601f016020809104026020016040519081016040528092919081815260200182805461058f9061207f565b80156105dc5780601f106105b1576101008083540402835291602001916105dc565b820191906000526020600020905b8154815290600101906020018083116105bf57829003601f168201915b5050505050905090565b60006105f1826112bd565b61060e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061063582610ba7565b9050806001600160a01b0316836001600160a01b0316036106695760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610689575061068781336104ec565b155b156106a7576040516367d9dca160e11b815260040160405180910390fd5b6106b28383836112f6565b505050565b826daaeb6d7670e522a718067333cd4e3b1561080757336001600160a01b038216036106ed576106e8848484611352565b610812565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561073c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076091906120b9565b80156107e35750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156107bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e391906120b9565b61080757604051633b79c77360e21b81523360048201526024015b60405180910390fd5b610812848484611352565b50505050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161088d5750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906108ac906001600160601b0316876120ec565b6108b69190612121565b915196919550909350505050565b6108cc611166565b600c55565b6108d9611166565b4760005b60115481101561055057610955601182815481106108fd576108fd612135565b9060005260206000200160009054906101000a90046001600160a01b031660646012848154811061093057610930612135565b90600052602060002001548561094691906120ec565b6109509190612121565b61135d565b8061095f8161214b565b9150506108dd565b826daaeb6d7670e522a718067333cd4e3b15610aad57336001600160a01b03821603610998576106e88484846113d1565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156109e7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0b91906120b9565b8015610a8e5750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610a6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8e91906120b9565b610aad57604051633b79c77360e21b81523360048201526024016107fe565b6108128484846113d1565b60118181548110610ac857600080fd5b6000918252602090912001546001600160a01b0316905081565b610aea611166565b7f0000000000000000000000000000000000000000000000000000000000000000610b16600184612164565b600054610b23919061217b565b1115610b42576040516352df9fe560e01b815260040160405180910390fd5b61055081836113ec565b610b54611166565b805161055090600f906020840190611beb565b610b6f611166565b8060ff166001811115610b8457610b84611f61565b600e805460ff191660018381811115610b9f57610b9f611f61565b021790555050565b6000610bb282611406565b5192915050565b60006001600160a01b038216610be2576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c10611166565b610c1a600061152f565b565b610c24611166565b600b55565b6060600380546105639061207f565b6001600e5460ff166001811115610c5157610c51611f61565b14610c6f57604051630fe219dd60e21b815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000610c9b600183612164565b600054610ca8919061217b565b1115610cc7576040516352df9fe560e01b815260040160405180910390fd5b600c5433600090815260106020526040902054610ce590839061217b565b1115610d045760405163524f409b60e01b815260040160405180910390fd5b600d54811115610d275760405163524f409b60e01b815260040160405180910390fd5b323314610d655760405162461bcd60e51b815260206004820152600c60248201526b4f6e6c792073616d7572616960a01b60448201526064016107fe565b3360009081526010602052604081208054839290610d8490849061217b565b90915550610d94905033826113ec565b50565b336001600160a01b03831603610dc05760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b836daaeb6d7670e522a718067333cd4e3b15610f7857336001600160a01b03821603610e6357610e5e85858585611581565b610f84565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed691906120b9565b8015610f595750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610f35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5991906120b9565b610f7857604051633b79c77360e21b81523360048201526024016107fe565b610f8485858585611581565b5050505050565b610f93611166565b600d55565b6060610fa3826112bd565b610fc057604051630a14c4b560e41b815260040160405180910390fd5b6000610fca6115cc565b90508051600003610fea5760405180602001604052806000815250611015565b80610ff4846115db565b604051602001611005929190612193565b6040516020818303038152906040525b9392505050565b600f80546110299061207f565b80601f01602080910402602001604051908101604052809291908181526020018280546110559061207f565b80156110a25780601f10611077576101008083540402835291602001916110a2565b820191906000526020600020905b81548152906001019060200180831161108557829003601f168201915b505050505081565b601281815481106110ba57600080fd5b600091825260209091200154905081565b6110d3611166565b6001600160a01b0381166111385760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107fe565b610d948161152f565b60006001600160e01b0319821663152a902d60e11b14806105385750610538826116e4565b6008546001600160a01b03163314610c1a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107fe565b6127106001600160601b038216111561122e5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016107fe565b6001600160a01b0382166112845760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016107fe565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b6000816001111580156112d1575060005482105b8015610538575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6106b2838383611734565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146113aa576040519150601f19603f3d011682016040523d82523d6000602084013e6113af565b606091505b50509050806106b257604051631d42c86760e21b815260040160405180910390fd5b6106b283838360405180602001604052806000815250610e2c565b610550828260405180602001604052806000815250611921565b60408051606081018252600080825260208201819052918101919091528180600111158015611436575060005481105b1561151657600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906115145780516001600160a01b0316156114aa579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff161515928101929092521561150f579392505050565b6114aa565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61158c848484611734565b6001600160a01b0383163b151580156115ae57506115ac8484848461192e565b155b15610812576040516368d2bf6b60e11b815260040160405180910390fd5b6060600f80546105639061207f565b6060816000036116025750506040805180820190915260018152600360fc1b602082015290565b8160005b811561162c57806116168161214b565b91506116259050600a83612121565b9150611606565b60008167ffffffffffffffff81111561164757611647611e69565b6040519080825280601f01601f191660200182016040528015611671576020820181803683370190505b5090505b84156116dc57611686600183612164565b9150611693600a866121c2565b61169e90603061217b565b60f81b8183815181106116b3576116b3612135565b60200101906001600160f81b031916908160001a9053506116d5600a86612121565b9450611675565b949350505050565b60006001600160e01b031982166380ac58cd60e01b148061171557506001600160e01b03198216635b5e139f60e01b145b8061053857506301ffc9a760e01b6001600160e01b0319831614610538565b600061173f82611406565b9050836001600160a01b031681600001516001600160a01b0316146117765760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611794575061179485336104ec565b806117af5750336117a4846105e6565b6001600160a01b0316145b9050806117cf57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166117f657604051633a954ecd60e21b815260040160405180910390fd5b611802600084876112f6565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166118d85760005482146118d8578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f84565b6106b28383836001611a19565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119639033908990889088906004016121d6565b6020604051808303816000875af192505050801561199e575060408051601f3d908101601f1916820190925261199b91810190612213565b60015b6119fc573d8080156119cc576040519150601f19603f3d011682016040523d82523d6000602084013e6119d1565b606091505b5080516000036119f4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6000546001600160a01b038516611a4257604051622e076360e81b815260040160405180910390fd5b83600003611a635760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611b1557506001600160a01b0387163b15155b15611b9d575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611b66600088848060010195508861192e565b611b83576040516368d2bf6b60e11b815260040160405180910390fd5b808203611b1b578260005414611b9857600080fd5b611be2565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203611b9e575b50600055610f84565b828054611bf79061207f565b90600052602060002090601f016020900481019282611c195760008555611c5f565b82601f10611c3257805160ff1916838001178555611c5f565b82800160010185558215611c5f579182015b82811115611c5f578251825591602001919060010190611c44565b50611c6b929150611c6f565b5090565b5b80821115611c6b5760008155600101611c70565b6001600160e01b031981168114610d9457600080fd5b600060208284031215611cac57600080fd5b813561101581611c84565b80356001600160a01b0381168114611cce57600080fd5b919050565b60008060408385031215611ce657600080fd5b611cef83611cb7565b915060208301356001600160601b0381168114611d0b57600080fd5b809150509250929050565b60005b83811015611d31578181015183820152602001611d19565b838111156108125750506000910152565b60008151808452611d5a816020860160208601611d16565b601f01601f19169290920160200192915050565b6020815260006110156020830184611d42565b600060208284031215611d9357600080fd5b5035919050565b60008060408385031215611dad57600080fd5b611db683611cb7565b946020939093013593505050565b600080600060608486031215611dd957600080fd5b611de284611cb7565b9250611df060208501611cb7565b9150604084013590509250925092565b60008060408385031215611e1357600080fd5b50508035926020909101359150565b600060208284031215611e3457600080fd5b61101582611cb7565b60008060408385031215611e5057600080fd5b82359150611e6060208401611cb7565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611e9a57611e9a611e69565b604051601f8501601f19908116603f01168101908282118183101715611ec257611ec2611e69565b81604052809350858152868686011115611edb57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f0757600080fd5b813567ffffffffffffffff811115611f1e57600080fd5b8201601f81018413611f2f57600080fd5b6116dc84823560208401611e7f565b600060208284031215611f5057600080fd5b813560ff8116811461101557600080fd5b634e487b7160e01b600052602160045260246000fd5b6020810160028310611f9957634e487b7160e01b600052602160045260246000fd5b91905290565b8015158114610d9457600080fd5b60008060408385031215611fc057600080fd5b611fc983611cb7565b91506020830135611d0b81611f9f565b60008060008060808587031215611fef57600080fd5b611ff885611cb7565b935061200660208601611cb7565b925060408501359150606085013567ffffffffffffffff81111561202957600080fd5b8501601f8101871361203a57600080fd5b61204987823560208401611e7f565b91505092959194509250565b6000806040838503121561206857600080fd5b61207183611cb7565b9150611e6060208401611cb7565b600181811c9082168061209357607f821691505b6020821081036120b357634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156120cb57600080fd5b815161101581611f9f565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612106576121066120d6565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826121305761213061210b565b500490565b634e487b7160e01b600052603260045260246000fd5b60006001820161215d5761215d6120d6565b5060010190565b600082821015612176576121766120d6565b500390565b6000821982111561218e5761218e6120d6565b500190565b600083516121a5818460208801611d16565b8351908301906121b9818360208801611d16565b01949350505050565b6000826121d1576121d161210b565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061220990830184611d42565b9695505050505050565b60006020828403121561222557600080fd5b815161101581611c8456fea264697066735822122080f23be547e378ef76f0df8d2141551d1136f109e2edcfb3e8d5c4af4f589ad764736f6c634300080d0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000000d53616d7572616920436f636b7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000253430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007697066733a2f2f00000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061021c5760003560e01c80635a67de0711610125578063a0712d68116100ad578063c87b56dd1161007c578063c87b56dd146104b0578063cfc86f7b146104c3578063d86bed9b146104cb578063e985e9c5146104de578063f2fde38b1461051a57600080fd5b8063a0712d6814610464578063a22cb46514610477578063b88d4fde1461048a578063bd3b14d31461049d57600080fd5b8063715018a6116100f4578063715018a6146104275780638da5cb5b1461042f57806391b7f5ed1461044057806395d89b4114610453578063a035b1fe1461045b57600080fd5b80635a67de07146103d4578063603f4d52146103e75780636352211e1461040157806370a082311461041457600080fd5b80633406c726116101a857806344bb82791161017757806344bb827914610389578063453c23101461039c5780634b980d67146103a5578063519a9c97146103ae57806355f804b3146103c157600080fd5b80633406c7261461033b578063391176681461035b5780633ccfd60b1461036e57806342842e0e1461037657600080fd5b8063081812fc116101ef578063081812fc146102a8578063095ea7b3146102d357806318160ddd146102e657806323b872dd146102f65780632a55205a1461030957600080fd5b806301ffc9a71461022157806302fa7c4714610249578063047fc9aa1461025e57806306fdde0314610293575b600080fd5b61023461022f366004611c9a565b61052d565b60405190151581526020015b60405180910390f35b61025c610257366004611cd3565b61053e565b005b6102857f00000000000000000000000000000000000000000000000000000000000000f381565b604051908152602001610240565b61029b610554565b6040516102409190611d6e565b6102bb6102b6366004611d81565b6105e6565b6040516001600160a01b039091168152602001610240565b61025c6102e1366004611d9a565b61062a565b6001546000540360001901610285565b61025c610304366004611dc4565b6106b7565b61031c610317366004611e00565b610818565b604080516001600160a01b039093168352602083019190915201610240565b610285610349366004611e22565b60106020526000908152604090205481565b61025c610369366004611d81565b6108c4565b61025c6108d1565b61025c610384366004611dc4565b610967565b6102bb610397366004611d81565b610ab8565b610285600c5481565b610285600d5481565b61025c6103bc366004611e3d565b610ae2565b61025c6103cf366004611ef5565b610b4c565b61025c6103e2366004611f3e565b610b67565b600e546103f49060ff1681565b6040516102409190611f77565b6102bb61040f366004611d81565b610ba7565b610285610422366004611e22565b610bb9565b61025c610c08565b6008546001600160a01b03166102bb565b61025c61044e366004611d81565b610c1c565b61029b610c29565b610285600b5481565b61025c610472366004611d81565b610c38565b61025c610485366004611fad565b610d97565b61025c610498366004611fd9565b610e2c565b61025c6104ab366004611d81565b610f8b565b61029b6104be366004611d81565b610f98565b61029b61101c565b6102856104d9366004611d81565b6110aa565b6102346104ec366004612055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61025c610528366004611e22565b6110cb565b600061053882611141565b92915050565b610546611166565b61055082826111c0565b5050565b6060600280546105639061207f565b80601f016020809104026020016040519081016040528092919081815260200182805461058f9061207f565b80156105dc5780601f106105b1576101008083540402835291602001916105dc565b820191906000526020600020905b8154815290600101906020018083116105bf57829003601f168201915b5050505050905090565b60006105f1826112bd565b61060e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061063582610ba7565b9050806001600160a01b0316836001600160a01b0316036106695760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610689575061068781336104ec565b155b156106a7576040516367d9dca160e11b815260040160405180910390fd5b6106b28383836112f6565b505050565b826daaeb6d7670e522a718067333cd4e3b1561080757336001600160a01b038216036106ed576106e8848484611352565b610812565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561073c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076091906120b9565b80156107e35750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156107bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e391906120b9565b61080757604051633b79c77360e21b81523360048201526024015b60405180910390fd5b610812848484611352565b50505050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161088d5750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906108ac906001600160601b0316876120ec565b6108b69190612121565b915196919550909350505050565b6108cc611166565b600c55565b6108d9611166565b4760005b60115481101561055057610955601182815481106108fd576108fd612135565b9060005260206000200160009054906101000a90046001600160a01b031660646012848154811061093057610930612135565b90600052602060002001548561094691906120ec565b6109509190612121565b61135d565b8061095f8161214b565b9150506108dd565b826daaeb6d7670e522a718067333cd4e3b15610aad57336001600160a01b03821603610998576106e88484846113d1565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156109e7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0b91906120b9565b8015610a8e5750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610a6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8e91906120b9565b610aad57604051633b79c77360e21b81523360048201526024016107fe565b6108128484846113d1565b60118181548110610ac857600080fd5b6000918252602090912001546001600160a01b0316905081565b610aea611166565b7f00000000000000000000000000000000000000000000000000000000000000f3610b16600184612164565b600054610b23919061217b565b1115610b42576040516352df9fe560e01b815260040160405180910390fd5b61055081836113ec565b610b54611166565b805161055090600f906020840190611beb565b610b6f611166565b8060ff166001811115610b8457610b84611f61565b600e805460ff191660018381811115610b9f57610b9f611f61565b021790555050565b6000610bb282611406565b5192915050565b60006001600160a01b038216610be2576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c10611166565b610c1a600061152f565b565b610c24611166565b600b55565b6060600380546105639061207f565b6001600e5460ff166001811115610c5157610c51611f61565b14610c6f57604051630fe219dd60e21b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000f3610c9b600183612164565b600054610ca8919061217b565b1115610cc7576040516352df9fe560e01b815260040160405180910390fd5b600c5433600090815260106020526040902054610ce590839061217b565b1115610d045760405163524f409b60e01b815260040160405180910390fd5b600d54811115610d275760405163524f409b60e01b815260040160405180910390fd5b323314610d655760405162461bcd60e51b815260206004820152600c60248201526b4f6e6c792073616d7572616960a01b60448201526064016107fe565b3360009081526010602052604081208054839290610d8490849061217b565b90915550610d94905033826113ec565b50565b336001600160a01b03831603610dc05760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b836daaeb6d7670e522a718067333cd4e3b15610f7857336001600160a01b03821603610e6357610e5e85858585611581565b610f84565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed691906120b9565b8015610f595750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610f35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5991906120b9565b610f7857604051633b79c77360e21b81523360048201526024016107fe565b610f8485858585611581565b5050505050565b610f93611166565b600d55565b6060610fa3826112bd565b610fc057604051630a14c4b560e41b815260040160405180910390fd5b6000610fca6115cc565b90508051600003610fea5760405180602001604052806000815250611015565b80610ff4846115db565b604051602001611005929190612193565b6040516020818303038152906040525b9392505050565b600f80546110299061207f565b80601f01602080910402602001604051908101604052809291908181526020018280546110559061207f565b80156110a25780601f10611077576101008083540402835291602001916110a2565b820191906000526020600020905b81548152906001019060200180831161108557829003601f168201915b505050505081565b601281815481106110ba57600080fd5b600091825260209091200154905081565b6110d3611166565b6001600160a01b0381166111385760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107fe565b610d948161152f565b60006001600160e01b0319821663152a902d60e11b14806105385750610538826116e4565b6008546001600160a01b03163314610c1a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107fe565b6127106001600160601b038216111561122e5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016107fe565b6001600160a01b0382166112845760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016107fe565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b6000816001111580156112d1575060005482105b8015610538575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6106b2838383611734565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146113aa576040519150601f19603f3d011682016040523d82523d6000602084013e6113af565b606091505b50509050806106b257604051631d42c86760e21b815260040160405180910390fd5b6106b283838360405180602001604052806000815250610e2c565b610550828260405180602001604052806000815250611921565b60408051606081018252600080825260208201819052918101919091528180600111158015611436575060005481105b1561151657600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906115145780516001600160a01b0316156114aa579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff161515928101929092521561150f579392505050565b6114aa565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61158c848484611734565b6001600160a01b0383163b151580156115ae57506115ac8484848461192e565b155b15610812576040516368d2bf6b60e11b815260040160405180910390fd5b6060600f80546105639061207f565b6060816000036116025750506040805180820190915260018152600360fc1b602082015290565b8160005b811561162c57806116168161214b565b91506116259050600a83612121565b9150611606565b60008167ffffffffffffffff81111561164757611647611e69565b6040519080825280601f01601f191660200182016040528015611671576020820181803683370190505b5090505b84156116dc57611686600183612164565b9150611693600a866121c2565b61169e90603061217b565b60f81b8183815181106116b3576116b3612135565b60200101906001600160f81b031916908160001a9053506116d5600a86612121565b9450611675565b949350505050565b60006001600160e01b031982166380ac58cd60e01b148061171557506001600160e01b03198216635b5e139f60e01b145b8061053857506301ffc9a760e01b6001600160e01b0319831614610538565b600061173f82611406565b9050836001600160a01b031681600001516001600160a01b0316146117765760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611794575061179485336104ec565b806117af5750336117a4846105e6565b6001600160a01b0316145b9050806117cf57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166117f657604051633a954ecd60e21b815260040160405180910390fd5b611802600084876112f6565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166118d85760005482146118d8578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f84565b6106b28383836001611a19565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119639033908990889088906004016121d6565b6020604051808303816000875af192505050801561199e575060408051601f3d908101601f1916820190925261199b91810190612213565b60015b6119fc573d8080156119cc576040519150601f19603f3d011682016040523d82523d6000602084013e6119d1565b606091505b5080516000036119f4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6000546001600160a01b038516611a4257604051622e076360e81b815260040160405180910390fd5b83600003611a635760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611b1557506001600160a01b0387163b15155b15611b9d575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611b66600088848060010195508861192e565b611b83576040516368d2bf6b60e11b815260040160405180910390fd5b808203611b1b578260005414611b9857600080fd5b611be2565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203611b9e575b50600055610f84565b828054611bf79061207f565b90600052602060002090601f016020900481019282611c195760008555611c5f565b82601f10611c3257805160ff1916838001178555611c5f565b82800160010185558215611c5f579182015b82811115611c5f578251825591602001919060010190611c44565b50611c6b929150611c6f565b5090565b5b80821115611c6b5760008155600101611c70565b6001600160e01b031981168114610d9457600080fd5b600060208284031215611cac57600080fd5b813561101581611c84565b80356001600160a01b0381168114611cce57600080fd5b919050565b60008060408385031215611ce657600080fd5b611cef83611cb7565b915060208301356001600160601b0381168114611d0b57600080fd5b809150509250929050565b60005b83811015611d31578181015183820152602001611d19565b838111156108125750506000910152565b60008151808452611d5a816020860160208601611d16565b601f01601f19169290920160200192915050565b6020815260006110156020830184611d42565b600060208284031215611d9357600080fd5b5035919050565b60008060408385031215611dad57600080fd5b611db683611cb7565b946020939093013593505050565b600080600060608486031215611dd957600080fd5b611de284611cb7565b9250611df060208501611cb7565b9150604084013590509250925092565b60008060408385031215611e1357600080fd5b50508035926020909101359150565b600060208284031215611e3457600080fd5b61101582611cb7565b60008060408385031215611e5057600080fd5b82359150611e6060208401611cb7565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611e9a57611e9a611e69565b604051601f8501601f19908116603f01168101908282118183101715611ec257611ec2611e69565b81604052809350858152868686011115611edb57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f0757600080fd5b813567ffffffffffffffff811115611f1e57600080fd5b8201601f81018413611f2f57600080fd5b6116dc84823560208401611e7f565b600060208284031215611f5057600080fd5b813560ff8116811461101557600080fd5b634e487b7160e01b600052602160045260246000fd5b6020810160028310611f9957634e487b7160e01b600052602160045260246000fd5b91905290565b8015158114610d9457600080fd5b60008060408385031215611fc057600080fd5b611fc983611cb7565b91506020830135611d0b81611f9f565b60008060008060808587031215611fef57600080fd5b611ff885611cb7565b935061200660208601611cb7565b925060408501359150606085013567ffffffffffffffff81111561202957600080fd5b8501601f8101871361203a57600080fd5b61204987823560208401611e7f565b91505092959194509250565b6000806040838503121561206857600080fd5b61207183611cb7565b9150611e6060208401611cb7565b600181811c9082168061209357607f821691505b6020821081036120b357634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156120cb57600080fd5b815161101581611f9f565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612106576121066120d6565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826121305761213061210b565b500490565b634e487b7160e01b600052603260045260246000fd5b60006001820161215d5761215d6120d6565b5060010190565b600082821015612176576121766120d6565b500390565b6000821982111561218e5761218e6120d6565b500190565b600083516121a5818460208801611d16565b8351908301906121b9818360208801611d16565b01949350505050565b6000826121d1576121d161210b565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061220990830184611d42565b9695505050505050565b60006020828403121561222557600080fd5b815161101581611c8456fea264697066735822122080f23be547e378ef76f0df8d2141551d1136f109e2edcfb3e8d5c4af4f589ad764736f6c634300080d0033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000000d53616d7572616920436f636b7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000253430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007697066733a2f2f00000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Samurai Cocks
Arg [1] : _symbol (string): SC
Arg [2] : _baseUri (string): ipfs://
Arg [3] : _royaltyAmount (uint96): 500

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [5] : 53616d7572616920436f636b7300000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [7] : 5343000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [9] : 697066733a2f2f00000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

55346:3902:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58376:204;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;58376:204:0;;;;;;;;58198:170;;;;;;:::i;:::-;;:::i;:::-;;55542:37;;;;;;;;1287:25:1;;;1275:2;1260:18;55542:37:0;1141:177:1;32738:100:0;;;:::i;:::-;;;;;;;:::i;34241:204::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2423:32:1;;;2405:51;;2393:2;2378:18;34241:204:0;2259:203:1;33804:371:0;;;;;;:::i;:::-;;:::i;28874:303::-;56869:1;29128:12;28918:7;29112:13;:28;-1:-1:-1;;29112:46:0;28874:303;;58588:197;;;;;;:::i;:::-;;:::i;52655:442::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3504:32:1;;;3486:51;;3568:2;3553:18;;3546:34;;;;3459:18;52655:442:0;3312:274:1;55740:53:0;;;;;;:::i;:::-;;;;;;;;;;;;;;57523:96;;;;;;:::i;:::-;;:::i;57930:260::-;;;:::i;58793:205::-;;;;;;:::i;:::-;;:::i;55802:81::-;;;;;;:::i;:::-;;:::i;55459:31::-;;;;;;55497:36;;;;;;57335:180;;;;;;:::i;:::-;;:::i;57014:104::-;;;;;;:::i;:::-;;:::i;57224:103::-;;;;;;:::i;:::-;;:::i;55650:45::-;;;;;;;;;;;;;;;;:::i;32546:125::-;;;;;;:::i;:::-;;:::i;29994:206::-;;;;;;:::i;:::-;;:::i;49272:103::-;;;:::i;48624:87::-;48697:6;;-1:-1:-1;;;;;48697:6:0;48624:87;;57126:90;;;;;;:::i;:::-;;:::i;32907:104::-;;;:::i;55422:30::-;;;;;;56289:480;;;;;;:::i;:::-;;:::i;34517:287::-;;;;;;:::i;:::-;;:::i;59006:239::-;;;;;;:::i;:::-;;:::i;57627:106::-;;;;;;:::i;:::-;;:::i;33082:318::-;;;;;;:::i;:::-;;:::i;55704:27::-;;;:::i;55890:44::-;;;;;;:::i;:::-;;:::i;34875:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;34996:25:0;;;34972:4;34996:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;34875:164;49530:201;;;;;;:::i;:::-;;:::i;58376:204::-;58507:4;58536:36;58560:11;58536:23;:36::i;:::-;58529:43;58376:204;-1:-1:-1;;58376:204:0:o;58198:170::-;48510:13;:11;:13::i;:::-;58316:44:::1;58335:8;58345:14;58316:18;:44::i;:::-;58198:170:::0;;:::o;32738:100::-;32792:13;32825:5;32818:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32738:100;:::o;34241:204::-;34309:7;34334:16;34342:7;34334;:16::i;:::-;34329:64;;34359:34;;-1:-1:-1;;;34359:34:0;;;;;;;;;;;34329:64;-1:-1:-1;34413:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;34413:24:0;;34241:204::o;33804:371::-;33877:13;33893:24;33909:7;33893:15;:24::i;:::-;33877:40;;33938:5;-1:-1:-1;;;;;33932:11:0;:2;-1:-1:-1;;;;;33932:11:0;;33928:48;;33952:24;;-1:-1:-1;;;33952:24:0;;;;;;;;;;;33928:48;11233:10;-1:-1:-1;;;;;33993:21:0;;;;;;:63;;-1:-1:-1;34019:37:0;34036:5;11233:10;34875:164;:::i;34019:37::-;34018:38;33993:63;33989:138;;;34080:35;;-1:-1:-1;;;34080:35:0;;;;;;;;;;;33989:138;34139:28;34148:2;34152:7;34161:5;34139:8;:28::i;:::-;33866:309;33804:371;;:::o;58588:197::-;58723:4;2467:42;3607:43;:47;3603:699;;3894:10;-1:-1:-1;;;;;3886:18:0;;;3882:85;;58740:37:::1;58759:4;58765:2;58769:7;58740:18;:37::i;:::-;3945:7:::0;;3882:85;4027:67;;-1:-1:-1;;;4027:67:0;;4076:4;4027:67;;;7996:34:1;4083:10:0;8046:18:1;;;8039:43;2467:42:0;;4027:40;;7931:18:1;;4027:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4123:61:0;;-1:-1:-1;;;4123:61:0;;4172:4;4123:61;;;7996:34:1;-1:-1:-1;;;;;8066:15:1;;8046:18;;;8039:43;2467:42:0;;4123:40;;7931:18:1;;4123:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3981:310;;4245:30;;-1:-1:-1;;;4245:30:0;;4264:10;4245:30;;;2405:51:1;2378:18;;4245:30:0;;;;;;;;3981:310;58740:37:::1;58759:4;58765:2;58769:7;58740:18;:37::i;:::-;58588:197:::0;;;;:::o;52655:442::-;52752:7;52810:27;;;:17;:27;;;;;;;;52781:56;;;;;;;;;-1:-1:-1;;;;;52781:56:0;;;;;-1:-1:-1;;;52781:56:0;;;-1:-1:-1;;;;;52781:56:0;;;;;;;;52752:7;;52850:92;;-1:-1:-1;52901:29:0;;;;;;;;;52911:19;52901:29;-1:-1:-1;;;;;52901:29:0;;;;-1:-1:-1;;;52901:29:0;;-1:-1:-1;;;;;52901:29:0;;;;;52850:92;52992:23;;;;52954:21;;53463:5;;52979:36;;-1:-1:-1;;;;;52979:36:0;:10;:36;:::i;:::-;52978:58;;;;:::i;:::-;53057:16;;;;;-1:-1:-1;52655:442:0;;-1:-1:-1;;;;52655:442:0:o;57523:96::-;48510:13;:11;:13::i;:::-;57592:12:::1;:19:::0;57523:96::o;57930:260::-;48510:13;:11;:13::i;:::-;57998:21:::1;57980:15;58032:151;58052:17;:24:::0;58048:28;::::1;58032:151;;;58098:73;58108:17;58126:1;58108:20;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;58108:20:0::1;58167:3;58141:19;58161:1;58141:22;;;;;;;;:::i;:::-;;;;;;;;;58131:7;:32;;;;:::i;:::-;58130:40;;;;:::i;:::-;58098:9;:73::i;:::-;58078:3:::0;::::1;::::0;::::1;:::i;:::-;;;;58032:151;;58793:205:::0;58932:4;2467:42;3607:43;:47;3603:699;;3894:10;-1:-1:-1;;;;;3886:18:0;;;3882:85;;58949:41:::1;58972:4;58978:2;58982:7;58949:22;:41::i;3882:85::-:0;4027:67;;-1:-1:-1;;;4027:67:0;;4076:4;4027:67;;;7996:34:1;4083:10:0;8046:18:1;;;8039:43;2467:42:0;;4027:40;;7931:18:1;;4027:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4123:61:0;;-1:-1:-1;;;4123:61:0;;4172:4;4123:61;;;7996:34:1;-1:-1:-1;;;;;8066:15:1;;8046:18;;;8039:43;2467:42:0;;4123:40;;7931:18:1;;4123:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3981:310;;4245:30;;-1:-1:-1;;;4245:30:0;;4264:10;4245:30;;;2405:51:1;2378:18;;4245:30:0;2259:203:1;3981:310:0;58949:41:::1;58972:4;58978:2;58982:7;58949:22;:41::i;55802:81::-:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;55802:81:0;;-1:-1:-1;55802:81:0;:::o;57335:180::-;48510:13;:11;:13::i;:::-;57447:6:::1;57436:7;57442:1;57436:3:::0;:7:::1;:::i;:::-;57419:13;;:25;;;;:::i;:::-;:34;57415:56;;;57462:9;;-1:-1:-1::0;;;57462:9:0::1;;;;;;;;;;;57415:56;57482:25;57492:9;57503:3;57482:9;:25::i;57014:104::-:0;48510:13;:11;:13::i;:::-;57087:23;;::::1;::::0;:13:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;57224:103::-:0;48510:13;:11;:13::i;:::-;57312:6:::1;57302:17;;;;;;;;;;:::i;:::-;57290:9;:29:::0;;-1:-1:-1;;57290:29:0::1;::::0;;;;::::1;;;;;;:::i;:::-;;;;;;57224:103:::0;:::o;32546:125::-;32610:7;32637:21;32650:7;32637:12;:21::i;:::-;:26;;32546:125;-1:-1:-1;;32546:125:0:o;29994:206::-;30058:7;-1:-1:-1;;;;;30082:19:0;;30078:60;;30110:28;;-1:-1:-1;;;30110:28:0;;;;;;;;;;;30078:60;-1:-1:-1;;;;;;30164:19:0;;;;;:12;:19;;;;;:27;;;;29994:206::o;49272:103::-;48510:13;:11;:13::i;:::-;49337:30:::1;49364:1;49337:18;:30::i;:::-;49272:103::o:0;57126:90::-;48510:13;:11;:13::i;:::-;57192:5:::1;:16:::0;57126:90::o;32907:104::-;32963:13;32996:7;32989:14;;;;;:::i;56289:480::-;56353:14;56340:9;;;;;:27;;;;;;;:::i;:::-;;56336:54;;56376:14;;-1:-1:-1;;;56376:14:0;;;;;;;;;;;56336:54;56433:6;56422:7;56428:1;56422:3;:7;:::i;:::-;56405:13;;:25;;;;:::i;:::-;:34;56401:56;;;56448:9;;-1:-1:-1;;;56448:9:0;;;;;;;;;;;56401:56;56511:12;;56491:10;56472:30;;;;:18;:30;;;;;;:36;;56505:3;;56472:36;:::i;:::-;:51;56468:81;;;56532:17;;-1:-1:-1;;;56532:17:0;;;;;;;;;;;56468:81;56570:17;;56564:3;:23;56560:53;;;56596:17;;-1:-1:-1;;;56596:17:0;;;;;;;;;;;56560:53;56632:9;56645:10;56632:23;56624:48;;;;-1:-1:-1;;;56624:48:0;;9642:2:1;56624:48:0;;;9624:21:1;9681:2;9661:18;;;9654:30;-1:-1:-1;;;9700:18:1;;;9693:42;9752:18;;56624:48:0;9440:336:1;56624:48:0;56702:10;56683:30;;;;:18;:30;;;;;:37;;56717:3;;56683:30;:37;;56717:3;;56683:37;:::i;:::-;;;;-1:-1:-1;56733:26:0;;-1:-1:-1;56743:10:0;56755:3;56733:9;:26::i;:::-;56289:480;:::o;34517:287::-;11233:10;-1:-1:-1;;;;;34616:24:0;;;34612:54;;34649:17;;-1:-1:-1;;;34649:17:0;;;;;;;;;;;34612:54;11233:10;34679:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;34679:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;34679:53:0;;;;;;;;;;34748:48;;540:41:1;;;34679:42:0;;11233:10;34748:48;;513:18:1;34748:48:0;;;;;;;34517:287;;:::o;59006:239::-;59173:4;2467:42;3607:43;:47;3603:699;;3894:10;-1:-1:-1;;;;;3886:18:0;;;3882:85;;59190:47:::1;59213:4;59219:2;59223:7;59232:4;59190:22;:47::i;:::-;3945:7:::0;;3882:85;4027:67;;-1:-1:-1;;;4027:67:0;;4076:4;4027:67;;;7996:34:1;4083:10:0;8046:18:1;;;8039:43;2467:42:0;;4027:40;;7931:18:1;;4027:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4123:61:0;;-1:-1:-1;;;4123:61:0;;4172:4;4123:61;;;7996:34:1;-1:-1:-1;;;;;8066:15:1;;8046:18;;;8039:43;2467:42:0;;4123:40;;7931:18:1;;4123:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3981:310;;4245:30;;-1:-1:-1;;;4245:30:0;;4264:10;4245:30;;;2405:51:1;2378:18;;4245:30:0;2259:203:1;3981:310:0;59190:47:::1;59213:4;59219:2;59223:7;59232:4;59190:22;:47::i;:::-;59006:239:::0;;;;;:::o;57627:106::-;48510:13;:11;:13::i;:::-;57701:17:::1;:24:::0;57627:106::o;33082:318::-;33155:13;33186:16;33194:7;33186;:16::i;:::-;33181:59;;33211:29;;-1:-1:-1;;;33211:29:0;;;;;;;;;;;33181:59;33253:21;33277:10;:8;:10::i;:::-;33253:34;;33311:7;33305:21;33330:1;33305:26;:87;;;;;;;;;;;;;;;;;33358:7;33367:18;:7;:16;:18::i;:::-;33341:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;33305:87;33298:94;33082:318;-1:-1:-1;;;33082:318:0:o;55704:27::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;55890:44::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55890:44:0;:::o;49530:201::-;48510:13;:11;:13::i;:::-;-1:-1:-1;;;;;49619:22:0;::::1;49611:73;;;::::0;-1:-1:-1;;;49611:73:0;;10458:2:1;49611:73:0::1;::::0;::::1;10440:21:1::0;10497:2;10477:18;;;10470:30;10536:34;10516:18;;;10509:62;-1:-1:-1;;;10587:18:1;;;10580:36;10633:19;;49611:73:0::1;10256:402:1::0;49611:73:0::1;49695:28;49714:8;49695:18;:28::i;52385:215::-:0;52487:4;-1:-1:-1;;;;;;52511:41:0;;-1:-1:-1;;;52511:41:0;;:81;;;52556:36;52580:11;52556:23;:36::i;48789:132::-;48697:6;;-1:-1:-1;;;;;48697:6:0;11233:10;48853:23;48845:68;;;;-1:-1:-1;;;48845:68:0;;10865:2:1;48845:68:0;;;10847:21:1;;;10884:18;;;10877:30;10943:34;10923:18;;;10916:62;10995:18;;48845:68:0;10663:356:1;53747:332:0;53463:5;-1:-1:-1;;;;;53850:33:0;;;;53842:88;;;;-1:-1:-1;;;53842:88:0;;11226:2:1;53842:88:0;;;11208:21:1;11265:2;11245:18;;;11238:30;11304:34;11284:18;;;11277:62;-1:-1:-1;;;11355:18:1;;;11348:40;11405:19;;53842:88:0;11024:406:1;53842:88:0;-1:-1:-1;;;;;53949:22:0;;53941:60;;;;-1:-1:-1;;;53941:60:0;;11637:2:1;53941:60:0;;;11619:21:1;11676:2;11656:18;;;11649:30;11715:27;11695:18;;;11688:55;11760:18;;53941:60:0;11435:349:1;53941:60:0;54036:35;;;;;;;;;-1:-1:-1;;;;;54036:35:0;;;;;;-1:-1:-1;;;;;54036:35:0;;;;;;;;;;-1:-1:-1;;;54014:57:0;;;;:19;:57;53747:332::o;36227:187::-;36284:4;36327:7;56869:1;36308:26;;:53;;;;;36348:13;;36338:7;:23;36308:53;:98;;;;-1:-1:-1;;36379:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;36379:27:0;;;;36378:28;;36227:187::o;44397:196::-;44512:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;44512:29:0;-1:-1:-1;;;;;44512:29:0;;;;;;;;;44557:28;;44512:24;;44557:28;;;;;;;44397:196;;;:::o;35106:170::-;35240:28;35250:4;35256:2;35260:7;35240:9;:28::i;57741:181::-;57815:12;57833:8;-1:-1:-1;;;;;57833:13:0;57854:7;57833:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57814:52;;;57882:7;57877:37;;57898:16;;-1:-1:-1;;;57898:16:0;;;;;;;;;;;35347:185;35485:39;35502:4;35508:2;35512:7;35485:39;;;;;;;;;;;;:16;:39::i;36422:104::-;36491:27;36501:2;36505:8;36491:27;;;;;;;;;;;;:9;:27::i;31375:1109::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;31486:7:0;;56869:1;31535:23;;:47;;;;;31569:13;;31562:4;:20;31535:47;31531:886;;;31603:31;31637:17;;;:11;:17;;;;;;;;;31603:51;;;;;;;;;-1:-1:-1;;;;;31603:51:0;;;;-1:-1:-1;;;31603:51:0;;;;;;;;;;;-1:-1:-1;;;31603:51:0;;;;;;;;;;;;;;31673:729;;31723:14;;-1:-1:-1;;;;;31723:28:0;;31719:101;;31787:9;31375:1109;-1:-1:-1;;;31375:1109:0:o;31719:101::-;-1:-1:-1;;;32162:6:0;32207:17;;;;:11;:17;;;;;;;;;32195:29;;;;;;;;;-1:-1:-1;;;;;32195:29:0;;;;;-1:-1:-1;;;32195:29:0;;;;;;;;;;;-1:-1:-1;;;32195:29:0;;;;;;;;;;;;;32255:28;32251:109;;32323:9;31375:1109;-1:-1:-1;;;31375:1109:0:o;32251:109::-;32122:261;;;31584:833;31531:886;32445:31;;-1:-1:-1;;;32445:31:0;;;;;;;;;;;49891:191;49984:6;;;-1:-1:-1;;;;;50001:17:0;;;-1:-1:-1;;;;;;50001:17:0;;;;;;;50034:40;;49984:6;;;50001:17;49984:6;;50034:40;;49965:16;;50034:40;49954:128;49891:191;:::o;35603:369::-;35770:28;35780:4;35786:2;35790:7;35770:9;:28::i;:::-;-1:-1:-1;;;;;35813:13:0;;12903:19;:23;;35813:76;;;;;35833:56;35864:4;35870:2;35874:7;35883:5;35833:30;:56::i;:::-;35832:57;35813:76;35809:156;;;35913:40;;-1:-1:-1;;;35913:40:0;;;;;;;;;;;56886:114;56946:13;56979;56972:20;;;;;:::i;22247:723::-;22303:13;22524:5;22533:1;22524:10;22520:53;;-1:-1:-1;;22551:10:0;;;;;;;;;;;;-1:-1:-1;;;22551:10:0;;;;;22247:723::o;22520:53::-;22598:5;22583:12;22639:78;22646:9;;22639:78;;22672:8;;;;:::i;:::-;;-1:-1:-1;22695:10:0;;-1:-1:-1;22703:2:0;22695:10;;:::i;:::-;;;22639:78;;;22727:19;22759:6;22749:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22749:17:0;;22727:39;;22777:154;22784:10;;22777:154;;22811:11;22821:1;22811:11;;:::i;:::-;;-1:-1:-1;22880:10:0;22888:2;22880:5;:10;:::i;:::-;22867:24;;:2;:24;:::i;:::-;22854:39;;22837:6;22844;22837:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;22837:56:0;;;;;;;;-1:-1:-1;22908:11:0;22917:2;22908:11;;:::i;:::-;;;22777:154;;;22955:6;22247:723;-1:-1:-1;;;;22247:723:0:o;29625:305::-;29727:4;-1:-1:-1;;;;;;29764:40:0;;-1:-1:-1;;;29764:40:0;;:105;;-1:-1:-1;;;;;;;29821:48:0;;-1:-1:-1;;;29821:48:0;29764:105;:158;;;-1:-1:-1;;;;;;;;;;25294:40:0;;;29886:36;25185:157;39340:2130;39455:35;39493:21;39506:7;39493:12;:21::i;:::-;39455:59;;39553:4;-1:-1:-1;;;;;39531:26:0;:13;:18;;;-1:-1:-1;;;;;39531:26:0;;39527:67;;39566:28;;-1:-1:-1;;;39566:28:0;;;;;;;;;;;39527:67;39607:22;11233:10;-1:-1:-1;;;;;39633:20:0;;;;:73;;-1:-1:-1;39670:36:0;39687:4;11233:10;34875:164;:::i;39670:36::-;39633:126;;;-1:-1:-1;11233:10:0;39723:20;39735:7;39723:11;:20::i;:::-;-1:-1:-1;;;;;39723:36:0;;39633:126;39607:153;;39778:17;39773:66;;39804:35;;-1:-1:-1;;;39804:35:0;;;;;;;;;;;39773:66;-1:-1:-1;;;;;39854:16:0;;39850:52;;39879:23;;-1:-1:-1;;;39879:23:0;;;;;;;;;;;39850:52;40023:35;40040:1;40044:7;40053:4;40023:8;:35::i;:::-;-1:-1:-1;;;;;40354:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;40354:31:0;;;;;;;-1:-1:-1;;40354:31:0;;;;;;;40400:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;40400:29:0;;;;;;;;;;;40480:20;;;:11;:20;;;;;;40515:18;;-1:-1:-1;;;;;;40548:49:0;;;;-1:-1:-1;;;40581:15:0;40548:49;;;;;;;;;;40871:11;;40931:24;;;;;40974:13;;40480:20;;40931:24;;40974:13;40970:384;;41184:13;;41169:11;:28;41165:174;;41222:20;;41291:28;;;;41265:54;;-1:-1:-1;;;41265:54:0;-1:-1:-1;;;;;;41265:54:0;;;-1:-1:-1;;;;;41222:20:0;;41265:54;;;;41165:174;40329:1036;;;41401:7;41397:2;-1:-1:-1;;;;;41382:27:0;41391:4;-1:-1:-1;;;;;41382:27:0;;;;;;;;;;;41420:42;58588:197;36889:163;37012:32;37018:2;37022:8;37032:5;37039:4;37012:5;:32::i;45085:667::-;45269:72;;-1:-1:-1;;;45269:72:0;;45248:4;;-1:-1:-1;;;;;45269:36:0;;;;;:72;;11233:10;;45320:4;;45326:7;;45335:5;;45269:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45269:72:0;;;;;;;;-1:-1:-1;;45269:72:0;;;;;;;;;;;;:::i;:::-;;;45265:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45503:6;:13;45520:1;45503:18;45499:235;;45549:40;;-1:-1:-1;;;45549:40:0;;;;;;;;;;;45499:235;45692:6;45686:13;45677:6;45673:2;45669:15;45662:38;45265:480;-1:-1:-1;;;;;;45388:55:0;-1:-1:-1;;;45388:55:0;;-1:-1:-1;45085:667:0;;;;;;:::o;37311:1775::-;37450:20;37473:13;-1:-1:-1;;;;;37501:16:0;;37497:48;;37526:19;;-1:-1:-1;;;37526:19:0;;;;;;;;;;;37497:48;37560:8;37572:1;37560:13;37556:44;;37582:18;;-1:-1:-1;;;37582:18:0;;;;;;;;;;;37556:44;-1:-1:-1;;;;;37951:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;38010:49:0;;37951:44;;;;;;;;38010:49;;;;-1:-1:-1;;37951:44:0;;;;;;38010:49;;;;;;;;;;;;;;;;38076:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;38126:66:0;;;;-1:-1:-1;;;38176:15:0;38126:66;;;;;;;;;;38076:25;38273:23;;;38317:4;:23;;;;-1:-1:-1;;;;;;38325:13:0;;12903:19;:23;;38325:15;38313:641;;;38361:314;38392:38;;38417:12;;-1:-1:-1;;;;;38392:38:0;;;38409:1;;38392:38;;38409:1;;38392:38;38458:69;38497:1;38501:2;38505:14;;;;;;38521:5;38458:30;:69::i;:::-;38453:174;;38563:40;;-1:-1:-1;;;38563:40:0;;;;;;;;;;;38453:174;38670:3;38654:12;:19;38361:314;;38756:12;38739:13;;:29;38735:43;;38770:8;;;38735:43;38313:641;;;38819:120;38850:40;;38875:14;;;;;-1:-1:-1;;;;;38850:40:0;;;38867:1;;38850:40;;38867:1;;38850:40;38934:3;38918:12;:19;38819:120;;38313:641;-1:-1:-1;38968:13:0;:28;39018:60;58588:197;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;689:70;592:173;;;:::o;770:366::-;837:6;845;898:2;886:9;877:7;873:23;869:32;866:52;;;914:1;911;904:12;866:52;937:29;956:9;937:29;:::i;:::-;927:39;;1016:2;1005:9;1001:18;988:32;-1:-1:-1;;;;;1053:5:1;1049:38;1042:5;1039:49;1029:77;;1102:1;1099;1092:12;1029:77;1125:5;1115:15;;;770:366;;;;;:::o;1323:258::-;1395:1;1405:113;1419:6;1416:1;1413:13;1405:113;;;1495:11;;;1489:18;1476:11;;;1469:39;1441:2;1434:10;1405:113;;;1536:6;1533:1;1530:13;1527:48;;;-1:-1:-1;;1571:1:1;1553:16;;1546:27;1323:258::o;1586:::-;1628:3;1666:5;1660:12;1693:6;1688:3;1681:19;1709:63;1765:6;1758:4;1753:3;1749:14;1742:4;1735:5;1731:16;1709:63;:::i;:::-;1826:2;1805:15;-1:-1:-1;;1801:29:1;1792:39;;;;1833:4;1788:50;;1586:258;-1:-1:-1;;1586:258:1:o;1849:220::-;1998:2;1987:9;1980:21;1961:4;2018:45;2059:2;2048:9;2044:18;2036:6;2018:45;:::i;2074:180::-;2133:6;2186:2;2174:9;2165:7;2161:23;2157:32;2154:52;;;2202:1;2199;2192:12;2154:52;-1:-1:-1;2225:23:1;;2074:180;-1:-1:-1;2074:180:1:o;2467:254::-;2535:6;2543;2596:2;2584:9;2575:7;2571:23;2567:32;2564:52;;;2612:1;2609;2602:12;2564:52;2635:29;2654:9;2635:29;:::i;:::-;2625:39;2711:2;2696:18;;;;2683:32;;-1:-1:-1;;;2467:254:1:o;2726:328::-;2803:6;2811;2819;2872:2;2860:9;2851:7;2847:23;2843:32;2840:52;;;2888:1;2885;2878:12;2840:52;2911:29;2930:9;2911:29;:::i;:::-;2901:39;;2959:38;2993:2;2982:9;2978:18;2959:38;:::i;:::-;2949:48;;3044:2;3033:9;3029:18;3016:32;3006:42;;2726:328;;;;;:::o;3059:248::-;3127:6;3135;3188:2;3176:9;3167:7;3163:23;3159:32;3156:52;;;3204:1;3201;3194:12;3156:52;-1:-1:-1;;3227:23:1;;;3297:2;3282:18;;;3269:32;;-1:-1:-1;3059:248:1:o;3591:186::-;3650:6;3703:2;3691:9;3682:7;3678:23;3674:32;3671:52;;;3719:1;3716;3709:12;3671:52;3742:29;3761:9;3742:29;:::i;3782:254::-;3850:6;3858;3911:2;3899:9;3890:7;3886:23;3882:32;3879:52;;;3927:1;3924;3917:12;3879:52;3963:9;3950:23;3940:33;;3992:38;4026:2;4015:9;4011:18;3992:38;:::i;:::-;3982:48;;3782:254;;;;;:::o;4041:127::-;4102:10;4097:3;4093:20;4090:1;4083:31;4133:4;4130:1;4123:15;4157:4;4154:1;4147:15;4173:632;4238:5;4268:18;4309:2;4301:6;4298:14;4295:40;;;4315:18;;:::i;:::-;4390:2;4384:9;4358:2;4444:15;;-1:-1:-1;;4440:24:1;;;4466:2;4436:33;4432:42;4420:55;;;4490:18;;;4510:22;;;4487:46;4484:72;;;4536:18;;:::i;:::-;4576:10;4572:2;4565:22;4605:6;4596:15;;4635:6;4627;4620:22;4675:3;4666:6;4661:3;4657:16;4654:25;4651:45;;;4692:1;4689;4682:12;4651:45;4742:6;4737:3;4730:4;4722:6;4718:17;4705:44;4797:1;4790:4;4781:6;4773;4769:19;4765:30;4758:41;;;;4173:632;;;;;:::o;4810:451::-;4879:6;4932:2;4920:9;4911:7;4907:23;4903:32;4900:52;;;4948:1;4945;4938:12;4900:52;4988:9;4975:23;5021:18;5013:6;5010:30;5007:50;;;5053:1;5050;5043:12;5007:50;5076:22;;5129:4;5121:13;;5117:27;-1:-1:-1;5107:55:1;;5158:1;5155;5148:12;5107:55;5181:74;5247:7;5242:2;5229:16;5224:2;5220;5216:11;5181:74;:::i;5266:269::-;5323:6;5376:2;5364:9;5355:7;5351:23;5347:32;5344:52;;;5392:1;5389;5382:12;5344:52;5431:9;5418:23;5481:4;5474:5;5470:16;5463:5;5460:27;5450:55;;5501:1;5498;5491:12;5540:127;5601:10;5596:3;5592:20;5589:1;5582:31;5632:4;5629:1;5622:15;5656:4;5653:1;5646:15;5672:342;5818:2;5803:18;;5851:1;5840:13;;5830:144;;5896:10;5891:3;5887:20;5884:1;5877:31;5931:4;5928:1;5921:15;5959:4;5956:1;5949:15;5830:144;5983:25;;;5672:342;:::o;6019:118::-;6105:5;6098:13;6091:21;6084:5;6081:32;6071:60;;6127:1;6124;6117:12;6142:315;6207:6;6215;6268:2;6256:9;6247:7;6243:23;6239:32;6236:52;;;6284:1;6281;6274:12;6236:52;6307:29;6326:9;6307:29;:::i;:::-;6297:39;;6386:2;6375:9;6371:18;6358:32;6399:28;6421:5;6399:28;:::i;6462:667::-;6557:6;6565;6573;6581;6634:3;6622:9;6613:7;6609:23;6605:33;6602:53;;;6651:1;6648;6641:12;6602:53;6674:29;6693:9;6674:29;:::i;:::-;6664:39;;6722:38;6756:2;6745:9;6741:18;6722:38;:::i;:::-;6712:48;;6807:2;6796:9;6792:18;6779:32;6769:42;;6862:2;6851:9;6847:18;6834:32;6889:18;6881:6;6878:30;6875:50;;;6921:1;6918;6911:12;6875:50;6944:22;;6997:4;6989:13;;6985:27;-1:-1:-1;6975:55:1;;7026:1;7023;7016:12;6975:55;7049:74;7115:7;7110:2;7097:16;7092:2;7088;7084:11;7049:74;:::i;:::-;7039:84;;;6462:667;;;;;;;:::o;7134:260::-;7202:6;7210;7263:2;7251:9;7242:7;7238:23;7234:32;7231:52;;;7279:1;7276;7269:12;7231:52;7302:29;7321:9;7302:29;:::i;:::-;7292:39;;7350:38;7384:2;7373:9;7369:18;7350:38;:::i;7399:380::-;7478:1;7474:12;;;;7521;;;7542:61;;7596:4;7588:6;7584:17;7574:27;;7542:61;7649:2;7641:6;7638:14;7618:18;7615:38;7612:161;;7695:10;7690:3;7686:20;7683:1;7676:31;7730:4;7727:1;7720:15;7758:4;7755:1;7748:15;7612:161;;7399:380;;;:::o;8093:245::-;8160:6;8213:2;8201:9;8192:7;8188:23;8184:32;8181:52;;;8229:1;8226;8219:12;8181:52;8261:9;8255:16;8280:28;8302:5;8280:28;:::i;8343:127::-;8404:10;8399:3;8395:20;8392:1;8385:31;8435:4;8432:1;8425:15;8459:4;8456:1;8449:15;8475:168;8515:7;8581:1;8577;8573:6;8569:14;8566:1;8563:21;8558:1;8551:9;8544:17;8540:45;8537:71;;;8588:18;;:::i;:::-;-1:-1:-1;8628:9:1;;8475:168::o;8648:127::-;8709:10;8704:3;8700:20;8697:1;8690:31;8740:4;8737:1;8730:15;8764:4;8761:1;8754:15;8780:120;8820:1;8846;8836:35;;8851:18;;:::i;:::-;-1:-1:-1;8885:9:1;;8780:120::o;8905:127::-;8966:10;8961:3;8957:20;8954:1;8947:31;8997:4;8994:1;8987:15;9021:4;9018:1;9011:15;9037:135;9076:3;9097:17;;;9094:43;;9117:18;;:::i;:::-;-1:-1:-1;9164:1:1;9153:13;;9037:135::o;9177:125::-;9217:4;9245:1;9242;9239:8;9236:34;;;9250:18;;:::i;:::-;-1:-1:-1;9287:9:1;;9177:125::o;9307:128::-;9347:3;9378:1;9374:6;9371:1;9368:13;9365:39;;;9384:18;;:::i;:::-;-1:-1:-1;9420:9:1;;9307:128::o;9781:470::-;9960:3;9998:6;9992:13;10014:53;10060:6;10055:3;10048:4;10040:6;10036:17;10014:53;:::i;:::-;10130:13;;10089:16;;;;10152:57;10130:13;10089:16;10186:4;10174:17;;10152:57;:::i;:::-;10225:20;;9781:470;-1:-1:-1;;;;9781:470:1:o;11999:112::-;12031:1;12057;12047:35;;12062:18;;:::i;:::-;-1:-1:-1;12096:9:1;;11999:112::o;12116:489::-;-1:-1:-1;;;;;12385:15:1;;;12367:34;;12437:15;;12432:2;12417:18;;12410:43;12484:2;12469:18;;12462:34;;;12532:3;12527:2;12512:18;;12505:31;;;12310:4;;12553:46;;12579:19;;12571:6;12553:46;:::i;:::-;12545:54;12116:489;-1:-1:-1;;;;;;12116:489:1:o;12610:249::-;12679:6;12732:2;12720:9;12711:7;12707:23;12703:32;12700:52;;;12748:1;12745;12738:12;12700:52;12780:9;12774:16;12799:30;12823:5;12799:30;:::i

Swarm Source

ipfs://80f23be547e378ef76f0df8d2141551d1136f109e2edcfb3e8d5c4af4f589ad7
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.