ETH Price: $3,936.65 (+1.03%)

Token

House Of Bandits (HOB)
 

Overview

Max Total Supply

866 HOB

Holders

469

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
conbot5000.eth
0x0b7dac70aa8e82b0cf5ea07a6aaa236868f68289
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:
HouseOfBandits

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 9000 runs

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

pragma solidity ^0.8.9;

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

import "./ERC1155Base.sol";
import "../common/EquitySplitter.sol";

contract HouseOfBandits is ERC1155Base, EquitySplitter {
    uint8 constant MASTER = 0;
    uint8 constant HOUSE = 1;

    uint16 constant MAX_SUPPLY_MASTER = 1000;
    uint16 constant MAX_SUPPLY_HOUSE = 3500;

    uint256 public ogMintStartTime;
    uint256 public ogMintEndTime;
    uint256 public alphalistMintStartTime;
    uint256 public alphalistMintEndTime;
    uint256 public publicRaffleMintStartTime;
    uint256 public publicRaffleMintEndTime;

    constructor(
        string memory _name,
        string memory _symbol,
        string memory _uri,
        bytes32 _merkleRoot
    ) ERC1155(_uri) MintingBase(1, 0.123 ether, _merkleRoot) {
        name_ = _name;
        symbol_ = _symbol;
    }

    function setMintingWindows(
        uint256 _ogMintStartTime,
        uint256 _ogMintEndTime,
        uint256 _alphalistMintStartTime,
        uint256 _alphalistMintEndTime,
        uint256 _publicSaleMintStartTime,
        uint256 _publicSaleMintEndTime
    ) external onlyOwner {
        require(
            _publicSaleMintStartTime > _alphalistMintStartTime &&
                _alphalistMintStartTime > _ogMintStartTime &&
                _ogMintEndTime > _ogMintStartTime &&
                _alphalistMintEndTime > _alphalistMintStartTime &&
                _publicSaleMintEndTime > _publicSaleMintStartTime,
            "Invalid minting windows"
        );

        ogMintStartTime = _ogMintStartTime;
        ogMintEndTime = _ogMintEndTime;
        alphalistMintStartTime = _alphalistMintStartTime;
        alphalistMintEndTime = _alphalistMintEndTime;
        publicRaffleMintStartTime = _publicSaleMintStartTime;
        publicRaffleMintEndTime = _publicSaleMintEndTime;
    }

    function teamMint(
        address _address,
        uint16 _amountMaster,
        uint16 _amountHouse
    ) external onlyOwner whenNotPaused {
        require(
            totalSupply(HOUSE) + _amountHouse <= MAX_SUPPLY_HOUSE &&
                totalSupply(MASTER) + _amountMaster <= MAX_SUPPLY_MASTER,
            "Max supply reached"
        );

        _mint(_address, MASTER, _amountMaster, "");
        _mint(_address, HOUSE, _amountHouse, "");
    }

    function ogMint(
        uint8 _amountMaster,
        uint8 _amountHouse,
        bytes32[] calldata _merkleProof
    )
        external
        payable
        whenNotPaused
        mintingIsOpen(ogMintStartTime, ogMintEndTime, "OG")
    {
        _mintTokens(_amountMaster, _amountHouse, 2, 3, _merkleProof);
    }

    function alphalistMint(
        uint8 _amountMaster,
        uint8 _amountHouse,
        bytes32[] calldata _merkleProof
    )
        external
        payable
        whenNotPaused
        mintingIsOpen(alphalistMintStartTime, alphalistMintEndTime, "Alphalist")
    {
        _mintTokens(_amountMaster, _amountHouse, 2, 2, _merkleProof);
    }

    function publicRaffleMint(
        uint8 _amountMaster,
        uint8 _amountHouse,
        bytes32[] calldata _merkleProof
    )
        external
        payable
        whenNotPaused
        mintingIsOpen(
            publicRaffleMintStartTime,
            publicRaffleMintEndTime,
            "Public Raffle"
        )
    {
        _mintTokens(_amountMaster, _amountHouse, 1, 2, _merkleProof);
    }

    function _mintTokens(
        uint8 _amountMaster,
        uint8 _amountHouse,
        uint8 _maxAmountHouseAllowed,
        uint8 _maxTotalAmountAllowed,
        bytes32[] calldata _merkleProof
    ) private nonReentrant limitTxs onlyAllowList(_merkleProof) {
        uint256 totalAmount = _amountMaster + _amountHouse;
        require(_amountMaster <= 1, "Too many Master Keys");
        require(_amountHouse <= _maxAmountHouseAllowed, "Too many House Keys");
        require(!(totalAmount == 0), "Invalid amount of keys");
        require(
            totalAmount <= _maxTotalAmountAllowed,
            "Invalid amount of keys"
        );
        require(
            totalSupply(HOUSE) + _amountHouse <= MAX_SUPPLY_HOUSE &&
                totalSupply(MASTER) + _amountMaster <= MAX_SUPPLY_MASTER,
            "Max supply reached"
        );
        require(
            msg.value == totalAmount * mintPrice,
            "Invalid amount of funds sent"
        );

        if (_amountMaster > 0) {
            _mintToken(MASTER, _amountMaster);
        }

        if (_amountHouse > 0) {
            _mintToken(HOUSE, _amountHouse);
        }

        mintTxs[msg.sender] += 1;
    }

    function _mintToken(uint8 _tokenId, uint8 _amount) private {
        _mint(msg.sender, _tokenId, _amount, "");
    }

    function uri(uint256 _id) public view override returns (string memory) {
        require(exists(_id), "Token does not exist");

        return
            string(
                abi.encodePacked(super.uri(_id), Strings.toString(_id), ".json")
            );
    }
}

File 2 of 20 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * 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.
 */
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 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++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 4 of 20 : ERC1155Base.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";

import "../common/MintingBase.sol";

abstract contract ERC1155Base is
    Pausable,
    ERC1155,
    ERC1155Supply,
    ERC1155Burnable,
    MintingBase
{
    string name_;
    string symbol_;

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

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

    function setURI(string memory baseURI) external onlyOwner {
        _setURI(baseURI);
    }

    function name() public view returns (string memory) {
        return name_;
    }

    function symbol() public view returns (string memory) {
        return symbol_;
    }

    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override(ERC1155, ERC1155Supply) {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
    }
}

File 5 of 20 : EquitySplitter.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

contract EquitySplitter is Context {
    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _shareHolders;

    constructor() payable {
        address communityWalletAddress = 0x4A18125bd508dbb15956ca455E6c4200237b931E;
        uint256 communityWalletEquity = 400;
        _addShareHolder(communityWalletAddress, communityWalletEquity);

        address banditAddress = 0x3B2E4f122de2413Ea547440Ac2696f1c85692C57;
        _addShareHolder(banditAddress, _getEquity(350));

        address winkyAddress = 0xE076E510D4Da2133207d26090C4FDf0961efE53d;
        _addShareHolder(winkyAddress, _getEquity(200));

        address spliffyAddress = 0x856f4eB0CAb52C7470f79905E929409101143DEB;
        _addShareHolder(spliffyAddress, _getEquity(150));

        address djDabsAddress = 0xB34EbA47FFDcf33153928F3C64baAFa269059006;
        _addShareHolder(djDabsAddress, _getEquity(50));

        address vcmAddress = 0x3AC610d0Abe06609B9C13cF35CbfAe0f4D886205;
        _addShareHolder(vcmAddress, _getEquity(125));

        address tonyPAddress = 0x92bf7D200b62ea43CFE26BDAbc1779E2dC076D67;
        _addShareHolder(tonyPAddress, _getEquity(75));

        address aliasOrphanAddress = 0xE51537CA658728208aA41bfc27c04D7fdE203eE3;
        _addShareHolder(aliasOrphanAddress, _getEquity(50));

        require(_totalShares == 1000, "Equity split needs to equal 100%");
    }

    function shares(address _address) public view returns (uint256) {
        return _shares[_address];
    }

    function unreleasedShares(address _address) public view returns (uint256) {
        uint256 totalReceived = address(this).balance + _totalReleased;
        return
            (totalReceived * _shares[_address]) /
            _totalShares -
            _released[_address];
    }

    function release(address payable _address) public virtual {
        require(_shares[_address] > 0, "Address is not a shareholder");

        uint256 payment = unreleasedShares(_address);

        require(payment != 0, "Shareholder is not due a payment");

        _released[_address] = _released[_address] + payment;
        _totalReleased = _totalReleased + payment;

        Address.sendValue(_address, payment);
    }

    function _addShareHolder(address _address, uint256 _equity) private {
        require(_address != address(0), "Invalid address");
        require(_equity > 0, "Invalid equity");
        require(_shares[_address] == 0, "Account already exists");

        _shareHolders.push(_address);
        _shares[_address] = _equity;
        _totalShares = _totalShares + _equity;
    }

    function _getEquity(uint256 _equity) private pure returns (uint256) {
        uint256 totalShares = 1000;
        uint256 communityWalletEquity = 400;

        uint256 remainingEquity = totalShares - communityWalletEquity;

        return (remainingEquity * _equity) / totalShares;
    }
}

