ETH Price: $3,317.97 (-3.14%)

Token

CryptoSkulls Alchemy Lab ()
 

Overview

Max Total Supply

0

Holders

897

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
mommyson.eth
0xaCb33996fcFFCb4c08D9C455D6252cbaac0a81A9
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

CryptoSkulls Alchemy Lab is a collection of 10,000 Demonic Blood Vials NFTs that would allow all OG CryptoSkulls owners to Demonize their skulls into the Demonic Skulls, therefore expanding the original collection and Skullish Community.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
DemonsBlood

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : demons-blood.sol
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";

abstract contract CryptoSkullsContract {
    function ownerOf(uint256 tokenId) public view virtual returns (address);
}

contract DemonsBlood is Ownable, ReentrancyGuard, ERC1155Supply {
    using Strings for uint256;

    string private baseURI;
    CryptoSkullsContract private cryptoSkullsContract;
    address private demonicCryptoSkullsContract;
    bool public claimActive;

    mapping(uint256 => bool) public validBloodTypes;
    mapping(uint256 => bool) public claimedTokens;
    mapping(uint256 => bool) public lordsIds;

    uint256 public constant COMMON_TYPE = 0;
    uint256 public constant LORD_TYPE = 1;

    event SetBaseURI(string indexed _baseURI);

    constructor(string memory _baseUri, address cryptoSkullsContractAddress) ERC1155(_baseUri) {
        baseURI = _baseUri;
        cryptoSkullsContract = CryptoSkullsContract(cryptoSkullsContractAddress);
        claimActive = false;
        validBloodTypes[COMMON_TYPE] = true;
        validBloodTypes[LORD_TYPE] = true;

        lordsIds[9] = true;
        lordsIds[19] = true;
        lordsIds[20] = true;
        lordsIds[24] = true;
        lordsIds[27] = true;
        lordsIds[36] = true;
        lordsIds[41] = true;
        lordsIds[42] = true;
        lordsIds[43] = true;
        lordsIds[70] = true;

        emit SetBaseURI(baseURI);
    }

    function toggleClaimActive() public onlyOwner {
        claimActive = !claimActive;
    }

    function checkClaimable(uint256[] memory tokenIds) public view returns (uint256[] memory, bool[] memory) {
        uint256[] memory claimableTokenId = new uint256[](tokenIds.length);
        bool[] memory isClaimable = new bool[](tokenIds.length);

        for (uint256 i = 0; i < tokenIds.length; i++) {
            uint256 tokenId = tokenIds[i];

            claimableTokenId[i] = tokenId;
            isClaimable[i] = !claimedTokens[tokenId];
        }

        return (claimableTokenId, isClaimable);
    }

    function claim(uint256[] memory tokenIds) public {
        uint256 issueAmount = 0;
        uint256 lordsIssueAmount = 0;

        require(claimActive, "Claim is not active at this time");

        for (uint256 i = 0; i < tokenIds.length; i++) {
            uint256 tokenId = tokenIds[i];

            require(cryptoSkullsContract.ownerOf(tokenId) == msg.sender, "You must be the owner of CryptoSkull");
            require(claimedTokens[tokenId] == false, "Blood for this token had already been minted");

            claimedTokens[tokenId] = true;

            if (lordsIds[tokenId]) {
                lordsIssueAmount++;
            } else {
                issueAmount++;
            }
        }

        if (lordsIssueAmount > 0) {
            _mint(msg.sender, LORD_TYPE, lordsIssueAmount, "");
        }

        if (issueAmount > 0) {
            _mint(msg.sender, COMMON_TYPE, issueAmount, "");
        }
    }

    function burnForAddress(uint256 typeId, address burnTokenAddress, uint256 amount) external {
        require(amount <= 5, "You can burn maximum of 5");
        require(msg.sender == demonicCryptoSkullsContract, "Invalid burner address");
        require(validBloodTypes[typeId], "Invalid blood type");

        _burn(burnTokenAddress, typeId, amount);
    }

    function setDemonicCryptoSkullsContract(address _demonicCryptoSkullsContract) external onlyOwner {
        demonicCryptoSkullsContract = _demonicCryptoSkullsContract;
    }

    function updateBaseUri(string memory _baseURI) external onlyOwner {
        baseURI = _baseURI;
        emit SetBaseURI(baseURI);
    }

    function uri(uint256 typeId) public view override returns (string memory) {
        require(validBloodTypes[typeId], "URI requested for invalid blood type");

        return bytes(baseURI).length > 0
        ? string(abi.encodePacked(baseURI, typeId.toString(), '.json'))
        : baseURI;
    }
}

File 2 of 13 : 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 3 of 13 : 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 4 of 13 : 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 5 of 13 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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) {
                _totalSupply[ids[i]] -= amounts[i];
            }
        }
    }
}

File 6 of 13 : 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 7 of 13 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

        return array;
    }
}

