ETH Price: $3,460.97 (+2.07%)
Gas: 8 Gwei

Token

 

Overview

Max Total Supply

164

Holders

97

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

0x73cb48a1522bd634e1437d76e34520f2f391faf0
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
GimmeTheLootByChainzoku

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion
File 1 of 28 : GimmeTheLootByChainzoku.sol
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                                                                        //
//                                                                                                                        //
//                                                                                                                        //
//                                                                                                                        //
//                                 ....                                                                                   //
//                         .-+#%- =@@@%=:=-.                                  :-.:-===-:-**=-: -=.   .                    //
//                     -=:.#@@@* =@@@@: +@@@%+  -.              .::-+=:-::-+#@+-@@@@@@@@= #@@@=.@@*-  *#=. :              //
//                .-+%@@@@:+@@@* *@@@@  @@@@@@: -@%*+=--*+==: .+@@@@=-@@@@@@@*.@@@@*=@@@@..@@@@.@@@%-:@@@@*:%*-.          //
//             :#@@@@@@@@# %@@@# +@@@%  @@@@@@%  @@@@+  +@@@:  -@@@*:@@%@@@@% *@@@*  #@@@.:@@@%+@@@: %@@@#  +@@@@*:       //
//            -@@@@#::@@% =@@@@#*@@@@- :@@%@@@@: @@@@*  #@@@+ -@@@@.#*:=@@@# +@@@@- :@@@*.%@@@@@@@%  #@@@=  #@@@%         //
//            %@@@*  @@*..@@@@@@@@@@= -@@@+%@@@ :@@@@+ :@@@@@.%@@@-:.  @@@% =@@@@* .%@@% #@@@@@@#-  +@@@@: :@@@@@         //
//           .@@@@: -:   =@@@#-%@@@= =@@@@.%@@= #@@@@: #@@@@@%%@@#    *@@@= +@@@%  %@@@= @@@@@@@@# +@@@%  -@@@@@*         //
//           +@@@@: :=+=.:@@@+ %@@@  @@@@%+@@@: @@@@@. #@@@@@@@@@-  :%@@@*  .%@@%  @@@@# %@@@*@@@@==@@@#  #@@@@%          //
//          .@@@@% .*@@@*.@@@# .@@@. *@@@*%@@@* =@@@@* -@@@%@@@@@= .@@@@=  -=+@@@* =@@@% #@@@==@@@# %@@@= -@@@@*          //
//          *@@@@: =@@@%.*@@@: .@@@* .*@@# :@@@= *@@@@. #@@=*@@@@@ *@@%..-#@-=@@@#.*@@@::@@@@ :@@@@ *@@@%  *@@@@:         //
//          @@@@+ :@@@% +@@@*:.+#%@@+.+@@@@.+@@* +@@@%  *@@% *@@@@-%@@@@@@@@*.%@@@@@@%:-@@@@%  @@@@:=@@@@. :@@@@#         //
//         :@@@@%%@@@@=.@*:        :=-.:=+=:%@@- @@@@- =@@@@: %@@@-#@@@@@@@@*  -+**=: .---+#@*-%@@@* #@@@%-+@@@@%         //
//         #@@@@@@@@%=  -                 :-=+#+.:.=%+ *@@@#  *@@@..+-:::.                  .-=..=@@- =@@@@@@@@@@         //
//        +@@%#*+=:                                  :: :*@* :%@@@#.                               -+-. :+#%@@@@@*        //
//       ..                                                ..   ..::.                                         ..:-:       //
//                                                                                                                        //
//                                                                                                                        //
//                                                                                                                        //
//                                                                                                                        //
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "@openzeppelin/contracts/utils/Strings.sol";
import "./MerkleProof.sol";
import "./ERC1155MultiSupplies.sol";
import "./MultiMint.sol";
import "./Initialize.sol";
import "./ShareProxy.sol";

// @author: miinded.com

contract GimmeTheLootByChainzoku is Initialize, ERC1155Multi, MultiMint, MerkleProofVerify, ShareProxy {
    using Strings for uint256;

    mapping(uint256 => uint256) public burnThemAllStart;

    constructor(string memory baseURI) ERC1155(baseURI) {}

    function init(uint256 _id, Supply memory _supply, address _multiSigContract, address _shareContract) public onlyOwner isNotInitialized {
        MultiSigProxy._setMultiSigContract(_multiSigContract);
        ShareProxy._setShareContract(_shareContract);
        ERC1155Multi._setSupply(_id, _supply);
    }

    function GimmeTheBox(bytes32[] memory _proof, uint256 _id, uint256 _count, uint256 _max)
        public
        payable
        merkleVerify(_proof, keccak256(abi.encodePacked(_msgSender(), _id, _max)))
        notSoldOut(_id, uint64(_count))
        canMint(string.concat("BOX_", _id.toString()), uint64(_count))
        nonReentrant
    {
        require(mintBalance(string.concat("BOX_", _id.toString()), _msgSender()) <= _max, "Stop! You have already minted too many boxes!");

        _mintTokens(_msgSender(), _id, uint64(_count));
    }

    function GimmeTheLoot(uint256 _id, uint64 _count) public {
        require(burnThemAllStart[_id] > 0 && block.timestamp >= burnThemAllStart[_id], "No, you can't open it now!");
        burn(_id, _count);
    }

    function BurnThemAll(uint256 _id, uint256 _burnThemAllStart) public onlyOwnerOrAdmins {
        burnThemAllStart[_id] = _burnThemAllStart;
    }

    function ToTheVault(uint256 _id) public onlyOwnerOrAdmins {
        uint256 count = supplies[_id].max - supplies[_id].minted;
        require(mintIsOpen(string.concat("BOX_", _id.toString())) == false, "Mhh, it's not the right time");
        require(count > 0, "There are no boxes left");

        _mintTokens(_msgSender(), _id, uint64(count));
    }

    receive() external payable {}
}

File 2 of 28 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

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

File 3 of 28 : MerkleProof.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./Admins.sol";

// @author: miinded.com

abstract contract MerkleProofVerify is Admins {
    using MerkleProof for bytes32[];

    /**
    @dev hash of the root of the merkle
    */
    bytes32 public merkleRoot;

    /**
    @dev Used for verify the _proof and the _leaf
        The _leaf need to be calculated by the contract itself
        The _proof is calculated by the server, not by the contract
     */
    modifier merkleVerify(bytes32[] memory _proof, bytes32 _leaf){
        merkleCheck(_proof, _leaf);
        _;
    }

    /**
    @notice Verify the proof of the leaf.
    @dev (see @dev merkleVerify)
    */
    function merkleCheck(bytes32[] memory _proof, bytes32 _leaf) public view {
        require(_proof.verify(merkleRoot, _leaf), "MerkleProofVerify: Proof not valid");
    }

    /**
    @dev onlyOwner can change the root of the merkle.this
        Change root need to be done only if there is no pending tx during the mint.
    */
    function setMerkleRoot(bytes32 _merkleRoot) public onlyOwnerOrAdmins {
        merkleRoot = _merkleRoot;
    }
}

File 4 of 28 : ERC1155MultiSupplies.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "./Admins.sol";
import "./ERC1155.sol";
import "./MultiSigProxy.sol";

// @author: miinded.com

abstract contract ERC1155Multi is ERC1155, ERC2981, MultiSigProxy, ReentrancyGuard, DefaultOperatorFilterer {

    struct Supply{
        uint64 max;
        uint64 minted;
        uint64 burned;
    }

    mapping(uint256 => Supply) public supplies;

    /**
    @dev Verify if the contract is soldout
    */
    modifier notSoldOut(uint256 _id, uint64 _count) {
        require(supplies[_id].minted + _count <= supplies[_id].max, "Sold out!");
        _;
    }

    /**
    @notice Set the max supply of the contract
    @dev only internal, can't be change after contract deployment
    */
    function setSupply(uint256 _id, Supply memory _supply) public onlyOwnerOrAdmins {
        MultiSigProxy.validate("setSupply");

        _setSupply(_id, _supply);
    }

    function _setSupply(uint256 _id, Supply memory _supply) internal {
        supplies[_id] = _supply;
    }

    /**
    @notice Set the base URI for metadata of all tokens
    */
    function setBaseUri(string memory baseURI) public onlyOwnerOrAdmins {
        _setURI(baseURI);
    }

    /**
    @notice Get all ids for a wallet
    @dev This method can revert if the _maxId is > 30000.
        it is not recommended to call this method from another contract.
    */
    function walletOfOwner(address _wallet, uint256 _maxId) public view returns(uint256[] memory){
        uint256[] memory ids = new uint256[](_maxId + 1);
        for(uint256 id = 0; id <= _maxId; id++){
            ids[id] = balanceOf(_wallet, id);
        }
        return ids;
    }

    /**
    @notice Replace ERC1155Enumerable.totalSupply()
    @return The total token available.
    */
    function totalSupply(uint256 _id) public view returns (uint64) {
        return supplies[_id].minted - supplies[_id].burned;
    }

    /**
    @notice Mint the next tokens
    */
    function _mintTokens(address _wallet, uint256 _id, uint64 _count) internal{
        supplies[_id].minted += _count;
        _mint(_wallet, _id, _count, "");
    }

    /**
    @notice Mint the tokens reserved for the team project
    @dev the tokens are minted to the owner of the contract
    */
    function reserve(uint256 _id, uint64 _count) public virtual notSoldOut(_id, _count) onlyOwnerOrAdmins {
        _mintTokens(_msgSender(), _id, _count);
    }

    /**
    @notice Burn the token if is approve or owner
    */
    function burn(uint256 _id, uint64 _count) public virtual {
        supplies[_id].burned += _count;
        _burn(_msgSender(), _id, _count);
    }

    /**
     * @notice Allows the owner to set default royalties following EIP-2981 royalty standard.
     */
    function setDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyOwnerOrAdmins {
        _setDefaultRoyalty(receiver, feeNumerator);
    }
    function supportsInterface(bytes4 _interfaceId) public view virtual override(ERC1155, ERC2981) returns (bool) {
        return super.supportsInterface(_interfaceId);
    }

    /**
    @notice Add the Operator filter functions
    */
    function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

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

    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override onlyAllowedOperator(from) {
        super.safeBatchTransferFrom(from, to, ids, amounts, data);
    }
}

