ETH Price: $3,926.92 (+0.55%)

Contract

0x50d2B1f7e8f8c9ebB19c7FDBF78BC5B2c23323BA
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...212687562024-11-26 1:51:3520 days ago1732585895IN
0x50d2B1f7...2c23323BA
0 ETH0.000420349.10730485
Set Approval For...211437802024-11-08 15:20:4737 days ago1731079247IN
0x50d2B1f7...2c23323BA
0 ETH0.0011264824.40663162
Set Approval For...207297312024-09-11 20:23:3595 days ago1726086215IN
0x50d2B1f7...2c23323BA
0 ETH0.00035917.78047849
Set Approval For...205208532024-08-13 16:19:23124 days ago1723565963IN
0x50d2B1f7...2c23323BA
0 ETH0.000331877.19040875
Set Approval For...190408332024-01-19 12:13:23332 days ago1705666403IN
0x50d2B1f7...2c23323BA
0 ETH0.0010840323.4868683
Safe Transfer Fr...190397202024-01-19 8:30:11332 days ago1705653011IN
0x50d2B1f7...2c23323BA
0 ETH0.0023750636.99307699
Set Approval For...190356832024-01-18 18:58:23332 days ago1705604303IN
0x50d2B1f7...2c23323BA
0 ETH0.0009958441.07752172
Transfer From178478092023-08-05 9:15:11499 days ago1691226911IN
0x50d2B1f7...2c23323BA
0 ETH0.0008294813.4915129
Set Approval For...173783752023-05-31 10:51:11565 days ago1685530271IN
0x50d2B1f7...2c23323BA
0 ETH0.0015384633.33262486
Set Approval For...173783532023-05-31 10:46:47565 days ago1685530007IN
0x50d2B1f7...2c23323BA
0 ETH0.0016293335.23726692
Set Approval For...170486412023-04-14 23:33:11611 days ago1681515191IN
0x50d2B1f7...2c23323BA
0 ETH0.0012122226.26419762
Set Approval For...169400072023-03-30 12:17:35627 days ago1680178655IN
0x50d2B1f7...2c23323BA
0 ETH0.0015021532.54590807
Set Approval For...168606682023-03-19 8:45:59638 days ago1679215559IN
0x50d2B1f7...2c23323BA
0 ETH0.0006054113.11690399
Transfer From166861862023-02-22 19:55:35662 days ago1677095735IN
0x50d2B1f7...2c23323BA
0 ETH0.0015475434.87809371
Transfer From166861222023-02-22 19:42:35662 days ago1677094955IN
0x50d2B1f7...2c23323BA
0 ETH0.0022026835.82644366
Transfer From166821122023-02-22 6:08:59663 days ago1677046139IN
0x50d2B1f7...2c23323BA
0 ETH0.002107424.58356841
Transfer From165929702023-02-09 18:25:35675 days ago1675967135IN
0x50d2B1f7...2c23323BA
0 ETH0.0025675541.76103227
Set Approval For...164645482023-01-22 19:51:35693 days ago1674417095IN
0x50d2B1f7...2c23323BA
0 ETH0.0006927715.00984643
Transfer From164645152023-01-22 19:44:59693 days ago1674416699IN
0x50d2B1f7...2c23323BA
0 ETH0.0007306116.46185701
Transfer From164645112023-01-22 19:44:11693 days ago1674416651IN
0x50d2B1f7...2c23323BA
0 ETH0.0010398915.69186454
Set Approval For...163937382023-01-12 22:35:59703 days ago1673562959IN
0x50d2B1f7...2c23323BA
0 ETH0.0010484422.71582457
Set Approval For...163442402023-01-06 0:43:23710 days ago1672965803IN
0x50d2B1f7...2c23323BA
0 ETH0.0009077819.6325337
Set Approval For...163441902023-01-06 0:33:23710 days ago1672965203IN
0x50d2B1f7...2c23323BA
0 ETH0.001328728.77303479
Set Approval For...162496202022-12-23 19:49:11723 days ago1671824951IN
0x50d2B1f7...2c23323BA
0 ETH0.0005770412.50231516
Safe Transfer Fr...162149522022-12-18 23:46:35728 days ago1671407195IN
0x50d2B1f7...2c23323BA
0 ETH0.0005592910.77819024
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
150079132022-06-22 13:53:34908 days ago1655906014
0x50d2B1f7...2c23323BA
1 ETH
150077972022-06-22 13:14:50908 days ago1655903690
0x50d2B1f7...2c23323BA
1 ETH
150042712022-06-21 21:17:30908 days ago1655846250
0x50d2B1f7...2c23323BA
1 ETH
150040762022-06-21 20:29:26908 days ago1655843366
0x50d2B1f7...2c23323BA
1 ETH
150040712022-06-21 20:28:45908 days ago1655843325
0x50d2B1f7...2c23323BA
1 ETH
150038662022-06-21 19:38:08908 days ago1655840288
0x50d2B1f7...2c23323BA
1 ETH
150038652022-06-21 19:37:47908 days ago1655840267
0x50d2B1f7...2c23323BA
1 ETH
150038552022-06-21 19:35:49908 days ago1655840149
0x50d2B1f7...2c23323BA
1 ETH
150038552022-06-21 19:35:49908 days ago1655840149
0x50d2B1f7...2c23323BA
1 ETH
150038532022-06-21 19:34:59908 days ago1655840099
0x50d2B1f7...2c23323BA
1 ETH
150038522022-06-21 19:34:40908 days ago1655840080
0x50d2B1f7...2c23323BA
1 ETH
150038522022-06-21 19:34:40908 days ago1655840080
0x50d2B1f7...2c23323BA
1 ETH
150038522022-06-21 19:34:40908 days ago1655840080
0x50d2B1f7...2c23323BA
1 ETH
150038512022-06-21 19:34:29908 days ago1655840069
0x50d2B1f7...2c23323BA
1 ETH
150038492022-06-21 19:34:03908 days ago1655840043
0x50d2B1f7...2c23323BA
1 ETH
150038492022-06-21 19:34:03908 days ago1655840043
0x50d2B1f7...2c23323BA
1 ETH
150038482022-06-21 19:33:37908 days ago1655840017
0x50d2B1f7...2c23323BA
1 ETH
150038472022-06-21 19:33:32908 days ago1655840012
0x50d2B1f7...2c23323BA
1 ETH
150038472022-06-21 19:33:32908 days ago1655840012
0x50d2B1f7...2c23323BA
1 ETH
150038472022-06-21 19:33:32908 days ago1655840012
0x50d2B1f7...2c23323BA
1 ETH
150038472022-06-21 19:33:32908 days ago1655840012
0x50d2B1f7...2c23323BA
1 ETH
150038452022-06-21 19:33:00908 days ago1655839980
0x50d2B1f7...2c23323BA
1 ETH
150038452022-06-21 19:33:00908 days ago1655839980
0x50d2B1f7...2c23323BA
1 ETH
150038452022-06-21 19:33:00908 days ago1655839980
0x50d2B1f7...2c23323BA
1 ETH
150038442022-06-21 19:31:53908 days ago1655839913
0x50d2B1f7...2c23323BA
1 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DiamondsClub

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 9999 runs