File 6 of 20 : ERC1155Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of {ERC1155} that allows token holders to destroy both their
 * own tokens and those that they have been approved to use.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Burnable is ERC1155 {
    function burn(
        address account,
        uint256 id,
        uint256 value
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burn(account, id, value);
    }

    function burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory values
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burnBatch(account, ids, values);
    }
}

File 7 of 20 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

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

    bool private _paused;

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

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

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

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

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

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

File 8 of 20 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155Supply.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of ERC1155 that adds tracking of total supply per id.
 *
 * Useful for scenarios where Fungible and Non-fungible tokens have to be
 * clearly identified. Note: While a totalSupply of 1 might mean the
 * corresponding is an NFT, there is no guarantees that no other token with the
 * same id are not going to be minted.
 */
abstract contract ERC1155Supply is ERC1155 {
    mapping(uint256 => uint256) private _totalSupply;

    /**
     * @dev Total amount of tokens in with a given id.
     */
    function totalSupply(uint256 id) public view virtual returns (uint256) {
        return _totalSupply[id];
    }

    /**
     * @dev Indicates whether any token exist with a given id, or not.
     */
    function exists(uint256 id) public view virtual returns (bool) {
        return ERC1155Supply.totalSupply(id) > 0;
    }

    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

        if (from == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _totalSupply[ids[i]] += amounts[i];
            }
        }

        if (to == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                uint256 id = ids[i];
                uint256 amount = amounts[i];
                uint256 supply = _totalSupply[id];
                require(supply >= amount, "ERC1155: burn amount exceeds totalSupply");
                unchecked {
                    _totalSupply[id] = supply - amount;
                }
            }
        }
    }
}

File 9 of 20 : MintingBase.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