File 5 of 28 : MultiMint.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./interface/IMultiMint.sol";
import "./Admins.sol";

// @author: miinded.com

abstract contract MultiMint is IMultiMint, Admins, ReentrancyGuard {

    string[] public mintsNames;
    mapping(string => Mint) public mints;
    mapping(string => uint8) public mintNamesKey;
    mapping(uint8 => mapping(address => uint256)) balance;

    modifier canMint(string memory _name, uint256 _count) virtual {
        require(mintIsOpen(_name), "Mint not open");
        require(_count <= mints[_name].maxPerTx, "Max per tx limit");
        require(msg.value >= mintPrice(_name, _count), "Value limit");

        if(mints[_name].maxPerWallet > 0){
            require(balance[mintNamesKey[_name]][_msgSender()] + _count <= mints[_name].maxPerWallet, "Max per wallet limit");
            balance[mintNamesKey[_name]][_msgSender()] += _count;
        }

        _;
    }

    function setMint(string memory _name, Mint memory _mint) public override onlyOwnerOrAdmins{
        require(_mint.valid, "_mint.valid is missing");

        if(!mints[_name].valid){
            mintsNames.push(_name);
            mintNamesKey[_name] = uint8(mintsNames.length);
        }

        mints[_name] = _mint;
        emit EventMintChange(_name, _mint);
    }

    function pauseMint(string memory _name, bool _pause) public override onlyOwnerOrAdmins{
        mints[_name].paused = _pause;
    }

    function mintIsOpen(string memory _name) public view override returns(bool){
        return mints[_name].start > 0 && block.timestamp >= mints[_name].start && block.timestamp <= mints[_name].end && !mints[_name].paused;
    }

    function mintCurrent() public override view returns (string memory){
        for(uint256 i = 0; i < mintsNames.length; i++){
            if(mintIsOpen(mintsNames[i])){
                return mintsNames[i];
            }
        }
        return "NONE";
    }

    function mintNames() public view override returns (string[] memory){
        return mintsNames;
    }

    function mintPrice(string memory _name, uint256 _count) public view virtual override returns (uint256){
        return mints[_name].price * _count;
    }

    function mintBalance(string memory _name, address _wallet) public view override returns(uint256){
        return balance[mintNamesKey[_name]][_wallet];
    }
}

File 6 of 28 : Initialize.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

// @author: miinded.com

abstract contract Initialize {

    bool private _initialized = false;

    modifier isNotInitialized() {
        require(_initialized == false, "Already Initialized");
        _;
        _initialized = true;
    }
}

File 7 of 28 : ShareProxy.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "./MultiSigProxy.sol";
import "./Initialize.sol";

// @author: miinded.com