Other Settings:
default evmVersion
File 1 of 14 : DiamondsClub.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;

import '@openzeppelin/contracts/access/Ownable.sol';
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "./ERC721A.sol";

/*
* @title Main contract for Diamonds Club
*/
contract DiamondsClub is ERC721A, Ownable, IERC2981 {
    using Strings for uint256;
    using Counters for Counters.Counter;
    using ECDSA for bytes32;

    uint256 public constant PERCENTAGE_DENOMINATOR = 10000;
    uint256 public constant MAX_SUPPLY = 1000;
    uint256 public constant ALLOW_LIST_MAX_SUPPLY = 500;

    uint256 public mintPrice;
    address public multisigWallet;
    address public royaltiesMultisigWallet;
    uint256 public royaltiesBasisPoint;
    address public signerPublicAddress;
    bool public whitelistSaleOpen;
    bool public publicSaleOpen;
    string public _tokenURI;
    uint256 public maxMintPublic;
    uint256 public maxMintAllowlisted;

    /**
    * @notice Constructor to create Genesis contract
    *
    * @param _name the token Name
    * @param _symbol the token Symbol
    */
    constructor (
        string memory _name,
        string memory _symbol,
        address _multisigWallet,
        address _royaltiesMultisigWallet,
        string memory __tokenURI,
        address _signerPublicAddress,
        address communityWallet
    ) ERC721A(_name, _symbol) {
        _tokenURI = __tokenURI;
        multisigWallet = _multisigWallet;
        royaltiesMultisigWallet = _royaltiesMultisigWallet;
        signerPublicAddress = _signerPublicAddress;
        maxMintPublic = 5;
        maxMintAllowlisted = 2;
        mintPrice = 0.25 ether;
        royaltiesBasisPoint = 500; // 5%
        _safeMint(communityWallet, 50);
    }

    // =========== ERC721A ===========

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

    // =========== EIP2981 ===========

    function royaltyInfo(uint256, uint256 _salePrice)
    external
    view
    override
    returns (address receiver, uint256 royaltyAmount) {
        return (royaltiesMultisigWallet, (_salePrice * royaltiesBasisPoint) / PERCENTAGE_DENOMINATOR);
    }

    /**
    * @notice Mint New Token for whitelist only
    */
    function mintAllowlist(uint16 _quantity, uint8 v, bytes32 r, bytes32 s) external payable {
        require(whitelistSaleOpen, "whitelist mint not open");
        require(_isAllowlisted(v, r, s), "you are not allowlisted");
        require(balanceOf(msg.sender) + _quantity <= maxMintAllowlisted, "passed max per wallet");
        require(totalSupply() + _quantity <= ALLOW_LIST_MAX_SUPPLY, "passed max supply");

        _collectFeeAndMintToken(_quantity);
    }

    /**
    * @notice Mint New Token for Public sale only
    */
    function mint(uint16 _quantity) external payable {
        require(publicSaleOpen, "public mint not open");
        require(balanceOf(msg.sender) + _quantity <= maxMintPublic, "passed max per wallet");
        require(totalSupply() + _quantity <= MAX_SUPPLY, "passed max supply");

        _collectFeeAndMintToken(_quantity);
    }

    /**
    * @notice The NFT URI
    */
    function tokenURI(uint256) public view virtual override returns (string memory) {
        return _tokenURI;
    }

    // ===================== Management =====================

    /**
    * @notice Configure whitelistSaleOpen
    *
    * @param _whitelistSaleOpen whitelist Sale Started Or Stopped
    */
    function setWhitelistSaleOpen(bool _whitelistSaleOpen) external onlyOwner {
        whitelistSaleOpen = _whitelistSaleOpen;
    }

    /**
    * @notice Configure publicSaleOpen
    *
    * @param _publicSaleOpen Public Sale Started Or Stopped
    */
    function setPublicSaleOpen(bool _publicSaleOpen) external onlyOwner {
        publicSaleOpen = _publicSaleOpen;
    }

    /**
    * @notice Configure Mint Price
    *
    * @param _mintPrice Mint Price
    */
    function setMintPrice(uint256 _mintPrice) external onlyOwner {
        mintPrice = _mintPrice;
    }

    /**
    * @notice Configure Max Mint Public
    *
    * @param _maxMintPublic Value
    */
    function setMaxMintPublic(uint256 _maxMintPublic) external onlyOwner {
        maxMintPublic = _maxMintPublic;
    }

    /**
    * @notice Configure Max Mint Allowlisted
    *
    * @param _maxMintAllowlisted Value
    */
    function setMaxMintAllowlisted(uint256 _maxMintAllowlisted) external onlyOwner {
        maxMintAllowlisted = _maxMintAllowlisted;
    }

    /**
    * @notice Configure Signer Public Address
    *
    * @param _signerPublicAddress Address
    */
    function setSignerPublicAddress(address _signerPublicAddress) external onlyOwner {
        signerPublicAddress = _signerPublicAddress;
    }

    /**
    * @notice Configure Multisig Wallet for minting
    *
    * @param _multisigWallet Address
    */
    function setMultisigWallet(address _multisigWallet) external onlyOwner {
        multisigWallet = _multisigWallet;
    }

    /**
    * @notice Configure Multisig Wallet for royalties
    *
    * @param _royaltiesMultisigWallet Address
    */
    function setRoyaltiesMultisigWallet(address _royaltiesMultisigWallet) external onlyOwner {
        royaltiesMultisigWallet = _royaltiesMultisigWallet;
    }

    /**
    * @notice Configure royalties %
    *
    * @param _royaltiesBasisPoint uint256
    */
    function setRoyaltiesBasisPoint(uint256 _royaltiesBasisPoint) external onlyOwner {
        require(_royaltiesBasisPoint <= 1000, "max is 10%");
        royaltiesBasisPoint = _royaltiesBasisPoint;
    }

    /**
    * @notice Setting NFT URI
    *
    * @param __tokenURI string
    */
    function setTokenURI(string memory __tokenURI)  external onlyOwner  {
        _tokenURI = __tokenURI;
    }

    // ===================== Internals =====================

    /**
    * @notice _CollectFeeAndMintToken
    *
    * @param _quantity Total tokens to mint
    */
    function _collectFeeAndMintToken(uint16 _quantity) internal {
        uint256 amount = mintPrice * _quantity;
        require(msg.value >= amount, "Amount sent is not enough");

        // Send excess Payment return
        uint256 excessPayment = msg.value - amount;
        if (excessPayment > 0) {
            Address.sendValue(payable(msg.sender), excessPayment);
        }

        Address.sendValue(payable(multisigWallet), amount);

        _safeMint(msg.sender, _quantity);
    }

    /**
    * @notice Check if address is allowlisted
    *
    */
    function _isAllowlisted(uint8 v, bytes32 r, bytes32 s) internal view returns (bool) {
        return keccak256(abi.encodePacked(_msgSender())).toEthSignedMessageHash().recover(v, r, s) == signerPublicAddress;
    }
}