File 8 of 13 : 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 9 of 13 : 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 10 of 13 : 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 11 of 13 : 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 12 of 13 : 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 13 of 13 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"},{"internalType":"address","name":"cryptoSkullsContractAddress","type":"address"}],"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":true,"internalType":"string","name":"_baseURI","type":"string"}],"name":"SetBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"COMMON_TYPE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LORD_TYPE","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":"uint256","name":"typeId","type":"uint256"},{"internalType":"address","name":"burnTokenAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"checkClaimable","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bool[]","name":"","type":"bool[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimedTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lordsIds","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"address","name":"_demonicCryptoSkullsContract","type":"address"}],"name":"setDemonicCryptoSkullsContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleClaimActive","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":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"updateBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"typeId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"validBloodTypes","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162004f4c38038062004f4c8339818101604052810190620000379190620006e8565b81620000586200004c6200034e60201b60201c565b6200035660201b60201c565b6001808190555062000070816200041a60201b60201c565b5081600690805190602001906200008992919062000436565b5080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600860146101000a81548160ff02191690831515021790555060016009600080815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600960006001815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60006009815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60006013815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60006014815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60006018815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b6000601b815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60006024815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60006029815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b6000602a815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b6000602b815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60006046815260200190815260200160002060006101000a81548160ff02191690831515021790555060066040516200031291906200085e565b60405180910390207f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa60405160405180910390a2505062000877565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600490805190602001906200043292919062000436565b5050565b82805462000444906200077d565b90600052602060002090601f016020900481019282620004685760008555620004b4565b82601f106200048357805160ff1916838001178555620004b4565b82800160010185558215620004b4579182015b82811115620004b357825182559160200191906001019062000496565b5b509050620004c39190620004c7565b5090565b5b80821115620004e2576000816000905550600101620004c8565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200054f8262000504565b810181811067ffffffffffffffff8211171562000571576200057062000515565b5b80604052505050565b600062000586620004e6565b905062000594828262000544565b919050565b600067ffffffffffffffff821115620005b757620005b662000515565b5b620005c28262000504565b9050602081019050919050565b60005b83811015620005ef578082015181840152602081019050620005d2565b83811115620005ff576000848401525b50505050565b60006200061c620006168462000599565b6200057a565b9050828152602081018484840111156200063b576200063a620004ff565b5b62000648848285620005cf565b509392505050565b600082601f830112620006685762000667620004fa565b5b81516200067a84826020860162000605565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620006b08262000683565b9050919050565b620006c281620006a3565b8114620006ce57600080fd5b50565b600081519050620006e281620006b7565b92915050565b60008060408385031215620007025762000701620004f0565b5b600083015167ffffffffffffffff811115620007235762000722620004f5565b5b620007318582860162000650565b92505060206200074485828601620006d1565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200079657607f821691505b60208210811415620007ad57620007ac6200074e565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154620007e2816200077d565b620007ee8186620007b3565b945060018216600081146200080c57600181146200081e5762000855565b60ff1983168652818601935062000855565b6200082985620007be565b60005b838110156200084d578154818901526001820191506020810190506200082c565b838801955050505b50505092915050565b60006200086c8284620007d3565b915081905092915050565b6146c580620008876000396000f3fe608060405234801561001057600080fd5b50600436106101725760003560e01c80634f558e79116100de578063bd85b03911610097578063e5a342a311610071578063e5a342a31461045c578063e985e9c51461048c578063f242432a146104bc578063f2fde38b146104d857610172565b8063bd85b039146103f2578063d4a6a2fd14610422578063d77722551461044057610172565b80634f558e79146103585780636ba4c13814610388578063715018a6146103a45780638da5cb5b146103ae578063a22cb465146103cc578063b99bace8146103e857610172565b80631c8264f7116101305780631c8264f7146102725780632c34bf0a146102905780632eb2c2d6146102c057806339f7e37f146102dc5780634569f0af146102f85780634e1273f41461032857610172565b8062fdd58e1461017757806301ffc9a7146101a7578063066a4956146101d75780630dcb7270146101f55780630e89341c146102265780630f8106fd14610256575b600080fd5b610191600480360381019061018c9190612973565b6104f4565b60405161019e91906129c2565b60405180910390f35b6101c160048036038101906101bc9190612a35565b6105be565b6040516101ce9190612a7d565b60405180910390f35b6101df6106a0565b6040516101ec91906129c2565b60405180910390f35b61020f600480360381019061020a9190612bf1565b6106a5565b60405161021d929190612db6565b60405180910390f35b610240600480360381019061023b9190612ded565b6107f8565b60405161024d9190612ea2565b60405180910390f35b610270600480360381019061026b9190612ec4565b610933565b005b61027a6109f3565b60405161028791906129c2565b60405180910390f35b6102aa60048036038101906102a59190612ded565b6109f8565b6040516102b79190612a7d565b60405180910390f35b6102da60048036038101906102d59190612fa6565b610a18565b005b6102f660048036038101906102f19190613116565b610ab9565b005b610312600480360381019061030d9190612ded565b610b92565b60405161031f9190612a7d565b60405180910390f35b610342600480360381019061033d9190613222565b610bb2565b60405161034f919061329a565b60405180910390f35b610372600480360381019061036d9190612ded565b610ccb565b60405161037f9190612a7d565b60405180910390f35b6103a2600480360381019061039d9190612bf1565b610cdf565b005b6103ac610fb5565b005b6103b661103d565b6040516103c391906132cb565b60405180910390f35b6103e660048036038101906103e19190613312565b611066565b005b6103f061107c565b005b61040c60048036038101906104079190612ded565b611124565b60405161041991906129c2565b60405180910390f35b61042a611141565b6040516104379190612a7d565b60405180910390f35b61045a60048036038101906104559190613352565b611154565b005b61047660048036038101906104719190612ded565b611298565b6040516104839190612a7d565b60405180910390f35b6104a660048036038101906104a191906133a5565b6112b8565b6040516104b39190612a7d565b60405180910390f35b6104d660048036038101906104d191906133e5565b61134c565b005b6104f260048036038101906104ed9190612ec4565b6113ed565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610565576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055c906134ee565b60405180910390fd5b6002600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061068957507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106995750610698826114e5565b5b9050919050565b600181565b6060806000835167ffffffffffffffff8111156106c5576106c4612aae565b5b6040519080825280602002602001820160405280156106f35781602001602082028036833780820191505090505b5090506000845167ffffffffffffffff81111561071357610712612aae565b5b6040519080825280602002602001820160405280156107415781602001602082028036833780820191505090505b50905060005b85518110156107ea5760008682815181106107655761076461350e565b5b60200260200101519050808483815181106107835761078261350e565b5b602002602001018181525050600a600082815260200190815260200160002060009054906101000a900460ff16158383815181106107c4576107c361350e565b5b6020026020010190151590811515815250505080806107e29061356c565b915050610747565b508181935093505050915091565b60606009600083815260200190815260200160002060009054906101000a900460ff1661085a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085190613627565b60405180910390fd5b60006006805461086990613676565b905011610900576006805461087d90613676565b80601f01602080910402602001604051908101604052809291908181526020018280546108a990613676565b80156108f65780601f106108cb576101008083540402835291602001916108f6565b820191906000526020600020905b8154815290600101906020018083116108d957829003601f168201915b505050505061092c565b600661090b8361154f565b60405160200161091c9291906137c4565b6040516020818303038152906040525b9050919050565b61093b6116b0565b73ffffffffffffffffffffffffffffffffffffffff1661095961103d565b73ffffffffffffffffffffffffffffffffffffffff16146109af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a69061383f565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600081565b60096020528060005260406000206000915054906101000a900460ff1681565b610a206116b0565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a665750610a6585610a606116b0565b6112b8565b5b610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c906138d1565b60405180910390fd5b610ab285858585856116b8565b5050505050565b610ac16116b0565b73ffffffffffffffffffffffffffffffffffffffff16610adf61103d565b73ffffffffffffffffffffffffffffffffffffffff1614610b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2c9061383f565b60405180910390fd5b8060069080519060200190610b4b929190612828565b506006604051610b5b91906138f1565b60405180910390207f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa60405160405180910390a250565b600b6020528060005260406000206000915054906101000a900460ff1681565b60608151835114610bf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bef9061397a565b60405180910390fd5b6000835167ffffffffffffffff811115610c1557610c14612aae565b5b604051908082528060200260200182016040528015610c435781602001602082028036833780820191505090505b50905060005b8451811015610cc057610c90858281518110610c6857610c6761350e565b5b6020026020010151858381518110610c8357610c8261350e565b5b60200260200101516104f4565b828281518110610ca357610ca261350e565b5b60200260200101818152505080610cb99061356c565b9050610c49565b508091505092915050565b600080610cd783611124565b119050919050565b600080600860149054906101000a900460ff16610d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d28906139e6565b60405180910390fd5b60005b8351811015610f63576000848281518110610d5257610d5161350e565b5b602002602001015190503373ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610dce91906129c2565b60206040518083038186803b158015610de657600080fd5b505afa158015610dfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1e9190613a1b565b73ffffffffffffffffffffffffffffffffffffffff1614610e74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6b90613aba565b60405180910390fd5b60001515600a600083815260200190815260200160002060009054906101000a900460ff16151514610edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed290613b4c565b60405180910390fd5b6001600a600083815260200190815260200160002060006101000a81548160ff021916908315150217905550600b600082815260200190815260200160002060009054906101000a900460ff1615610f40578280610f389061356c565b935050610f4f565b8380610f4b9061356c565b9450505b508080610f5b9061356c565b915050610d34565b506000811115610f8a57610f8933600183604051806020016040528060008152506119cf565b5b6000821115610fb057610faf33600084604051806020016040528060008152506119cf565b5b505050565b610fbd6116b0565b73ffffffffffffffffffffffffffffffffffffffff16610fdb61103d565b73ffffffffffffffffffffffffffffffffffffffff1614611031576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110289061383f565b60405180910390fd5b61103b6000611b66565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6110786110716116b0565b8383611c2a565b5050565b6110846116b0565b73ffffffffffffffffffffffffffffffffffffffff166110a261103d565b73ffffffffffffffffffffffffffffffffffffffff16146110f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ef9061383f565b60405180910390fd5b600860149054906101000a900460ff1615600860146101000a81548160ff021916908315150217905550565b600060056000838152602001908152602001600020549050919050565b600860149054906101000a900460ff1681565b6005811115611198576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118f90613bb8565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611228576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121f90613c24565b60405180910390fd5b6009600084815260200190815260200160002060009054906101000a900460ff16611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127f90613c90565b60405180910390fd5b611293828483611d97565b505050565b600a6020528060005260406000206000915054906101000a900460ff1681565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6113546116b0565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061139a5750611399856113946116b0565b6112b8565b5b6113d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d090613d22565b60405180910390fd5b6113e68585858585611fb6565b5050505050565b6113f56116b0565b73ffffffffffffffffffffffffffffffffffffffff1661141361103d565b73ffffffffffffffffffffffffffffffffffffffff1614611469576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114609061383f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d090613db4565b60405180910390fd5b6114e281611b66565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415611597576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506116ab565b600082905060005b600082146115c95780806115b29061356c565b915050600a826115c29190613e03565b915061159f565b60008167ffffffffffffffff8111156115e5576115e4612aae565b5b6040519080825280601f01601f1916602001820160405280156116175781602001600182028036833780820191505090505b5090505b600085146116a4576001826116309190613e34565b9150600a8561163f9190613e68565b603061164b9190613e99565b60f81b8183815181106116615761166061350e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561169d9190613e03565b945061161b565b8093505050505b919050565b600033905090565b81518351146116fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f390613f61565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561176c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176390613ff3565b60405180910390fd5b60006117766116b0565b905061178681878787878761223b565b60005b845181101561193a5760008582815181106117a7576117a661350e565b5b6020026020010151905060008583815181106117c6576117c561350e565b5b6020026020010151905060006002600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611868576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185f90614085565b60405180910390fd5b8181036002600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461191f9190613e99565b92505081905550505050806119339061356c565b9050611789565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516119b19291906140a5565b60405180910390a46119c78187878787876123b5565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611a3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a369061414e565b60405180910390fd5b6000611a496116b0565b9050611a6a81600087611a5b8861259c565b611a648861259c565b8761223b565b826002600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611aca9190613e99565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611b4892919061416e565b60405180910390a4611b5f81600087878787612616565b5050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9090614209565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d8a9190612a7d565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfe9061429b565b60405180910390fd5b6000611e116116b0565b9050611e4181856000611e238761259c565b611e2c8761259c565b6040518060200160405280600081525061223b565b60006002600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611ed9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed09061432d565b60405180910390fd5b8281036002600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611fa792919061416e565b60405180910390a45050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612026576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201d90613ff3565b60405180910390fd5b60006120306116b0565b90506120508187876120418861259c565b61204a8861259c565b8761223b565b60006002600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156120e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120df90614085565b60405180910390fd5b8381036002600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836002600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461219f9190613e99565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161221c92919061416e565b60405180910390a4612232828888888888612616565b50505050505050565b6122498686868686866127fd565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156122fb5760005b83518110156122f95782818151811061229d5761229c61350e565b5b6020026020010151600560008684815181106122bc576122bb61350e565b5b6020026020010151815260200190815260200160002060008282546122e19190613e99565b92505081905550806122f29061356c565b9050612281565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156123ad5760005b83518110156123ab5782818151811061234f5761234e61350e565b5b60200260200101516005600086848151811061236e5761236d61350e565b5b6020026020010151815260200190815260200160002060008282546123939190613e34565b92505081905550806123a49061356c565b9050612333565b505b505050505050565b6123d48473ffffffffffffffffffffffffffffffffffffffff16612805565b15612594578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161241a9594939291906143a2565b602060405180830381600087803b15801561243457600080fd5b505af192505050801561246557506040513d601f19601f82011682018060405250810190612462919061441f565b60015b61250b57612471614459565b806308c379a014156124ce575061248661447b565b8061249157506124d0565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c59190612ea2565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250290614583565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612592576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258990614615565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156125bb576125ba612aae565b5b6040519080825280602002602001820160405280156125e95781602001602082028036833780820191505090505b50905082816000815181106126015761260061350e565b5b60200260200101818152505080915050919050565b6126358473ffffffffffffffffffffffffffffffffffffffff16612805565b156127f5578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161267b959493929190614635565b602060405180830381600087803b15801561269557600080fd5b505af19250505080156126c657506040513d601f19601f820116820180604052508101906126c3919061441f565b60015b61276c576126d2614459565b806308c379a0141561272f57506126e761447b565b806126f25750612731565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127269190612ea2565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276390614583565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146127f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ea90614615565b60405180910390fd5b505b505050505050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461283490613676565b90600052602060002090601f016020900481019282612856576000855561289d565b82601f1061286f57805160ff191683800117855561289d565b8280016001018555821561289d579182015b8281111561289c578251825591602001919060010190612881565b5b5090506128aa91906128ae565b5090565b5b808211156128c75760008160009055506001016128af565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061290a826128df565b9050919050565b61291a816128ff565b811461292557600080fd5b50565b60008135905061293781612911565b92915050565b6000819050919050565b6129508161293d565b811461295b57600080fd5b50565b60008135905061296d81612947565b92915050565b6000806040838503121561298a576129896128d5565b5b600061299885828601612928565b92505060206129a98582860161295e565b9150509250929050565b6129bc8161293d565b82525050565b60006020820190506129d760008301846129b3565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a12816129dd565b8114612a1d57600080fd5b50565b600081359050612a2f81612a09565b92915050565b600060208284031215612a4b57612a4a6128d5565b5b6000612a5984828501612a20565b91505092915050565b60008115159050919050565b612a7781612a62565b82525050565b6000602082019050612a926000830184612a6e565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ae682612a9d565b810181811067ffffffffffffffff82111715612b0557612b04612aae565b5b80604052505050565b6000612b186128cb565b9050612b248282612add565b919050565b600067ffffffffffffffff821115612b4457612b43612aae565b5b602082029050602081019050919050565b600080fd5b6000612b6d612b6884612b29565b612b0e565b90508083825260208201905060208402830185811115612b9057612b8f612b55565b5b835b81811015612bb95780612ba5888261295e565b845260208401935050602081019050612b92565b5050509392505050565b600082601f830112612bd857612bd7612a98565b5b8135612be8848260208601612b5a565b91505092915050565b600060208284031215612c0757612c066128d5565b5b600082013567ffffffffffffffff811115612c2557612c246128da565b5b612c3184828501612bc3565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612c6f8161293d565b82525050565b6000612c818383612c66565b60208301905092915050565b6000602082019050919050565b6000612ca582612c3a565b612caf8185612c45565b9350612cba83612c56565b8060005b83811015612ceb578151612cd28882612c75565b9750612cdd83612c8d565b925050600181019050612cbe565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612d2d81612a62565b82525050565b6000612d3f8383612d24565b60208301905092915050565b6000602082019050919050565b6000612d6382612cf8565b612d6d8185612d03565b9350612d7883612d14565b8060005b83811015612da9578151612d908882612d33565b9750612d9b83612d4b565b925050600181019050612d7c565b5085935050505092915050565b60006040820190508181036000830152612dd08185612c9a565b90508181036020830152612de48184612d58565b90509392505050565b600060208284031215612e0357612e026128d5565b5b6000612e118482850161295e565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612e54578082015181840152602081019050612e39565b83811115612e63576000848401525b50505050565b6000612e7482612e1a565b612e7e8185612e25565b9350612e8e818560208601612e36565b612e9781612a9d565b840191505092915050565b60006020820190508181036000830152612ebc8184612e69565b905092915050565b600060208284031215612eda57612ed96128d5565b5b6000612ee884828501612928565b91505092915050565b600080fd5b600067ffffffffffffffff821115612f1157612f10612aae565b5b612f1a82612a9d565b9050602081019050919050565b82818337600083830152505050565b6000612f49612f4484612ef6565b612b0e565b905082815260208101848484011115612f6557612f64612ef1565b5b612f70848285612f27565b509392505050565b600082601f830112612f8d57612f8c612a98565b5b8135612f9d848260208601612f36565b91505092915050565b600080600080600060a08688031215612fc257612fc16128d5565b5b6000612fd088828901612928565b9550506020612fe188828901612928565b945050604086013567ffffffffffffffff811115613002576130016128da565b5b61300e88828901612bc3565b935050606086013567ffffffffffffffff81111561302f5761302e6128da565b5b61303b88828901612bc3565b925050608086013567ffffffffffffffff81111561305c5761305b6128da565b5b61306888828901612f78565b9150509295509295909350565b600067ffffffffffffffff8211156130905761308f612aae565b5b61309982612a9d565b9050602081019050919050565b60006130b96130b484613075565b612b0e565b9050828152602081018484840111156130d5576130d4612ef1565b5b6130e0848285612f27565b509392505050565b600082601f8301126130fd576130fc612a98565b5b813561310d8482602086016130a6565b91505092915050565b60006020828403121561312c5761312b6128d5565b5b600082013567ffffffffffffffff81111561314a576131496128da565b5b613156848285016130e8565b91505092915050565b600067ffffffffffffffff82111561317a57613179612aae565b5b602082029050602081019050919050565b600061319e6131998461315f565b612b0e565b905080838252602082019050602084028301858111156131c1576131c0612b55565b5b835b818110156131ea57806131d68882612928565b8452602084019350506020810190506131c3565b5050509392505050565b600082601f83011261320957613208612a98565b5b813561321984826020860161318b565b91505092915050565b60008060408385031215613239576132386128d5565b5b600083013567ffffffffffffffff811115613257576132566128da565b5b613263858286016131f4565b925050602083013567ffffffffffffffff811115613284576132836128da565b5b61329085828601612bc3565b9150509250929050565b600060208201905081810360008301526132b48184612c9a565b905092915050565b6132c5816128ff565b82525050565b60006020820190506132e060008301846132bc565b92915050565b6132ef81612a62565b81146132fa57600080fd5b50565b60008135905061330c816132e6565b92915050565b60008060408385031215613329576133286128d5565b5b600061333785828601612928565b9250506020613348858286016132fd565b9150509250929050565b60008060006060848603121561336b5761336a6128d5565b5b60006133798682870161295e565b935050602061338a86828701612928565b925050604061339b8682870161295e565b9150509250925092565b600080604083850312156133bc576133bb6128d5565b5b60006133ca85828601612928565b92505060206133db85828601612928565b9150509250929050565b600080600080600060a08688031215613401576134006128d5565b5b600061340f88828901612928565b955050602061342088828901612928565b94505060406134318882890161295e565b93505060606134428882890161295e565b925050608086013567ffffffffffffffff811115613463576134626128da565b5b61346f88828901612f78565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006134d8602b83612e25565b91506134e38261347c565b604082019050919050565b60006020820190508181036000830152613507816134cb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006135778261293d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156135aa576135a961353d565b5b600182019050919050565b7f5552492072657175657374656420666f7220696e76616c696420626c6f6f642060008201527f7479706500000000000000000000000000000000000000000000000000000000602082015250565b6000613611602483612e25565b915061361c826135b5565b604082019050919050565b6000602082019050818103600083015261364081613604565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061368e57607f821691505b602082108114156136a2576136a1613647565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546136d581613676565b6136df81866136a8565b945060018216600081146136fa576001811461370b5761373e565b60ff1983168652818601935061373e565b613714856136b3565b60005b8381101561373657815481890152600182019150602081019050613717565b838801955050505b50505092915050565b600061375282612e1a565b61375c81856136a8565b935061376c818560208601612e36565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006137ae6005836136a8565b91506137b982613778565b600582019050919050565b60006137d082856136c8565b91506137dc8284613747565b91506137e7826137a1565b91508190509392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613829602083612e25565b9150613834826137f3565b602082019050919050565b600060208201905081810360008301526138588161381c565b9050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006138bb603283612e25565b91506138c68261385f565b604082019050919050565b600060208201905081810360008301526138ea816138ae565b9050919050565b60006138fd82846136c8565b915081905092915050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613964602983612e25565b915061396f82613908565b604082019050919050565b6000602082019050818103600083015261399381613957565b9050919050565b7f436c61696d206973206e6f742061637469766520617420746869732074696d65600082015250565b60006139d0602083612e25565b91506139db8261399a565b602082019050919050565b600060208201905081810360008301526139ff816139c3565b9050919050565b600081519050613a1581612911565b92915050565b600060208284031215613a3157613a306128d5565b5b6000613a3f84828501613a06565b91505092915050565b7f596f75206d75737420626520746865206f776e6572206f662043727970746f5360008201527f6b756c6c00000000000000000000000000000000000000000000000000000000602082015250565b6000613aa4602483612e25565b9150613aaf82613a48565b604082019050919050565b60006020820190508181036000830152613ad381613a97565b9050919050565b7f426c6f6f6420666f72207468697320746f6b656e2068616420616c726561647960008201527f206265656e206d696e7465640000000000000000000000000000000000000000602082015250565b6000613b36602c83612e25565b9150613b4182613ada565b604082019050919050565b60006020820190508181036000830152613b6581613b29565b9050919050565b7f596f752063616e206275726e206d6178696d756d206f66203500000000000000600082015250565b6000613ba2601983612e25565b9150613bad82613b6c565b602082019050919050565b60006020820190508181036000830152613bd181613b95565b9050919050565b7f496e76616c6964206275726e6572206164647265737300000000000000000000600082015250565b6000613c0e601683612e25565b9150613c1982613bd8565b602082019050919050565b60006020820190508181036000830152613c3d81613c01565b9050919050565b7f496e76616c696420626c6f6f6420747970650000000000000000000000000000600082015250565b6000613c7a601283612e25565b9150613c8582613c44565b602082019050919050565b60006020820190508181036000830152613ca981613c6d565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613d0c602983612e25565b9150613d1782613cb0565b604082019050919050565b60006020820190508181036000830152613d3b81613cff565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613d9e602683612e25565b9150613da982613d42565b604082019050919050565b60006020820190508181036000830152613dcd81613d91565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613e0e8261293d565b9150613e198361293d565b925082613e2957613e28613dd4565b5b828204905092915050565b6000613e3f8261293d565b9150613e4a8361293d565b925082821015613e5d57613e5c61353d565b5b828203905092915050565b6000613e738261293d565b9150613e7e8361293d565b925082613e8e57613e8d613dd4565b5b828206905092915050565b6000613ea48261293d565b9150613eaf8361293d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ee457613ee361353d565b5b828201905092915050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613f4b602883612e25565b9150613f5682613eef565b604082019050919050565b60006020820190508181036000830152613f7a81613f3e565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613fdd602583612e25565b9150613fe882613f81565b604082019050919050565b6000602082019050818103600083015261400c81613fd0565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061406f602a83612e25565b915061407a82614013565b604082019050919050565b6000602082019050818103600083015261409e81614062565b9050919050565b600060408201905081810360008301526140bf8185612c9a565b905081810360208301526140d38184612c9a565b90509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614138602183612e25565b9150614143826140dc565b604082019050919050565b600060208201905081810360008301526141678161412b565b9050919050565b600060408201905061418360008301856129b3565b61419060208301846129b3565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006141f3602983612e25565b91506141fe82614197565b604082019050919050565b60006020820190508181036000830152614222816141e6565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614285602383612e25565b915061429082614229565b604082019050919050565b600060208201905081810360008301526142b481614278565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614317602483612e25565b9150614322826142bb565b604082019050919050565b600060208201905081810360008301526143468161430a565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006143748261434d565b61437e8185614358565b935061438e818560208601612e36565b61439781612a9d565b840191505092915050565b600060a0820190506143b760008301886132bc565b6143c460208301876132bc565b81810360408301526143d68186612c9a565b905081810360608301526143ea8185612c9a565b905081810360808301526143fe8184614369565b90509695505050505050565b60008151905061441981612a09565b92915050565b600060208284031215614435576144346128d5565b5b60006144438482850161440a565b91505092915050565b60008160e01c9050919050565b600060033d11156144785760046000803e61447560005161444c565b90505b90565b600060443d101561448b5761450e565b6144936128cb565b60043d036004823e80513d602482011167ffffffffffffffff821117156144bb57505061450e565b808201805167ffffffffffffffff8111156144d9575050505061450e565b80602083010160043d0385018111156144f657505050505061450e565b61450582602001850186612add565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600061456d603483612e25565b915061457882614511565b604082019050919050565b6000602082019050818103600083015261459c81614560565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006145ff602883612e25565b915061460a826145a3565b604082019050919050565b6000602082019050818103600083015261462e816145f2565b9050919050565b600060a08201905061464a60008301886132bc565b61465760208301876132bc565b61466460408301866129b3565b61467160608301856129b3565b81810360808301526146838184614369565b9050969550505050505056fea2646970667358221220aae99694bc5c6f6a72abb4be47ce1b8107e8c707c44999d2a32689a2ff28befe64736f6c634300080900330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c1caf0c19a8ac28c41fe59ba6c754e4b9bd54de90000000000000000000000000000000000000000000000000000000000000016687474703a2f2f3132372e302e302e313a343034302f00000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101725760003560e01c80634f558e79116100de578063bd85b03911610097578063e5a342a311610071578063e5a342a31461045c578063e985e9c51461048c578063f242432a146104bc578063f2fde38b146104d857610172565b8063bd85b039146103f2578063d4a6a2fd14610422578063d77722551461044057610172565b80634f558e79146103585780636ba4c13814610388578063715018a6146103a45780638da5cb5b146103ae578063a22cb465146103cc578063b99bace8146103e857610172565b80631c8264f7116101305780631c8264f7146102725780632c34bf0a146102905780632eb2c2d6146102c057806339f7e37f146102dc5780634569f0af146102f85780634e1273f41461032857610172565b8062fdd58e1461017757806301ffc9a7146101a7578063066a4956146101d75780630dcb7270146101f55780630e89341c146102265780630f8106fd14610256575b600080fd5b610191600480360381019061018c9190612973565b6104f4565b60405161019e91906129c2565b60405180910390f35b6101c160048036038101906101bc9190612a35565b6105be565b6040516101ce9190612a7d565b60405180910390f35b6101df6106a0565b6040516101ec91906129c2565b60405180910390f35b61020f600480360381019061020a9190612bf1565b6106a5565b60405161021d929190612db6565b60405180910390f35b610240600480360381019061023b9190612ded565b6107f8565b60405161024d9190612ea2565b60405180910390f35b610270600480360381019061026b9190612ec4565b610933565b005b61027a6109f3565b60405161028791906129c2565b60405180910390f35b6102aa60048036038101906102a59190612ded565b6109f8565b6040516102b79190612a7d565b60405180910390f35b6102da60048036038101906102d59190612fa6565b610a18565b005b6102f660048036038101906102f19190613116565b610ab9565b005b610312600480360381019061030d9190612ded565b610b92565b60405161031f9190612a7d565b60405180910390f35b610342600480360381019061033d9190613222565b610bb2565b60405161034f919061329a565b60405180910390f35b610372600480360381019061036d9190612ded565b610ccb565b60405161037f9190612a7d565b60405180910390f35b6103a2600480360381019061039d9190612bf1565b610cdf565b005b6103ac610fb5565b005b6103b661103d565b6040516103c391906132cb565b60405180910390f35b6103e660048036038101906103e19190613312565b611066565b005b6103f061107c565b005b61040c60048036038101906104079190612ded565b611124565b60405161041991906129c2565b60405180910390f35b61042a611141565b6040516104379190612a7d565b60405180910390f35b61045a60048036038101906104559190613352565b611154565b005b61047660048036038101906104719190612ded565b611298565b6040516104839190612a7d565b60405180910390f35b6104a660048036038101906104a191906133a5565b6112b8565b6040516104b39190612a7d565b60405180910390f35b6104d660048036038101906104d191906133e5565b61134c565b005b6104f260048036038101906104ed9190612ec4565b6113ed565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610565576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055c906134ee565b60405180910390fd5b6002600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061068957507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106995750610698826114e5565b5b9050919050565b600181565b6060806000835167ffffffffffffffff8111156106c5576106c4612aae565b5b6040519080825280602002602001820160405280156106f35781602001602082028036833780820191505090505b5090506000845167ffffffffffffffff81111561071357610712612aae565b5b6040519080825280602002602001820160405280156107415781602001602082028036833780820191505090505b50905060005b85518110156107ea5760008682815181106107655761076461350e565b5b60200260200101519050808483815181106107835761078261350e565b5b602002602001018181525050600a600082815260200190815260200160002060009054906101000a900460ff16158383815181106107c4576107c361350e565b5b6020026020010190151590811515815250505080806107e29061356c565b915050610747565b508181935093505050915091565b60606009600083815260200190815260200160002060009054906101000a900460ff1661085a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085190613627565b60405180910390fd5b60006006805461086990613676565b905011610900576006805461087d90613676565b80601f01602080910402602001604051908101604052809291908181526020018280546108a990613676565b80156108f65780601f106108cb576101008083540402835291602001916108f6565b820191906000526020600020905b8154815290600101906020018083116108d957829003601f168201915b505050505061092c565b600661090b8361154f565b60405160200161091c9291906137c4565b6040516020818303038152906040525b9050919050565b61093b6116b0565b73ffffffffffffffffffffffffffffffffffffffff1661095961103d565b73ffffffffffffffffffffffffffffffffffffffff16146109af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a69061383f565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600081565b60096020528060005260406000206000915054906101000a900460ff1681565b610a206116b0565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a665750610a6585610a606116b0565b6112b8565b5b610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c906138d1565b60405180910390fd5b610ab285858585856116b8565b5050505050565b610ac16116b0565b73ffffffffffffffffffffffffffffffffffffffff16610adf61103d565b73ffffffffffffffffffffffffffffffffffffffff1614610b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2c9061383f565b60405180910390fd5b8060069080519060200190610b4b929190612828565b506006604051610b5b91906138f1565b60405180910390207f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa60405160405180910390a250565b600b6020528060005260406000206000915054906101000a900460ff1681565b60608151835114610bf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bef9061397a565b60405180910390fd5b6000835167ffffffffffffffff811115610c1557610c14612aae565b5b604051908082528060200260200182016040528015610c435781602001602082028036833780820191505090505b50905060005b8451811015610cc057610c90858281518110610c6857610c6761350e565b5b6020026020010151858381518110610c8357610c8261350e565b5b60200260200101516104f4565b828281518110610ca357610ca261350e565b5b60200260200101818152505080610cb99061356c565b9050610c49565b508091505092915050565b600080610cd783611124565b119050919050565b600080600860149054906101000a900460ff16610d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d28906139e6565b60405180910390fd5b60005b8351811015610f63576000848281518110610d5257610d5161350e565b5b602002602001015190503373ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610dce91906129c2565b60206040518083038186803b158015610de657600080fd5b505afa158015610dfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1e9190613a1b565b73ffffffffffffffffffffffffffffffffffffffff1614610e74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6b90613aba565b60405180910390fd5b60001515600a600083815260200190815260200160002060009054906101000a900460ff16151514610edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed290613b4c565b60405180910390fd5b6001600a600083815260200190815260200160002060006101000a81548160ff021916908315150217905550600b600082815260200190815260200160002060009054906101000a900460ff1615610f40578280610f389061356c565b935050610f4f565b8380610f4b9061356c565b9450505b508080610f5b9061356c565b915050610d34565b506000811115610f8a57610f8933600183604051806020016040528060008152506119cf565b5b6000821115610fb057610faf33600084604051806020016040528060008152506119cf565b5b505050565b610fbd6116b0565b73ffffffffffffffffffffffffffffffffffffffff16610fdb61103d565b73ffffffffffffffffffffffffffffffffffffffff1614611031576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110289061383f565b60405180910390fd5b61103b6000611b66565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6110786110716116b0565b8383611c2a565b5050565b6110846116b0565b73ffffffffffffffffffffffffffffffffffffffff166110a261103d565b73ffffffffffffffffffffffffffffffffffffffff16146110f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ef9061383f565b60405180910390fd5b600860149054906101000a900460ff1615600860146101000a81548160ff021916908315150217905550565b600060056000838152602001908152602001600020549050919050565b600860149054906101000a900460ff1681565b6005811115611198576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118f90613bb8565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611228576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121f90613c24565b60405180910390fd5b6009600084815260200190815260200160002060009054906101000a900460ff16611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127f90613c90565b60405180910390fd5b611293828483611d97565b505050565b600a6020528060005260406000206000915054906101000a900460ff1681565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6113546116b0565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061139a5750611399856113946116b0565b6112b8565b5b6113d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d090613d22565b60405180910390fd5b6113e68585858585611fb6565b5050505050565b6113f56116b0565b73ffffffffffffffffffffffffffffffffffffffff1661141361103d565b73ffffffffffffffffffffffffffffffffffffffff1614611469576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114609061383f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d090613db4565b60405180910390fd5b6114e281611b66565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415611597576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506116ab565b600082905060005b600082146115c95780806115b29061356c565b915050600a826115c29190613e03565b915061159f565b60008167ffffffffffffffff8111156115e5576115e4612aae565b5b6040519080825280601f01601f1916602001820160405280156116175781602001600182028036833780820191505090505b5090505b600085146116a4576001826116309190613e34565b9150600a8561163f9190613e68565b603061164b9190613e99565b60f81b8183815181106116615761166061350e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561169d9190613e03565b945061161b565b8093505050505b919050565b600033905090565b81518351146116fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f390613f61565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561176c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176390613ff3565b60405180910390fd5b60006117766116b0565b905061178681878787878761223b565b60005b845181101561193a5760008582815181106117a7576117a661350e565b5b6020026020010151905060008583815181106117c6576117c561350e565b5b6020026020010151905060006002600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611868576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185f90614085565b60405180910390fd5b8181036002600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461191f9190613e99565b92505081905550505050806119339061356c565b9050611789565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516119b19291906140a5565b60405180910390a46119c78187878787876123b5565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611a3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a369061414e565b60405180910390fd5b6000611a496116b0565b9050611a6a81600087611a5b8861259c565b611a648861259c565b8761223b565b826002600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611aca9190613e99565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611b4892919061416e565b60405180910390a4611b5f81600087878787612616565b5050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9090614209565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d8a9190612a7d565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfe9061429b565b60405180910390fd5b6000611e116116b0565b9050611e4181856000611e238761259c565b611e2c8761259c565b6040518060200160405280600081525061223b565b60006002600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611ed9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed09061432d565b60405180910390fd5b8281036002600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611fa792919061416e565b60405180910390a45050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612026576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201d90613ff3565b60405180910390fd5b60006120306116b0565b90506120508187876120418861259c565b61204a8861259c565b8761223b565b60006002600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156120e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120df90614085565b60405180910390fd5b8381036002600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836002600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461219f9190613e99565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161221c92919061416e565b60405180910390a4612232828888888888612616565b50505050505050565b6122498686868686866127fd565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156122fb5760005b83518110156122f95782818151811061229d5761229c61350e565b5b6020026020010151600560008684815181106122bc576122bb61350e565b5b6020026020010151815260200190815260200160002060008282546122e19190613e99565b92505081905550806122f29061356c565b9050612281565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156123ad5760005b83518110156123ab5782818151811061234f5761234e61350e565b5b60200260200101516005600086848151811061236e5761236d61350e565b5b6020026020010151815260200190815260200160002060008282546123939190613e34565b92505081905550806123a49061356c565b9050612333565b505b505050505050565b6123d48473ffffffffffffffffffffffffffffffffffffffff16612805565b15612594578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161241a9594939291906143a2565b602060405180830381600087803b15801561243457600080fd5b505af192505050801561246557506040513d601f19601f82011682018060405250810190612462919061441f565b60015b61250b57612471614459565b806308c379a014156124ce575061248661447b565b8061249157506124d0565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c59190612ea2565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250290614583565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612592576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258990614615565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156125bb576125ba612aae565b5b6040519080825280602002602001820160405280156125e95781602001602082028036833780820191505090505b50905082816000815181106126015761260061350e565b5b60200260200101818152505080915050919050565b6126358473ffffffffffffffffffffffffffffffffffffffff16612805565b156127f5578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161267b959493929190614635565b602060405180830381600087803b15801561269557600080fd5b505af19250505080156126c657506040513d601f19601f820116820180604052508101906126c3919061441f565b60015b61276c576126d2614459565b806308c379a0141561272f57506126e761447b565b806126f25750612731565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127269190612ea2565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276390614583565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146127f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ea90614615565b60405180910390fd5b505b505050505050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461283490613676565b90600052602060002090601f016020900481019282612856576000855561289d565b82601f1061286f57805160ff191683800117855561289d565b8280016001018555821561289d579182015b8281111561289c578251825591602001919060010190612881565b5b5090506128aa91906128ae565b5090565b5b808211156128c75760008160009055506001016128af565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061290a826128df565b9050919050565b61291a816128ff565b811461292557600080fd5b50565b60008135905061293781612911565b92915050565b6000819050919050565b6129508161293d565b811461295b57600080fd5b50565b60008135905061296d81612947565b92915050565b6000806040838503121561298a576129896128d5565b5b600061299885828601612928565b92505060206129a98582860161295e565b9150509250929050565b6129bc8161293d565b82525050565b60006020820190506129d760008301846129b3565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a12816129dd565b8114612a1d57600080fd5b50565b600081359050612a2f81612a09565b92915050565b600060208284031215612a4b57612a4a6128d5565b5b6000612a5984828501612a20565b91505092915050565b60008115159050919050565b612a7781612a62565b82525050565b6000602082019050612a926000830184612a6e565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ae682612a9d565b810181811067ffffffffffffffff82111715612b0557612b04612aae565b5b80604052505050565b6000612b186128cb565b9050612b248282612add565b919050565b600067ffffffffffffffff821115612b4457612b43612aae565b5b602082029050602081019050919050565b600080fd5b6000612b6d612b6884612b29565b612b0e565b90508083825260208201905060208402830185811115612b9057612b8f612b55565b5b835b81811015612bb95780612ba5888261295e565b845260208401935050602081019050612b92565b5050509392505050565b600082601f830112612bd857612bd7612a98565b5b8135612be8848260208601612b5a565b91505092915050565b600060208284031215612c0757612c066128d5565b5b600082013567ffffffffffffffff811115612c2557612c246128da565b5b612c3184828501612bc3565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612c6f8161293d565b82525050565b6000612c818383612c66565b60208301905092915050565b6000602082019050919050565b6000612ca582612c3a565b612caf8185612c45565b9350612cba83612c56565b8060005b83811015612ceb578151612cd28882612c75565b9750612cdd83612c8d565b925050600181019050612cbe565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612d2d81612a62565b82525050565b6000612d3f8383612d24565b60208301905092915050565b6000602082019050919050565b6000612d6382612cf8565b612d6d8185612d03565b9350612d7883612d14565b8060005b83811015612da9578151612d908882612d33565b9750612d9b83612d4b565b925050600181019050612d7c565b5085935050505092915050565b60006040820190508181036000830152612dd08185612c9a565b90508181036020830152612de48184612d58565b90509392505050565b600060208284031215612e0357612e026128d5565b5b6000612e118482850161295e565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612e54578082015181840152602081019050612e39565b83811115612e63576000848401525b50505050565b6000612e7482612e1a565b612e7e8185612e25565b9350612e8e818560208601612e36565b612e9781612a9d565b840191505092915050565b60006020820190508181036000830152612ebc8184612e69565b905092915050565b600060208284031215612eda57612ed96128d5565b5b6000612ee884828501612928565b91505092915050565b600080fd5b600067ffffffffffffffff821115612f1157612f10612aae565b5b612f1a82612a9d565b9050602081019050919050565b82818337600083830152505050565b6000612f49612f4484612ef6565b612b0e565b905082815260208101848484011115612f6557612f64612ef1565b5b612f70848285612f27565b509392505050565b600082601f830112612f8d57612f8c612a98565b5b8135612f9d848260208601612f36565b91505092915050565b600080600080600060a08688031215612fc257612fc16128d5565b5b6000612fd088828901612928565b9550506020612fe188828901612928565b945050604086013567ffffffffffffffff811115613002576130016128da565b5b61300e88828901612bc3565b935050606086013567ffffffffffffffff81111561302f5761302e6128da565b5b61303b88828901612bc3565b925050608086013567ffffffffffffffff81111561305c5761305b6128da565b5b61306888828901612f78565b9150509295509295909350565b600067ffffffffffffffff8211156130905761308f612aae565b5b61309982612a9d565b9050602081019050919050565b60006130b96130b484613075565b612b0e565b9050828152602081018484840111156130d5576130d4612ef1565b5b6130e0848285612f27565b509392505050565b600082601f8301126130fd576130fc612a98565b5b813561310d8482602086016130a6565b91505092915050565b60006020828403121561312c5761312b6128d5565b5b600082013567ffffffffffffffff81111561314a576131496128da565b5b613156848285016130e8565b91505092915050565b600067ffffffffffffffff82111561317a57613179612aae565b5b602082029050602081019050919050565b600061319e6131998461315f565b612b0e565b905080838252602082019050602084028301858111156131c1576131c0612b55565b5b835b818110156131ea57806131d68882612928565b8452602084019350506020810190506131c3565b5050509392505050565b600082601f83011261320957613208612a98565b5b813561321984826020860161318b565b91505092915050565b60008060408385031215613239576132386128d5565b5b600083013567ffffffffffffffff811115613257576132566128da565b5b613263858286016131f4565b925050602083013567ffffffffffffffff811115613284576132836128da565b5b61329085828601612bc3565b9150509250929050565b600060208201905081810360008301526132b48184612c9a565b905092915050565b6132c5816128ff565b82525050565b60006020820190506132e060008301846132bc565b92915050565b6132ef81612a62565b81146132fa57600080fd5b50565b60008135905061330c816132e6565b92915050565b60008060408385031215613329576133286128d5565b5b600061333785828601612928565b9250506020613348858286016132fd565b9150509250929050565b60008060006060848603121561336b5761336a6128d5565b5b60006133798682870161295e565b935050602061338a86828701612928565b925050604061339b8682870161295e565b9150509250925092565b600080604083850312156133bc576133bb6128d5565b5b60006133ca85828601612928565b92505060206133db85828601612928565b9150509250929050565b600080600080600060a08688031215613401576134006128d5565b5b600061340f88828901612928565b955050602061342088828901612928565b94505060406134318882890161295e565b93505060606134428882890161295e565b925050608086013567ffffffffffffffff811115613463576134626128da565b5b61346f88828901612f78565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006134d8602b83612e25565b91506134e38261347c565b604082019050919050565b60006020820190508181036000830152613507816134cb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006135778261293d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156135aa576135a961353d565b5b600182019050919050565b7f5552492072657175657374656420666f7220696e76616c696420626c6f6f642060008201527f7479706500000000000000000000000000000000000000000000000000000000602082015250565b6000613611602483612e25565b915061361c826135b5565b604082019050919050565b6000602082019050818103600083015261364081613604565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061368e57607f821691505b602082108114156136a2576136a1613647565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546136d581613676565b6136df81866136a8565b945060018216600081146136fa576001811461370b5761373e565b60ff1983168652818601935061373e565b613714856136b3565b60005b8381101561373657815481890152600182019150602081019050613717565b838801955050505b50505092915050565b600061375282612e1a565b61375c81856136a8565b935061376c818560208601612e36565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006137ae6005836136a8565b91506137b982613778565b600582019050919050565b60006137d082856136c8565b91506137dc8284613747565b91506137e7826137a1565b91508190509392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613829602083612e25565b9150613834826137f3565b602082019050919050565b600060208201905081810360008301526138588161381c565b9050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006138bb603283612e25565b91506138c68261385f565b604082019050919050565b600060208201905081810360008301526138ea816138ae565b9050919050565b60006138fd82846136c8565b915081905092915050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613964602983612e25565b915061396f82613908565b604082019050919050565b6000602082019050818103600083015261399381613957565b9050919050565b7f436c61696d206973206e6f742061637469766520617420746869732074696d65600082015250565b60006139d0602083612e25565b91506139db8261399a565b602082019050919050565b600060208201905081810360008301526139ff816139c3565b9050919050565b600081519050613a1581612911565b92915050565b600060208284031215613a3157613a306128d5565b5b6000613a3f84828501613a06565b91505092915050565b7f596f75206d75737420626520746865206f776e6572206f662043727970746f5360008201527f6b756c6c00000000000000000000000000000000000000000000000000000000602082015250565b6000613aa4602483612e25565b9150613aaf82613a48565b604082019050919050565b60006020820190508181036000830152613ad381613a97565b9050919050565b7f426c6f6f6420666f72207468697320746f6b656e2068616420616c726561647960008201527f206265656e206d696e7465640000000000000000000000000000000000000000602082015250565b6000613b36602c83612e25565b9150613b4182613ada565b604082019050919050565b60006020820190508181036000830152613b6581613b29565b9050919050565b7f596f752063616e206275726e206d6178696d756d206f66203500000000000000600082015250565b6000613ba2601983612e25565b9150613bad82613b6c565b602082019050919050565b60006020820190508181036000830152613bd181613b95565b9050919050565b7f496e76616c6964206275726e6572206164647265737300000000000000000000600082015250565b6000613c0e601683612e25565b9150613c1982613bd8565b602082019050919050565b60006020820190508181036000830152613c3d81613c01565b9050919050565b7f496e76616c696420626c6f6f6420747970650000000000000000000000000000600082015250565b6000613c7a601283612e25565b9150613c8582613c44565b602082019050919050565b60006020820190508181036000830152613ca981613c6d565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613d0c602983612e25565b9150613d1782613cb0565b604082019050919050565b60006020820190508181036000830152613d3b81613cff565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613d9e602683612e25565b9150613da982613d42565b604082019050919050565b60006020820190508181036000830152613dcd81613d91565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613e0e8261293d565b9150613e198361293d565b925082613e2957613e28613dd4565b5b828204905092915050565b6000613e3f8261293d565b9150613e4a8361293d565b925082821015613e5d57613e5c61353d565b5b828203905092915050565b6000613e738261293d565b9150613e7e8361293d565b925082613e8e57613e8d613dd4565b5b828206905092915050565b6000613ea48261293d565b9150613eaf8361293d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613ee457613ee361353d565b5b828201905092915050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613f4b602883612e25565b9150613f5682613eef565b604082019050919050565b60006020820190508181036000830152613f7a81613f3e565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613fdd602583612e25565b9150613fe882613f81565b604082019050919050565b6000602082019050818103600083015261400c81613fd0565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061406f602a83612e25565b915061407a82614013565b604082019050919050565b6000602082019050818103600083015261409e81614062565b9050919050565b600060408201905081810360008301526140bf8185612c9a565b905081810360208301526140d38184612c9a565b90509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614138602183612e25565b9150614143826140dc565b604082019050919050565b600060208201905081810360008301526141678161412b565b9050919050565b600060408201905061418360008301856129b3565b61419060208301846129b3565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006141f3602983612e25565b91506141fe82614197565b604082019050919050565b60006020820190508181036000830152614222816141e6565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614285602383612e25565b915061429082614229565b604082019050919050565b600060208201905081810360008301526142b481614278565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614317602483612e25565b9150614322826142bb565b604082019050919050565b600060208201905081810360008301526143468161430a565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006143748261434d565b61437e8185614358565b935061438e818560208601612e36565b61439781612a9d565b840191505092915050565b600060a0820190506143b760008301886132bc565b6143c460208301876132bc565b81810360408301526143d68186612c9a565b905081810360608301526143ea8185612c9a565b905081810360808301526143fe8184614369565b90509695505050505050565b60008151905061441981612a09565b92915050565b600060208284031215614435576144346128d5565b5b60006144438482850161440a565b91505092915050565b60008160e01c9050919050565b600060033d11156144785760046000803e61447560005161444c565b90505b90565b600060443d101561448b5761450e565b6144936128cb565b60043d036004823e80513d602482011167ffffffffffffffff821117156144bb57505061450e565b808201805167ffffffffffffffff8111156144d9575050505061450e565b80602083010160043d0385018111156144f657505050505061450e565b61450582602001850186612add565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600061456d603483612e25565b915061457882614511565b604082019050919050565b6000602082019050818103600083015261459c81614560565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006145ff602883612e25565b915061460a826145a3565b604082019050919050565b6000602082019050818103600083015261462e816145f2565b9050919050565b600060a08201905061464a60008301886132bc565b61465760208301876132bc565b61466460408301866129b3565b61467160608301856129b3565b81810360808301526146838184614369565b9050969550505050505056fea2646970667358221220aae99694bc5c6f6a72abb4be47ce1b8107e8c707c44999d2a32689a2ff28befe64736f6c63430008090033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c1caf0c19a8ac28c41fe59ba6c754e4b9bd54de90000000000000000000000000000000000000000000000000000000000000016687474703a2f2f3132372e302e302e313a343034302f00000000000000000000

-----Decoded View---------------
Arg [0] : _baseUri (string): http://127.0.0.1:4040/
Arg [1] : cryptoSkullsContractAddress (address): 0xc1Caf0C19A8AC28c41Fe59bA6c754e4b9bd54dE9

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000c1caf0c19a8ac28c41fe59ba6c754e4b9bd54de9
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [3] : 687474703a2f2f3132372e302e302e313a343034302f00000000000000000000


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.