abstract contract MintingBase is Ownable, ReentrancyGuard {
    uint8 public maxTxs;
    mapping(address => uint256) public mintTxs;

    uint256 public mintPrice;

    bytes32 public merkleRoot;

    constructor(
        uint8 _maxTxs,
        uint256 _mintPrice,
        bytes32 _merkleRoot
    ) {
        maxTxs = _maxTxs;
        mintPrice = _mintPrice;
        merkleRoot = _merkleRoot;
    }

    function setPrice(uint256 _mintPrice) external onlyOwner {
        mintPrice = _mintPrice;
    }

    function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    }

    modifier mintingIsOpen(
        uint256 _startTime,
        uint256 _endTime,
        string memory _windowName
    ) {
        require(
            block.timestamp >= _startTime && block.timestamp <= _endTime,
            string(abi.encodePacked(_windowName, " mint is closed"))
        );

        _;
    }

    modifier limitTxs() {
        require(
            mintTxs[msg.sender] < maxTxs,
            "Max amount of transactions reached"
        );

        _;
    }

    modifier onlyAllowList(bytes32[] calldata _merkleProof) {
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(
            MerkleProof.verify(_merkleProof, merkleRoot, leaf),
            "Incorrect proof"
        );

        _;
    }
}

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

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../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();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, 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);

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

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

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

        _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();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

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

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

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

        _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();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

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

        _afterTokenTransfer(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 {}

    /**
     * @dev Hook that is called after 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 _afterTokenTransfer(
        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 11 of 20 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 be 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 12 of 20 : 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 13 of 20 : 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 14 of 20 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 15 of 20 : 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 16 of 20 : 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 17 of 20 : 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 18 of 20 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 20 of 20 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_uri","type":"string"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"uint8","name":"_amountMaster","type":"uint8"},{"internalType":"uint8","name":"_amountHouse","type":"uint8"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"alphalistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"alphalistMintEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"alphalistMintStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","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":[],"name":"maxTxs","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintTxs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_amountMaster","type":"uint8"},{"internalType":"uint8","name":"_amountHouse","type":"uint8"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"ogMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"ogMintEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogMintStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_amountMaster","type":"uint8"},{"internalType":"uint8","name":"_amountHouse","type":"uint8"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"publicRaffleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicRaffleMintEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicRaffleMintStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_address","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"id","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":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ogMintStartTime","type":"uint256"},{"internalType":"uint256","name":"_ogMintEndTime","type":"uint256"},{"internalType":"uint256","name":"_alphalistMintStartTime","type":"uint256"},{"internalType":"uint256","name":"_alphalistMintEndTime","type":"uint256"},{"internalType":"uint256","name":"_publicSaleMintStartTime","type":"uint256"},{"internalType":"uint256","name":"_publicSaleMintEndTime","type":"uint256"}],"name":"setMintingWindows","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint16","name":"_amountMaster","type":"uint16"},{"internalType":"uint16","name":"_amountHouse","type":"uint16"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"unreleasedShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162004705380380620047058339810160408190526200003491620005ce565b6000805460ff1916905560016701b4fbd92b5f80008284620000568162000251565b5062000062336200026a565b60016006556007805460ff191660ff9490941693909317909255600955600a55734a18125bd508dbb15956ca455e6c4200237b931e610190620000a68282620002bc565b733b2e4f122de2413ea547440ac2696f1c85692c57620000d381620000cd61015e62000422565b620002bc565b73e076e510d4da2133207d26090c4fdf0961efe53d620000f981620000cd60c862000422565b73856f4eb0cab52c7470f79905e929409101143deb6200011f81620000cd609662000422565b73b34eba47ffdcf33153928f3c64baafa2690590066200014581620000cd603262000422565b733ac610d0abe06609b9c13cf35cbfae0f4d8862056200016b81620000cd607d62000422565b7392bf7d200b62ea43cfe26bdabc1779e2dc076d676200019181620000cd604b62000422565b73e51537ca658728208aa41bfc27c04d7fde203ee3620001b781620000cd603262000422565b600d546103e814620002105760405162461bcd60e51b815260206004820181905260248201527f4571756974792073706c6974206e6565647320746f20657175616c203130302560448201526064015b60405180910390fd5b50508a51620002309750600b965060208c01955093506200045b92505050565b5082516200024690600c9060208601906200045b565b505050505062000734565b8051620002669060039060208401906200045b565b5050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620003065760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640162000207565b60008111620003495760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642065717569747960901b604482015260640162000207565b6001600160a01b0382166000908152600f602052604090205415620003b15760405162461bcd60e51b815260206004820152601660248201527f4163636f756e7420616c72656164792065786973747300000000000000000000604482015260640162000207565b60118054600181019091557f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c680180546001600160a01b0319166001600160a01b0384169081179091556000908152600f60205260409020819055600d546200041b9082906200067d565b600d555050565b60006103e86101908262000437828462000698565b905082620004468683620006b2565b620004529190620006d4565b95945050505050565b8280546200046990620006f7565b90600052602060002090601f0160209004810192826200048d5760008555620004d8565b82601f10620004a857805160ff1916838001178555620004d8565b82800160010185558215620004d8579182015b82811115620004d8578251825591602001919060010190620004bb565b50620004e6929150620004ea565b5090565b5b80821115620004e65760008155600101620004eb565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200052957600080fd5b81516001600160401b038082111562000546576200054662000501565b604051601f8301601f19908116603f0116810190828211818310171562000571576200057162000501565b816040528381526020925086838588010111156200058e57600080fd5b600091505b83821015620005b2578582018301518183018401529082019062000593565b83821115620005c45760008385830101525b9695505050505050565b60008060008060808587031215620005e557600080fd5b84516001600160401b0380821115620005fd57600080fd5b6200060b8883890162000517565b955060208701519150808211156200062257600080fd5b620006308883890162000517565b945060408701519150808211156200064757600080fd5b50620006568782880162000517565b606096909601519497939650505050565b634e487b7160e01b600052601160045260246000fd5b6000821982111562000693576200069362000667565b500190565b600082821015620006ad57620006ad62000667565b500390565b6000816000190483118215151615620006cf57620006cf62000667565b500290565b600082620006f257634e487b7160e01b600052601260045260246000fd5b500490565b600181811c908216806200070c57607f821691505b602082108114156200072e57634e487b7160e01b600052602260045260246000fd5b50919050565b613fc180620007446000396000f3fe6080604052600436106102c55760003560e01c8063715018a611610179578063a22cb465116100d6578063e12b5d6d1161008a578063f2fde38b11610064578063f2fde38b1461078f578063f512f46b146107af578063f5298aca146107cf57600080fd5b8063e12b5d6d14610713578063e985e9c514610726578063f242432a1461076f57600080fd5b8063bb82a7ea116100bb578063bb82a7ea1461069a578063bd85b039146106b0578063ce7c2ac2146106dd57600080fd5b8063a22cb4651461065a578063af4a3c281461067a57600080fd5b80638da5cb5b1161012d57806391b7f5ed1161011257806391b7f5ed1461060f57806395d89b411461062f5780639bdc31d21461064457600080fd5b80638da5cb5b146105d15780638ff51fa8146105f957600080fd5b80637cb647591161015e5780637cb6475914610570578063816bf26d146105905780638456cb59146105bc57600080fd5b8063715018a614610545578063783300a71461055a57600080fd5b80632eb4a7ab116102275780634f558e79116101db57806367bd4b5d116101c057806367bd4b5d146104f95780636817c76c1461050f5780636b20c4541461052557600080fd5b80634f558e79146104b25780635c975abb146104e157600080fd5b80634133ea7d1161020c5780634133ea7d1461045c5780634336502c146104725780634e1273f41461048557600080fd5b80632eb4a7ab146104315780633f4ba83a1461044757600080fd5b80630e89341c1161027e57806319c54d3c1161026357806319c54d3c146103de57806323cbcd97146103fe5780632eb2c2d61461041157600080fd5b80630e89341c1461039e57806319165587146103be57600080fd5b806302fe5305116102af57806302fe53051461032d57806306fdde031461034f578063089c59cb1461037157600080fd5b8062fdd58e146102ca57806301ffc9a7146102fd575b600080fd5b3480156102d657600080fd5b506102ea6102e5366004613416565b6107ef565b6040519081526020015b60405180910390f35b34801561030957600080fd5b5061031d610318366004613470565b61089a565b60405190151581526020016102f4565b34801561033957600080fd5b5061034d610348366004613547565b61097f565b005b34801561035b57600080fd5b506103646109e5565b6040516102f491906135e8565b34801561037d57600080fd5b506102ea61038c3660046135fb565b60086020526000908152604090205481565b3480156103aa57600080fd5b506103646103b9366004613618565b610a77565b3480156103ca57600080fd5b5061034d6103d93660046135fb565b610b0e565b3480156103ea57600080fd5b506102ea6103f93660046135fb565b610c29565b61034d61040c366004613647565b610c8b565b34801561041d57600080fd5b5061034d61042c36600461378d565b610d82565b34801561043d57600080fd5b506102ea600a5481565b34801561045357600080fd5b5061034d610e24565b34801561046857600080fd5b506102ea60155481565b61034d610480366004613647565b610e88565b34801561049157600080fd5b506104a56104a036600461383b565b610f76565b6040516102f49190613943565b3480156104be57600080fd5b5061031d6104cd366004613618565b600090815260046020526040902054151590565b3480156104ed57600080fd5b5060005460ff1661031d565b34801561050557600080fd5b506102ea60125481565b34801561051b57600080fd5b506102ea60095481565b34801561053157600080fd5b5061034d610540366004613956565b6110b4565b34801561055157600080fd5b5061034d611152565b34801561056657600080fd5b506102ea60145481565b34801561057c57600080fd5b5061034d61058b366004613618565b6111b6565b34801561059c57600080fd5b506007546105aa9060ff1681565b60405160ff90911681526020016102f4565b3480156105c857600080fd5b5061034d611215565b3480156105dd57600080fd5b506005546040516001600160a01b0390911681526020016102f4565b34801561060557600080fd5b506102ea60165481565b34801561061b57600080fd5b5061034d61062a366004613618565b611277565b34801561063b57600080fd5b506103646112d6565b34801561065057600080fd5b506102ea60135481565b34801561066657600080fd5b5061034d6106753660046139cc565b6112e5565b34801561068657600080fd5b5061034d610695366004613a0a565b6112f0565b3480156106a657600080fd5b506102ea60175481565b3480156106bc57600080fd5b506102ea6106cb366004613618565b60009081526004602052604090205490565b3480156106e957600080fd5b506102ea6106f83660046135fb565b6001600160a01b03166000908152600f602052604090205490565b61034d610721366004613647565b6113e2565b34801561073257600080fd5b5061031d610741366004613a4d565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b34801561077b57600080fd5b5061034d61078a366004613a7b565b6114cf565b34801561079b57600080fd5b5061034d6107aa3660046135fb565b61156a565b3480156107bb57600080fd5b5061034d6107ca366004613af6565b611649565b3480156107db57600080fd5b5061034d6107ea366004613b3b565b611811565b60006001600160a01b0383166108725760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526001602090815260408083206001600160a01b03949094168352929052205490565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a2600000000000000000000000000000000000000000000000000000000148061092d57507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061097957507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6005546001600160a01b031633146109d95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610869565b6109e2816118aa565b50565b6060600b80546109f490613b70565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2090613b70565b8015610a6d5780601f10610a4257610100808354040283529160200191610a6d565b820191906000526020600020905b815481529060010190602001808311610a5057829003601f168201915b5050505050905090565b600081815260046020526040902054606090610ad55760405162461bcd60e51b815260206004820152601460248201527f546f6b656e20646f6573206e6f742065786973740000000000000000000000006044820152606401610869565b610ade826118bd565b610ae783611951565b604051602001610af8929190613bc4565b6040516020818303038152906040529050919050565b6001600160a01b0381166000908152600f6020526040902054610b735760405162461bcd60e51b815260206004820152601c60248201527f41646472657373206973206e6f742061207368617265686f6c646572000000006044820152606401610869565b6000610b7e82610c29565b905080610bcd5760405162461bcd60e51b815260206004820181905260248201527f5368617265686f6c646572206973206e6f74206475652061207061796d656e746044820152606401610869565b6001600160a01b038216600090815260106020526040902054610bf1908290613c4a565b6001600160a01b038316600090815260106020526040902055600e54610c18908290613c4a565b600e55610c258282611a8b565b5050565b600080600e5447610c3a9190613c4a565b6001600160a01b038416600090815260106020908152604080832054600d54600f9093529220549293509091610c709084613c62565b610c7a9190613cce565b610c849190613ce2565b9392505050565b60005460ff1615610cde5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610869565b6012546013546040518060400160405280600281526020017f4f47000000000000000000000000000000000000000000000000000000000000815250824210158015610d2a5750814211155b81604051602001610d3b9190613cf9565b60405160208183030381529060405290610d685760405162461bcd60e51b815260040161086991906135e8565b50610d798787600260038989611ba4565b50505050505050565b6001600160a01b038516331480610d9e5750610d9e8533610741565b610e105760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610869565b610e1d858585858561204b565b5050505050565b6005546001600160a01b03163314610e7e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610869565b610e866122fa565b565b60005460ff1615610edb5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610869565b6016546017546040518060400160405280600d81526020017f5075626c696320526166666c6500000000000000000000000000000000000000815250824210158015610f275750814211155b81604051602001610f389190613cf9565b60405160208183030381529060405290610f655760405162461bcd60e51b815260040161086991906135e8565b50610d798787600160028989611ba4565b60608151835114610fef5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610869565b6000835167ffffffffffffffff81111561100b5761100b61348d565b604051908082528060200260200182016040528015611034578160200160208202803683370190505b50905060005b84518110156110ac5761107f85828151811061105857611058613d3a565b602002602001015185838151811061107257611072613d3a565b60200260200101516107ef565b82828151811061109157611091613d3a565b60209081029190910101526110a581613d69565b905061103a565b509392505050565b6001600160a01b0383163314806110d057506110d08333610741565b6111425760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610869565b61114d8383836123b4565b505050565b6005546001600160a01b031633146111ac5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610869565b610e866000612656565b6005546001600160a01b031633146112105760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610869565b600a55565b6005546001600160a01b0316331461126f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610869565b610e866126c0565b6005546001600160a01b031633146112d15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610869565b600955565b6060600c80546109f490613b70565b610c25338383612766565b6005546001600160a01b0316331461134a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610869565b838211801561135857508584115b801561136357508585115b801561136e57508383115b801561137957508181115b6113c55760405162461bcd60e51b815260206004820152601760248201527f496e76616c6964206d696e74696e672077696e646f77730000000000000000006044820152606401610869565b601295909555601393909355601491909155601555601655601755565b60005460ff16156114355760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610869565b6014546015546040518060400160405280600981526020017f416c7068616c69737400000000000000000000000000000000000000000000008152508242101580156114815750814211155b816040516020016114929190613cf9565b604051602081830303815290604052906114bf5760405162461bcd60e51b815260040161086991906135e8565b50610d7987876002808989611ba4565b6001600160a01b0385163314806114eb57506114eb8533610741565b61155d5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610869565b610e1d8585858585612879565b6005546001600160a01b031633146115c45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610869565b6001600160a01b0381166116405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610869565b6109e281612656565b6005546001600160a01b031633146116a35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610869565b60005460ff16156116f65760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610869565b600160005260046020527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe0554610dac906117359061ffff841690613c4a565b1115801561177f57506000805260046020527f17ef568e3e12ab5b9c7254a8d58478811de00f9e6eb34345acd53bf8fd09d3ec546103e89061177c9061ffff851690613c4a565b11155b6117cb5760405162461bcd60e51b815260206004820152601260248201527f4d617820737570706c79207265616368656400000000000000000000000000006044820152606401610869565b6117ee83600060ff168461ffff1660405180602001604052806000815250612a61565b61114d83600160ff168361ffff1660405180602001604052806000815250612a61565b6001600160a01b03831633148061182d575061182d8333610741565b61189f5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610869565b61114d838383612b99565b8051610c25906003906020840190613368565b6060600380546118cc90613b70565b80601f01602080910402602001604051908101604052809291908181526020018280546118f890613b70565b80156119455780601f1061191a57610100808354040283529160200191611945565b820191906000526020600020905b81548152906001019060200180831161192857829003601f168201915b50505050509050919050565b60608161199157505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156119bb57806119a581613d69565b91506119b49050600a83613cce565b9150611995565b60008167ffffffffffffffff8111156119d6576119d661348d565b6040519080825280601f01601f191660200182016040528015611a00576020820181803683370190505b5090505b8415611a8357611a15600183613ce2565b9150611a22600a86613da2565b611a2d906030613c4a565b60f81b818381518110611a4257611a42613d3a565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611a7c600a86613cce565b9450611a04565b949350505050565b80471015611adb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610869565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611b28576040519150601f19603f3d011682016040523d82523d6000602084013e611b2d565b606091505b505090508061114d5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610869565b60026006541415611bf75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610869565b60026006556007543360009081526008602052604090205460ff90911611611c875760405162461bcd60e51b815260206004820152602260248201527f4d617820616d6f756e74206f66207472616e73616374696f6e7320726561636860448201527f65640000000000000000000000000000000000000000000000000000000000006064820152608401610869565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b16602082015282908290600090603401604051602081830303815290604052805190602001209050611d1883838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a549150849050612d60565b611d645760405162461bcd60e51b815260206004820152600f60248201527f496e636f72726563742070726f6f6600000000000000000000000000000000006044820152606401610869565b6000611d70898b613db6565b60ff16905060018a60ff161115611dc95760405162461bcd60e51b815260206004820152601460248201527f546f6f206d616e79204d6173746572204b6579730000000000000000000000006044820152606401610869565b8760ff168960ff161115611e1f5760405162461bcd60e51b815260206004820152601360248201527f546f6f206d616e7920486f757365204b657973000000000000000000000000006044820152606401610869565b80611e6c5760405162461bcd60e51b815260206004820152601660248201527f496e76616c696420616d6f756e74206f66206b657973000000000000000000006044820152606401610869565b8660ff16811115611ebf5760405162461bcd60e51b815260206004820152601660248201527f496e76616c696420616d6f756e74206f66206b657973000000000000000000006044820152606401610869565b600160005260046020527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe0554610dac90611efd9060ff8c1690613c4a565b11158015611f4657506000805260046020527f17ef568e3e12ab5b9c7254a8d58478811de00f9e6eb34345acd53bf8fd09d3ec546103e890611f439060ff8d1690613c4a565b11155b611f925760405162461bcd60e51b815260206004820152601260248201527f4d617820737570706c79207265616368656400000000000000000000000000006044820152606401610869565b600954611f9f9082613c62565b3414611fed5760405162461bcd60e51b815260206004820152601c60248201527f496e76616c696420616d6f756e74206f662066756e64732073656e74000000006044820152606401610869565b60ff8a16156120015761200160008b612d76565b60ff8916156120155761201560018a612d76565b336000908152600860205260408120805460019290612035908490613c4a565b9091555050600160065550505050505050505050565b81518351146120c25760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610869565b6001600160a01b03841661213e5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610869565b3361214d818787878787612d97565b60005b845181101561228c57600085828151811061216d5761216d613d3a565b60200260200101519050600085838151811061218b5761218b613d3a565b60209081029190910181015160008481526001835260408082206001600160a01b038e1683529093529190912054909150818110156122325760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610869565b60008381526001602090815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290612271908490613c4a565b925050819055505050508061228590613d69565b9050612150565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516122dc929190613ddb565b60405180910390a46122f2818787878787612da5565b505050505050565b60005460ff1661234c5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610869565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0383166124305760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610869565b80518251146124a75760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610869565b60003390506124ca81856000868660405180602001604052806000815250612d97565b60005b83518110156125e75760008482815181106124ea576124ea613d3a565b60200260200101519050600084838151811061250857612508613d3a565b60209081029190910181015160008481526001835260408082206001600160a01b038c1683529093529190912054909150818110156125ae5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610869565b60009283526001602090815260408085206001600160a01b038b16865290915290922091039055806125df81613d69565b9150506124cd565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612638929190613ddb565b60405180910390a46040805160208101909152600090525b50505050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005460ff16156127135760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610869565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586123973390565b816001600160a01b0316836001600160a01b031614156127ee5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610869565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0384166128f55760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610869565b33600061290185612fb9565b9050600061290e85612fb9565b905061291e838989858589612d97565b60008681526001602090815260408083206001600160a01b038c168452909152902054858110156129b75760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610869565b60008781526001602090815260408083206001600160a01b038d8116855292528083208985039055908a168252812080548892906129f6908490613c4a565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612a56848a8a8a8a8a613004565b505050505050505050565b6001600160a01b038416612add5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610869565b336000612ae985612fb9565b90506000612af685612fb9565b9050612b0783600089858589612d97565b60008681526001602090815260408083206001600160a01b038b16845290915281208054879290612b39908490613c4a565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610d7983600089898989613004565b6001600160a01b038316612c155760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610869565b336000612c2184612fb9565b90506000612c2e84612fb9565b9050612c4e83876000858560405180602001604052806000815250612d97565b60008581526001602090815260408083206001600160a01b038a16845290915290205484811015612ce65760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610869565b60008681526001602090815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4604080516020810190915260009052610d79565b600082612d6d858461316e565b14949350505050565b610c25338360ff168360ff1660405180602001604052806000815250612a61565b6122f28686868686866131da565b6001600160a01b0384163b156122f2576040517fbc197c810000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063bc197c8190612e029089908990889088908890600401613e09565b602060405180830381600087803b158015612e1c57600080fd5b505af1925050508015612e4c575060408051601f3d908101601f19168201909252612e4991810190613e67565b60015b612f0257612e58613e84565b806308c379a01415612e925750612e6d613ea0565b80612e785750612e94565b8060405162461bcd60e51b815260040161086991906135e8565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610869565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c810000000000000000000000000000000000000000000000000000000014610d795760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610869565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612ff357612ff3613d3a565b602090810291909101015292915050565b6001600160a01b0384163b156122f2576040517ff23a6e610000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063f23a6e61906130619089908990889088908890600401613f48565b602060405180830381600087803b15801561307b57600080fd5b505af19250505080156130ab575060408051601f3d908101601f191682019092526130a891810190613e67565b60015b6130b757612e58613e84565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e610000000000000000000000000000000000000000000000000000000014610d795760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610869565b600081815b84518110156110ac57600085828151811061319057613190613d3a565b602002602001015190508083116131b657600083815260208290526040902092506131c7565b600081815260208490526040902092505b50806131d281613d69565b915050613173565b6001600160a01b0385166132615760005b835181101561325f5782818151811061320657613206613d3a565b60200260200101516004600086848151811061322457613224613d3a565b6020026020010151815260200190815260200160002060008282546132499190613c4a565b90915550613258905081613d69565b90506131eb565b505b6001600160a01b0384166122f25760005b8351811015610d7957600084828151811061328f5761328f613d3a565b6020026020010151905060008483815181106132ad576132ad613d3a565b60200260200101519050600060046000848152602001908152602001600020549050818110156133455760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f7460448201527f616c537570706c790000000000000000000000000000000000000000000000006064820152608401610869565b6000928352600460205260409092209103905561336181613d69565b9050613272565b82805461337490613b70565b90600052602060002090601f01602090048101928261339657600085556133dc565b82601f106133af57805160ff19168380011785556133dc565b828001600101855582156133dc579182015b828111156133dc5782518255916020019190600101906133c1565b506133e89291506133ec565b5090565b5b808211156133e857600081556001016133ed565b6001600160a01b03811681146109e257600080fd5b6000806040838503121561342957600080fd5b823561343481613401565b946020939093013593505050565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146109e257600080fd5b60006020828403121561348257600080fd5b8135610c8481613442565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff821117156134e2576134e261348d565b6040525050565b600067ffffffffffffffff8311156135035761350361348d565b60405161351a6020601f19601f87011601826134bc565b80915083815284848401111561352f57600080fd5b83836020830137600060208583010152509392505050565b60006020828403121561355957600080fd5b813567ffffffffffffffff81111561357057600080fd5b8201601f8101841361358157600080fd5b611a83848235602084016134e9565b60005b838110156135ab578181015183820152602001613593565b838111156126505750506000910152565b600081518084526135d4816020860160208601613590565b601f01601f19169290920160200192915050565b602081526000610c8460208301846135bc565b60006020828403121561360d57600080fd5b8135610c8481613401565b60006020828403121561362a57600080fd5b5035919050565b803560ff8116811461364257600080fd5b919050565b6000806000806060858703121561365d57600080fd5b61366685613631565b935061367460208601613631565b9250604085013567ffffffffffffffff8082111561369157600080fd5b818701915087601f8301126136a557600080fd5b8135818111156136b457600080fd5b8860208260051b85010111156136c957600080fd5b95989497505060200194505050565b600067ffffffffffffffff8211156136f2576136f261348d565b5060051b60200190565b600082601f83011261370d57600080fd5b8135602061371a826136d8565b60405161372782826134bc565b83815260059390931b850182019282810191508684111561374757600080fd5b8286015b84811015613762578035835291830191830161374b565b509695505050505050565b600082601f83011261377e57600080fd5b610c84838335602085016134e9565b600080600080600060a086880312156137a557600080fd5b85356137b081613401565b945060208601356137c081613401565b9350604086013567ffffffffffffffff808211156137dd57600080fd5b6137e989838a016136fc565b945060608801359150808211156137ff57600080fd5b61380b89838a016136fc565b9350608088013591508082111561382157600080fd5b5061382e8882890161376d565b9150509295509295909350565b6000806040838503121561384e57600080fd5b823567ffffffffffffffff8082111561386657600080fd5b818501915085601f83011261387a57600080fd5b81356020613887826136d8565b60405161389482826134bc565b83815260059390931b85018201928281019150898411156138b457600080fd5b948201945b838610156138db5785356138cc81613401565b825294820194908201906138b9565b965050860135925050808211156138f157600080fd5b506138fe858286016136fc565b9150509250929050565b600081518084526020808501945080840160005b838110156139385781518752958201959082019060010161391c565b509495945050505050565b602081526000610c846020830184613908565b60008060006060848603121561396b57600080fd5b833561397681613401565b9250602084013567ffffffffffffffff8082111561399357600080fd5b61399f878388016136fc565b935060408601359150808211156139b557600080fd5b506139c2868287016136fc565b9150509250925092565b600080604083850312156139df57600080fd5b82356139ea81613401565b9150602083013580151581146139ff57600080fd5b809150509250929050565b60008060008060008060c08789031215613a2357600080fd5b505084359660208601359650604086013595606081013595506080810135945060a0013592509050565b60008060408385031215613a6057600080fd5b8235613a6b81613401565b915060208301356139ff81613401565b600080600080600060a08688031215613a9357600080fd5b8535613a9e81613401565b94506020860135613aae81613401565b93506040860135925060608601359150608086013567ffffffffffffffff811115613ad857600080fd5b61382e8882890161376d565b803561ffff8116811461364257600080fd5b600080600060608486031215613b0b57600080fd5b8335613b1681613401565b9250613b2460208501613ae4565b9150613b3260408501613ae4565b90509250925092565b600080600060608486031215613b5057600080fd5b8335613b5b81613401565b95602085013595506040909401359392505050565b600181811c90821680613b8457607f821691505b60208210811415613bbe577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60008351613bd6818460208801613590565b835190830190613bea818360208801613590565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115613c5d57613c5d613c1b565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c9a57613c9a613c1b565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613cdd57613cdd613c9f565b500490565b600082821015613cf457613cf4613c1b565b500390565b60008251613d0b818460208701613590565b7f206d696e7420697320636c6f7365640000000000000000000000000000000000920191825250600f01919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d9b57613d9b613c1b565b5060010190565b600082613db157613db1613c9f565b500690565b600060ff821660ff84168060ff03821115613dd357613dd3613c1b565b019392505050565b604081526000613dee6040830185613908565b8281036020840152613e008185613908565b95945050505050565b60006001600160a01b03808816835280871660208401525060a06040830152613e3560a0830186613908565b8281036060840152613e478186613908565b90508281036080840152613e5b81856135bc565b98975050505050505050565b600060208284031215613e7957600080fd5b8151610c8481613442565b600060033d1115613e9d5760046000803e5060005160e01c5b90565b600060443d1015613eae5790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff8160248401118184111715613efc57505050505090565b8285019150815181811115613f145750505050505090565b843d8701016020828501011115613f2e5750505050505090565b613f3d602082860101876134bc565b509095945050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a06080830152613f8060a08301846135bc565b97965050505050505056fea264697066735822122058481713244c1096b1bcbd1217140b868673e5824a43556027395a6c98220c7964736f6c63430008090033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010486f757365204f662042616e64697473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003484f4200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6441474e6d5446556f446e6d72784131766e78764d66456178795a337a77684544473932365556434771334a2f00000000000000000000

Deployed Bytecode

0x6080604052600436106102c55760003560e01c8063715018a611610179578063a22cb465116100d6578063e12b5d6d1161008a578063f2fde38b11610064578063f2fde38b1461078f578063f512f46b146107af578063f5298aca146107cf57600080fd5b8063e12b5d6d14610713578063e985e9c514610726578063f242432a1461076f57600080fd5b8063bb82a7ea116100bb578063bb82a7ea1461069a578063bd85b039146106b0578063ce7c2ac2146106dd57600080fd5b8063a22cb4651461065a578063af4a3c281461067a57600080fd5b80638da5cb5b1161012d57806391b7f5ed1161011257806391b7f5ed1461060f57806395d89b411461062f5780639bdc31d21461064457600080fd5b80638da5cb5b146105d15780638ff51fa8146105f957600080fd5b80637cb647591161015e5780637cb6475914610570578063816bf26d146105905780638456cb59146105bc57600080fd5b8063715018a614610545578063783300a71461055a57600080fd5b80632eb4a7ab116102275780634f558e79116101db57806367bd4b5d116101c057806367bd4b5d146104f95780636817c76c1461050f5780636b20c4541461052557600080fd5b80634f558e79146104b25780635c975abb146104e157600080fd5b80634133ea7d1161020c5780634133ea7d1461045c5780634336502c146104725780634e1273f41461048557600080fd5b80632eb4a7ab146104315780633f4ba83a1461044757600080fd5b80630e89341c1161027e57806319c54d3c1161026357806319c54d3c146103de57806323cbcd97146103fe5780632eb2c2d61461041157600080fd5b80630e89341c1461039e57806319165587146103be57600080fd5b806302fe5305116102af57806302fe53051461032d57806306fdde031461034f578063089c59cb1461037157600080fd5b8062fdd58e146102ca57806301ffc9a7146102fd575b600080fd5b3480156102d657600080fd5b506102ea6102e5366004613416565b6107ef565b6040519081526020015b60405180910390f35b34801561030957600080fd5b5061031d610318366004613470565b61089a565b60405190151581526020016102f4565b34801561033957600080fd5b5061034d610348366004613547565b61097f565b005b34801561035b57600080fd5b506103646109e5565b6040516102f491906135e8565b34801561037d57600080fd5b506102ea61038c3660046135fb565b60086020526000908152604090205481565b3480156103aa57600080fd5b506103646103b9366004613618565b610a77565b3480156103ca57600080fd5b5061034d6103d93660046135fb565b610b0e565b3480156103ea57600080fd5b506102ea6103f93660046135fb565b610c29565b61034d61040c366004613647565b610c8b565b34801561041d57600080fd5b5061034d61042c36600461378d565b610d82565b34801561043d57600080fd5b506102ea600a5481565b34801561045357600080fd5b5061034d610e24565b34801561046857600080fd5b506102ea60155481565b61034d610480366004613647565b610e88565b34801561049157600080fd5b506104a56104a036600461383b565b610f76565b6040516102f49190613943565b3480156104be57600080fd5b5061031d6104cd366004613618565b600090815260046020526040902054151590565b3480156104ed57600080fd5b5060005460ff1661031d565b34801561050557600080fd5b506102ea60125481565b34801561051b57600080fd5b506102ea60095481565b34801561053157600080fd5b5061034d610540366004613956565b6110b4565b34801561055157600080fd5b5061034d611152565b34801561056657600080fd5b506102ea60145481565b34801561057c57600080fd5b5061034d61058b366004613618565b6111b6565b34801561059c57600080fd5b506007546105aa9060ff1681565b60405160ff90911681526020016102f4565b3480156105c857600080fd5b5061034d611215565b3480156105dd57600080fd5b506005546040516001600160a01b0390911681526020016102f4565b34801561060557600080fd5b506102ea60165481565b34801561061b57600080fd5b5061034d61062a366004613618565b611277565b34801561063b57600080fd5b506103646112d6565b34801561065057600080fd5b506102ea60135481565b34801561066657600080fd5b5061034d6106753660046139cc565b6112e5565b34801561068657600080fd5b5061034d610695366004613a0a565b6112f0565b3480156106a657600080fd5b506102ea60175481565b3480156106bc57600080fd5b506102ea6106cb366004613618565b60009081526004602052604090205490565b3480156106e957600080fd5b506102ea6106f83660046135fb565b6001600160a01b03166000908152600f602052604090205490565b61034d610721366004613647565b6113e2565b34801561073257600080fd5b5061031d610741366004613a4d565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b34801561077b57600080fd5b5061034d61078a366004613a7b565b6114cf565b34801561079b57600080fd5b5061034d6107aa3660046135fb565b61156a565b3480156107bb57600080fd5b5061034d6107ca366004613af6565b611649565b3480156107db57600080fd5b5061034d6107ea366004613b3b565b611811565b60006001600160a01b0383166108725760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526001602090815260408083206001600160a01b03949094168352929052205490565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a2600000000000000000000000000000000000000000000000000000000148061092d57507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061097957507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6005546001600160a01b031633146109d95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610869565b6109e2816118aa565b50565b6060600b80546109f490613b70565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2090613b70565b8015610a6d5780601f10610a4257610100808354040283529160200191610a6d565b820191906000526020600020905b815481529060010190602001808311610a5057829003601f168201915b5050505050905090565b600081815260046020526040902054606090610ad55760405162461bcd60e51b815260206004820152601460248201527f546f6b656e20646f6573206e6f742065786973740000000000000000000000006044820152606401610869565b610ade826118bd565b610ae783611951565b604051602001610af8929190613bc4565b6040516020818303038152906040529050919050565b6001600160a01b0381166000908152600f6020526040902054610b735760405162461bcd60e51b815260206004820152601c60248201527f41646472657373206973206e6f742061207368617265686f6c646572000000006044820152606401610869565b6000610b7e82610c29565b905080610bcd5760405162461bcd60e51b815260206004820181905260248201527f5368617265686f6c646572206973206e6f74206475652061207061796d656e746044820152606401610869565b6001600160a01b038216600090815260106020526040902054610bf1908290613c4a565b6001600160a01b038316600090815260106020526040902055600e54610c18908290613c4a565b600e55610c258282611a8b565b5050565b600080600e5447610c3a9190613c4a565b6001600160a01b038416600090815260106020908152604080832054600d54600f9093529220549293509091610c709084613c62565b610c7a9190613cce565b610c849190613ce2565b9392505050565b60005460ff1615610cde5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610869565b6012546013546040518060400160405280600281526020017f4f47000000000000000000000000000000000000000000000000000000000000815250824210158015610d2a5750814211155b81604051602001610d3b9190613cf9565b60405160208183030381529060405290610d685760405162461bcd60e51b815260040161086991906135e8565b50610d798787600260038989611ba4565b50505050505050565b6001600160a01b038516331480610d9e5750610d9e8533610741565b610e105760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610869565b610e1d858585858561204b565b5050505050565b6005546001600160a01b03163314610e7e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610869565b610e866122fa565b565b60005460ff1615610edb5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610869565b6016546017546040518060400160405280600d81526020017f5075626c696320526166666c6500000000000000000000000000000000000000815250824210158015610f275750814211155b81604051602001610f389190613cf9565b60405160208183030381529060405290610f655760405162461bcd60e51b815260040161086991906135e8565b50610d798787600160028989611ba4565b60608151835114610fef5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610869565b6000835167ffffffffffffffff81111561100b5761100b61348d565b604051908082528060200260200182016040528015611034578160200160208202803683370190505b50905060005b84518110156110ac5761107f85828151811061105857611058613d3a565b602002602001015185838151811061107257611072613d3a565b60200260200101516107ef565b82828151811061109157611091613d3a565b60209081029190910101526110a581613d69565b905061103a565b509392505050565b6001600160a01b0383163314806110d057506110d08333610741565b6111425760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610869565b61114d8383836123b4565b505050565b6005546001600160a01b031633146111ac5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610869565b610e866000612656565b6005546001600160a01b031633146112105760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610869565b600a55565b6005546001600160a01b0316331461126f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610869565b610e866126c0565b6005546001600160a01b031633146112d15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610869565b600955565b6060600c80546109f490613b70565b610c25338383612766565b6005546001600160a01b0316331461134a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610869565b838211801561135857508584115b801561136357508585115b801561136e57508383115b801561137957508181115b6113c55760405162461bcd60e51b815260206004820152601760248201527f496e76616c6964206d696e74696e672077696e646f77730000000000000000006044820152606401610869565b601295909555601393909355601491909155601555601655601755565b60005460ff16156114355760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610869565b6014546015546040518060400160405280600981526020017f416c7068616c69737400000000000000000000000000000000000000000000008152508242101580156114815750814211155b816040516020016114929190613cf9565b604051602081830303815290604052906114bf5760405162461bcd60e51b815260040161086991906135e8565b50610d7987876002808989611ba4565b6001600160a01b0385163314806114eb57506114eb8533610741565b61155d5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610869565b610e1d8585858585612879565b6005546001600160a01b031633146115c45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610869565b6001600160a01b0381166116405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610869565b6109e281612656565b6005546001600160a01b031633146116a35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610869565b60005460ff16156116f65760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610869565b600160005260046020527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe0554610dac906117359061ffff841690613c4a565b1115801561177f57506000805260046020527f17ef568e3e12ab5b9c7254a8d58478811de00f9e6eb34345acd53bf8fd09d3ec546103e89061177c9061ffff851690613c4a565b11155b6117cb5760405162461bcd60e51b815260206004820152601260248201527f4d617820737570706c79207265616368656400000000000000000000000000006044820152606401610869565b6117ee83600060ff168461ffff1660405180602001604052806000815250612a61565b61114d83600160ff168361ffff1660405180602001604052806000815250612a61565b6001600160a01b03831633148061182d575061182d8333610741565b61189f5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610869565b61114d838383612b99565b8051610c25906003906020840190613368565b6060600380546118cc90613b70565b80601f01602080910402602001604051908101604052809291908181526020018280546118f890613b70565b80156119455780601f1061191a57610100808354040283529160200191611945565b820191906000526020600020905b81548152906001019060200180831161192857829003601f168201915b50505050509050919050565b60608161199157505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156119bb57806119a581613d69565b91506119b49050600a83613cce565b9150611995565b60008167ffffffffffffffff8111156119d6576119d661348d565b6040519080825280601f01601f191660200182016040528015611a00576020820181803683370190505b5090505b8415611a8357611a15600183613ce2565b9150611a22600a86613da2565b611a2d906030613c4a565b60f81b818381518110611a4257611a42613d3a565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611a7c600a86613cce565b9450611a04565b949350505050565b80471015611adb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610869565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611b28576040519150601f19603f3d011682016040523d82523d6000602084013e611b2d565b606091505b505090508061114d5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610869565b60026006541415611bf75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610869565b60026006556007543360009081526008602052604090205460ff90911611611c875760405162461bcd60e51b815260206004820152602260248201527f4d617820616d6f756e74206f66207472616e73616374696f6e7320726561636860448201527f65640000000000000000000000000000000000000000000000000000000000006064820152608401610869565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b16602082015282908290600090603401604051602081830303815290604052805190602001209050611d1883838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a549150849050612d60565b611d645760405162461bcd60e51b815260206004820152600f60248201527f496e636f72726563742070726f6f6600000000000000000000000000000000006044820152606401610869565b6000611d70898b613db6565b60ff16905060018a60ff161115611dc95760405162461bcd60e51b815260206004820152601460248201527f546f6f206d616e79204d6173746572204b6579730000000000000000000000006044820152606401610869565b8760ff168960ff161115611e1f5760405162461bcd60e51b815260206004820152601360248201527f546f6f206d616e7920486f757365204b657973000000000000000000000000006044820152606401610869565b80611e6c5760405162461bcd60e51b815260206004820152601660248201527f496e76616c696420616d6f756e74206f66206b657973000000000000000000006044820152606401610869565b8660ff16811115611ebf5760405162461bcd60e51b815260206004820152601660248201527f496e76616c696420616d6f756e74206f66206b657973000000000000000000006044820152606401610869565b600160005260046020527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe0554610dac90611efd9060ff8c1690613c4a565b11158015611f4657506000805260046020527f17ef568e3e12ab5b9c7254a8d58478811de00f9e6eb34345acd53bf8fd09d3ec546103e890611f439060ff8d1690613c4a565b11155b611f925760405162461bcd60e51b815260206004820152601260248201527f4d617820737570706c79207265616368656400000000000000000000000000006044820152606401610869565b600954611f9f9082613c62565b3414611fed5760405162461bcd60e51b815260206004820152601c60248201527f496e76616c696420616d6f756e74206f662066756e64732073656e74000000006044820152606401610869565b60ff8a16156120015761200160008b612d76565b60ff8916156120155761201560018a612d76565b336000908152600860205260408120805460019290612035908490613c4a565b9091555050600160065550505050505050505050565b81518351146120c25760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610869565b6001600160a01b03841661213e5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610869565b3361214d818787878787612d97565b60005b845181101561228c57600085828151811061216d5761216d613d3a565b60200260200101519050600085838151811061218b5761218b613d3a565b60209081029190910181015160008481526001835260408082206001600160a01b038e1683529093529190912054909150818110156122325760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610869565b60008381526001602090815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290612271908490613c4a565b925050819055505050508061228590613d69565b9050612150565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516122dc929190613ddb565b60405180910390a46122f2818787878787612da5565b505050505050565b60005460ff1661234c5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610869565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0383166124305760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610869565b80518251146124a75760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610869565b60003390506124ca81856000868660405180602001604052806000815250612d97565b60005b83518110156125e75760008482815181106124ea576124ea613d3a565b60200260200101519050600084838151811061250857612508613d3a565b60209081029190910181015160008481526001835260408082206001600160a01b038c1683529093529190912054909150818110156125ae5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610869565b60009283526001602090815260408085206001600160a01b038b16865290915290922091039055806125df81613d69565b9150506124cd565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612638929190613ddb565b60405180910390a46040805160208101909152600090525b50505050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005460ff16156127135760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610869565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586123973390565b816001600160a01b0316836001600160a01b031614156127ee5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610869565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0384166128f55760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610869565b33600061290185612fb9565b9050600061290e85612fb9565b905061291e838989858589612d97565b60008681526001602090815260408083206001600160a01b038c168452909152902054858110156129b75760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610869565b60008781526001602090815260408083206001600160a01b038d8116855292528083208985039055908a168252812080548892906129f6908490613c4a565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612a56848a8a8a8a8a613004565b505050505050505050565b6001600160a01b038416612add5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610869565b336000612ae985612fb9565b90506000612af685612fb9565b9050612b0783600089858589612d97565b60008681526001602090815260408083206001600160a01b038b16845290915281208054879290612b39908490613c4a565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610d7983600089898989613004565b6001600160a01b038316612c155760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610869565b336000612c2184612fb9565b90506000612c2e84612fb9565b9050612c4e83876000858560405180602001604052806000815250612d97565b60008581526001602090815260408083206001600160a01b038a16845290915290205484811015612ce65760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610869565b60008681526001602090815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4604080516020810190915260009052610d79565b600082612d6d858461316e565b14949350505050565b610c25338360ff168360ff1660405180602001604052806000815250612a61565b6122f28686868686866131da565b6001600160a01b0384163b156122f2576040517fbc197c810000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063bc197c8190612e029089908990889088908890600401613e09565b602060405180830381600087803b158015612e1c57600080fd5b505af1925050508015612e4c575060408051601f3d908101601f19168201909252612e4991810190613e67565b60015b612f0257612e58613e84565b806308c379a01415612e925750612e6d613ea0565b80612e785750612e94565b8060405162461bcd60e51b815260040161086991906135e8565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610869565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c810000000000000000000000000000000000000000000000000000000014610d795760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610869565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612ff357612ff3613d3a565b602090810291909101015292915050565b6001600160a01b0384163b156122f2576040517ff23a6e610000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063f23a6e61906130619089908990889088908890600401613f48565b602060405180830381600087803b15801561307b57600080fd5b505af19250505080156130ab575060408051601f3d908101601f191682019092526130a891810190613e67565b60015b6130b757612e58613e84565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e610000000000000000000000000000000000000000000000000000000014610d795760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610869565b600081815b84518110156110ac57600085828151811061319057613190613d3a565b602002602001015190508083116131b657600083815260208290526040902092506131c7565b600081815260208490526040902092505b50806131d281613d69565b915050613173565b6001600160a01b0385166132615760005b835181101561325f5782818151811061320657613206613d3a565b60200260200101516004600086848151811061322457613224613d3a565b6020026020010151815260200190815260200160002060008282546132499190613c4a565b90915550613258905081613d69565b90506131eb565b505b6001600160a01b0384166122f25760005b8351811015610d7957600084828151811061328f5761328f613d3a565b6020026020010151905060008483815181106132ad576132ad613d3a565b60200260200101519050600060046000848152602001908152602001600020549050818110156133455760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f7460448201527f616c537570706c790000000000000000000000000000000000000000000000006064820152608401610869565b6000928352600460205260409092209103905561336181613d69565b9050613272565b82805461337490613b70565b90600052602060002090601f01602090048101928261339657600085556133dc565b82601f106133af57805160ff19168380011785556133dc565b828001600101855582156133dc579182015b828111156133dc5782518255916020019190600101906133c1565b506133e89291506133ec565b5090565b5b808211156133e857600081556001016133ed565b6001600160a01b03811681146109e257600080fd5b6000806040838503121561342957600080fd5b823561343481613401565b946020939093013593505050565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146109e257600080fd5b60006020828403121561348257600080fd5b8135610c8481613442565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff821117156134e2576134e261348d565b6040525050565b600067ffffffffffffffff8311156135035761350361348d565b60405161351a6020601f19601f87011601826134bc565b80915083815284848401111561352f57600080fd5b83836020830137600060208583010152509392505050565b60006020828403121561355957600080fd5b813567ffffffffffffffff81111561357057600080fd5b8201601f8101841361358157600080fd5b611a83848235602084016134e9565b60005b838110156135ab578181015183820152602001613593565b838111156126505750506000910152565b600081518084526135d4816020860160208601613590565b601f01601f19169290920160200192915050565b602081526000610c8460208301846135bc565b60006020828403121561360d57600080fd5b8135610c8481613401565b60006020828403121561362a57600080fd5b5035919050565b803560ff8116811461364257600080fd5b919050565b6000806000806060858703121561365d57600080fd5b61366685613631565b935061367460208601613631565b9250604085013567ffffffffffffffff8082111561369157600080fd5b818701915087601f8301126136a557600080fd5b8135818111156136b457600080fd5b8860208260051b85010111156136c957600080fd5b95989497505060200194505050565b600067ffffffffffffffff8211156136f2576136f261348d565b5060051b60200190565b600082601f83011261370d57600080fd5b8135602061371a826136d8565b60405161372782826134bc565b83815260059390931b850182019282810191508684111561374757600080fd5b8286015b84811015613762578035835291830191830161374b565b509695505050505050565b600082601f83011261377e57600080fd5b610c84838335602085016134e9565b600080600080600060a086880312156137a557600080fd5b85356137b081613401565b945060208601356137c081613401565b9350604086013567ffffffffffffffff808211156137dd57600080fd5b6137e989838a016136fc565b945060608801359150808211156137ff57600080fd5b61380b89838a016136fc565b9350608088013591508082111561382157600080fd5b5061382e8882890161376d565b9150509295509295909350565b6000806040838503121561384e57600080fd5b823567ffffffffffffffff8082111561386657600080fd5b818501915085601f83011261387a57600080fd5b81356020613887826136d8565b60405161389482826134bc565b83815260059390931b85018201928281019150898411156138b457600080fd5b948201945b838610156138db5785356138cc81613401565b825294820194908201906138b9565b965050860135925050808211156138f157600080fd5b506138fe858286016136fc565b9150509250929050565b600081518084526020808501945080840160005b838110156139385781518752958201959082019060010161391c565b509495945050505050565b602081526000610c846020830184613908565b60008060006060848603121561396b57600080fd5b833561397681613401565b9250602084013567ffffffffffffffff8082111561399357600080fd5b61399f878388016136fc565b935060408601359150808211156139b557600080fd5b506139c2868287016136fc565b9150509250925092565b600080604083850312156139df57600080fd5b82356139ea81613401565b9150602083013580151581146139ff57600080fd5b809150509250929050565b60008060008060008060c08789031215613a2357600080fd5b505084359660208601359650604086013595606081013595506080810135945060a0013592509050565b60008060408385031215613a6057600080fd5b8235613a6b81613401565b915060208301356139ff81613401565b600080600080600060a08688031215613a9357600080fd5b8535613a9e81613401565b94506020860135613aae81613401565b93506040860135925060608601359150608086013567ffffffffffffffff811115613ad857600080fd5b61382e8882890161376d565b803561ffff8116811461364257600080fd5b600080600060608486031215613b0b57600080fd5b8335613b1681613401565b9250613b2460208501613ae4565b9150613b3260408501613ae4565b90509250925092565b600080600060608486031215613b5057600080fd5b8335613b5b81613401565b95602085013595506040909401359392505050565b600181811c90821680613b8457607f821691505b60208210811415613bbe577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60008351613bd6818460208801613590565b835190830190613bea818360208801613590565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115613c5d57613c5d613c1b565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c9a57613c9a613c1b565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613cdd57613cdd613c9f565b500490565b600082821015613cf457613cf4613c1b565b500390565b60008251613d0b818460208701613590565b7f206d696e7420697320636c6f7365640000000000000000000000000000000000920191825250600f01919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d9b57613d9b613c1b565b5060010190565b600082613db157613db1613c9f565b500690565b600060ff821660ff84168060ff03821115613dd357613dd3613c1b565b019392505050565b604081526000613dee6040830185613908565b8281036020840152613e008185613908565b95945050505050565b60006001600160a01b03808816835280871660208401525060a06040830152613e3560a0830186613908565b8281036060840152613e478186613908565b90508281036080840152613e5b81856135bc565b98975050505050505050565b600060208284031215613e7957600080fd5b8151610c8481613442565b600060033d1115613e9d5760046000803e5060005160e01c5b90565b600060443d1015613eae5790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff8160248401118184111715613efc57505050505090565b8285019150815181811115613f145750505050505090565b843d8701016020828501011115613f2e5750505050505090565b613f3d602082860101876134bc565b509095945050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a06080830152613f8060a08301846135bc565b97965050505050505056fea264697066735822122058481713244c1096b1bcbd1217140b868673e5824a43556027395a6c98220c7964736f6c63430008090033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010486f757365204f662042616e64697473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003484f4200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6441474e6d5446556f446e6d72784131766e78764d66456178795a337a77684544473932365556434771334a2f00000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): House Of Bandits
Arg [1] : _symbol (string): HOB
Arg [2] : _uri (string): ipfs://QmdAGNmTFUoDnmrxA1vnxvMfEaxyZ3zwhEDG926UVCGq3J/
Arg [3] : _merkleRoot (bytes32): 0x0000000000000000000000000000000000000000000000000000000000000000

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [5] : 486f757365204f662042616e6469747300000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 484f420000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [9] : 697066733a2f2f516d6441474e6d5446556f446e6d72784131766e78764d6645
Arg [10] : 6178795a337a77684544473932365556434771334a2f00000000000000000000


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.