File 2 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

File 3 of 14 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

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

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

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

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

File 4 of 14 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 5 of 14 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "../utils/introspection/IERC165.sol";

/**
 * @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 6 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.11;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

    error ApprovalCallerNotOwnerNorApproved();
    error ApprovalQueryForNonexistentToken();
    error ApproveToCaller();
    error ApprovalToCurrentOwner();
    error BalanceQueryForZeroAddress();
    error MintToZeroAddress();
    error MintZeroQuantity();
    error 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;
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    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 {
        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 (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 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) 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;

        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 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 7 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 8 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 9 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 10 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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 be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev 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 11 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// 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 12 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 13 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 9999
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_multisigWallet","type":"address"},{"internalType":"address","name":"_royaltiesMultisigWallet","type":"address"},{"internalType":"string","name":"__tokenURI","type":"string"},{"internalType":"address","name":"_signerPublicAddress","type":"address"},{"internalType":"address","name":"communityWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ALLOW_LIST_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERCENTAGE_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":"maxMintAllowlisted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_quantity","type":"uint16"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_quantity","type":"uint16"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"mintAllowlist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"multisigWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltiesBasisPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltiesMultisigWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAllowlisted","type":"uint256"}],"name":"setMaxMintAllowlisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintPublic","type":"uint256"}],"name":"setMaxMintPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_multisigWallet","type":"address"}],"name":"setMultisigWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_publicSaleOpen","type":"bool"}],"name":"setPublicSaleOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_royaltiesBasisPoint","type":"uint256"}],"name":"setRoyaltiesBasisPoint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltiesMultisigWallet","type":"address"}],"name":"setRoyaltiesMultisigWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signerPublicAddress","type":"address"}],"name":"setSignerPublicAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"__tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_whitelistSaleOpen","type":"bool"}],"name":"setWhitelistSaleOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signerPublicAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"","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":"whitelistSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200348a3803806200348a8339810160408190526200003491620005d8565b8651879087906200004d9060029060208501906200043f565b508051620000639060039060208401906200043f565b50506001600055506200007633620000ff565b82516200008b90600e9060208601906200043f565b50600a80546001600160a01b038088166001600160a01b031992831617909255600b8054878416908316179055600d8054928516929091169190911790556005600f5560026010556703782dace9d900006009556101f4600c55620000f281603262000151565b505050505050506200077a565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001738282604051806020016040528060008152506200017760201b60201c565b5050565b6000546001600160a01b038416620001a157604051622e076360e81b815260040160405180910390fd5b82620001c05760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546001600160801b031981166001600160401b038083168b018116918217680100000000000000006001600160401b031990941690921783900481168b0181169092021790915585845260048352922080546001600160e01b0319168417600160a01b4290941693909302929092179091558291828601916200026991906200033f811b620017b417901c565b15620002e9575b60405182906001600160a01b038816906000906000805160206200346a833981519152908290a46001820191620002ad906000908890876200034e565b620002cb576040516368d2bf6b60e11b815260040160405180910390fd5b8082141562000270578260005414620002e357600080fd5b6200031f565b5b6040516001830192906001600160a01b038816906000906000805160206200346a833981519152908290a480821415620002ea575b50600090815562000339908583866001600160e01b038516565b50505050565b6001600160a01b03163b151590565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029062000385903390899088908890600401620006b4565b6020604051808303816000875af1925050508015620003c3575060408051601f3d908101601f19168201909252620003c0918101906200070a565b60015b62000422573d808015620003f4576040519150601f19603f3d011682016040523d82523d6000602084013e620003f9565b606091505b5080516200041a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b8280546200044d906200073d565b90600052602060002090601f016020900481019282620004715760008555620004bc565b82601f106200048c57805160ff1916838001178555620004bc565b82800160010185558215620004bc579182015b82811115620004bc5782518255916020019190600101906200049f565b50620004ca929150620004ce565b5090565b5b80821115620004ca5760008155600101620004cf565b634e487b7160e01b600052604160045260246000fd5b60005b8381101562000518578181015183820152602001620004fe565b83811115620003395750506000910152565b600082601f8301126200053c57600080fd5b81516001600160401b0380821115620005595762000559620004e5565b604051601f8301601f19908116603f01168101908282118183101715620005845762000584620004e5565b816040528381528660208588010111156200059e57600080fd5b620005b1846020830160208901620004fb565b9695505050505050565b80516001600160a01b0381168114620005d357600080fd5b919050565b600080600080600080600060e0888a031215620005f457600080fd5b87516001600160401b03808211156200060c57600080fd5b6200061a8b838c016200052a565b985060208a01519150808211156200063157600080fd5b6200063f8b838c016200052a565b97506200064f60408b01620005bb565b96506200065f60608b01620005bb565b955060808a01519150808211156200067657600080fd5b50620006858a828b016200052a565b9350506200069660a08901620005bb565b9150620006a660c08901620005bb565b905092959891949750929550565b600060018060a01b038087168352808616602084015250836040830152608060608301528251806080840152620006f38160a0850160208701620004fb565b601f01601f19169190910160a00195945050505050565b6000602082840312156200071d57600080fd5b81516001600160e01b0319811681146200073657600080fd5b9392505050565b600181811c908216806200075257607f821691505b602082108114156200077457634e487b7160e01b600052602260045260246000fd5b50919050565b612ce0806200078a6000396000f3fe6080604052600436106102dc5760003560e01c80637a79b28311610184578063c87b56dd116100d6578063e0df5b6f1161008a578063f2fde38b11610064578063f2fde38b146107f0578063f4a0a52814610810578063f9e237991461083057600080fd5b8063e0df5b6f14610771578063e985e9c514610791578063ef9b63ba146107da57600080fd5b8063cba5cc5f116100bb578063cba5cc5f14610711578063ce8af04214610731578063da6c405d1461075157600080fd5b8063c87b56dd146106db578063c8e80dee146106fb57600080fd5b8063b3cd425411610138578063b88d4fde11610112578063b88d4fde14610685578063ba40a96a146106a5578063c286c53e146106c557600080fd5b8063b3cd42541461063a578063b4ce37d214610650578063b86917871461066557600080fd5b80639075becf116101695780639075becf146105e557806395d89b4114610605578063a22cb4651461061a57600080fd5b80637a79b283146105b45780638da5cb5b146105c757600080fd5b806342842e0e1161023d5780636817c76c116101f1578063704a48aa116101cb578063704a48aa1461056957806370a082311461057f578063715018a61461059f57600080fd5b80636817c76c1461051357806369dd655a146105295780636dc5f1ce1461054957600080fd5b80636352211e116102225780636352211e146104b357806364913477146104d357806365b781ef146104f357600080fd5b806342842e0e146104615780635977ac7d1461048157600080fd5b806323394d991161029457806323cf0a221161027957806323cf0a22146103f95780632a55205a1461040c57806332cb6b0c1461044b57600080fd5b806323394d99146103b957806323b872dd146103d957600080fd5b8063081812fc116102c5578063081812fc14610338578063095ea7b31461037057806318160ddd1461039257600080fd5b806301ffc9a7146102e157806306fdde0314610316575b600080fd5b3480156102ed57600080fd5b506103016102fc366004612751565b610863565b60405190151581526020015b60405180910390f35b34801561032257600080fd5b5061032b610948565b60405161030d91906127c2565b34801561034457600080fd5b506103586103533660046127d5565b6109da565b6040516001600160a01b03909116815260200161030d565b34801561037c57600080fd5b5061039061038b36600461280a565b610a37565b005b34801561039e57600080fd5b5060015460005403600019015b60405190815260200161030d565b3480156103c557600080fd5b506103906103d4366004612844565b610af7565b3480156103e557600080fd5b506103906103f436600461285f565b610ba1565b6103906104073660046128ad565b610bac565b34801561041857600080fd5b5061042c6104273660046128c8565b610cf9565b604080516001600160a01b03909316835260208301919091520161030d565b34801561045757600080fd5b506103ab6103e881565b34801561046d57600080fd5b5061039061047c36600461285f565b610d33565b34801561048d57600080fd5b50600d546103019074010000000000000000000000000000000000000000900460ff1681565b3480156104bf57600080fd5b506103586104ce3660046127d5565b610d4e565b3480156104df57600080fd5b506103906104ee3660046128ea565b610d60565b3480156104ff57600080fd5b50600b54610358906001600160a01b031681565b34801561051f57600080fd5b506103ab60095481565b34801561053557600080fd5b506103906105443660046127d5565b610df4565b34801561055557600080fd5b506103906105643660046127d5565b610ea5565b34801561057557600080fd5b506103ab600c5481565b34801561058b57600080fd5b506103ab61059a3660046128ea565b610f04565b3480156105ab57600080fd5b50610390610f6c565b6103906105c2366004612905565b610fd2565b3480156105d357600080fd5b506008546001600160a01b0316610358565b3480156105f157600080fd5b50600a54610358906001600160a01b031681565b34801561061157600080fd5b5061032b611178565b34801561062657600080fd5b5061039061063536600461294f565b611187565b34801561064657600080fd5b506103ab61271081565b34801561065c57600080fd5b5061032b611254565b34801561067157600080fd5b506103906106803660046128ea565b6112e2565b34801561069157600080fd5b506103906106a0366004612a27565b611376565b3480156106b157600080fd5b50600d54610358906001600160a01b031681565b3480156106d157600080fd5b506103ab60105481565b3480156106e757600080fd5b5061032b6106f63660046127d5565b6113da565b34801561070757600080fd5b506103ab6101f481565b34801561071d57600080fd5b5061039061072c3660046128ea565b61146e565b34801561073d57600080fd5b5061039061074c366004612844565b611502565b34801561075d57600080fd5b5061039061076c3660046127d5565b6115a6565b34801561077d57600080fd5b5061039061078c366004612aa3565b611605565b34801561079d57600080fd5b506103016107ac366004612aec565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156107e657600080fd5b506103ab600f5481565b3480156107fc57600080fd5b5061039061080b3660046128ea565b611676565b34801561081c57600080fd5b5061039061082b3660046127d5565b611755565b34801561083c57600080fd5b50600d54610301907501000000000000000000000000000000000000000000900460ff1681565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806108f657507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061094257507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60606002805461095790612b16565b80601f016020809104026020016040519081016040528092919081815260200182805461098390612b16565b80156109d05780601f106109a5576101008083540402835291602001916109d0565b820191906000526020600020905b8154815290600101906020018083116109b357829003601f168201915b5050505050905090565b60006109e5826117c3565b610a1b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a4282610d4e565b9050806001600160a01b0316836001600160a01b03161415610a90576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336001600160a01b03821614801590610ab05750610aae81336107ac565b155b15610ae7576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610af2838383611815565b505050565b6008546001600160a01b03163314610b565760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600d80549115157501000000000000000000000000000000000000000000027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff909216919091179055565b610af2838383611889565b600d547501000000000000000000000000000000000000000000900460ff16610c175760405162461bcd60e51b815260206004820152601460248201527f7075626c6963206d696e74206e6f74206f70656e0000000000000000000000006044820152606401610b4d565b600f548161ffff16610c2833610f04565b610c329190612b99565b1115610c805760405162461bcd60e51b815260206004820152601560248201527f706173736564206d6178207065722077616c6c657400000000000000000000006044820152606401610b4d565b6001546000546103e89161ffff8416910360001901610c9f9190612b99565b1115610ced5760405162461bcd60e51b815260206004820152601160248201527f706173736564206d617820737570706c790000000000000000000000000000006044820152606401610b4d565b610cf681611b2d565b50565b600b54600c5460009182916001600160a01b039091169061271090610d1e9086612bb1565b610d289190612bd0565b915091509250929050565b610af283838360405180602001604052806000815250611376565b6000610d5982611bd5565b5192915050565b6008546001600160a01b03163314610dba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b600a80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6008546001600160a01b03163314610e4e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b6103e8811115610ea05760405162461bcd60e51b815260206004820152600a60248201527f6d617820697320313025000000000000000000000000000000000000000000006044820152606401610b4d565b600c55565b6008546001600160a01b03163314610eff5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b600f55565b60006001600160a01b038216610f46576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610fc65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b610fd06000611d6b565b565b600d5474010000000000000000000000000000000000000000900460ff1661103c5760405162461bcd60e51b815260206004820152601760248201527f77686974656c697374206d696e74206e6f74206f70656e0000000000000000006044820152606401610b4d565b611047838383611dd5565b6110935760405162461bcd60e51b815260206004820152601760248201527f796f7520617265206e6f7420616c6c6f776c69737465640000000000000000006044820152606401610b4d565b6010548461ffff166110a433610f04565b6110ae9190612b99565b11156110fc5760405162461bcd60e51b815260206004820152601560248201527f706173736564206d6178207065722077616c6c657400000000000000000000006044820152606401610b4d565b6001546000546101f49161ffff871691036000190161111b9190612b99565b11156111695760405162461bcd60e51b815260206004820152601160248201527f706173736564206d617820737570706c790000000000000000000000000000006044820152606401610b4d565b61117284611b2d565b50505050565b60606003805461095790612b16565b6001600160a01b0382163314156111ca576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600e805461126190612b16565b80601f016020809104026020016040519081016040528092919081815260200182805461128d90612b16565b80156112da5780601f106112af576101008083540402835291602001916112da565b820191906000526020600020905b8154815290600101906020018083116112bd57829003601f168201915b505050505081565b6008546001600160a01b0316331461133c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b600d80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b611381848484611889565b6001600160a01b0383163b151580156113a357506113a184848484611ea3565b155b15611172576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6060600e80546113e990612b16565b80601f016020809104026020016040519081016040528092919081815260200182805461141590612b16565b80156114625780601f1061143757610100808354040283529160200191611462565b820191906000526020600020905b81548152906001019060200180831161144557829003601f168201915b50505050509050919050565b6008546001600160a01b031633146114c85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6008546001600160a01b0316331461155c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b600d805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6008546001600160a01b031633146116005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b601055565b6008546001600160a01b0316331461165f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b805161167290600e90602084019061268a565b5050565b6008546001600160a01b031633146116d05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b6001600160a01b03811661174c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610b4d565b610cf681611d6b565b6008546001600160a01b031633146117af5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b600955565b6001600160a01b03163b151590565b6000816001111580156117d7575060005482105b80156109425750506000908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000900460ff161590565b60008281526006602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061189482611bd5565b9050836001600160a01b031681600001516001600160a01b0316146118e5576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000336001600160a01b0386161480611903575061190385336107ac565b8061191e575033611913846109da565b6001600160a01b0316145b905080611957576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038416611997576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119a360008487611815565b6001600160a01b03858116600090815260056020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000080821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080547fffffffff00000000000000000000000000000000000000000000000000000000169094177401000000000000000000000000000000000000000042909216919091021783558701808452922080549193909116611ae2576000548214611ae2578054602086015167ffffffffffffffff1674010000000000000000000000000000000000000000027fffffffff000000000000000000000000000000000000000000000000000000009091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b60008161ffff16600954611b419190612bb1565b905080341015611b935760405162461bcd60e51b815260206004820152601960248201527f416d6f756e742073656e74206973206e6f7420656e6f756768000000000000006044820152606401610b4d565b6000611b9f8234612c0b565b90508015611bb157611bb13382611fef565b600a54611bc7906001600160a01b031683611fef565b610af2338461ffff16612108565b60408051606081018252600080825260208201819052918101919091528180600111158015611c05575060005481105b15611d3957600081815260046020908152604091829020825160608101845290546001600160a01b038116825274010000000000000000000000000000000000000000810467ffffffffffffffff16928201929092527c010000000000000000000000000000000000000000000000000000000090910460ff16151591810182905290611d375780516001600160a01b031615611ca3579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b03811680835274010000000000000000000000000000000000000000820467ffffffffffffffff16938301939093527c0100000000000000000000000000000000000000000000000000000000900460ff1615159281019290925215611d32579392505050565b611ca3565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600880546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600d546000906001600160a01b0316611e91858585611e8933604051602001611e29919060609190911b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016815260140190565b60408051601f1981840301815282825280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000084830152603c8085019190915282518085039091018152605c909301909152815191012090565b929190612122565b6001600160a01b031614949350505050565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081526000906001600160a01b0385169063150b7a0290611ef1903390899088908890600401612c22565b6020604051808303816000875af1925050508015611f2c575060408051601f3d908101601f19168201909252611f2991810190612c5e565b60015b611fa0573d808015611f5a576040519150601f19603f3d011682016040523d82523d6000602084013e611f5f565b606091505b508051611f98576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b8047101561203f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610b4d565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461208c576040519150601f19603f3d011682016040523d82523d6000602084013e612091565b606091505b5050905080610af25760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610b4d565b61167282826040518060200160405280600081525061214a565b6000806000612133878787876123ac565b9150915061214081612499565b5095945050505050565b6000546001600160a01b03841661218d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826121c4576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000811667ffffffffffffffff8083168b018116918217680100000000000000007fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000090941690921783900481168b01811690920217909155858452600490925290912080547fffffffff000000000000000000000000000000000000000000000000000000001683177401000000000000000000000000000000000000000042909316929092029190911790558190818501903b15612356575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46123056000878480600101955087611ea3565b61233b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156122ba57826000541461235157600080fd5b61239c565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415612357575b5060009081556111729085838684565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156123e35750600090506003612490565b8460ff16601b141580156123fb57508460ff16601c14155b1561240c5750600090506004612490565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612460573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661248957600060019250925050612490565b9150600090505b94509492505050565b60008160048111156124ad576124ad612c7b565b14156124b65750565b60018160048111156124ca576124ca612c7b565b14156125185760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610b4d565b600281600481111561252c5761252c612c7b565b141561257a5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610b4d565b600381600481111561258e5761258e612c7b565b14156126025760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610b4d565b600481600481111561261657612616612c7b565b1415610cf65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610b4d565b82805461269690612b16565b90600052602060002090601f0160209004810192826126b857600085556126fe565b82601f106126d157805160ff19168380011785556126fe565b828001600101855582156126fe579182015b828111156126fe5782518255916020019190600101906126e3565b5061270a92915061270e565b5090565b5b8082111561270a576000815560010161270f565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610cf657600080fd5b60006020828403121561276357600080fd5b813561276e81612723565b9392505050565b6000815180845260005b8181101561279b5760208185018101518683018201520161277f565b818111156127ad576000602083870101525b50601f01601f19169290920160200192915050565b60208152600061276e6020830184612775565b6000602082840312156127e757600080fd5b5035919050565b80356001600160a01b038116811461280557600080fd5b919050565b6000806040838503121561281d57600080fd5b612826836127ee565b946020939093013593505050565b8035801515811461280557600080fd5b60006020828403121561285657600080fd5b61276e82612834565b60008060006060848603121561287457600080fd5b61287d846127ee565b925061288b602085016127ee565b9150604084013590509250925092565b803561ffff8116811461280557600080fd5b6000602082840312156128bf57600080fd5b61276e8261289b565b600080604083850312156128db57600080fd5b50508035926020909101359150565b6000602082840312156128fc57600080fd5b61276e826127ee565b6000806000806080858703121561291b57600080fd5b6129248561289b565b9350602085013560ff8116811461293a57600080fd5b93969395505050506040820135916060013590565b6000806040838503121561296257600080fd5b61296b836127ee565b915061297960208401612834565b90509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff808411156129cc576129cc612982565b604051601f8501601f19908116603f011681019082821181831017156129f4576129f4612982565b81604052809350858152868686011115612a0d57600080fd5b858560208301376000602087830101525050509392505050565b60008060008060808587031215612a3d57600080fd5b612a46856127ee565b9350612a54602086016127ee565b925060408501359150606085013567ffffffffffffffff811115612a7757600080fd5b8501601f81018713612a8857600080fd5b612a97878235602084016129b1565b91505092959194509250565b600060208284031215612ab557600080fd5b813567ffffffffffffffff811115612acc57600080fd5b8201601f81018413612add57600080fd5b611fe7848235602084016129b1565b60008060408385031215612aff57600080fd5b612b08836127ee565b9150612979602084016127ee565b600181811c90821680612b2a57607f821691505b60208210811415612b64577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115612bac57612bac612b6a565b500190565b6000816000190483118215151615612bcb57612bcb612b6a565b500290565b600082612c06577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600082821015612c1d57612c1d612b6a565b500390565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612c546080830184612775565b9695505050505050565b600060208284031215612c7057600080fd5b815161276e81612723565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea2646970667358221220fb780ae255fc6aceb02cd43d8be3ebbe51973f1dc4986bbd73390c9a0a69c31964736f6c634300080b0033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000070ab9af379f17c9041ff4988e07fbd3dfb05ce4e00000000000000000000000070ab9af379f17c9041ff4988e07fbd3dfb05ce4e0000000000000000000000000000000000000000000000000000000000000160000000000000000000000000e5b379271f9182c001b9c1341a2989073a54bb19000000000000000000000000a3fb1eca23a2c3a2a43ebc06106e52a94d894e05000000000000000000000000000000000000000000000000000000000000000d4469616d6f6e647320436c756200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c4469616d6f6e6473436c75620000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d6168663457794a57787a5761516748395a6e6d4853774c4b534b78756658664b5439784e4851627237626d710000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102dc5760003560e01c80637a79b28311610184578063c87b56dd116100d6578063e0df5b6f1161008a578063f2fde38b11610064578063f2fde38b146107f0578063f4a0a52814610810578063f9e237991461083057600080fd5b8063e0df5b6f14610771578063e985e9c514610791578063ef9b63ba146107da57600080fd5b8063cba5cc5f116100bb578063cba5cc5f14610711578063ce8af04214610731578063da6c405d1461075157600080fd5b8063c87b56dd146106db578063c8e80dee146106fb57600080fd5b8063b3cd425411610138578063b88d4fde11610112578063b88d4fde14610685578063ba40a96a146106a5578063c286c53e146106c557600080fd5b8063b3cd42541461063a578063b4ce37d214610650578063b86917871461066557600080fd5b80639075becf116101695780639075becf146105e557806395d89b4114610605578063a22cb4651461061a57600080fd5b80637a79b283146105b45780638da5cb5b146105c757600080fd5b806342842e0e1161023d5780636817c76c116101f1578063704a48aa116101cb578063704a48aa1461056957806370a082311461057f578063715018a61461059f57600080fd5b80636817c76c1461051357806369dd655a146105295780636dc5f1ce1461054957600080fd5b80636352211e116102225780636352211e146104b357806364913477146104d357806365b781ef146104f357600080fd5b806342842e0e146104615780635977ac7d1461048157600080fd5b806323394d991161029457806323cf0a221161027957806323cf0a22146103f95780632a55205a1461040c57806332cb6b0c1461044b57600080fd5b806323394d99146103b957806323b872dd146103d957600080fd5b8063081812fc116102c5578063081812fc14610338578063095ea7b31461037057806318160ddd1461039257600080fd5b806301ffc9a7146102e157806306fdde0314610316575b600080fd5b3480156102ed57600080fd5b506103016102fc366004612751565b610863565b60405190151581526020015b60405180910390f35b34801561032257600080fd5b5061032b610948565b60405161030d91906127c2565b34801561034457600080fd5b506103586103533660046127d5565b6109da565b6040516001600160a01b03909116815260200161030d565b34801561037c57600080fd5b5061039061038b36600461280a565b610a37565b005b34801561039e57600080fd5b5060015460005403600019015b60405190815260200161030d565b3480156103c557600080fd5b506103906103d4366004612844565b610af7565b3480156103e557600080fd5b506103906103f436600461285f565b610ba1565b6103906104073660046128ad565b610bac565b34801561041857600080fd5b5061042c6104273660046128c8565b610cf9565b604080516001600160a01b03909316835260208301919091520161030d565b34801561045757600080fd5b506103ab6103e881565b34801561046d57600080fd5b5061039061047c36600461285f565b610d33565b34801561048d57600080fd5b50600d546103019074010000000000000000000000000000000000000000900460ff1681565b3480156104bf57600080fd5b506103586104ce3660046127d5565b610d4e565b3480156104df57600080fd5b506103906104ee3660046128ea565b610d60565b3480156104ff57600080fd5b50600b54610358906001600160a01b031681565b34801561051f57600080fd5b506103ab60095481565b34801561053557600080fd5b506103906105443660046127d5565b610df4565b34801561055557600080fd5b506103906105643660046127d5565b610ea5565b34801561057557600080fd5b506103ab600c5481565b34801561058b57600080fd5b506103ab61059a3660046128ea565b610f04565b3480156105ab57600080fd5b50610390610f6c565b6103906105c2366004612905565b610fd2565b3480156105d357600080fd5b506008546001600160a01b0316610358565b3480156105f157600080fd5b50600a54610358906001600160a01b031681565b34801561061157600080fd5b5061032b611178565b34801561062657600080fd5b5061039061063536600461294f565b611187565b34801561064657600080fd5b506103ab61271081565b34801561065c57600080fd5b5061032b611254565b34801561067157600080fd5b506103906106803660046128ea565b6112e2565b34801561069157600080fd5b506103906106a0366004612a27565b611376565b3480156106b157600080fd5b50600d54610358906001600160a01b031681565b3480156106d157600080fd5b506103ab60105481565b3480156106e757600080fd5b5061032b6106f63660046127d5565b6113da565b34801561070757600080fd5b506103ab6101f481565b34801561071d57600080fd5b5061039061072c3660046128ea565b61146e565b34801561073d57600080fd5b5061039061074c366004612844565b611502565b34801561075d57600080fd5b5061039061076c3660046127d5565b6115a6565b34801561077d57600080fd5b5061039061078c366004612aa3565b611605565b34801561079d57600080fd5b506103016107ac366004612aec565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156107e657600080fd5b506103ab600f5481565b3480156107fc57600080fd5b5061039061080b3660046128ea565b611676565b34801561081c57600080fd5b5061039061082b3660046127d5565b611755565b34801561083c57600080fd5b50600d54610301907501000000000000000000000000000000000000000000900460ff1681565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806108f657507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061094257507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60606002805461095790612b16565b80601f016020809104026020016040519081016040528092919081815260200182805461098390612b16565b80156109d05780601f106109a5576101008083540402835291602001916109d0565b820191906000526020600020905b8154815290600101906020018083116109b357829003601f168201915b5050505050905090565b60006109e5826117c3565b610a1b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a4282610d4e565b9050806001600160a01b0316836001600160a01b03161415610a90576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336001600160a01b03821614801590610ab05750610aae81336107ac565b155b15610ae7576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610af2838383611815565b505050565b6008546001600160a01b03163314610b565760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600d80549115157501000000000000000000000000000000000000000000027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff909216919091179055565b610af2838383611889565b600d547501000000000000000000000000000000000000000000900460ff16610c175760405162461bcd60e51b815260206004820152601460248201527f7075626c6963206d696e74206e6f74206f70656e0000000000000000000000006044820152606401610b4d565b600f548161ffff16610c2833610f04565b610c329190612b99565b1115610c805760405162461bcd60e51b815260206004820152601560248201527f706173736564206d6178207065722077616c6c657400000000000000000000006044820152606401610b4d565b6001546000546103e89161ffff8416910360001901610c9f9190612b99565b1115610ced5760405162461bcd60e51b815260206004820152601160248201527f706173736564206d617820737570706c790000000000000000000000000000006044820152606401610b4d565b610cf681611b2d565b50565b600b54600c5460009182916001600160a01b039091169061271090610d1e9086612bb1565b610d289190612bd0565b915091509250929050565b610af283838360405180602001604052806000815250611376565b6000610d5982611bd5565b5192915050565b6008546001600160a01b03163314610dba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b600a80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6008546001600160a01b03163314610e4e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b6103e8811115610ea05760405162461bcd60e51b815260206004820152600a60248201527f6d617820697320313025000000000000000000000000000000000000000000006044820152606401610b4d565b600c55565b6008546001600160a01b03163314610eff5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b600f55565b60006001600160a01b038216610f46576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610fc65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b610fd06000611d6b565b565b600d5474010000000000000000000000000000000000000000900460ff1661103c5760405162461bcd60e51b815260206004820152601760248201527f77686974656c697374206d696e74206e6f74206f70656e0000000000000000006044820152606401610b4d565b611047838383611dd5565b6110935760405162461bcd60e51b815260206004820152601760248201527f796f7520617265206e6f7420616c6c6f776c69737465640000000000000000006044820152606401610b4d565b6010548461ffff166110a433610f04565b6110ae9190612b99565b11156110fc5760405162461bcd60e51b815260206004820152601560248201527f706173736564206d6178207065722077616c6c657400000000000000000000006044820152606401610b4d565b6001546000546101f49161ffff871691036000190161111b9190612b99565b11156111695760405162461bcd60e51b815260206004820152601160248201527f706173736564206d617820737570706c790000000000000000000000000000006044820152606401610b4d565b61117284611b2d565b50505050565b60606003805461095790612b16565b6001600160a01b0382163314156111ca576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600e805461126190612b16565b80601f016020809104026020016040519081016040528092919081815260200182805461128d90612b16565b80156112da5780601f106112af576101008083540402835291602001916112da565b820191906000526020600020905b8154815290600101906020018083116112bd57829003601f168201915b505050505081565b6008546001600160a01b0316331461133c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b600d80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b611381848484611889565b6001600160a01b0383163b151580156113a357506113a184848484611ea3565b155b15611172576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6060600e80546113e990612b16565b80601f016020809104026020016040519081016040528092919081815260200182805461141590612b16565b80156114625780601f1061143757610100808354040283529160200191611462565b820191906000526020600020905b81548152906001019060200180831161144557829003601f168201915b50505050509050919050565b6008546001600160a01b031633146114c85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6008546001600160a01b0316331461155c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b600d805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6008546001600160a01b031633146116005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b601055565b6008546001600160a01b0316331461165f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b805161167290600e90602084019061268a565b5050565b6008546001600160a01b031633146116d05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b6001600160a01b03811661174c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610b4d565b610cf681611d6b565b6008546001600160a01b031633146117af5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b4d565b600955565b6001600160a01b03163b151590565b6000816001111580156117d7575060005482105b80156109425750506000908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000900460ff161590565b60008281526006602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061189482611bd5565b9050836001600160a01b031681600001516001600160a01b0316146118e5576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000336001600160a01b0386161480611903575061190385336107ac565b8061191e575033611913846109da565b6001600160a01b0316145b905080611957576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038416611997576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119a360008487611815565b6001600160a01b03858116600090815260056020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000080821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080547fffffffff00000000000000000000000000000000000000000000000000000000169094177401000000000000000000000000000000000000000042909216919091021783558701808452922080549193909116611ae2576000548214611ae2578054602086015167ffffffffffffffff1674010000000000000000000000000000000000000000027fffffffff000000000000000000000000000000000000000000000000000000009091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b60008161ffff16600954611b419190612bb1565b905080341015611b935760405162461bcd60e51b815260206004820152601960248201527f416d6f756e742073656e74206973206e6f7420656e6f756768000000000000006044820152606401610b4d565b6000611b9f8234612c0b565b90508015611bb157611bb13382611fef565b600a54611bc7906001600160a01b031683611fef565b610af2338461ffff16612108565b60408051606081018252600080825260208201819052918101919091528180600111158015611c05575060005481105b15611d3957600081815260046020908152604091829020825160608101845290546001600160a01b038116825274010000000000000000000000000000000000000000810467ffffffffffffffff16928201929092527c010000000000000000000000000000000000000000000000000000000090910460ff16151591810182905290611d375780516001600160a01b031615611ca3579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b03811680835274010000000000000000000000000000000000000000820467ffffffffffffffff16938301939093527c0100000000000000000000000000000000000000000000000000000000900460ff1615159281019290925215611d32579392505050565b611ca3565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600880546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600d546000906001600160a01b0316611e91858585611e8933604051602001611e29919060609190911b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016815260140190565b60408051601f1981840301815282825280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000084830152603c8085019190915282518085039091018152605c909301909152815191012090565b929190612122565b6001600160a01b031614949350505050565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081526000906001600160a01b0385169063150b7a0290611ef1903390899088908890600401612c22565b6020604051808303816000875af1925050508015611f2c575060408051601f3d908101601f19168201909252611f2991810190612c5e565b60015b611fa0573d808015611f5a576040519150601f19603f3d011682016040523d82523d6000602084013e611f5f565b606091505b508051611f98576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b8047101561203f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610b4d565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461208c576040519150601f19603f3d011682016040523d82523d6000602084013e612091565b606091505b5050905080610af25760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610b4d565b61167282826040518060200160405280600081525061214a565b6000806000612133878787876123ac565b9150915061214081612499565b5095945050505050565b6000546001600160a01b03841661218d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826121c4576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000811667ffffffffffffffff8083168b018116918217680100000000000000007fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000090941690921783900481168b01811690920217909155858452600490925290912080547fffffffff000000000000000000000000000000000000000000000000000000001683177401000000000000000000000000000000000000000042909316929092029190911790558190818501903b15612356575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46123056000878480600101955087611ea3565b61233b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156122ba57826000541461235157600080fd5b61239c565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415612357575b5060009081556111729085838684565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156123e35750600090506003612490565b8460ff16601b141580156123fb57508460ff16601c14155b1561240c5750600090506004612490565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612460573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661248957600060019250925050612490565b9150600090505b94509492505050565b60008160048111156124ad576124ad612c7b565b14156124b65750565b60018160048111156124ca576124ca612c7b565b14156125185760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610b4d565b600281600481111561252c5761252c612c7b565b141561257a5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610b4d565b600381600481111561258e5761258e612c7b565b14156126025760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610b4d565b600481600481111561261657612616612c7b565b1415610cf65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610b4d565b82805461269690612b16565b90600052602060002090601f0160209004810192826126b857600085556126fe565b82601f106126d157805160ff19168380011785556126fe565b828001600101855582156126fe579182015b828111156126fe5782518255916020019190600101906126e3565b5061270a92915061270e565b5090565b5b8082111561270a576000815560010161270f565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610cf657600080fd5b60006020828403121561276357600080fd5b813561276e81612723565b9392505050565b6000815180845260005b8181101561279b5760208185018101518683018201520161277f565b818111156127ad576000602083870101525b50601f01601f19169290920160200192915050565b60208152600061276e6020830184612775565b6000602082840312156127e757600080fd5b5035919050565b80356001600160a01b038116811461280557600080fd5b919050565b6000806040838503121561281d57600080fd5b612826836127ee565b946020939093013593505050565b8035801515811461280557600080fd5b60006020828403121561285657600080fd5b61276e82612834565b60008060006060848603121561287457600080fd5b61287d846127ee565b925061288b602085016127ee565b9150604084013590509250925092565b803561ffff8116811461280557600080fd5b6000602082840312156128bf57600080fd5b61276e8261289b565b600080604083850312156128db57600080fd5b50508035926020909101359150565b6000602082840312156128fc57600080fd5b61276e826127ee565b6000806000806080858703121561291b57600080fd5b6129248561289b565b9350602085013560ff8116811461293a57600080fd5b93969395505050506040820135916060013590565b6000806040838503121561296257600080fd5b61296b836127ee565b915061297960208401612834565b90509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff808411156129cc576129cc612982565b604051601f8501601f19908116603f011681019082821181831017156129f4576129f4612982565b81604052809350858152868686011115612a0d57600080fd5b858560208301376000602087830101525050509392505050565b60008060008060808587031215612a3d57600080fd5b612a46856127ee565b9350612a54602086016127ee565b925060408501359150606085013567ffffffffffffffff811115612a7757600080fd5b8501601f81018713612a8857600080fd5b612a97878235602084016129b1565b91505092959194509250565b600060208284031215612ab557600080fd5b813567ffffffffffffffff811115612acc57600080fd5b8201601f81018413612add57600080fd5b611fe7848235602084016129b1565b60008060408385031215612aff57600080fd5b612b08836127ee565b9150612979602084016127ee565b600181811c90821680612b2a57607f821691505b60208210811415612b64577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115612bac57612bac612b6a565b500190565b6000816000190483118215151615612bcb57612bcb612b6a565b500290565b600082612c06577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600082821015612c1d57612c1d612b6a565b500390565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612c546080830184612775565b9695505050505050565b600060208284031215612c7057600080fd5b815161276e81612723565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea2646970667358221220fb780ae255fc6aceb02cd43d8be3ebbe51973f1dc4986bbd73390c9a0a69c31964736f6c634300080b0033

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

00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000070ab9af379f17c9041ff4988e07fbd3dfb05ce4e00000000000000000000000070ab9af379f17c9041ff4988e07fbd3dfb05ce4e0000000000000000000000000000000000000000000000000000000000000160000000000000000000000000e5b379271f9182c001b9c1341a2989073a54bb19000000000000000000000000a3fb1eca23a2c3a2a43ebc06106e52a94d894e05000000000000000000000000000000000000000000000000000000000000000d4469616d6f6e647320436c756200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c4469616d6f6e6473436c75620000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d6168663457794a57787a5761516748395a6e6d4853774c4b534b78756658664b5439784e4851627237626d710000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Diamonds Club
Arg [1] : _symbol (string): DiamondsClub
Arg [2] : _multisigWallet (address): 0x70ab9Af379f17c9041FF4988E07FbD3DFB05Ce4E
Arg [3] : _royaltiesMultisigWallet (address): 0x70ab9Af379f17c9041FF4988E07FbD3DFB05Ce4E
Arg [4] : __tokenURI (string): https://ipfs.io/ipfs/Qmahf4WyJWxzWaQgH9ZnmHSwLKSKxufXfKT9xNHQbr7bmq
Arg [5] : _signerPublicAddress (address): 0xe5B379271F9182c001b9C1341a2989073A54bB19
Arg [6] : communityWallet (address): 0xa3fb1ecA23A2C3A2a43ebc06106e52A94d894e05

-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 00000000000000000000000070ab9af379f17c9041ff4988e07fbd3dfb05ce4e
Arg [3] : 00000000000000000000000070ab9af379f17c9041ff4988e07fbd3dfb05ce4e
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [5] : 000000000000000000000000e5b379271f9182c001b9c1341a2989073a54bb19
Arg [6] : 000000000000000000000000a3fb1eca23a2c3a2a43ebc06106e52a94d894e05
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [8] : 4469616d6f6e647320436c756200000000000000000000000000000000000000
Arg [9] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [10] : 4469616d6f6e6473436c75620000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [12] : 68747470733a2f2f697066732e696f2f697066732f516d6168663457794a5778
Arg [13] : 7a5761516748395a6e6d4853774c4b534b78756658664b5439784e4851627237
Arg [14] : 626d710000000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.