abstract contract ShareProxy is MultiSigProxy {

    address public shareContract;

    function setShareContract(address _shareContract) public {
        MultiSigProxy.validate("setShareContract");

        _setShareContract(_shareContract);
    }

    function _setShareContract(address _shareContract) internal {
        shareContract = _shareContract;
    }
    function withdraw() public onlyOwnerOrAdmins {
        (bool success, ) = shareContract.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

}

File 8 of 28 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

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

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

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

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

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 9 of 28 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 10 of 28 : Admins.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";

// @author: miinded.com

abstract contract Admins is Ownable{

    mapping(address => bool) private admins;

    /**
    @dev check if the address is admin or not
    **/
    function isAdmin(address _admin) public view returns(bool) {
        return admins[_admin];
    }

    /**
    @dev Set the wallet address who can pass the onlyAdmin modifier
    **/
    function setAdminAddress(address _admin, bool _active) public virtual onlyOwner {
        admins[_admin] = _active;
    }

    /**
    @notice Check if the sender is owner() or admin
    **/
    modifier onlyOwnerOrAdmins() {
        require(admins[_msgSender()] == true || owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

}

File 11 of 28 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

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

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

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

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

File 12 of 28 : 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 13 of 28 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

File 14 of 28 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

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

File 15 of 28 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

File 16 of 28 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
    public
    view
    virtual
    override
    returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
    unchecked {
        _balances[id][from] = fromBalance - amount;
    }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
    unchecked {
        _balances[id][from] = fromBalance - amount;
    }

        emit TransferSingle(operator, from, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 17 of 28 : MultiSigProxy.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "./interface/IMultiSig.sol";
import "./Admins.sol";

// @author: miinded.com

abstract contract MultiSigProxy is Admins {

    address public multiSigContract;

    function _setMultiSigContract(address _contract) internal {
        multiSigContract = _contract;
    }

    function setMultiSigContract(address _contract) public onlyOwnerOrAdmins {
        IMultiSig(multiSigContract).validate("setMultiSigContract");

        _setMultiSigContract(_contract);
    }

    function validate(string memory _method) internal {
        IMultiSig(multiSigContract).validate(_method);
    }

}

File 18 of 28 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

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

    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

File 19 of 28 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

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

File 20 of 28 : 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 21 of 28 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 22 of 28 : 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 23 of 28 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 24 of 28 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 25 of 28 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 26 of 28 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 27 of 28 : IMultiSig.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

// @author: miinded.com

interface IMultiSig {
    function validate(string memory) external;
}

File 28 of 28 : IMultiMint.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

// @author: miinded.com

interface IMultiMint {

    struct Mint {
        uint256 start;
        uint256 end;
        uint256 maxPerWallet;
        uint256 maxPerTx;
        uint256 price;
        bool paused;
        bool valid;
    }

    event EventMintChange(string _name, Mint sale);

    function setMint(string calldata _name, Mint memory _sale) external;

    function pauseMint(string calldata _name, bool _pause) external;

    function mintIsOpen(string memory _name) external returns(bool);

    function mintCurrent() external returns(string memory);

    function mintNames() external returns(string[] memory);

    function mintPrice(string memory _name, uint256 _count) external returns(uint256);

    function mintBalance(string memory _name, address _wallet) external view returns(uint256);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":false,"internalType":"string","name":"_name","type":"string"},{"components":[{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"uint256","name":"maxPerTx","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"paused","type":"bool"},{"internalType":"bool","name":"valid","type":"bool"}],"indexed":false,"internalType":"struct IMultiMint.Mint","name":"sale","type":"tuple"}],"name":"EventMintChange","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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_burnThemAllStart","type":"uint256"}],"name":"BurnThemAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"GimmeTheBox","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint64","name":"_count","type":"uint64"}],"name":"GimmeTheLoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"ToTheVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint64","name":"_count","type":"uint64"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"burnThemAllStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"components":[{"internalType":"uint64","name":"max","type":"uint64"},{"internalType":"uint64","name":"minted","type":"uint64"},{"internalType":"uint64","name":"burned","type":"uint64"}],"internalType":"struct ERC1155Multi.Supply","name":"_supply","type":"tuple"},{"internalType":"address","name":"_multiSigContract","type":"address"},{"internalType":"address","name":"_shareContract","type":"address"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"bytes32","name":"_leaf","type":"bytes32"}],"name":"merkleCheck","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"address","name":"_wallet","type":"address"}],"name":"mintBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCurrent","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"}],"name":"mintIsOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintNames","outputs":[{"internalType":"string[]","name":"","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"mintNamesKey","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"mints","outputs":[{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"uint256","name":"maxPerTx","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"paused","type":"bool"},{"internalType":"bool","name":"valid","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintsNames","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"multiSigContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"bool","name":"_pause","type":"bool"}],"name":"pauseMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint64","name":"_count","type":"uint64"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","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":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"},{"internalType":"bool","name":"_active","type":"bool"}],"name":"setAdminAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"components":[{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"uint256","name":"maxPerTx","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"paused","type":"bool"},{"internalType":"bool","name":"valid","type":"bool"}],"internalType":"struct IMultiMint.Mint","name":"_mint","type":"tuple"}],"name":"setMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setMultiSigContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_shareContract","type":"address"}],"name":"setShareContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"components":[{"internalType":"uint64","name":"max","type":"uint64"},{"internalType":"uint64","name":"minted","type":"uint64"},{"internalType":"uint64","name":"burned","type":"uint64"}],"internalType":"struct ERC1155Multi.Supply","name":"_supply","type":"tuple"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shareContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"supplies","outputs":[{"internalType":"uint64","name":"max","type":"uint64"},{"internalType":"uint64","name":"minted","type":"uint64"},{"internalType":"uint64","name":"burned","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"uint256","name":"_maxId","type":"uint256"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526000805460ff191690553480156200001b57600080fd5b5060405162004e8838038062004e888339810160408190526200003e916200023a565b733cc6cdda760b79bafa08df41ecfa224f810dceb66001826200006181620001c0565b506200006d33620001d2565b60016009556daaeb6d7670e522a718067333cd4e3b15620001b75780156200010557604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620000e657600080fd5b505af1158015620000fb573d6000803e3d6000fd5b50505050620001b7565b6001600160a01b03821615620001565760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620000cb565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200019d57600080fd5b505af1158015620001b2573d6000803e3d6000fd5b505050505b5050506200046a565b6003620001ce82826200039e565b5050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200024e57600080fd5b82516001600160401b03808211156200026657600080fd5b818501915085601f8301126200027b57600080fd5b81518181111562000290576200029062000224565b604051601f8201601f19908116603f01168101908382118183101715620002bb57620002bb62000224565b816040528281528886848701011115620002d457600080fd5b600093505b82841015620002f85784840186015181850187015292850192620002d9565b600086848301015280965050505050505092915050565b600181811c908216806200032457607f821691505b6020821081036200034557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200039957600081815260208120601f850160051c81016020861015620003745750805b601f850160051c820191505b81811015620003955782815560010162000380565b5050505b505050565b81516001600160401b03811115620003ba57620003ba62000224565b620003d281620003cb84546200030f565b846200034b565b602080601f8311600181146200040a5760008415620003f15750858301515b600019600386901b1c1916600185901b17855562000395565b600085815260208120601f198616915b828110156200043b578886015182559484019460019091019084016200041a565b50858210156200045a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b614a0e806200047a6000396000f3fe60806040526004361061030b5760003560e01c8063715018a61161019a578063b3ba94e3116100e1578063e1ac34721161008a578063f242432a11610064578063f242432a14610a49578063f2fde38b14610a69578063f46b338d14610a8957600080fd5b8063e1ac3472146109cb578063e6e28ff9146109e0578063e985e9c514610a0057600080fd5b8063bd85b039116100bb578063bd85b0391461095f578063c28f899c14610998578063d1f55764146109ab57600080fd5b8063b3ba94e3146108ff578063b480620b1461091f578063bc08caac1461093f57600080fd5b80638faaefc811610143578063a17768f41161011d578063a17768f41461089f578063a220e272146108bf578063a22cb465146108df57600080fd5b80638faaefc8146108325780639fd6ca5c14610852578063a0bcfc7f1461087f57600080fd5b8063885850781161017457806388585078146107d45780638d22feef146107f45780638da5cb5b1461081457600080fd5b8063715018a6146107525780637cb64759146107675780637f5ae91a1461078757600080fd5b80632eb4a7ab1161025e57806341f43434116102075780635bc63820116101e15780635bc63820146106f257806367130eb214610712578063708c16b11461073257600080fd5b806341f43434146105eb578063494a6589146106255780634e1273f4146106c557600080fd5b80633ccfd60b116102385780633ccfd60b146105965780633ebfd46f146105ab57806340d2123c146105cb57600080fd5b80632eb4a7ab14610540578063338231de1461055657806334c6d8b51461057657600080fd5b80630e89341c116102c057806326f1a1fd1161029a57806326f1a1fd146104645780632a55205a146104e15780632eb2c2d61461052057600080fd5b80630e89341c146103de5780631cbaeb1d1461040b57806324d7806c1461042b57600080fd5b806304634d8d116102f157806304634d8d1461037a57806305cf8f6c1461039c578063071c8e52146103bc57600080fd5b8062fdd58e1461031757806301ffc9a71461034a57600080fd5b3661031257005b600080fd5b34801561032357600080fd5b50610337610332366004613bd7565b610aa9565b6040519081526020015b60405180910390f35b34801561035657600080fd5b5061036a610365366004613c17565b610b57565b6040519015158152602001610341565b34801561038657600080fd5b5061039a610395366004613c34565b610b62565b005b3480156103a857600080fd5b5061039a6103b7366004613d6c565b610be9565b3480156103c857600080fd5b506103d1610d42565b6040516103419190613e0a565b3480156103ea57600080fd5b506103fe6103f9366004613e8a565b610e1b565b6040516103419190613ea3565b34801561041757600080fd5b50610337610426366004613f2a565b610eaf565b34801561043757600080fd5b5061036a610446366004613f6f565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561047057600080fd5b506104b661047f366004613e8a565b600a6020526000908152604090205467ffffffffffffffff80821691680100000000000000008104821691600160801b9091041683565b6040805167ffffffffffffffff94851681529284166020840152921691810191909152606001610341565b3480156104ed57600080fd5b506105016104fc366004613f8a565b610ee5565b604080516001600160a01b039093168352602083019190915201610341565b34801561052c57600080fd5b5061039a61053b366004614041565b610fc2565b34801561054c57600080fd5b50610337600f5481565b34801561056257600080fd5b5061036a6105713660046140eb565b610ff1565b34801561058257600080fd5b5061039a610591366004613f6f565b6110a1565b3480156105a257600080fd5b5061039a6111ef565b3480156105b757600080fd5b5061039a6105c6366004614128565b61130b565b3480156105d757600080fd5b5061039a6105e6366004614154565b61137e565b3480156105f757600080fd5b5061060d6daaeb6d7670e522a718067333cd4e81565b6040516001600160a01b039091168152602001610341565b34801561063157600080fd5b5061068c6106403660046140eb565b8051602081830181018051600c82529282019190930120915280546001820154600283015460038401546004850154600590950154939492939192909160ff8082169161010090041687565b6040805197885260208801969096529486019390935260608501919091526080840152151560a0830152151560c082015260e001610341565b3480156106d157600080fd5b506106e56106e036600461418a565b6113ff565b6040516103419190614290565b3480156106fe57600080fd5b5061039a61070d3660046142b1565b61153d565b34801561071e57600080fd5b5061039a61072d366004613f8a565b611570565b34801561073e57600080fd5b5061039a61074d366004614128565b6115fb565b34801561075e57600080fd5b5061039a61167c565b34801561077357600080fd5b5061039a610782366004613e8a565b611690565b34801561079357600080fd5b506107c26107a23660046140eb565b8051602081830181018051600d8252928201919093012091525460ff1681565b60405160ff9091168152602001610341565b3480156107e057600080fd5b5061039a6107ef3660046142dd565b61170e565b34801561080057600080fd5b5061039a61080f366004613e8a565b6117bf565b34801561082057600080fd5b506006546001600160a01b031661060d565b34801561083e57600080fd5b5060085461060d906001600160a01b031681565b34801561085e57600080fd5b5061033761086d366004613e8a565b60116020526000908152604090205481565b34801561088b57600080fd5b5061039a61089a3660046140eb565b61194d565b3480156108ab57600080fd5b506103fe6108ba366004613e8a565b6119cf565b3480156108cb57600080fd5b5061039a6108da366004613f6f565b611a7b565b3480156108eb57600080fd5b5061039a6108fa3660046142b1565b611ae4565b34801561090b57600080fd5b506106e561091a366004613bd7565b611afd565b34801561092b57600080fd5b5061039a61093a366004614324565b611b93565b34801561094b57600080fd5b5061033761095a366004614348565b611ce5565b34801561096b57600080fd5b5061097f61097a366004613e8a565b611d3c565b60405167ffffffffffffffff9091168152602001610341565b61039a6109a636600461438d565b611d74565b3480156109b757600080fd5b5060105461060d906001600160a01b031681565b3480156109d757600080fd5b506103fe6121ca565b3480156109ec57600080fd5b5061039a6109fb3660046143e1565b612383565b348015610a0c57600080fd5b5061036a610a1b36600461449b565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b348015610a5557600080fd5b5061039a610a643660046144c5565b6125e6565b348015610a7557600080fd5b5061039a610a84366004613f6f565b61260d565b348015610a9557600080fd5b5061039a610aa4366004614128565b61269a565b60006001600160a01b038316610b2c5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060008181526001602090815260408083206001600160a01b03861684529091529020545b92915050565b6000610b51826127b4565b3360009081526007602052604090205460ff16151560011480610b8f57506006546001600160a01b031633145b610bdb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b610be582826127f2565b5050565b610bf161291d565b60005460ff1615610c445760405162461bcd60e51b815260206004820152601360248201527f416c726561647920496e697469616c697a6564000000000000000000000000006044820152606401610b23565b6008805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384161790556010805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038316179055610d2f84846000918252600a60209081526040928390208251815492840151949093015167ffffffffffffffff908116600160801b027fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff95821668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000000000000000000090941691909416179190911792909216179055565b50506000805460ff191660011790555050565b6060600b805480602002602001604051908101604052809291908181526020016000905b82821015610e12578382906000526020600020018054610d859061452a565b80601f0160208091040260200160405190810160405280929190818152602001828054610db19061452a565b8015610dfe5780601f10610dd357610100808354040283529160200191610dfe565b820191906000526020600020905b815481529060010190602001808311610de157829003601f168201915b505050505081526020019060010190610d66565b50505050905090565b606060038054610e2a9061452a565b80601f0160208091040260200160405190810160405280929190818152602001828054610e569061452a565b8015610ea35780601f10610e7857610100808354040283529160200191610ea3565b820191906000526020600020905b815481529060010190602001808311610e8657829003601f168201915b50505050509050919050565b600081600c84604051610ec29190614564565b908152602001604051809103902060040154610ede9190614596565b9392505050565b60008281526005602090815260408083208151808301909252546001600160a01b038116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16928201929092528291610f865750604080518082019091526004546001600160a01b03811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090610faa906bffffffffffffffffffffffff1687614596565b610fb491906145ad565b915196919550909350505050565b846001600160a01b0381163314610fdc57610fdc33612977565b610fe98686868686612a62565b505050505050565b600080600c836040516110049190614564565b908152604051908190036020019020541180156110405750600c8260405161102c9190614564565b908152604051908190036020019020544210155b801561106d5750600c826040516110579190614564565b9081526020016040518091039020600101544211155b8015610b515750600c826040516110849190614564565b9081526040519081900360200190206005015460ff161592915050565b3360009081526007602052604090205460ff161515600114806110ce57506006546001600160a01b031633145b61111a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b6008546040517fd182b83b00000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f7365744d756c7469536967436f6e74726163740000000000000000000000000060448201526001600160a01b039091169063d182b83b90606401600060405180830381600087803b1580156111a657600080fd5b505af11580156111ba573d6000803e3d6000fd5b50506008805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038516179055506111ec9050565b50565b3360009081526007602052604090205460ff1615156001148061121c57506006546001600160a01b031633145b6112685760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b6010546040516000916001600160a01b03169047908381818185875af1925050503d80600081146112b5576040519150601f19603f3d011682016040523d82523d6000602084013e6112ba565b606091505b50509050806111ec5760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610b23565b6000828152600a60205260409020805482919060109061133d908490600160801b900467ffffffffffffffff166145cf565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550610be561136d3390565b838367ffffffffffffffff16612b04565b600f5461138d90839083612cb5565b610be55760405162461bcd60e51b815260206004820152602260248201527f4d65726b6c6550726f6f665665726966793a2050726f6f66206e6f742076616c60448201527f69640000000000000000000000000000000000000000000000000000000000006064820152608401610b23565b606081518351146114785760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610b23565b6000835167ffffffffffffffff81111561149457611494613c7c565b6040519080825280602002602001820160405280156114bd578160200160208202803683370190505b50905060005b8451811015611535576115088582815181106114e1576114e16145f7565b60200260200101518583815181106114fb576114fb6145f7565b6020026020010151610aa9565b82828151811061151a5761151a6145f7565b602090810291909101015261152e8161460d565b90506114c3565b509392505050565b61154561291d565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b3360009081526007602052604090205460ff1615156001148061159d57506006546001600160a01b031633145b6115e95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b60009182526011602052604090912055565b6000828152601160205260409020541580159061162657506000828152601160205260409020544210155b6116725760405162461bcd60e51b815260206004820152601a60248201527f4e6f2c20796f752063616e2774206f70656e206974206e6f77210000000000006044820152606401610b23565b610be5828261130b565b61168461291d565b61168e6000612ccb565b565b3360009081526007602052604090205460ff161515600114806116bd57506006546001600160a01b031633145b6117095760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b600f55565b3360009081526007602052604090205460ff1615156001148061173b57506006546001600160a01b031633145b6117875760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b80600c836040516117989190614564565b908152604051908190036020019020600501805491151560ff199092169190911790555050565b3360009081526007602052604090205460ff161515600114806117ec57506006546001600160a01b031633145b6118385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b6000818152600a60205260408120546118699067ffffffffffffffff68010000000000000000820481169116614627565b67ffffffffffffffff1690506118a561188183612d2a565b6040516020016118919190614648565b604051602081830303815290604052610ff1565b156118f25760405162461bcd60e51b815260206004820152601c60248201527f4d68682c2069742773206e6f74207468652072696768742074696d65000000006044820152606401610b23565b600081116119425760405162461bcd60e51b815260206004820152601760248201527f546865726520617265206e6f20626f786573206c6566740000000000000000006044820152606401610b23565b610be5338383612dca565b3360009081526007602052604090205460ff1615156001148061197a57506006546001600160a01b031633145b6119c65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b6111ec81612e4c565b600b81815481106119df57600080fd5b9060005260206000200160009150905080546119fa9061452a565b80601f0160208091040260200160405190810160405280929190818152602001828054611a269061452a565b8015611a735780601f10611a4857610100808354040283529160200191611a73565b820191906000526020600020905b815481529060010190602001808311611a5657829003601f168201915b505050505081565b611ab96040518060400160405280601081526020017f7365745368617265436f6e747261637400000000000000000000000000000000815250612e58565b6010805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03831617905550565b81611aee81612977565b611af88383612ecf565b505050565b60606000611b0c83600161468d565b67ffffffffffffffff811115611b2457611b24613c7c565b604051908082528060200260200182016040528015611b4d578160200160208202803683370190505b50905060005b83811161153557611b648582610aa9565b828281518110611b7657611b766145f7565b602090810291909101015280611b8b8161460d565b915050611b53565b3360009081526007602052604090205460ff16151560011480611bc057506006546001600160a01b031633145b611c0c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b611c4a6040518060400160405280600981526020017f736574537570706c790000000000000000000000000000000000000000000000815250612e58565b610be582826000918252600a60209081526040928390208251815492840151949093015167ffffffffffffffff908116600160801b027fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff95821668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000000000000000000090941691909416179190911792909216179055565b6000600e6000600d85604051611cfb9190614564565b908152604080519182900360209081019092205460ff1683528282019390935290820160009081206001600160a01b03861682529091522054905092915050565b6000818152600a6020526040812054610b519067ffffffffffffffff600160801b820481169168010000000000000000900416614627565b833360405160609190911b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000166020820152603481018590526054810183905260740160405160208183030381529060405280519060200120611dd7828261137e565b6000858152600a60205260409020548590859067ffffffffffffffff80821691611e0f918491680100000000000000009004166145cf565b67ffffffffffffffff161115611e675760405162461bcd60e51b815260206004820152600960248201527f536f6c64206f75742100000000000000000000000000000000000000000000006044820152606401610b23565b611e7087612d2a565b604051602001611e809190614648565b6040516020818303038152906040528667ffffffffffffffff16611ea382610ff1565b611eef5760405162461bcd60e51b815260206004820152600d60248201527f4d696e74206e6f74206f70656e000000000000000000000000000000000000006044820152606401610b23565b600c82604051611eff9190614564565b908152602001604051809103902060030154811115611f605760405162461bcd60e51b815260206004820152601060248201527f4d617820706572207478206c696d6974000000000000000000000000000000006044820152606401610b23565b611f6a8282610eaf565b341015611fb95760405162461bcd60e51b815260206004820152600b60248201527f56616c7565206c696d69740000000000000000000000000000000000000000006044820152606401610b23565b6000600c83604051611fcb9190614564565b90815260200160405180910390206002015411156120fa57600c82604051611ff39190614564565b90815260200160405180910390206002015481600e6000600d8660405161201a9190614564565b90815260408051602092819003830190205460ff1683528282019390935290820160009081203382529091522054612052919061468d565b11156120a05760405162461bcd60e51b815260206004820152601460248201527f4d6178207065722077616c6c6574206c696d69740000000000000000000000006044820152606401610b23565b80600e6000600d856040516120b59190614564565b90815260408051602092819003830190205460ff16835282820193909352908201600090812033825290915290812080549091906120f490849061468d565b90915550505b612102612eda565b8661213561210f8b612d2a565b60405160200161211f9190614648565b60405160208183030381529060405261095a3390565b11156121a95760405162461bcd60e51b815260206004820152602d60248201527f53746f702120596f75206861766520616c7265616479206d696e74656420746f60448201527f6f206d616e7920626f78657321000000000000000000000000000000000000006064820152608401610b23565b6121b4338a8a612dca565b6121be6001600955565b50505050505050505050565b606060005b600b5481101561234a57612287600b82815481106121ef576121ef6145f7565b9060005260206000200180546122049061452a565b80601f01602080910402602001604051908101604052809291908181526020018280546122309061452a565b801561227d5780601f106122525761010080835404028352916020019161227d565b820191906000526020600020905b81548152906001019060200180831161226057829003601f168201915b5050505050610ff1565b1561233857600b818154811061229f5761229f6145f7565b9060005260206000200180546122b49061452a565b80601f01602080910402602001604051908101604052809291908181526020018280546122e09061452a565b801561232d5780601f106123025761010080835404028352916020019161232d565b820191906000526020600020905b81548152906001019060200180831161231057829003601f168201915b505050505091505090565b806123428161460d565b9150506121cf565b505060408051808201909152600481527f4e4f4e4500000000000000000000000000000000000000000000000000000000602082015290565b3360009081526007602052604090205460ff161515600114806123b057506006546001600160a01b031633145b6123fc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b8060c0015161244d5760405162461bcd60e51b815260206004820152601660248201527f5f6d696e742e76616c6964206973206d697373696e67000000000000000000006044820152606401610b23565b600c8260405161245d9190614564565b9081526040519081900360200190206005015460ff610100909104166124f257600b80546001810182556000919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9016124b983826146e6565b50600b54604051600d906124ce908590614564565b908152604051908190036020019020805460ff9290921660ff199092169190911790555b80600c836040516125039190614564565b90815260408051918290036020908101832084518155908401516001820155908301516002820155606083015160038201556080830151600482015560a08301516005909101805460c0909401511515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff921515929092167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000090941693909317179091557f3c962146da3bd7dd94058de71955615106fe10306e81de47ffc1f51965b4264e906125da90849084906147a6565b60405180910390a15050565b846001600160a01b03811633146126005761260033612977565b610fe98686868686612f33565b61261561291d565b6001600160a01b0381166126915760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610b23565b6111ec81612ccb565b6000828152600a60205260409020548290829067ffffffffffffffff808216916126d2918491680100000000000000009004166145cf565b67ffffffffffffffff16111561272a5760405162461bcd60e51b815260206004820152600960248201527f536f6c64206f75742100000000000000000000000000000000000000000000006044820152606401610b23565b3360009081526007602052604090205460ff1615156001148061275757506006546001600160a01b031633145b6127a35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b6127ae338585612dca565b50505050565b60006001600160e01b031982167f2a55205a000000000000000000000000000000000000000000000000000000001480610b515750610b5182612fce565b6127106bffffffffffffffffffffffff821611156128785760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401610b23565b6001600160a01b0382166128ce5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610b23565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600455565b6006546001600160a01b0316331461168e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b6daaeb6d7670e522a718067333cd4e3b156111ec576040517fc61711340000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156129fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a21919061480b565b6111ec576040517fede71dcc0000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610b23565b6001600160a01b038516331480612a7e5750612a7e8533610a1b565b612af05760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610b23565b612afd8585858585613069565b5050505050565b6001600160a01b038316612b805760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610b23565b33612bb081856000612b9187613302565b612b9a87613302565b5050604080516020810190915260009052505050565b60008381526001602090815260408083206001600160a01b038816845290915290205482811015612c485760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610b23565b60008481526001602090815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b600082612cc2858461334d565b14949350505050565b600680546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60606000612d3783613392565b600101905060008167ffffffffffffffff811115612d5757612d57613c7c565b6040519080825280601f01601f191660200182016040528015612d81576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084612d8b57509392505050565b6000828152600a602052604090208054829190600890612e0190849068010000000000000000900467ffffffffffffffff166145cf565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550611af883838367ffffffffffffffff1660405180602001604052806000815250613474565b6003610be582826146e6565b6008546040517fd182b83b0000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063d182b83b90612ea1908490600401613ea3565b600060405180830381600087803b158015612ebb57600080fd5b505af1158015612afd573d6000803e3d6000fd5b610be533838361359c565b600260095403612f2c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b23565b6002600955565b6001600160a01b038516331480612f4f5750612f4f8533610a1b565b612fc15760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610b23565b612afd8585858585613690565b60006001600160e01b031982167fd9b67a2600000000000000000000000000000000000000000000000000000000148061303157506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b80610b5157507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610b51565b81518351146130e05760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610b23565b6001600160a01b03841661315c5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610b23565b3360005b845181101561329c57600085828151811061317d5761317d6145f7565b60200260200101519050600085838151811061319b5761319b6145f7565b60209081029190910181015160008481526001835260408082206001600160a01b038e1683529093529190912054909150818110156132425760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610b23565b60008381526001602090815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061328190849061468d565b92505081905550505050806132959061460d565b9050613160565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516132ec929190614828565b60405180910390a4610fe981878787878761385d565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061333c5761333c6145f7565b602090810291909101015292915050565b600081815b84518110156115355761337e82868381518110613371576133716145f7565b6020026020010151613a49565b91508061338a8161460d565b915050613352565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106133db577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310613407576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061342557662386f26fc10000830492506010015b6305f5e100831061343d576305f5e100830492506008015b612710831061345157612710830492506004015b60648310613463576064830492506002015b600a8310610b515760010192915050565b6001600160a01b0384166134f05760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610b23565b3361350a8160008761350188613302565b612afd88613302565b60008481526001602090815260408083206001600160a01b03891684529091528120805485929061353c90849061468d565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612afd81600087878787613a78565b816001600160a01b0316836001600160a01b0316036136235760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610b23565b6001600160a01b03838116600081815260026020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b03841661370c5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610b23565b3361371c81878761350188613302565b60008481526001602090815260408083206001600160a01b038a168452909152902054838110156137b55760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610b23565b60008581526001602090815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906137f490849061468d565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4613854828888888888613a78565b50505050505050565b6001600160a01b0384163b15610fe9576040517fbc197c810000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063bc197c81906138ba9089908990889088908890600401614856565b6020604051808303816000875af19250505080156138f5575060408051601f3d908101601f191682019092526138f2918101906148b4565b60015b6139aa576139016148d1565b806308c379a00361393a57506139156148ed565b80613920575061393c565b8060405162461bcd60e51b8152600401610b239190613ea3565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610b23565b6001600160e01b031981167fbc197c8100000000000000000000000000000000000000000000000000000000146138545760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610b23565b6000818310613a65576000828152602084905260409020610ede565b6000838152602083905260409020610ede565b6001600160a01b0384163b15610fe9576040517ff23a6e610000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063f23a6e6190613ad59089908990889088908890600401614995565b6020604051808303816000875af1925050508015613b10575060408051601f3d908101601f19168201909252613b0d918101906148b4565b60015b613b1c576139016148d1565b6001600160e01b031981167ff23a6e6100000000000000000000000000000000000000000000000000000000146138545760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610b23565b80356001600160a01b0381168114613bd257600080fd5b919050565b60008060408385031215613bea57600080fd5b613bf383613bbb565b946020939093013593505050565b6001600160e01b0319811681146111ec57600080fd5b600060208284031215613c2957600080fd5b8135610ede81613c01565b60008060408385031215613c4757600080fd5b613c5083613bbb565b915060208301356bffffffffffffffffffffffff81168114613c7157600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60e0810181811067ffffffffffffffff82111715613cb257613cb2613c7c565b60405250565b601f19601f830116810181811067ffffffffffffffff82111715613cde57613cde613c7c565b6040525050565b803567ffffffffffffffff81168114613bd257600080fd5b600060608284031215613d0f57600080fd5b6040516060810181811067ffffffffffffffff82111715613d3257613d32613c7c565b604052905080613d4183613ce5565b8152613d4f60208401613ce5565b6020820152613d6060408401613ce5565b60408201525092915050565b60008060008060c08587031215613d8257600080fd5b84359350613d938660208701613cfd565b9250613da160808601613bbb565b9150613daf60a08601613bbb565b905092959194509250565b60005b83811015613dd5578181015183820152602001613dbd565b50506000910152565b60008151808452613df6816020860160208601613dba565b601f01601f19169290920160200192915050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015613e7d577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452613e6b858351613dde565b94509285019290850190600101613e31565b5092979650505050505050565b600060208284031215613e9c57600080fd5b5035919050565b602081526000610ede6020830184613dde565b600082601f830112613ec757600080fd5b813567ffffffffffffffff811115613ee157613ee1613c7c565b604051613ef86020601f19601f8501160182613cb8565b818152846020838601011115613f0d57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060408385031215613f3d57600080fd5b823567ffffffffffffffff811115613f5457600080fd5b613f6085828601613eb6565b95602094909401359450505050565b600060208284031215613f8157600080fd5b610ede82613bbb565b60008060408385031215613f9d57600080fd5b50508035926020909101359150565b600067ffffffffffffffff821115613fc657613fc6613c7c565b5060051b60200190565b600082601f830112613fe157600080fd5b81356020613fee82613fac565b604051613ffb8282613cb8565b83815260059390931b850182019282810191508684111561401b57600080fd5b8286015b84811015614036578035835291830191830161401f565b509695505050505050565b600080600080600060a0868803121561405957600080fd5b61406286613bbb565b945061407060208701613bbb565b9350604086013567ffffffffffffffff8082111561408d57600080fd5b61409989838a01613fd0565b945060608801359150808211156140af57600080fd5b6140bb89838a01613fd0565b935060808801359150808211156140d157600080fd5b506140de88828901613eb6565b9150509295509295909350565b6000602082840312156140fd57600080fd5b813567ffffffffffffffff81111561411457600080fd5b61412084828501613eb6565b949350505050565b6000806040838503121561413b57600080fd5b8235915061414b60208401613ce5565b90509250929050565b6000806040838503121561416757600080fd5b823567ffffffffffffffff81111561417e57600080fd5b613f6085828601613fd0565b6000806040838503121561419d57600080fd5b823567ffffffffffffffff808211156141b557600080fd5b818501915085601f8301126141c957600080fd5b813560206141d682613fac565b6040516141e38282613cb8565b83815260059390931b850182019282810191508984111561420357600080fd5b948201945b838610156142285761421986613bbb565b82529482019490820190614208565b9650508601359250508082111561423e57600080fd5b5061424b85828601613fd0565b9150509250929050565b600081518084526020808501945080840160005b8381101561428557815187529582019590820190600101614269565b509495945050505050565b602081526000610ede6020830184614255565b80151581146111ec57600080fd5b600080604083850312156142c457600080fd5b6142cd83613bbb565b91506020830135613c71816142a3565b600080604083850312156142f057600080fd5b823567ffffffffffffffff81111561430757600080fd5b61431385828601613eb6565b9250506020830135613c71816142a3565b6000806080838503121561433757600080fd5b8235915061414b8460208501613cfd565b6000806040838503121561435b57600080fd5b823567ffffffffffffffff81111561437257600080fd5b61437e85828601613eb6565b92505061414b60208401613bbb565b600080600080608085870312156143a357600080fd5b843567ffffffffffffffff8111156143ba57600080fd5b6143c687828801613fd0565b97602087013597506040870135966060013595509350505050565b6000808284036101008112156143f657600080fd5b833567ffffffffffffffff81111561440d57600080fd5b61441986828701613eb6565b93505060e0601f198201121561442e57600080fd5b5060405161443b81613c92565b6020840135815260408401356020820152606084013560408201526080840135606082015260a0840135608082015260c0840135614478816142a3565b60a082015260e084013561448b816142a3565b60c0820152919491935090915050565b600080604083850312156144ae57600080fd5b6144b783613bbb565b915061414b60208401613bbb565b600080600080600060a086880312156144dd57600080fd5b6144e686613bbb565b94506144f460208701613bbb565b93506040860135925060608601359150608086013567ffffffffffffffff81111561451e57600080fd5b6140de88828901613eb6565b600181811c9082168061453e57607f821691505b60208210810361455e57634e487b7160e01b600052602260045260246000fd5b50919050565b60008251614576818460208701613dba565b9190910192915050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610b5157610b51614580565b6000826145ca57634e487b7160e01b600052601260045260246000fd5b500490565b67ffffffffffffffff8181168382160190808211156145f0576145f0614580565b5092915050565b634e487b7160e01b600052603260045260246000fd5b6000600019820361462057614620614580565b5060010190565b67ffffffffffffffff8281168282160390808211156145f0576145f0614580565b7f424f585f00000000000000000000000000000000000000000000000000000000815260008251614680816004850160208701613dba565b9190910160040192915050565b80820180821115610b5157610b51614580565b601f821115611af857600081815260208120601f850160051c810160208610156146c75750805b601f850160051c820191505b81811015610fe9578281556001016146d3565b815167ffffffffffffffff81111561470057614700613c7c565b6147148161470e845461452a565b846146a0565b602080601f83116001811461474957600084156147315750858301515b600019600386901b1c1916600185901b178555610fe9565b600085815260208120601f198616915b8281101561477857888601518255948401946001909101908401614759565b50858210156147965787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006101008083526147ba81840186613dde565b91505082516020830152602083015160408301526040830151606083015260608301516080830152608083015160a083015260a0830151151560c083015260c0830151151560e08301529392505050565b60006020828403121561481d57600080fd5b8151610ede816142a3565b60408152600061483b6040830185614255565b828103602084015261484d8185614255565b95945050505050565b60006001600160a01b03808816835280871660208401525060a0604083015261488260a0830186614255565b82810360608401526148948186614255565b905082810360808401526148a88185613dde565b98975050505050505050565b6000602082840312156148c657600080fd5b8151610ede81613c01565b600060033d11156148ea5760046000803e5060005160e01c5b90565b600060443d10156148fb5790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff816024840111818411171561494957505050505090565b82850191508151818111156149615750505050505090565b843d870101602082850101111561497b5750505050505090565b61498a60208286010187613cb8565b509095945050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a060808301526149cd60a0830184613dde565b97965050505050505056fea2646970667358221220f57bdae786b1d7679df50ab505ee9ba66c61b2f667ec0d65d4787a694180f72d64736f6c634300081100330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004868747470733a2f2f697066732e696f2f697066732f516d5431684e515a4e4d62446f615975586455757158557273386b426b75634e62705a724155345a3264555478552f7b69647d000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061030b5760003560e01c8063715018a61161019a578063b3ba94e3116100e1578063e1ac34721161008a578063f242432a11610064578063f242432a14610a49578063f2fde38b14610a69578063f46b338d14610a8957600080fd5b8063e1ac3472146109cb578063e6e28ff9146109e0578063e985e9c514610a0057600080fd5b8063bd85b039116100bb578063bd85b0391461095f578063c28f899c14610998578063d1f55764146109ab57600080fd5b8063b3ba94e3146108ff578063b480620b1461091f578063bc08caac1461093f57600080fd5b80638faaefc811610143578063a17768f41161011d578063a17768f41461089f578063a220e272146108bf578063a22cb465146108df57600080fd5b80638faaefc8146108325780639fd6ca5c14610852578063a0bcfc7f1461087f57600080fd5b8063885850781161017457806388585078146107d45780638d22feef146107f45780638da5cb5b1461081457600080fd5b8063715018a6146107525780637cb64759146107675780637f5ae91a1461078757600080fd5b80632eb4a7ab1161025e57806341f43434116102075780635bc63820116101e15780635bc63820146106f257806367130eb214610712578063708c16b11461073257600080fd5b806341f43434146105eb578063494a6589146106255780634e1273f4146106c557600080fd5b80633ccfd60b116102385780633ccfd60b146105965780633ebfd46f146105ab57806340d2123c146105cb57600080fd5b80632eb4a7ab14610540578063338231de1461055657806334c6d8b51461057657600080fd5b80630e89341c116102c057806326f1a1fd1161029a57806326f1a1fd146104645780632a55205a146104e15780632eb2c2d61461052057600080fd5b80630e89341c146103de5780631cbaeb1d1461040b57806324d7806c1461042b57600080fd5b806304634d8d116102f157806304634d8d1461037a57806305cf8f6c1461039c578063071c8e52146103bc57600080fd5b8062fdd58e1461031757806301ffc9a71461034a57600080fd5b3661031257005b600080fd5b34801561032357600080fd5b50610337610332366004613bd7565b610aa9565b6040519081526020015b60405180910390f35b34801561035657600080fd5b5061036a610365366004613c17565b610b57565b6040519015158152602001610341565b34801561038657600080fd5b5061039a610395366004613c34565b610b62565b005b3480156103a857600080fd5b5061039a6103b7366004613d6c565b610be9565b3480156103c857600080fd5b506103d1610d42565b6040516103419190613e0a565b3480156103ea57600080fd5b506103fe6103f9366004613e8a565b610e1b565b6040516103419190613ea3565b34801561041757600080fd5b50610337610426366004613f2a565b610eaf565b34801561043757600080fd5b5061036a610446366004613f6f565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561047057600080fd5b506104b661047f366004613e8a565b600a6020526000908152604090205467ffffffffffffffff80821691680100000000000000008104821691600160801b9091041683565b6040805167ffffffffffffffff94851681529284166020840152921691810191909152606001610341565b3480156104ed57600080fd5b506105016104fc366004613f8a565b610ee5565b604080516001600160a01b039093168352602083019190915201610341565b34801561052c57600080fd5b5061039a61053b366004614041565b610fc2565b34801561054c57600080fd5b50610337600f5481565b34801561056257600080fd5b5061036a6105713660046140eb565b610ff1565b34801561058257600080fd5b5061039a610591366004613f6f565b6110a1565b3480156105a257600080fd5b5061039a6111ef565b3480156105b757600080fd5b5061039a6105c6366004614128565b61130b565b3480156105d757600080fd5b5061039a6105e6366004614154565b61137e565b3480156105f757600080fd5b5061060d6daaeb6d7670e522a718067333cd4e81565b6040516001600160a01b039091168152602001610341565b34801561063157600080fd5b5061068c6106403660046140eb565b8051602081830181018051600c82529282019190930120915280546001820154600283015460038401546004850154600590950154939492939192909160ff8082169161010090041687565b6040805197885260208801969096529486019390935260608501919091526080840152151560a0830152151560c082015260e001610341565b3480156106d157600080fd5b506106e56106e036600461418a565b6113ff565b6040516103419190614290565b3480156106fe57600080fd5b5061039a61070d3660046142b1565b61153d565b34801561071e57600080fd5b5061039a61072d366004613f8a565b611570565b34801561073e57600080fd5b5061039a61074d366004614128565b6115fb565b34801561075e57600080fd5b5061039a61167c565b34801561077357600080fd5b5061039a610782366004613e8a565b611690565b34801561079357600080fd5b506107c26107a23660046140eb565b8051602081830181018051600d8252928201919093012091525460ff1681565b60405160ff9091168152602001610341565b3480156107e057600080fd5b5061039a6107ef3660046142dd565b61170e565b34801561080057600080fd5b5061039a61080f366004613e8a565b6117bf565b34801561082057600080fd5b506006546001600160a01b031661060d565b34801561083e57600080fd5b5060085461060d906001600160a01b031681565b34801561085e57600080fd5b5061033761086d366004613e8a565b60116020526000908152604090205481565b34801561088b57600080fd5b5061039a61089a3660046140eb565b61194d565b3480156108ab57600080fd5b506103fe6108ba366004613e8a565b6119cf565b3480156108cb57600080fd5b5061039a6108da366004613f6f565b611a7b565b3480156108eb57600080fd5b5061039a6108fa3660046142b1565b611ae4565b34801561090b57600080fd5b506106e561091a366004613bd7565b611afd565b34801561092b57600080fd5b5061039a61093a366004614324565b611b93565b34801561094b57600080fd5b5061033761095a366004614348565b611ce5565b34801561096b57600080fd5b5061097f61097a366004613e8a565b611d3c565b60405167ffffffffffffffff9091168152602001610341565b61039a6109a636600461438d565b611d74565b3480156109b757600080fd5b5060105461060d906001600160a01b031681565b3480156109d757600080fd5b506103fe6121ca565b3480156109ec57600080fd5b5061039a6109fb3660046143e1565b612383565b348015610a0c57600080fd5b5061036a610a1b36600461449b565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b348015610a5557600080fd5b5061039a610a643660046144c5565b6125e6565b348015610a7557600080fd5b5061039a610a84366004613f6f565b61260d565b348015610a9557600080fd5b5061039a610aa4366004614128565b61269a565b60006001600160a01b038316610b2c5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060008181526001602090815260408083206001600160a01b03861684529091529020545b92915050565b6000610b51826127b4565b3360009081526007602052604090205460ff16151560011480610b8f57506006546001600160a01b031633145b610bdb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b610be582826127f2565b5050565b610bf161291d565b60005460ff1615610c445760405162461bcd60e51b815260206004820152601360248201527f416c726561647920496e697469616c697a6564000000000000000000000000006044820152606401610b23565b6008805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384161790556010805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038316179055610d2f84846000918252600a60209081526040928390208251815492840151949093015167ffffffffffffffff908116600160801b027fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff95821668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000000000000000000090941691909416179190911792909216179055565b50506000805460ff191660011790555050565b6060600b805480602002602001604051908101604052809291908181526020016000905b82821015610e12578382906000526020600020018054610d859061452a565b80601f0160208091040260200160405190810160405280929190818152602001828054610db19061452a565b8015610dfe5780601f10610dd357610100808354040283529160200191610dfe565b820191906000526020600020905b815481529060010190602001808311610de157829003601f168201915b505050505081526020019060010190610d66565b50505050905090565b606060038054610e2a9061452a565b80601f0160208091040260200160405190810160405280929190818152602001828054610e569061452a565b8015610ea35780601f10610e7857610100808354040283529160200191610ea3565b820191906000526020600020905b815481529060010190602001808311610e8657829003601f168201915b50505050509050919050565b600081600c84604051610ec29190614564565b908152602001604051809103902060040154610ede9190614596565b9392505050565b60008281526005602090815260408083208151808301909252546001600160a01b038116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16928201929092528291610f865750604080518082019091526004546001600160a01b03811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090610faa906bffffffffffffffffffffffff1687614596565b610fb491906145ad565b915196919550909350505050565b846001600160a01b0381163314610fdc57610fdc33612977565b610fe98686868686612a62565b505050505050565b600080600c836040516110049190614564565b908152604051908190036020019020541180156110405750600c8260405161102c9190614564565b908152604051908190036020019020544210155b801561106d5750600c826040516110579190614564565b9081526020016040518091039020600101544211155b8015610b515750600c826040516110849190614564565b9081526040519081900360200190206005015460ff161592915050565b3360009081526007602052604090205460ff161515600114806110ce57506006546001600160a01b031633145b61111a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b6008546040517fd182b83b00000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f7365744d756c7469536967436f6e74726163740000000000000000000000000060448201526001600160a01b039091169063d182b83b90606401600060405180830381600087803b1580156111a657600080fd5b505af11580156111ba573d6000803e3d6000fd5b50506008805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038516179055506111ec9050565b50565b3360009081526007602052604090205460ff1615156001148061121c57506006546001600160a01b031633145b6112685760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b6010546040516000916001600160a01b03169047908381818185875af1925050503d80600081146112b5576040519150601f19603f3d011682016040523d82523d6000602084013e6112ba565b606091505b50509050806111ec5760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610b23565b6000828152600a60205260409020805482919060109061133d908490600160801b900467ffffffffffffffff166145cf565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550610be561136d3390565b838367ffffffffffffffff16612b04565b600f5461138d90839083612cb5565b610be55760405162461bcd60e51b815260206004820152602260248201527f4d65726b6c6550726f6f665665726966793a2050726f6f66206e6f742076616c60448201527f69640000000000000000000000000000000000000000000000000000000000006064820152608401610b23565b606081518351146114785760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610b23565b6000835167ffffffffffffffff81111561149457611494613c7c565b6040519080825280602002602001820160405280156114bd578160200160208202803683370190505b50905060005b8451811015611535576115088582815181106114e1576114e16145f7565b60200260200101518583815181106114fb576114fb6145f7565b6020026020010151610aa9565b82828151811061151a5761151a6145f7565b602090810291909101015261152e8161460d565b90506114c3565b509392505050565b61154561291d565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b3360009081526007602052604090205460ff1615156001148061159d57506006546001600160a01b031633145b6115e95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b60009182526011602052604090912055565b6000828152601160205260409020541580159061162657506000828152601160205260409020544210155b6116725760405162461bcd60e51b815260206004820152601a60248201527f4e6f2c20796f752063616e2774206f70656e206974206e6f77210000000000006044820152606401610b23565b610be5828261130b565b61168461291d565b61168e6000612ccb565b565b3360009081526007602052604090205460ff161515600114806116bd57506006546001600160a01b031633145b6117095760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b600f55565b3360009081526007602052604090205460ff1615156001148061173b57506006546001600160a01b031633145b6117875760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b80600c836040516117989190614564565b908152604051908190036020019020600501805491151560ff199092169190911790555050565b3360009081526007602052604090205460ff161515600114806117ec57506006546001600160a01b031633145b6118385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b6000818152600a60205260408120546118699067ffffffffffffffff68010000000000000000820481169116614627565b67ffffffffffffffff1690506118a561188183612d2a565b6040516020016118919190614648565b604051602081830303815290604052610ff1565b156118f25760405162461bcd60e51b815260206004820152601c60248201527f4d68682c2069742773206e6f74207468652072696768742074696d65000000006044820152606401610b23565b600081116119425760405162461bcd60e51b815260206004820152601760248201527f546865726520617265206e6f20626f786573206c6566740000000000000000006044820152606401610b23565b610be5338383612dca565b3360009081526007602052604090205460ff1615156001148061197a57506006546001600160a01b031633145b6119c65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b6111ec81612e4c565b600b81815481106119df57600080fd5b9060005260206000200160009150905080546119fa9061452a565b80601f0160208091040260200160405190810160405280929190818152602001828054611a269061452a565b8015611a735780601f10611a4857610100808354040283529160200191611a73565b820191906000526020600020905b815481529060010190602001808311611a5657829003601f168201915b505050505081565b611ab96040518060400160405280601081526020017f7365745368617265436f6e747261637400000000000000000000000000000000815250612e58565b6010805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03831617905550565b81611aee81612977565b611af88383612ecf565b505050565b60606000611b0c83600161468d565b67ffffffffffffffff811115611b2457611b24613c7c565b604051908082528060200260200182016040528015611b4d578160200160208202803683370190505b50905060005b83811161153557611b648582610aa9565b828281518110611b7657611b766145f7565b602090810291909101015280611b8b8161460d565b915050611b53565b3360009081526007602052604090205460ff16151560011480611bc057506006546001600160a01b031633145b611c0c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b611c4a6040518060400160405280600981526020017f736574537570706c790000000000000000000000000000000000000000000000815250612e58565b610be582826000918252600a60209081526040928390208251815492840151949093015167ffffffffffffffff908116600160801b027fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff95821668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000000000000000000090941691909416179190911792909216179055565b6000600e6000600d85604051611cfb9190614564565b908152604080519182900360209081019092205460ff1683528282019390935290820160009081206001600160a01b03861682529091522054905092915050565b6000818152600a6020526040812054610b519067ffffffffffffffff600160801b820481169168010000000000000000900416614627565b833360405160609190911b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000166020820152603481018590526054810183905260740160405160208183030381529060405280519060200120611dd7828261137e565b6000858152600a60205260409020548590859067ffffffffffffffff80821691611e0f918491680100000000000000009004166145cf565b67ffffffffffffffff161115611e675760405162461bcd60e51b815260206004820152600960248201527f536f6c64206f75742100000000000000000000000000000000000000000000006044820152606401610b23565b611e7087612d2a565b604051602001611e809190614648565b6040516020818303038152906040528667ffffffffffffffff16611ea382610ff1565b611eef5760405162461bcd60e51b815260206004820152600d60248201527f4d696e74206e6f74206f70656e000000000000000000000000000000000000006044820152606401610b23565b600c82604051611eff9190614564565b908152602001604051809103902060030154811115611f605760405162461bcd60e51b815260206004820152601060248201527f4d617820706572207478206c696d6974000000000000000000000000000000006044820152606401610b23565b611f6a8282610eaf565b341015611fb95760405162461bcd60e51b815260206004820152600b60248201527f56616c7565206c696d69740000000000000000000000000000000000000000006044820152606401610b23565b6000600c83604051611fcb9190614564565b90815260200160405180910390206002015411156120fa57600c82604051611ff39190614564565b90815260200160405180910390206002015481600e6000600d8660405161201a9190614564565b90815260408051602092819003830190205460ff1683528282019390935290820160009081203382529091522054612052919061468d565b11156120a05760405162461bcd60e51b815260206004820152601460248201527f4d6178207065722077616c6c6574206c696d69740000000000000000000000006044820152606401610b23565b80600e6000600d856040516120b59190614564565b90815260408051602092819003830190205460ff16835282820193909352908201600090812033825290915290812080549091906120f490849061468d565b90915550505b612102612eda565b8661213561210f8b612d2a565b60405160200161211f9190614648565b60405160208183030381529060405261095a3390565b11156121a95760405162461bcd60e51b815260206004820152602d60248201527f53746f702120596f75206861766520616c7265616479206d696e74656420746f60448201527f6f206d616e7920626f78657321000000000000000000000000000000000000006064820152608401610b23565b6121b4338a8a612dca565b6121be6001600955565b50505050505050505050565b606060005b600b5481101561234a57612287600b82815481106121ef576121ef6145f7565b9060005260206000200180546122049061452a565b80601f01602080910402602001604051908101604052809291908181526020018280546122309061452a565b801561227d5780601f106122525761010080835404028352916020019161227d565b820191906000526020600020905b81548152906001019060200180831161226057829003601f168201915b5050505050610ff1565b1561233857600b818154811061229f5761229f6145f7565b9060005260206000200180546122b49061452a565b80601f01602080910402602001604051908101604052809291908181526020018280546122e09061452a565b801561232d5780601f106123025761010080835404028352916020019161232d565b820191906000526020600020905b81548152906001019060200180831161231057829003601f168201915b505050505091505090565b806123428161460d565b9150506121cf565b505060408051808201909152600481527f4e4f4e4500000000000000000000000000000000000000000000000000000000602082015290565b3360009081526007602052604090205460ff161515600114806123b057506006546001600160a01b031633145b6123fc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b8060c0015161244d5760405162461bcd60e51b815260206004820152601660248201527f5f6d696e742e76616c6964206973206d697373696e67000000000000000000006044820152606401610b23565b600c8260405161245d9190614564565b9081526040519081900360200190206005015460ff610100909104166124f257600b80546001810182556000919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9016124b983826146e6565b50600b54604051600d906124ce908590614564565b908152604051908190036020019020805460ff9290921660ff199092169190911790555b80600c836040516125039190614564565b90815260408051918290036020908101832084518155908401516001820155908301516002820155606083015160038201556080830151600482015560a08301516005909101805460c0909401511515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff921515929092167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000090941693909317179091557f3c962146da3bd7dd94058de71955615106fe10306e81de47ffc1f51965b4264e906125da90849084906147a6565b60405180910390a15050565b846001600160a01b03811633146126005761260033612977565b610fe98686868686612f33565b61261561291d565b6001600160a01b0381166126915760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610b23565b6111ec81612ccb565b6000828152600a60205260409020548290829067ffffffffffffffff808216916126d2918491680100000000000000009004166145cf565b67ffffffffffffffff16111561272a5760405162461bcd60e51b815260206004820152600960248201527f536f6c64206f75742100000000000000000000000000000000000000000000006044820152606401610b23565b3360009081526007602052604090205460ff1615156001148061275757506006546001600160a01b031633145b6127a35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b6127ae338585612dca565b50505050565b60006001600160e01b031982167f2a55205a000000000000000000000000000000000000000000000000000000001480610b515750610b5182612fce565b6127106bffffffffffffffffffffffff821611156128785760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401610b23565b6001600160a01b0382166128ce5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610b23565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600455565b6006546001600160a01b0316331461168e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b23565b6daaeb6d7670e522a718067333cd4e3b156111ec576040517fc61711340000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156129fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a21919061480b565b6111ec576040517fede71dcc0000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610b23565b6001600160a01b038516331480612a7e5750612a7e8533610a1b565b612af05760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610b23565b612afd8585858585613069565b5050505050565b6001600160a01b038316612b805760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610b23565b33612bb081856000612b9187613302565b612b9a87613302565b5050604080516020810190915260009052505050565b60008381526001602090815260408083206001600160a01b038816845290915290205482811015612c485760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610b23565b60008481526001602090815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b600082612cc2858461334d565b14949350505050565b600680546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60606000612d3783613392565b600101905060008167ffffffffffffffff811115612d5757612d57613c7c565b6040519080825280601f01601f191660200182016040528015612d81576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084612d8b57509392505050565b6000828152600a602052604090208054829190600890612e0190849068010000000000000000900467ffffffffffffffff166145cf565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550611af883838367ffffffffffffffff1660405180602001604052806000815250613474565b6003610be582826146e6565b6008546040517fd182b83b0000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063d182b83b90612ea1908490600401613ea3565b600060405180830381600087803b158015612ebb57600080fd5b505af1158015612afd573d6000803e3d6000fd5b610be533838361359c565b600260095403612f2c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b23565b6002600955565b6001600160a01b038516331480612f4f5750612f4f8533610a1b565b612fc15760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610b23565b612afd8585858585613690565b60006001600160e01b031982167fd9b67a2600000000000000000000000000000000000000000000000000000000148061303157506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b80610b5157507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610b51565b81518351146130e05760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610b23565b6001600160a01b03841661315c5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610b23565b3360005b845181101561329c57600085828151811061317d5761317d6145f7565b60200260200101519050600085838151811061319b5761319b6145f7565b60209081029190910181015160008481526001835260408082206001600160a01b038e1683529093529190912054909150818110156132425760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610b23565b60008381526001602090815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061328190849061468d565b92505081905550505050806132959061460d565b9050613160565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516132ec929190614828565b60405180910390a4610fe981878787878761385d565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061333c5761333c6145f7565b602090810291909101015292915050565b600081815b84518110156115355761337e82868381518110613371576133716145f7565b6020026020010151613a49565b91508061338a8161460d565b915050613352565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106133db577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310613407576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061342557662386f26fc10000830492506010015b6305f5e100831061343d576305f5e100830492506008015b612710831061345157612710830492506004015b60648310613463576064830492506002015b600a8310610b515760010192915050565b6001600160a01b0384166134f05760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610b23565b3361350a8160008761350188613302565b612afd88613302565b60008481526001602090815260408083206001600160a01b03891684529091528120805485929061353c90849061468d565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612afd81600087878787613a78565b816001600160a01b0316836001600160a01b0316036136235760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610b23565b6001600160a01b03838116600081815260026020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b03841661370c5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610b23565b3361371c81878761350188613302565b60008481526001602090815260408083206001600160a01b038a168452909152902054838110156137b55760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610b23565b60008581526001602090815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906137f490849061468d565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4613854828888888888613a78565b50505050505050565b6001600160a01b0384163b15610fe9576040517fbc197c810000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063bc197c81906138ba9089908990889088908890600401614856565b6020604051808303816000875af19250505080156138f5575060408051601f3d908101601f191682019092526138f2918101906148b4565b60015b6139aa576139016148d1565b806308c379a00361393a57506139156148ed565b80613920575061393c565b8060405162461bcd60e51b8152600401610b239190613ea3565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610b23565b6001600160e01b031981167fbc197c8100000000000000000000000000000000000000000000000000000000146138545760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610b23565b6000818310613a65576000828152602084905260409020610ede565b6000838152602083905260409020610ede565b6001600160a01b0384163b15610fe9576040517ff23a6e610000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063f23a6e6190613ad59089908990889088908890600401614995565b6020604051808303816000875af1925050508015613b10575060408051601f3d908101601f19168201909252613b0d918101906148b4565b60015b613b1c576139016148d1565b6001600160e01b031981167ff23a6e6100000000000000000000000000000000000000000000000000000000146138545760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610b23565b80356001600160a01b0381168114613bd257600080fd5b919050565b60008060408385031215613bea57600080fd5b613bf383613bbb565b946020939093013593505050565b6001600160e01b0319811681146111ec57600080fd5b600060208284031215613c2957600080fd5b8135610ede81613c01565b60008060408385031215613c4757600080fd5b613c5083613bbb565b915060208301356bffffffffffffffffffffffff81168114613c7157600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60e0810181811067ffffffffffffffff82111715613cb257613cb2613c7c565b60405250565b601f19601f830116810181811067ffffffffffffffff82111715613cde57613cde613c7c565b6040525050565b803567ffffffffffffffff81168114613bd257600080fd5b600060608284031215613d0f57600080fd5b6040516060810181811067ffffffffffffffff82111715613d3257613d32613c7c565b604052905080613d4183613ce5565b8152613d4f60208401613ce5565b6020820152613d6060408401613ce5565b60408201525092915050565b60008060008060c08587031215613d8257600080fd5b84359350613d938660208701613cfd565b9250613da160808601613bbb565b9150613daf60a08601613bbb565b905092959194509250565b60005b83811015613dd5578181015183820152602001613dbd565b50506000910152565b60008151808452613df6816020860160208601613dba565b601f01601f19169290920160200192915050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015613e7d577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452613e6b858351613dde565b94509285019290850190600101613e31565b5092979650505050505050565b600060208284031215613e9c57600080fd5b5035919050565b602081526000610ede6020830184613dde565b600082601f830112613ec757600080fd5b813567ffffffffffffffff811115613ee157613ee1613c7c565b604051613ef86020601f19601f8501160182613cb8565b818152846020838601011115613f0d57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060408385031215613f3d57600080fd5b823567ffffffffffffffff811115613f5457600080fd5b613f6085828601613eb6565b95602094909401359450505050565b600060208284031215613f8157600080fd5b610ede82613bbb565b60008060408385031215613f9d57600080fd5b50508035926020909101359150565b600067ffffffffffffffff821115613fc657613fc6613c7c565b5060051b60200190565b600082601f830112613fe157600080fd5b81356020613fee82613fac565b604051613ffb8282613cb8565b83815260059390931b850182019282810191508684111561401b57600080fd5b8286015b84811015614036578035835291830191830161401f565b509695505050505050565b600080600080600060a0868803121561405957600080fd5b61406286613bbb565b945061407060208701613bbb565b9350604086013567ffffffffffffffff8082111561408d57600080fd5b61409989838a01613fd0565b945060608801359150808211156140af57600080fd5b6140bb89838a01613fd0565b935060808801359150808211156140d157600080fd5b506140de88828901613eb6565b9150509295509295909350565b6000602082840312156140fd57600080fd5b813567ffffffffffffffff81111561411457600080fd5b61412084828501613eb6565b949350505050565b6000806040838503121561413b57600080fd5b8235915061414b60208401613ce5565b90509250929050565b6000806040838503121561416757600080fd5b823567ffffffffffffffff81111561417e57600080fd5b613f6085828601613fd0565b6000806040838503121561419d57600080fd5b823567ffffffffffffffff808211156141b557600080fd5b818501915085601f8301126141c957600080fd5b813560206141d682613fac565b6040516141e38282613cb8565b83815260059390931b850182019282810191508984111561420357600080fd5b948201945b838610156142285761421986613bbb565b82529482019490820190614208565b9650508601359250508082111561423e57600080fd5b5061424b85828601613fd0565b9150509250929050565b600081518084526020808501945080840160005b8381101561428557815187529582019590820190600101614269565b509495945050505050565b602081526000610ede6020830184614255565b80151581146111ec57600080fd5b600080604083850312156142c457600080fd5b6142cd83613bbb565b91506020830135613c71816142a3565b600080604083850312156142f057600080fd5b823567ffffffffffffffff81111561430757600080fd5b61431385828601613eb6565b9250506020830135613c71816142a3565b6000806080838503121561433757600080fd5b8235915061414b8460208501613cfd565b6000806040838503121561435b57600080fd5b823567ffffffffffffffff81111561437257600080fd5b61437e85828601613eb6565b92505061414b60208401613bbb565b600080600080608085870312156143a357600080fd5b843567ffffffffffffffff8111156143ba57600080fd5b6143c687828801613fd0565b97602087013597506040870135966060013595509350505050565b6000808284036101008112156143f657600080fd5b833567ffffffffffffffff81111561440d57600080fd5b61441986828701613eb6565b93505060e0601f198201121561442e57600080fd5b5060405161443b81613c92565b6020840135815260408401356020820152606084013560408201526080840135606082015260a0840135608082015260c0840135614478816142a3565b60a082015260e084013561448b816142a3565b60c0820152919491935090915050565b600080604083850312156144ae57600080fd5b6144b783613bbb565b915061414b60208401613bbb565b600080600080600060a086880312156144dd57600080fd5b6144e686613bbb565b94506144f460208701613bbb565b93506040860135925060608601359150608086013567ffffffffffffffff81111561451e57600080fd5b6140de88828901613eb6565b600181811c9082168061453e57607f821691505b60208210810361455e57634e487b7160e01b600052602260045260246000fd5b50919050565b60008251614576818460208701613dba565b9190910192915050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610b5157610b51614580565b6000826145ca57634e487b7160e01b600052601260045260246000fd5b500490565b67ffffffffffffffff8181168382160190808211156145f0576145f0614580565b5092915050565b634e487b7160e01b600052603260045260246000fd5b6000600019820361462057614620614580565b5060010190565b67ffffffffffffffff8281168282160390808211156145f0576145f0614580565b7f424f585f00000000000000000000000000000000000000000000000000000000815260008251614680816004850160208701613dba565b9190910160040192915050565b80820180821115610b5157610b51614580565b601f821115611af857600081815260208120601f850160051c810160208610156146c75750805b601f850160051c820191505b81811015610fe9578281556001016146d3565b815167ffffffffffffffff81111561470057614700613c7c565b6147148161470e845461452a565b846146a0565b602080601f83116001811461474957600084156147315750858301515b600019600386901b1c1916600185901b178555610fe9565b600085815260208120601f198616915b8281101561477857888601518255948401946001909101908401614759565b50858210156147965787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006101008083526147ba81840186613dde565b91505082516020830152602083015160408301526040830151606083015260608301516080830152608083015160a083015260a0830151151560c083015260c0830151151560e08301529392505050565b60006020828403121561481d57600080fd5b8151610ede816142a3565b60408152600061483b6040830185614255565b828103602084015261484d8185614255565b95945050505050565b60006001600160a01b03808816835280871660208401525060a0604083015261488260a0830186614255565b82810360608401526148948186614255565b905082810360808401526148a88185613dde565b98975050505050505050565b6000602082840312156148c657600080fd5b8151610ede81613c01565b600060033d11156148ea5760046000803e5060005160e01c5b90565b600060443d10156148fb5790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff816024840111818411171561494957505050505090565b82850191508151818111156149615750505050505090565b843d870101602082850101111561497b5750505050505090565b61498a60208286010187613cb8565b509095945050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a060808301526149cd60a0830184613dde565b97965050505050505056fea2646970667358221220f57bdae786b1d7679df50ab505ee9ba66c61b2f667ec0d65d4787a694180f72d64736f6c63430008110033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004868747470733a2f2f697066732e696f2f697066732f516d5431684e515a4e4d62446f615975586455757158557273386b426b75634e62705a724155345a3264555478552f7b69647d000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://ipfs.io/ipfs/QmT1hNQZNMbDoaYuXdUuqXUrs8kBkucNbpZrAU4Z2dUTxU/{id}

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000048
Arg [2] : 68747470733a2f2f697066732e696f2f697066732f516d5431684e515a4e4d62
Arg [3] : 446f615975586455757158557273386b426b75634e62705a724155345a326455
Arg [4] : 5478552f7b69647d000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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