ETH Price: $3,092.06 (-1.34%)

Token

 

Overview

Max Total Supply

737

Holders

328

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x9fc86fA1F9C3cDA8dd94011E54e29106b676bE10
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
TDNButterflyCheckpoint

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract TDNButterflyCheckpoint is ERC1155Burnable, Ownable {
    using ECDSA for bytes32;

    uint256 public constant GOLD_NINJA_SKULLY = 1;
    uint256 public constant BLUE_NINJA_SKULLY = 2;
    uint256 public constant GIMPDICKBUTT = 3;

    IERC721 public skullies;
    IERC721 public ninjas;

    string private _baseTokenURI = "ipfs://QmTz1MN4D98KJUbA6GpAuRF1KZcYwjTtt3BMEG3KqyuviJ/";
	string private _contractURI = "ipfs://QmTDoeVNzF1bkXAeuJkaA2z5YDiJwc4vg8jQXZtA22xekf";

    bool public mintActive;
    bool public whitelistedMintActive;

    mapping(address => bool) public minted;
    mapping(address => bool) public whitelistMinted;

    address private signerAddress;

    constructor(address _skullies, address _ninjas) ERC1155(_baseTokenURI) {
        skullies = IERC721(_skullies);
        ninjas = IERC721(_ninjas);
    }

    function mintOne() external {
        require(!minted[msg.sender], "already minted");
        require(mintActive, "mint not active");
        
        uint256 skulliesBalance = skullies.balanceOf(msg.sender);

        require(skulliesBalance > 0, "not eligible for mint 1 NFT");
        _mint(msg.sender, GOLD_NINJA_SKULLY, 1, "");

        minted[msg.sender] = true;
    }

    function mintTwo() external {
        require(!minted[msg.sender], "already minted");
        require(mintActive, "mint not active");

        uint256 ninjasBalance = ninjas.balanceOf(msg.sender);

        require(ninjasBalance >= 1 && ninjasBalance < 5, "not eligible to mint 2 NFTs");
        _mint(msg.sender, GOLD_NINJA_SKULLY, 1, "");
        _mint(msg.sender, BLUE_NINJA_SKULLY, 1, "");

        minted[msg.sender] = true;
    }

    function mintAll() external {
        require(!minted[msg.sender], "already minted");
        require(mintActive, "mint not active");

        uint256 ninjasBalance = ninjas.balanceOf(msg.sender);
        require(ninjasBalance >= 5, "not eligible for mint all NFTs");

        _mint(msg.sender, GOLD_NINJA_SKULLY, 1, "");
        _mint(msg.sender, BLUE_NINJA_SKULLY, 1, "");
        _mint(msg.sender, GIMPDICKBUTT, 1, "");
        minted[msg.sender] = true;
    }

    function adminMint(address receiver, uint256 id, uint256 qty) external onlyOwner {
        _mint(receiver, id, qty, "");
    }

    function whitelistedMint(
        bytes memory sig, 
        bytes32 hash,
        uint256 id,
        uint256 qty
    ) external {
        require(qty > 0, "minimum 1 token");
		require(whitelistedMintActive, "mint not live");
        require(!whitelistMinted[msg.sender], "already minted");
		require(matchAddresSigner(hash, sig), "no direct mint");
		require(hashTransaction(msg.sender, id, qty) == hash, "hash check failed");

        _mint(msg.sender, id, qty, "");
        whitelistMinted[msg.sender] = true;
    }

    // mint activation functions
    function setMintActive(bool active) external onlyOwner {
        mintActive = active;
    }

    function setWhitelistedMintActive(bool active) external onlyOwner {
        whitelistedMintActive = active;
    }

    function setSignerAddress(address signer) external onlyOwner {
        signerAddress = signer;
    }

    // set up metadata
    function setBaseURI(string memory URI) public onlyOwner {
		_baseTokenURI = URI;
	}

	function setContractURI(string memory URI) public onlyOwner {
		_contractURI = URI;
	}

	function uri(uint256 tokenId) public view override returns (string memory) {
		return string(abi.encodePacked(_baseTokenURI, uint2str(tokenId)));
	}

	function contractURI() public view returns(string memory) {
		return _contractURI;
	}

    // utility functions
    function uint2str(uint256 _i) internal pure returns (string memory _uintAsString) {
		if (_i == 0) {
			return "0";
		}
		uint256 j = _i;
		uint256 len;
		while (j != 0) {
			len++;
			j /= 10;
		}
		bytes memory bstr = new bytes(len);
		uint256 k = len;
		while (_i != 0) {
			k = k - 1;
			uint8 temp = (48 + uint8(_i - (_i / 10) * 10));
			bytes1 b1 = bytes1(temp);
			bstr[k] = b1;
			_i /= 10;
		}
		return string(bstr);
	}

    function matchAddresSigner(bytes32 hash, bytes memory signature) private view returns(bool) {
		return signerAddress == hash.recover(signature);
	}

	function hashTransaction(address sender, uint id, uint256 qty) private pure returns(bytes32) {
		bytes32 hash = keccak256(
			abi.encodePacked("\x19Ethereum Signed Message:\n32", keccak256(abi.encodePacked(sender, id, qty)))
		);
		return hash;
	}

}

File 2 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../ERC1155.sol";

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

        _burn(account, id, value);
    }

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

        _burnBatch(account, ids, values);
    }
}

File 5 of 14 : 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 6 of 14 : 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 7 of 14 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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.
        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. 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 8 of 14 : 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 9 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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 10 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 13 of 14 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

Settings
{
  "metadata": {
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_skullies","type":"address"},{"internalType":"address","name":"_ninjas","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":"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":"BLUE_NINJA_SKULLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GIMPDICKBUTT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GOLD_NINJA_SKULLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintOne","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintTwo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ninjas","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"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":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"active","type":"bool"}],"name":"setMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"setSignerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"active","type":"bool"}],"name":"setWhitelistedMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"skullies","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"sig","type":"bytes"},{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"whitelistedMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistedMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60e060405260366080818152906200309960a03980516200002991600691602090910190620001d8565b50604051806060016040528060358152602001620030646035913980516200005a91600791602090910190620001d8565b503480156200006857600080fd5b50604051620030cf380380620030cf8339810160408190526200008b916200029b565b600680546200009a90620002d3565b80601f0160208091040260200160405190810160405280929190818152602001828054620000c890620002d3565b8015620001195780601f10620000ed5761010080835404028352916020019162000119565b820191906000526020600020905b815481529060010190602001808311620000fb57829003601f168201915b50505050506200012f816200016d60201b60201c565b506200013b3362000186565b600480546001600160a01b039384166001600160a01b0319918216179091556005805492909316911617905562000310565b805162000182906002906020840190620001d8565b5050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001e690620002d3565b90600052602060002090601f0160209004810192826200020a576000855562000255565b82601f106200022557805160ff191683800117855562000255565b8280016001018555821562000255579182015b828111156200025557825182559160200191906001019062000238565b506200026392915062000267565b5090565b5b8082111562000263576000815560010162000268565b80516001600160a01b03811681146200029657600080fd5b919050565b60008060408385031215620002af57600080fd5b620002ba836200027e565b9150620002ca602084016200027e565b90509250929050565b600181811c90821680620002e857607f821691505b602082108114156200030a57634e487b7160e01b600052602260045260246000fd5b50919050565b612d4480620003206000396000f3fe608060405234801561001057600080fd5b50600436106101f85760003560e01c80636b20c4541161011a578063abc0a117116100ad578063e985e9c51161007c578063e985e9c514610423578063ee1cc9441461045f578063f242432a14610472578063f2fde38b14610485578063f5298aca1461049857600080fd5b8063abc0a117146103e2578063c4c1b655146103f5578063cffcdce714610408578063e8a3d4851461041b57600080fd5b8063938e3d7b116100e9578063938e3d7b1461038757806398a8cffe1461039a578063a1d62a30146103bd578063a22cb465146103cf57600080fd5b80636b20c4541461033f578063715018a61461035257806387f712d41461035a5780638da5cb5b1461036257600080fd5b80631cbb2cb3116101925780632eb8409d116101615780632eb8409d146102fc5780634e1273f41461030457806355f804b314610324578063595882b31461033757600080fd5b80631cbb2cb3146102b15780631e7269c5146102b957806325fd90f3146102dc5780632eb2c2d6146102e957600080fd5b8063046dc166116101ce578063046dc166146102635780630ced8637146102765780630e89341c1461027e5780630f6e44e21461029e57600080fd5b80624a84cb146101fd578062a84fa114610212578062fdd58e1461022d57806301ffc9a714610240575b600080fd5b61021061020b3660046120ac565b6104ab565b005b61021a600281565b6040519081526020015b60405180910390f35b61021a61023b3660046120df565b6104fe565b61025361024e36600461211f565b610590565b6040519015158152602001610224565b610210610271366004612143565b6105e2565b61021061062e565b61029161028c36600461215e565b61077d565b60405161022491906121d3565b6102106102ac3660046122a7565b6107b1565b61021a600381565b6102536102c7366004612143565b60096020526000908152604090205460ff1681565b6008546102539060ff1681565b6102106102f7366004612390565b6109b9565b61021a600181565b61031761031236600461243a565b610a50565b6040516102249190612540565b610210610332366004612553565b610b7a565b610210610bbb565b61021061034d3660046125a4565b610d23565b610210610d66565b610210610d9c565b6003546001600160a01b03165b6040516001600160a01b039091168152602001610224565b610210610395366004612553565b610ef3565b6102536103a8366004612143565b600a6020526000908152604090205460ff1681565b60085461025390610100900460ff1681565b6102106103dd366004612628565b610f30565b60045461036f906001600160a01b031681565b61021061040336600461265b565b610f3b565b60055461036f906001600160a01b031681565b610291610f7f565b610253610431366004612676565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b61021061046d36600461265b565b611011565b6102106104803660046126a0565b61104e565b610210610493366004612143565b611093565b6102106104a63660046120ac565b61112e565b6003546001600160a01b031633146104de5760405162461bcd60e51b81526004016104d590612705565b60405180910390fd5b6104f983838360405180602001604052806000815250611171565b505050565b60006001600160a01b03831661056a5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016104d5565b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b14806105c157506001600160e01b031982166303a24d0760e21b145b806105dc57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6003546001600160a01b0316331461060c5760405162461bcd60e51b81526004016104d590612705565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526009602052604090205460ff161561065e5760405162461bcd60e51b81526004016104d59061273a565b60085460ff166106805760405162461bcd60e51b81526004016104d590612762565b600480546040516370a0823160e01b815233928101929092526000916001600160a01b03909116906370a0823190602401602060405180830381865afa1580156106ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f2919061278b565b9050600081116107445760405162461bcd60e51b815260206004820152601b60248201527f6e6f7420656c696769626c6520666f72206d696e742031204e4654000000000060448201526064016104d5565b6107603360018060405180602001604052806000815250611171565b50336000908152600960205260409020805460ff19166001179055565b6060600661078a8361127b565b60405160200161079b9291906127fb565b6040516020818303038152906040529050919050565b600081116107f35760405162461bcd60e51b815260206004820152600f60248201526e36b4b734b6bab69018903a37b5b2b760891b60448201526064016104d5565b600854610100900460ff1661083a5760405162461bcd60e51b815260206004820152600d60248201526c6d696e74206e6f74206c69766560981b60448201526064016104d5565b336000908152600a602052604090205460ff161561086a5760405162461bcd60e51b81526004016104d59061273a565b61087483856113a4565b6108b15760405162461bcd60e51b815260206004820152600e60248201526d1b9bc8191a5c9958dd081b5a5b9d60921b60448201526064016104d5565b604080513360601b6bffffffffffffffffffffffff1916602080830191909152603482018590526054808301859052835180840390910181526074830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a333200000000609484015260b0808401919091528351808403909101815260d09092019092528051910120831461097e5760405162461bcd60e51b81526020600482015260116024820152701a185cda0818da1958dac819985a5b1959607a1b60448201526064016104d5565b61099933838360405180602001604052806000815250611171565b5050336000908152600a60205260409020805460ff191660011790555050565b6001600160a01b0385163314806109d557506109d58533610431565b610a3c5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016104d5565b610a4985858585856113c8565b5050505050565b60608151835114610ab55760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016104d5565b6000835167ffffffffffffffff811115610ad157610ad16121e6565b604051908082528060200260200182016040528015610afa578160200160208202803683370190505b50905060005b8451811015610b7257610b45858281518110610b1e57610b1e6128a2565b6020026020010151858381518110610b3857610b386128a2565b60200260200101516104fe565b828281518110610b5757610b576128a2565b6020908102919091010152610b6b816128ce565b9050610b00565b509392505050565b6003546001600160a01b03163314610ba45760405162461bcd60e51b81526004016104d590612705565b8051610bb7906006906020840190611ff7565b5050565b3360009081526009602052604090205460ff1615610beb5760405162461bcd60e51b81526004016104d59061273a565b60085460ff16610c0d5760405162461bcd60e51b81526004016104d590612762565b6005546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610c56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7a919061278b565b90506005811015610ccd5760405162461bcd60e51b815260206004820152601e60248201527f6e6f7420656c696769626c6520666f72206d696e7420616c6c204e465473000060448201526064016104d5565b610ce93360018060405180602001604052806000815250611171565b610d06336002600160405180602001604052806000815250611171565b610760336003600160405180602001604052806000815250611171565b6001600160a01b038316331480610d3f5750610d3f8333610431565b610d5b5760405162461bcd60e51b81526004016104d5906128e9565b6104f9838383611564565b6003546001600160a01b03163314610d905760405162461bcd60e51b81526004016104d590612705565b610d9a60006116e0565b565b3360009081526009602052604090205460ff1615610dcc5760405162461bcd60e51b81526004016104d59061273a565b60085460ff16610dee5760405162461bcd60e51b81526004016104d590612762565b6005546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610e37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5b919061278b565b905060018110158015610e6e5750600581105b610eba5760405162461bcd60e51b815260206004820152601b60248201527f6e6f7420656c696769626c6520746f206d696e742032204e465473000000000060448201526064016104d5565b610ed63360018060405180602001604052806000815250611171565b610760336002600160405180602001604052806000815250611171565b6003546001600160a01b03163314610f1d5760405162461bcd60e51b81526004016104d590612705565b8051610bb7906007906020840190611ff7565b610bb7338383611732565b6003546001600160a01b03163314610f655760405162461bcd60e51b81526004016104d590612705565b600880549115156101000261ff0019909216919091179055565b606060078054610f8e906127a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610fba906127a4565b80156110075780601f10610fdc57610100808354040283529160200191611007565b820191906000526020600020905b815481529060010190602001808311610fea57829003601f168201915b5050505050905090565b6003546001600160a01b0316331461103b5760405162461bcd60e51b81526004016104d590612705565b6008805460ff1916911515919091179055565b6001600160a01b03851633148061106a575061106a8533610431565b6110865760405162461bcd60e51b81526004016104d5906128e9565b610a498585858585611813565b6003546001600160a01b031633146110bd5760405162461bcd60e51b81526004016104d590612705565b6001600160a01b0381166111225760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104d5565b61112b816116e0565b50565b6001600160a01b03831633148061114a575061114a8333610431565b6111665760405162461bcd60e51b81526004016104d5906128e9565b6104f9838383611930565b6001600160a01b0384166111d15760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016104d5565b336111eb816000876111e288611a32565b610a4988611a32565b6000848152602081815260408083206001600160a01b03891684529091528120805485929061121b908490612932565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610a4981600087878787611a7d565b60608161129f5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156112c957806112b3816128ce565b91506112c29050600a8361294a565b91506112a3565b60008167ffffffffffffffff8111156112e4576112e46121e6565b6040519080825280601f01601f19166020018201604052801561130e576020820181803683370190505b509050815b851561139b5761132460018261296c565b90506000611333600a8861294a565b61133e90600a612983565b611348908861296c565b6113539060306129a2565b905060008160f81b905080848481518110611370576113706128a2565b60200101906001600160f81b031916908160001a905350611392600a8961294a565b97505050611313565b50949350505050565b60006113b08383611bd9565b600b546001600160a01b039182169116149392505050565b81518351146113e95760405162461bcd60e51b81526004016104d5906129c7565b6001600160a01b03841661140f5760405162461bcd60e51b81526004016104d590612a0f565b3360005b84518110156114f6576000858281518110611430576114306128a2565b60200260200101519050600085838151811061144e5761144e6128a2565b602090810291909101810151600084815280835260408082206001600160a01b038e16835290935291909120549091508181101561149e5760405162461bcd60e51b81526004016104d590612a54565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906114db908490612932565b92505081905550505050806114ef906128ce565b9050611413565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611546929190612a9e565b60405180910390a461155c818787878787611bf5565b505050505050565b6001600160a01b03831661158a5760405162461bcd60e51b81526004016104d590612ac3565b80518251146115ab5760405162461bcd60e51b81526004016104d5906129c7565b604080516020810190915260009081905233905b83518110156116815760008482815181106115dc576115dc6128a2565b6020026020010151905060008483815181106115fa576115fa6128a2565b602090810291909101810151600084815280835260408082206001600160a01b038c16835290935291909120549091508181101561164a5760405162461bcd60e51b81526004016104d590612b06565b6000928352602083815260408085206001600160a01b038b1686529091529092209103905580611679816128ce565b9150506115bf565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516116d2929190612a9e565b60405180910390a450505050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156117a65760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016104d5565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0384166118395760405162461bcd60e51b81526004016104d590612a0f565b336118498187876111e288611a32565b6000848152602081815260408083206001600160a01b038a1684529091529020548381101561188a5760405162461bcd60e51b81526004016104d590612a54565b6000858152602081815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906118c7908490612932565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611927828888888888611a7d565b50505050505050565b6001600160a01b0383166119565760405162461bcd60e51b81526004016104d590612ac3565b336119868185600061196787611a32565b61197087611a32565b5050604080516020810190915260009052505050565b6000838152602081815260408083206001600160a01b0388168452909152902054828110156119c75760405162461bcd60e51b81526004016104d590612b06565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611a6c57611a6c6128a2565b602090810291909101015292915050565b6001600160a01b0384163b1561155c5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611ac19089908990889088908890600401612b4a565b6020604051808303816000875af1925050508015611afc575060408051601f3d908101601f19168201909252611af991810190612b8f565b60015b611ba957611b08612bac565b806308c379a01415611b425750611b1d612bc8565b80611b285750611b44565b8060405162461bcd60e51b81526004016104d591906121d3565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016104d5565b6001600160e01b0319811663f23a6e6160e01b146119275760405162461bcd60e51b81526004016104d590612c52565b6000806000611be88585611cb0565b91509150610b7281611d20565b6001600160a01b0384163b1561155c5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611c399089908990889088908890600401612c9a565b6020604051808303816000875af1925050508015611c74575060408051601f3d908101601f19168201909252611c7191810190612b8f565b60015b611c8057611b08612bac565b6001600160e01b0319811663bc197c8160e01b146119275760405162461bcd60e51b81526004016104d590612c52565b600080825160411415611ce75760208301516040840151606085015160001a611cdb87828585611edb565b94509450505050611d19565b825160401415611d115760208301516040840151611d06868383611fc8565b935093505050611d19565b506000905060025b9250929050565b6000816004811115611d3457611d34612cf8565b1415611d3d5750565b6001816004811115611d5157611d51612cf8565b1415611d9f5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016104d5565b6002816004811115611db357611db3612cf8565b1415611e015760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016104d5565b6003816004811115611e1557611e15612cf8565b1415611e6e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016104d5565b6004816004811115611e8257611e82612cf8565b141561112b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016104d5565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611f125750600090506003611fbf565b8460ff16601b14158015611f2a57508460ff16601c14155b15611f3b5750600090506004611fbf565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611f8f573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611fb857600060019250925050611fbf565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b01611fe987828885611edb565b935093505050935093915050565b828054612003906127a4565b90600052602060002090601f016020900481019282612025576000855561206b565b82601f1061203e57805160ff191683800117855561206b565b8280016001018555821561206b579182015b8281111561206b578251825591602001919060010190612050565b5061207792915061207b565b5090565b5b80821115612077576000815560010161207c565b80356001600160a01b03811681146120a757600080fd5b919050565b6000806000606084860312156120c157600080fd5b6120ca84612090565b95602085013595506040909401359392505050565b600080604083850312156120f257600080fd5b6120fb83612090565b946020939093013593505050565b6001600160e01b03198116811461112b57600080fd5b60006020828403121561213157600080fd5b813561213c81612109565b9392505050565b60006020828403121561215557600080fd5b61213c82612090565b60006020828403121561217057600080fd5b5035919050565b60005b8381101561219257818101518382015260200161217a565b838111156121a1576000848401525b50505050565b600081518084526121bf816020860160208601612177565b601f01601f19169290920160200192915050565b60208152600061213c60208301846121a7565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715612222576122226121e6565b6040525050565b600067ffffffffffffffff831115612243576122436121e6565b60405161225a601f8501601f1916602001826121fc565b80915083815284848401111561226f57600080fd5b83836020830137600060208583010152509392505050565b600082601f83011261229857600080fd5b61213c83833560208501612229565b600080600080608085870312156122bd57600080fd5b843567ffffffffffffffff8111156122d457600080fd5b6122e087828801612287565b97602087013597506040870135966060013595509350505050565b600067ffffffffffffffff821115612315576123156121e6565b5060051b60200190565b600082601f83011261233057600080fd5b8135602061233d826122fb565b60405161234a82826121fc565b83815260059390931b850182019282810191508684111561236a57600080fd5b8286015b84811015612385578035835291830191830161236e565b509695505050505050565b600080600080600060a086880312156123a857600080fd5b6123b186612090565b94506123bf60208701612090565b9350604086013567ffffffffffffffff808211156123dc57600080fd5b6123e889838a0161231f565b945060608801359150808211156123fe57600080fd5b61240a89838a0161231f565b9350608088013591508082111561242057600080fd5b5061242d88828901612287565b9150509295509295909350565b6000806040838503121561244d57600080fd5b823567ffffffffffffffff8082111561246557600080fd5b818501915085601f83011261247957600080fd5b81356020612486826122fb565b60405161249382826121fc565b83815260059390931b85018201928281019150898411156124b357600080fd5b948201945b838610156124d8576124c986612090565b825294820194908201906124b8565b965050860135925050808211156124ee57600080fd5b506124fb8582860161231f565b9150509250929050565b600081518084526020808501945080840160005b8381101561253557815187529582019590820190600101612519565b509495945050505050565b60208152600061213c6020830184612505565b60006020828403121561256557600080fd5b813567ffffffffffffffff81111561257c57600080fd5b8201601f8101841361258d57600080fd5b61259c84823560208401612229565b949350505050565b6000806000606084860312156125b957600080fd5b6125c284612090565b9250602084013567ffffffffffffffff808211156125df57600080fd5b6125eb8783880161231f565b9350604086013591508082111561260157600080fd5b5061260e8682870161231f565b9150509250925092565b803580151581146120a757600080fd5b6000806040838503121561263b57600080fd5b61264483612090565b915061265260208401612618565b90509250929050565b60006020828403121561266d57600080fd5b61213c82612618565b6000806040838503121561268957600080fd5b61269283612090565b915061265260208401612090565b600080600080600060a086880312156126b857600080fd5b6126c186612090565b94506126cf60208701612090565b93506040860135925060608601359150608086013567ffffffffffffffff8111156126f957600080fd5b61242d88828901612287565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600e908201526d185b1c9958591e481b5a5b9d195960921b604082015260600190565b6020808252600f908201526e6d696e74206e6f742061637469766560881b604082015260600190565b60006020828403121561279d57600080fd5b5051919050565b600181811c908216806127b857607f821691505b602082108114156127d957634e487b7160e01b600052602260045260246000fd5b50919050565b600081516127f1818560208601612177565b9290920192915050565b600080845481600182811c91508083168061281757607f831692505b602080841082141561283757634e487b7160e01b86526022600452602486fd5b81801561284b576001811461285c57612889565b60ff19861689528489019650612889565b60008b81526020902060005b868110156128815781548b820152908501908301612868565b505084890196505b50505050505061289981856127df565b95945050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156128e2576128e26128b8565b5060010190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b60008219821115612945576129456128b8565b500190565b60008261296757634e487b7160e01b600052601260045260246000fd5b500490565b60008282101561297e5761297e6128b8565b500390565b600081600019048311821515161561299d5761299d6128b8565b500290565b600060ff821660ff84168060ff038211156129bf576129bf6128b8565b019392505050565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b604081526000612ab16040830185612505565b82810360208401526128998185612505565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090612b84908301846121a7565b979650505050505050565b600060208284031215612ba157600080fd5b815161213c81612109565b600060033d1115612bc55760046000803e5060005160e01c5b90565b600060443d1015612bd65790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715612c0657505050505090565b8285019150815181811115612c1e5750505050505090565b843d8701016020828501011115612c385750505050505090565b612c47602082860101876121fc565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b0386811682528516602082015260a060408201819052600090612cc690830186612505565b8281036060840152612cd88186612505565b90508281036080840152612cec81856121a7565b98975050505050505050565b634e487b7160e01b600052602160045260246000fdfea264697066735822122002c171f387f7769a498cd0365763011f4899e7376472e27185bc2288999ac0ab64736f6c634300080b0033697066733a2f2f516d54446f65564e7a4631626b584165754a6b6141327a355944694a7763347667386a51585a7441323278656b66697066733a2f2f516d547a314d4e344439384b4a55624136477041755246314b5a6359776a54747433424d4547334b71797576694a2f00000000000000000000000063c9fa23f14c17c5a6f8a0f706bd105bb635e3390000000000000000000000005ec2642b5c9fb3c78ff39dcca37e277ed1695ff0

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101f85760003560e01c80636b20c4541161011a578063abc0a117116100ad578063e985e9c51161007c578063e985e9c514610423578063ee1cc9441461045f578063f242432a14610472578063f2fde38b14610485578063f5298aca1461049857600080fd5b8063abc0a117146103e2578063c4c1b655146103f5578063cffcdce714610408578063e8a3d4851461041b57600080fd5b8063938e3d7b116100e9578063938e3d7b1461038757806398a8cffe1461039a578063a1d62a30146103bd578063a22cb465146103cf57600080fd5b80636b20c4541461033f578063715018a61461035257806387f712d41461035a5780638da5cb5b1461036257600080fd5b80631cbb2cb3116101925780632eb8409d116101615780632eb8409d146102fc5780634e1273f41461030457806355f804b314610324578063595882b31461033757600080fd5b80631cbb2cb3146102b15780631e7269c5146102b957806325fd90f3146102dc5780632eb2c2d6146102e957600080fd5b8063046dc166116101ce578063046dc166146102635780630ced8637146102765780630e89341c1461027e5780630f6e44e21461029e57600080fd5b80624a84cb146101fd578062a84fa114610212578062fdd58e1461022d57806301ffc9a714610240575b600080fd5b61021061020b3660046120ac565b6104ab565b005b61021a600281565b6040519081526020015b60405180910390f35b61021a61023b3660046120df565b6104fe565b61025361024e36600461211f565b610590565b6040519015158152602001610224565b610210610271366004612143565b6105e2565b61021061062e565b61029161028c36600461215e565b61077d565b60405161022491906121d3565b6102106102ac3660046122a7565b6107b1565b61021a600381565b6102536102c7366004612143565b60096020526000908152604090205460ff1681565b6008546102539060ff1681565b6102106102f7366004612390565b6109b9565b61021a600181565b61031761031236600461243a565b610a50565b6040516102249190612540565b610210610332366004612553565b610b7a565b610210610bbb565b61021061034d3660046125a4565b610d23565b610210610d66565b610210610d9c565b6003546001600160a01b03165b6040516001600160a01b039091168152602001610224565b610210610395366004612553565b610ef3565b6102536103a8366004612143565b600a6020526000908152604090205460ff1681565b60085461025390610100900460ff1681565b6102106103dd366004612628565b610f30565b60045461036f906001600160a01b031681565b61021061040336600461265b565b610f3b565b60055461036f906001600160a01b031681565b610291610f7f565b610253610431366004612676565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b61021061046d36600461265b565b611011565b6102106104803660046126a0565b61104e565b610210610493366004612143565b611093565b6102106104a63660046120ac565b61112e565b6003546001600160a01b031633146104de5760405162461bcd60e51b81526004016104d590612705565b60405180910390fd5b6104f983838360405180602001604052806000815250611171565b505050565b60006001600160a01b03831661056a5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016104d5565b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b14806105c157506001600160e01b031982166303a24d0760e21b145b806105dc57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6003546001600160a01b0316331461060c5760405162461bcd60e51b81526004016104d590612705565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526009602052604090205460ff161561065e5760405162461bcd60e51b81526004016104d59061273a565b60085460ff166106805760405162461bcd60e51b81526004016104d590612762565b600480546040516370a0823160e01b815233928101929092526000916001600160a01b03909116906370a0823190602401602060405180830381865afa1580156106ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f2919061278b565b9050600081116107445760405162461bcd60e51b815260206004820152601b60248201527f6e6f7420656c696769626c6520666f72206d696e742031204e4654000000000060448201526064016104d5565b6107603360018060405180602001604052806000815250611171565b50336000908152600960205260409020805460ff19166001179055565b6060600661078a8361127b565b60405160200161079b9291906127fb565b6040516020818303038152906040529050919050565b600081116107f35760405162461bcd60e51b815260206004820152600f60248201526e36b4b734b6bab69018903a37b5b2b760891b60448201526064016104d5565b600854610100900460ff1661083a5760405162461bcd60e51b815260206004820152600d60248201526c6d696e74206e6f74206c69766560981b60448201526064016104d5565b336000908152600a602052604090205460ff161561086a5760405162461bcd60e51b81526004016104d59061273a565b61087483856113a4565b6108b15760405162461bcd60e51b815260206004820152600e60248201526d1b9bc8191a5c9958dd081b5a5b9d60921b60448201526064016104d5565b604080513360601b6bffffffffffffffffffffffff1916602080830191909152603482018590526054808301859052835180840390910181526074830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a333200000000609484015260b0808401919091528351808403909101815260d09092019092528051910120831461097e5760405162461bcd60e51b81526020600482015260116024820152701a185cda0818da1958dac819985a5b1959607a1b60448201526064016104d5565b61099933838360405180602001604052806000815250611171565b5050336000908152600a60205260409020805460ff191660011790555050565b6001600160a01b0385163314806109d557506109d58533610431565b610a3c5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016104d5565b610a4985858585856113c8565b5050505050565b60608151835114610ab55760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016104d5565b6000835167ffffffffffffffff811115610ad157610ad16121e6565b604051908082528060200260200182016040528015610afa578160200160208202803683370190505b50905060005b8451811015610b7257610b45858281518110610b1e57610b1e6128a2565b6020026020010151858381518110610b3857610b386128a2565b60200260200101516104fe565b828281518110610b5757610b576128a2565b6020908102919091010152610b6b816128ce565b9050610b00565b509392505050565b6003546001600160a01b03163314610ba45760405162461bcd60e51b81526004016104d590612705565b8051610bb7906006906020840190611ff7565b5050565b3360009081526009602052604090205460ff1615610beb5760405162461bcd60e51b81526004016104d59061273a565b60085460ff16610c0d5760405162461bcd60e51b81526004016104d590612762565b6005546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610c56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7a919061278b565b90506005811015610ccd5760405162461bcd60e51b815260206004820152601e60248201527f6e6f7420656c696769626c6520666f72206d696e7420616c6c204e465473000060448201526064016104d5565b610ce93360018060405180602001604052806000815250611171565b610d06336002600160405180602001604052806000815250611171565b610760336003600160405180602001604052806000815250611171565b6001600160a01b038316331480610d3f5750610d3f8333610431565b610d5b5760405162461bcd60e51b81526004016104d5906128e9565b6104f9838383611564565b6003546001600160a01b03163314610d905760405162461bcd60e51b81526004016104d590612705565b610d9a60006116e0565b565b3360009081526009602052604090205460ff1615610dcc5760405162461bcd60e51b81526004016104d59061273a565b60085460ff16610dee5760405162461bcd60e51b81526004016104d590612762565b6005546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610e37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5b919061278b565b905060018110158015610e6e5750600581105b610eba5760405162461bcd60e51b815260206004820152601b60248201527f6e6f7420656c696769626c6520746f206d696e742032204e465473000000000060448201526064016104d5565b610ed63360018060405180602001604052806000815250611171565b610760336002600160405180602001604052806000815250611171565b6003546001600160a01b03163314610f1d5760405162461bcd60e51b81526004016104d590612705565b8051610bb7906007906020840190611ff7565b610bb7338383611732565b6003546001600160a01b03163314610f655760405162461bcd60e51b81526004016104d590612705565b600880549115156101000261ff0019909216919091179055565b606060078054610f8e906127a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610fba906127a4565b80156110075780601f10610fdc57610100808354040283529160200191611007565b820191906000526020600020905b815481529060010190602001808311610fea57829003601f168201915b5050505050905090565b6003546001600160a01b0316331461103b5760405162461bcd60e51b81526004016104d590612705565b6008805460ff1916911515919091179055565b6001600160a01b03851633148061106a575061106a8533610431565b6110865760405162461bcd60e51b81526004016104d5906128e9565b610a498585858585611813565b6003546001600160a01b031633146110bd5760405162461bcd60e51b81526004016104d590612705565b6001600160a01b0381166111225760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104d5565b61112b816116e0565b50565b6001600160a01b03831633148061114a575061114a8333610431565b6111665760405162461bcd60e51b81526004016104d5906128e9565b6104f9838383611930565b6001600160a01b0384166111d15760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016104d5565b336111eb816000876111e288611a32565b610a4988611a32565b6000848152602081815260408083206001600160a01b03891684529091528120805485929061121b908490612932565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610a4981600087878787611a7d565b60608161129f5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156112c957806112b3816128ce565b91506112c29050600a8361294a565b91506112a3565b60008167ffffffffffffffff8111156112e4576112e46121e6565b6040519080825280601f01601f19166020018201604052801561130e576020820181803683370190505b509050815b851561139b5761132460018261296c565b90506000611333600a8861294a565b61133e90600a612983565b611348908861296c565b6113539060306129a2565b905060008160f81b905080848481518110611370576113706128a2565b60200101906001600160f81b031916908160001a905350611392600a8961294a565b97505050611313565b50949350505050565b60006113b08383611bd9565b600b546001600160a01b039182169116149392505050565b81518351146113e95760405162461bcd60e51b81526004016104d5906129c7565b6001600160a01b03841661140f5760405162461bcd60e51b81526004016104d590612a0f565b3360005b84518110156114f6576000858281518110611430576114306128a2565b60200260200101519050600085838151811061144e5761144e6128a2565b602090810291909101810151600084815280835260408082206001600160a01b038e16835290935291909120549091508181101561149e5760405162461bcd60e51b81526004016104d590612a54565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906114db908490612932565b92505081905550505050806114ef906128ce565b9050611413565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611546929190612a9e565b60405180910390a461155c818787878787611bf5565b505050505050565b6001600160a01b03831661158a5760405162461bcd60e51b81526004016104d590612ac3565b80518251146115ab5760405162461bcd60e51b81526004016104d5906129c7565b604080516020810190915260009081905233905b83518110156116815760008482815181106115dc576115dc6128a2565b6020026020010151905060008483815181106115fa576115fa6128a2565b602090810291909101810151600084815280835260408082206001600160a01b038c16835290935291909120549091508181101561164a5760405162461bcd60e51b81526004016104d590612b06565b6000928352602083815260408085206001600160a01b038b1686529091529092209103905580611679816128ce565b9150506115bf565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516116d2929190612a9e565b60405180910390a450505050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156117a65760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016104d5565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0384166118395760405162461bcd60e51b81526004016104d590612a0f565b336118498187876111e288611a32565b6000848152602081815260408083206001600160a01b038a1684529091529020548381101561188a5760405162461bcd60e51b81526004016104d590612a54565b6000858152602081815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906118c7908490612932565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611927828888888888611a7d565b50505050505050565b6001600160a01b0383166119565760405162461bcd60e51b81526004016104d590612ac3565b336119868185600061196787611a32565b61197087611a32565b5050604080516020810190915260009052505050565b6000838152602081815260408083206001600160a01b0388168452909152902054828110156119c75760405162461bcd60e51b81526004016104d590612b06565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611a6c57611a6c6128a2565b602090810291909101015292915050565b6001600160a01b0384163b1561155c5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611ac19089908990889088908890600401612b4a565b6020604051808303816000875af1925050508015611afc575060408051601f3d908101601f19168201909252611af991810190612b8f565b60015b611ba957611b08612bac565b806308c379a01415611b425750611b1d612bc8565b80611b285750611b44565b8060405162461bcd60e51b81526004016104d591906121d3565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016104d5565b6001600160e01b0319811663f23a6e6160e01b146119275760405162461bcd60e51b81526004016104d590612c52565b6000806000611be88585611cb0565b91509150610b7281611d20565b6001600160a01b0384163b1561155c5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611c399089908990889088908890600401612c9a565b6020604051808303816000875af1925050508015611c74575060408051601f3d908101601f19168201909252611c7191810190612b8f565b60015b611c8057611b08612bac565b6001600160e01b0319811663bc197c8160e01b146119275760405162461bcd60e51b81526004016104d590612c52565b600080825160411415611ce75760208301516040840151606085015160001a611cdb87828585611edb565b94509450505050611d19565b825160401415611d115760208301516040840151611d06868383611fc8565b935093505050611d19565b506000905060025b9250929050565b6000816004811115611d3457611d34612cf8565b1415611d3d5750565b6001816004811115611d5157611d51612cf8565b1415611d9f5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016104d5565b6002816004811115611db357611db3612cf8565b1415611e015760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016104d5565b6003816004811115611e1557611e15612cf8565b1415611e6e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016104d5565b6004816004811115611e8257611e82612cf8565b141561112b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016104d5565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611f125750600090506003611fbf565b8460ff16601b14158015611f2a57508460ff16601c14155b15611f3b5750600090506004611fbf565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611f8f573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611fb857600060019250925050611fbf565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b01611fe987828885611edb565b935093505050935093915050565b828054612003906127a4565b90600052602060002090601f016020900481019282612025576000855561206b565b82601f1061203e57805160ff191683800117855561206b565b8280016001018555821561206b579182015b8281111561206b578251825591602001919060010190612050565b5061207792915061207b565b5090565b5b80821115612077576000815560010161207c565b80356001600160a01b03811681146120a757600080fd5b919050565b6000806000606084860312156120c157600080fd5b6120ca84612090565b95602085013595506040909401359392505050565b600080604083850312156120f257600080fd5b6120fb83612090565b946020939093013593505050565b6001600160e01b03198116811461112b57600080fd5b60006020828403121561213157600080fd5b813561213c81612109565b9392505050565b60006020828403121561215557600080fd5b61213c82612090565b60006020828403121561217057600080fd5b5035919050565b60005b8381101561219257818101518382015260200161217a565b838111156121a1576000848401525b50505050565b600081518084526121bf816020860160208601612177565b601f01601f19169290920160200192915050565b60208152600061213c60208301846121a7565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715612222576122226121e6565b6040525050565b600067ffffffffffffffff831115612243576122436121e6565b60405161225a601f8501601f1916602001826121fc565b80915083815284848401111561226f57600080fd5b83836020830137600060208583010152509392505050565b600082601f83011261229857600080fd5b61213c83833560208501612229565b600080600080608085870312156122bd57600080fd5b843567ffffffffffffffff8111156122d457600080fd5b6122e087828801612287565b97602087013597506040870135966060013595509350505050565b600067ffffffffffffffff821115612315576123156121e6565b5060051b60200190565b600082601f83011261233057600080fd5b8135602061233d826122fb565b60405161234a82826121fc565b83815260059390931b850182019282810191508684111561236a57600080fd5b8286015b84811015612385578035835291830191830161236e565b509695505050505050565b600080600080600060a086880312156123a857600080fd5b6123b186612090565b94506123bf60208701612090565b9350604086013567ffffffffffffffff808211156123dc57600080fd5b6123e889838a0161231f565b945060608801359150808211156123fe57600080fd5b61240a89838a0161231f565b9350608088013591508082111561242057600080fd5b5061242d88828901612287565b9150509295509295909350565b6000806040838503121561244d57600080fd5b823567ffffffffffffffff8082111561246557600080fd5b818501915085601f83011261247957600080fd5b81356020612486826122fb565b60405161249382826121fc565b83815260059390931b85018201928281019150898411156124b357600080fd5b948201945b838610156124d8576124c986612090565b825294820194908201906124b8565b965050860135925050808211156124ee57600080fd5b506124fb8582860161231f565b9150509250929050565b600081518084526020808501945080840160005b8381101561253557815187529582019590820190600101612519565b509495945050505050565b60208152600061213c6020830184612505565b60006020828403121561256557600080fd5b813567ffffffffffffffff81111561257c57600080fd5b8201601f8101841361258d57600080fd5b61259c84823560208401612229565b949350505050565b6000806000606084860312156125b957600080fd5b6125c284612090565b9250602084013567ffffffffffffffff808211156125df57600080fd5b6125eb8783880161231f565b9350604086013591508082111561260157600080fd5b5061260e8682870161231f565b9150509250925092565b803580151581146120a757600080fd5b6000806040838503121561263b57600080fd5b61264483612090565b915061265260208401612618565b90509250929050565b60006020828403121561266d57600080fd5b61213c82612618565b6000806040838503121561268957600080fd5b61269283612090565b915061265260208401612090565b600080600080600060a086880312156126b857600080fd5b6126c186612090565b94506126cf60208701612090565b93506040860135925060608601359150608086013567ffffffffffffffff8111156126f957600080fd5b61242d88828901612287565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600e908201526d185b1c9958591e481b5a5b9d195960921b604082015260600190565b6020808252600f908201526e6d696e74206e6f742061637469766560881b604082015260600190565b60006020828403121561279d57600080fd5b5051919050565b600181811c908216806127b857607f821691505b602082108114156127d957634e487b7160e01b600052602260045260246000fd5b50919050565b600081516127f1818560208601612177565b9290920192915050565b600080845481600182811c91508083168061281757607f831692505b602080841082141561283757634e487b7160e01b86526022600452602486fd5b81801561284b576001811461285c57612889565b60ff19861689528489019650612889565b60008b81526020902060005b868110156128815781548b820152908501908301612868565b505084890196505b50505050505061289981856127df565b95945050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156128e2576128e26128b8565b5060010190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b60008219821115612945576129456128b8565b500190565b60008261296757634e487b7160e01b600052601260045260246000fd5b500490565b60008282101561297e5761297e6128b8565b500390565b600081600019048311821515161561299d5761299d6128b8565b500290565b600060ff821660ff84168060ff038211156129bf576129bf6128b8565b019392505050565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b604081526000612ab16040830185612505565b82810360208401526128998185612505565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090612b84908301846121a7565b979650505050505050565b600060208284031215612ba157600080fd5b815161213c81612109565b600060033d1115612bc55760046000803e5060005160e01c5b90565b600060443d1015612bd65790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715612c0657505050505090565b8285019150815181811115612c1e5750505050505090565b843d8701016020828501011115612c385750505050505090565b612c47602082860101876121fc565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b0386811682528516602082015260a060408201819052600090612cc690830186612505565b8281036060840152612cd88186612505565b90508281036080840152612cec81856121a7565b98975050505050505050565b634e487b7160e01b600052602160045260246000fdfea264697066735822122002c171f387f7769a498cd0365763011f4899e7376472e27185bc2288999ac0ab64736f6c634300080b0033

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

00000000000000000000000063c9fa23f14c17c5a6f8a0f706bd105bb635e3390000000000000000000000005ec2642b5c9fb3c78ff39dcca37e277ed1695ff0

-----Decoded View---------------
Arg [0] : _skullies (address): 0x63c9fa23F14c17C5a6f8a0f706BD105Bb635E339
Arg [1] : _ninjas (address): 0x5EC2642b5c9fB3c78fF39DcCA37E277Ed1695ff0

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000063c9fa23f14c17c5a6f8a0f706bd105bb635e339
Arg [1] : 0000000000000000000000005ec2642b5c9fb3c78ff39dcca37e277ed1695ff0


Deployed Bytecode Sourcemap

312:4444:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2444:126;;;;;;:::i;:::-;;:::i;:::-;;459:45;;503:1;459:45;;;;;665:25:14;;;653:2;638:18;459:45:0;;;;;;;;2170:228:2;;;;;;:::i;:::-;;:::i;1221:305::-;;;;;;:::i;:::-;;:::i;:::-;;;1511:14:14;;1504:22;1486:41;;1474:2;1459:18;1221:305:2;1346:187:14;3351:100:0;;;;;;:::i;:::-;;:::i;1156:373::-;;;:::i;3655:148::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2576:520::-;;;;;;:::i;:::-;;:::i;510:40::-;;549:1;510:40;;864:38;;;;;;:::i;:::-;;;;;;;;;;;;;;;;796:22;;;;;;;;;4045:430:2;;;;;;:::i;:::-;;:::i;408:45:0:-;;452:1;408:45;;2555:508:2;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;3480:83:0:-;;;;;;:::i;:::-;;:::i;1975:463::-;;;:::i;709:342:5:-;;;;;;:::i;:::-;;:::i;1668:101:1:-;;;:::i;1535:434:0:-;;;:::i;1036:85:1:-;1108:6;;-1:-1:-1;;;;;1108:6:1;1036:85;;;-1:-1:-1;;;;;9378:32:14;;;9360:51;;9348:2;9333:18;1036:85:1;9214:203:14;3566:86:0;;;;;;:::i;:::-;;:::i;908:47::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;824:33;;;;;;;;;;;;3131:153:2;;;;;;:::i;:::-;;:::i;557:23:0:-;;;;;-1:-1:-1;;;;;557:23:0;;;3232:113;;;;;;:::i;:::-;;:::i;586:21::-;;;;;-1:-1:-1;;;;;586:21:0;;;3806:85;;;:::i;3351:166:2:-;;;;;;:::i;:::-;-1:-1:-1;;;;;3473:27:2;;;3450:4;3473:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;3351:166;3135:91:0;;;;;;:::i;:::-;;:::i;3584:389:2:-;;;;;;:::i;:::-;;:::i;1918:198:1:-;;;;;;:::i;:::-;;:::i;393:310:5:-;;;;;;:::i;:::-;;:::i;2444:126:0:-;1108:6:1;;-1:-1:-1;;;;;1108:6:1;719:10:9;1248:23:1;1240:68;;;;-1:-1:-1;;;1240:68:1;;;;;;;:::i;:::-;;;;;;;;;2535:28:0::1;2541:8;2551:2;2555:3;2535:28;;;;;;;;;;;::::0;:5:::1;:28::i;:::-;2444:126:::0;;;:::o;2170:228:2:-;2256:7;-1:-1:-1;;;;;2283:21:2;;2275:77;;;;-1:-1:-1;;;2275:77:2;;11694:2:14;2275:77:2;;;11676:21:14;11733:2;11713:18;;;11706:30;11772:34;11752:18;;;11745:62;-1:-1:-1;;;11823:18:14;;;11816:41;11874:19;;2275:77:2;11492:407:14;2275:77:2;-1:-1:-1;2369:9:2;:13;;;;;;;;;;;-1:-1:-1;;;;;2369:22:2;;;;;;;;;;;;2170:228::o;1221:305::-;1323:4;-1:-1:-1;;;;;;1358:41:2;;-1:-1:-1;;;1358:41:2;;:109;;-1:-1:-1;;;;;;;1415:52:2;;-1:-1:-1;;;1415:52:2;1358:109;:161;;;-1:-1:-1;;;;;;;;;;937:40:12;;;1483:36:2;1339:180;1221:305;-1:-1:-1;;1221:305:2:o;3351:100:0:-;1108:6:1;;-1:-1:-1;;;;;1108:6:1;719:10:9;1248:23:1;1240:68;;;;-1:-1:-1;;;1240:68:1;;;;;;;:::i;:::-;3422:13:0::1;:22:::0;;-1:-1:-1;;;;;;3422:22:0::1;-1:-1:-1::0;;;;;3422:22:0;;;::::1;::::0;;;::::1;::::0;;3351:100::o;1156:373::-;1210:10;1203:18;;;;:6;:18;;;;;;;;1202:19;1194:46;;;;-1:-1:-1;;;1194:46:0;;;;;;;:::i;:::-;1258:10;;;;1250:38;;;;-1:-1:-1;;;1250:38:0;;;;;;;:::i;:::-;1333:8;;;:30;;-1:-1:-1;;;1333:30:0;;1352:10;1333:30;;;9360:51:14;;;;1307:23:0;;-1:-1:-1;;;;;1333:8:0;;;;:18;;9333::14;;1333:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1307:56;;1400:1;1382:15;:19;1374:59;;;;-1:-1:-1;;;1374:59:0;;12982:2:14;1374:59:0;;;12964:21:14;13021:2;13001:18;;;12994:30;13060:29;13040:18;;;13033:57;13107:18;;1374:59:0;12780:351:14;1374:59:0;1443:43;1449:10;452:1;1480;1443:43;;;;;;;;;;;;:5;:43::i;:::-;-1:-1:-1;1504:10:0;1497:18;;;;:6;:18;;;;;:25;;-1:-1:-1;;1497:25:0;1518:4;1497:25;;;1156:373::o;3655:148::-;3715:13;3765;3780:17;3789:7;3780:8;:17::i;:::-;3748:50;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3734:65;;3655:148;;;:::o;2576:520::-;2730:1;2724:3;:7;2716:35;;;;-1:-1:-1;;;2716:35:0;;15218:2:14;2716:35:0;;;15200:21:14;15257:2;15237:18;;;15230:30;-1:-1:-1;;;15276:18:14;;;15269:45;15331:18;;2716:35:0;15016:339:14;2716:35:0;2763:21;;;;;;;2755:47;;;;-1:-1:-1;;;2755:47:0;;15562:2:14;2755:47:0;;;15544:21:14;15601:2;15581:18;;;15574:30;-1:-1:-1;;;15620:18:14;;;15613:43;15673:18;;2755:47:0;15360:337:14;2755:47:0;2837:10;2821:27;;;;:15;:27;;;;;;;;2820:28;2812:55;;;;-1:-1:-1;;;2812:55:0;;;;;;;:::i;:::-;2879:28;2897:4;2903:3;2879:17;:28::i;:::-;2871:55;;;;-1:-1:-1;;;2871:55:0;;15904:2:14;2871:55:0;;;15886:21:14;15943:2;15923:18;;;15916:30;-1:-1:-1;;;15962:18:14;;;15955:44;16016:18;;2871:55:0;15702:338:14;2871:55:0;4695:33;;;2954:10;20883:2:14;20879:15;-1:-1:-1;;20875:53:14;4695:33:0;;;;20863:66:14;;;;20945:12;;;20938:28;;;20982:12;;;;20975:28;;;4695:33:0;;;;;;;;;;21019:12:14;;;4695:33:0;;4685:44;;;;;;21284:66:14;4632:98:0;;;21272:79:14;21367:12;;;;21360:28;;;;4632:98:0;;;;;;;;;;21404:12:14;;;;4632:98:0;;;4618:116;;;;;2978:4;2938:44;2930:74;;;;-1:-1:-1;;;2930:74:0;;16247:2:14;2930:74:0;;;16229:21:14;16286:2;16266:18;;;16259:30;-1:-1:-1;;;16305:18:14;;;16298:47;16362:18;;2930:74:0;16045:341:14;2930:74:0;3015:30;3021:10;3033:2;3037:3;3015:30;;;;;;;;;;;;:5;:30::i;:::-;-1:-1:-1;;3071:10:0;3055:27;;;;:15;:27;;;;;:34;;-1:-1:-1;;3055:34:0;3085:4;3055:34;;;-1:-1:-1;;2576:520:0:o;4045:430:2:-;-1:-1:-1;;;;;4270:20:2;;719:10:9;4270:20:2;;:60;;-1:-1:-1;4294:36:2;4311:4;719:10:9;3351:166:2;:::i;4294:36::-;4249:157;;;;-1:-1:-1;;;4249:157:2;;16593:2:14;4249:157:2;;;16575:21:14;16632:2;16612:18;;;16605:30;16671:34;16651:18;;;16644:62;-1:-1:-1;;;16722:18:14;;;16715:48;16780:19;;4249:157:2;16391:414:14;4249:157:2;4416:52;4439:4;4445:2;4449:3;4454:7;4463:4;4416:22;:52::i;:::-;4045:430;;;;;:::o;2555:508::-;2706:16;2765:3;:10;2746:8;:15;:29;2738:83;;;;-1:-1:-1;;;2738:83:2;;17012:2:14;2738:83:2;;;16994:21:14;17051:2;17031:18;;;17024:30;17090:34;17070:18;;;17063:62;-1:-1:-1;;;17141:18:14;;;17134:39;17190:19;;2738:83:2;16810:405:14;2738:83:2;2832:30;2879:8;:15;2865:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2865:30:2;;2832:63;;2911:9;2906:120;2930:8;:15;2926:1;:19;2906:120;;;2985:30;2995:8;3004:1;2995:11;;;;;;;;:::i;:::-;;;;;;;3008:3;3012:1;3008:6;;;;;;;;:::i;:::-;;;;;;;2985:9;:30::i;:::-;2966:13;2980:1;2966:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;2947:3;;;:::i;:::-;;;2906:120;;;-1:-1:-1;3043:13:2;2555:508;-1:-1:-1;;;2555:508:2:o;3480:83:0:-;1108:6:1;;-1:-1:-1;;;;;1108:6:1;719:10:9;1248:23:1;1240:68;;;;-1:-1:-1;;;1240:68:1;;;;;;;:::i;:::-;3540:19:0;;::::1;::::0;:13:::1;::::0;:19:::1;::::0;::::1;::::0;::::1;:::i;:::-;;3480:83:::0;:::o;1975:463::-;2029:10;2022:18;;;;:6;:18;;;;;;;;2021:19;2013:46;;;;-1:-1:-1;;;2013:46:0;;;;;;;:::i;:::-;2077:10;;;;2069:38;;;;-1:-1:-1;;;2069:38:0;;;;;;;:::i;:::-;2142:6;;:28;;-1:-1:-1;;;2142:28:0;;2159:10;2142:28;;;9360:51:14;2118:21:0;;-1:-1:-1;;;;;2142:6:0;;:16;;9333:18:14;;2142:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2118:52;;2205:1;2188:13;:18;;2180:61;;;;-1:-1:-1;;;2180:61:0;;17826:2:14;2180:61:0;;;17808:21:14;17865:2;17845:18;;;17838:30;17904:32;17884:18;;;17877:60;17954:18;;2180:61:0;17624:354:14;2180:61:0;2252:43;2258:10;452:1;2289;2252:43;;;;;;;;;;;;:5;:43::i;:::-;2305;2311:10;503:1;2342;2305:43;;;;;;;;;;;;:5;:43::i;:::-;2358:38;2364:10;549:1;2390;2358:38;;;;;;;;;;;;:5;:38::i;709:342:5:-;-1:-1:-1;;;;;868:23:5;;719:10:9;868:23:5;;:66;;-1:-1:-1;895:39:5;912:7;719:10:9;3351:166:2;:::i;895:39:5:-;847:154;;;;-1:-1:-1;;;847:154:5;;;;;;;:::i;:::-;1012:32;1023:7;1032:3;1037:6;1012:10;:32::i;1668:101:1:-;1108:6;;-1:-1:-1;;;;;1108:6:1;719:10:9;1248:23:1;1240:68;;;;-1:-1:-1;;;1240:68:1;;;;;;;:::i;:::-;1732:30:::1;1759:1;1732:18;:30::i;:::-;1668:101::o:0;1535:434:0:-;1589:10;1582:18;;;;:6;:18;;;;;;;;1581:19;1573:46;;;;-1:-1:-1;;;1573:46:0;;;;;;;:::i;:::-;1637:10;;;;1629:38;;;;-1:-1:-1;;;1629:38:0;;;;;;;:::i;:::-;1702:6;;:28;;-1:-1:-1;;;1702:28:0;;1719:10;1702:28;;;9360:51:14;1678:21:0;;-1:-1:-1;;;;;1702:6:0;;:16;;9333:18:14;;1702:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1678:52;;1766:1;1749:13;:18;;:39;;;;;1787:1;1771:13;:17;1749:39;1741:79;;;;-1:-1:-1;;;1741:79:0;;18595:2:14;1741:79:0;;;18577:21:14;18634:2;18614:18;;;18607:30;18673:29;18653:18;;;18646:57;18720:18;;1741:79:0;18393:351:14;1741:79:0;1830:43;1836:10;452:1;1867;1830:43;;;;;;;;;;;;:5;:43::i;:::-;1883;1889:10;503:1;1920;1883:43;;;;;;;;;;;;:5;:43::i;3566:86::-;1108:6:1;;-1:-1:-1;;;;;1108:6:1;719:10:9;1248:23:1;1240:68;;;;-1:-1:-1;;;1240:68:1;;;;;;;:::i;:::-;3630:18:0;;::::1;::::0;:12:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;3131:153:2:-:0;3225:52;719:10:9;3258:8:2;3268;3225:18;:52::i;3232:113:0:-;1108:6:1;;-1:-1:-1;;;;;1108:6:1;719:10:9;1248:23:1;1240:68;;;;-1:-1:-1;;;1240:68:1;;;;;;;:::i;:::-;3308:21:0::1;:30:::0;;;::::1;;;;-1:-1:-1::0;;3308:30:0;;::::1;::::0;;;::::1;::::0;;3232:113::o;3806:85::-;3849:13;3875:12;3868:19;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3806:85;:::o;3135:91::-;1108:6:1;;-1:-1:-1;;;;;1108:6:1;719:10:9;1248:23:1;1240:68;;;;-1:-1:-1;;;1240:68:1;;;;;;;:::i;:::-;3200:10:0::1;:19:::0;;-1:-1:-1;;3200:19:0::1;::::0;::::1;;::::0;;;::::1;::::0;;3135:91::o;3584:389:2:-;-1:-1:-1;;;;;3784:20:2;;719:10:9;3784:20:2;;:60;;-1:-1:-1;3808:36:2;3825:4;719:10:9;3351:166:2;:::i;3808:36::-;3763:148;;;;-1:-1:-1;;;3763:148:2;;;;;;;:::i;:::-;3921:45;3939:4;3945:2;3949;3953:6;3961:4;3921:17;:45::i;1918:198:1:-;1108:6;;-1:-1:-1;;;;;1108:6:1;719:10:9;1248:23:1;1240:68;;;;-1:-1:-1;;;1240:68:1;;;;;;;:::i;:::-;-1:-1:-1;;;;;2006:22:1;::::1;1998:73;;;::::0;-1:-1:-1;;;1998:73:1;;18951:2:14;1998:73:1::1;::::0;::::1;18933:21:14::0;18990:2;18970:18;;;18963:30;19029:34;19009:18;;;19002:62;-1:-1:-1;;;19080:18:14;;;19073:36;19126:19;;1998:73:1::1;18749:402:14::0;1998:73:1::1;2081:28;2100:8;2081:18;:28::i;:::-;1918:198:::0;:::o;393:310:5:-;-1:-1:-1;;;;;527:23:5;;719:10:9;527:23:5;;:66;;-1:-1:-1;554:39:5;571:7;719:10:9;3351:166:2;:::i;554:39:5:-;506:154;;;;-1:-1:-1;;;506:154:5;;;;;;;:::i;:::-;671:25;677:7;686:2;690:5;671;:25::i;8395:553:2:-;-1:-1:-1;;;;;8542:16:2;;8534:62;;;;-1:-1:-1;;;8534:62:2;;19358:2:14;8534:62:2;;;19340:21:14;19397:2;19377:18;;;19370:30;19436:34;19416:18;;;19409:62;-1:-1:-1;;;19487:18:14;;;19480:31;19528:19;;8534:62:2;19156:397:14;8534:62:2;719:10:9;8649:102:2;719:10:9;8607:16:2;8692:2;8696:21;8714:2;8696:17;:21::i;:::-;8719:25;8737:6;8719:17;:25::i;8649:102::-;8762:9;:13;;;;;;;;;;;-1:-1:-1;;;;;8762:17:2;;;;;;;;;:27;;8783:6;;8762:9;:27;;8783:6;;8762:27;:::i;:::-;;;;-1:-1:-1;;8804:52:2;;;19865:25:14;;;19921:2;19906:18;;19899:34;;;-1:-1:-1;;;;;8804:52:2;;;;8837:1;;8804:52;;;;;;19838:18:14;8804:52:2;;;;;;;8867:74;8898:8;8916:1;8920:2;8924;8928:6;8936:4;8867:30;:74::i;3922:428:0:-;3975:27;4012:7;4008:33;;-1:-1:-1;;4026:10:0;;;;;;;;;;;;-1:-1:-1;;;4026:10:0;;;;;3922:428::o;4008:33::-;4056:2;4044:9;4077:42;4084:6;;4077:42;;4097:5;;;;:::i;:::-;;-1:-1:-1;4107:7:0;;-1:-1:-1;4112:2:0;4107:7;;:::i;:::-;;;4077:42;;;4122:17;4152:3;4142:14;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4142:14:0;-1:-1:-1;4122:34:0;-1:-1:-1;4172:3:0;4179:145;4186:7;;4179:145;;4204:5;4208:1;4204;:5;:::i;:::-;4200:9;-1:-1:-1;4214:10:0;4245:7;4250:2;4245;:7;:::i;:::-;4244:14;;4256:2;4244:14;:::i;:::-;4239:19;;:2;:19;:::i;:::-;4228:31;;:2;:31;:::i;:::-;4214:46;;4265:9;4284:4;4277:12;;4265:24;;4304:2;4294:4;4299:1;4294:7;;;;;;;;:::i;:::-;;;;:12;-1:-1:-1;;;;;4294:12:0;;;;;;;;-1:-1:-1;4311:8:0;4317:2;4311:8;;:::i;:::-;;;4195:129;;4179:145;;;-1:-1:-1;4341:4:0;3922:428;-1:-1:-1;;;;3922:428:0:o;4356:147::-;4442:4;4476:23;:4;4489:9;4476:12;:23::i;:::-;4459:13;;-1:-1:-1;;;;;4459:40:0;;;:13;;:40;;4356:147;-1:-1:-1;;;4356:147:0:o;6068:1045:2:-;6288:7;:14;6274:3;:10;:28;6266:81;;;;-1:-1:-1;;;6266:81:2;;;;;;;:::i;:::-;-1:-1:-1;;;;;6365:16:2;;6357:66;;;;-1:-1:-1;;;6357:66:2;;;;;;;:::i;:::-;719:10:9;6434:16:2;6547:411;6571:3;:10;6567:1;:14;6547:411;;;6602:10;6615:3;6619:1;6615:6;;;;;;;;:::i;:::-;;;;;;;6602:19;;6635:14;6652:7;6660:1;6652:10;;;;;;;;:::i;:::-;;;;;;;;;;;;6677:19;6699:13;;;;;;;;;;-1:-1:-1;;;;;6699:19:2;;;;;;;;;;;;6652:10;;-1:-1:-1;6740:21:2;;;;6732:76;;;;-1:-1:-1;;;6732:76:2;;;;;;;:::i;:::-;6850:9;:13;;;;;;;;;;;-1:-1:-1;;;;;6850:19:2;;;;;;;;;;6872:20;;;6850:42;;6920:17;;;;;;;:27;;6872:20;;6850:9;6920:27;;6872:20;;6920:27;:::i;:::-;;;;;;;;6588:370;;;6583:3;;;;:::i;:::-;;;6547:411;;;;7003:2;-1:-1:-1;;;;;6973:47:2;6997:4;-1:-1:-1;;;;;6973:47:2;6987:8;-1:-1:-1;;;;;6973:47:2;;7007:3;7012:7;6973:47;;;;;;;:::i;:::-;;;;;;;;7031:75;7067:8;7077:4;7083:2;7087:3;7092:7;7101:4;7031:35;:75::i;:::-;6256:857;6068:1045;;;;;:::o;11072:867::-;-1:-1:-1;;;;;11219:18:2;;11211:66;;;;-1:-1:-1;;;11211:66:2;;;;;;;:::i;:::-;11309:7;:14;11295:3;:10;:28;11287:81;;;;-1:-1:-1;;;11287:81:2;;;;;;;:::i;:::-;11421:66;;;;;;;;;11379:16;11421:66;;;;719:10:9;;11498:364:2;11522:3;:10;11518:1;:14;11498:364;;;11553:10;11566:3;11570:1;11566:6;;;;;;;;:::i;:::-;;;;;;;11553:19;;11586:14;11603:7;11611:1;11603:10;;;;;;;;:::i;:::-;;;;;;;;;;;;11628:19;11650:13;;;;;;;;;;-1:-1:-1;;;;;11650:19:2;;;;;;;;;;;;11603:10;;-1:-1:-1;11691:21:2;;;;11683:70;;;;-1:-1:-1;;;11683:70:2;;;;;;;:::i;:::-;11795:9;:13;;;;;;;;;;;-1:-1:-1;;;;;11795:19:2;;;;;;;;;;11817:20;;11795:42;;11534:3;;;;:::i;:::-;;;;11498:364;;;;11915:1;-1:-1:-1;;;;;11877:55:2;11901:4;-1:-1:-1;;;;;11877:55:2;11891:8;-1:-1:-1;;;;;11877:55:2;;11919:3;11924:7;11877:55;;;;;;;:::i;:::-;;;;;;;;11201:738;11072:867;;;:::o;2270:187:1:-;2362:6;;;-1:-1:-1;;;;;2378:17:1;;;-1:-1:-1;;;;;;2378:17:1;;;;;;;2410:40;;2362:6;;;2378:17;2362:6;;2410:40;;2343:16;;2410:40;2333:124;2270:187;:::o;12074:323:2:-;12224:8;-1:-1:-1;;;;;12215:17:2;:5;-1:-1:-1;;;;;12215:17:2;;;12207:71;;;;-1:-1:-1;;;12207:71:2;;24134:2:14;12207:71:2;;;24116:21:14;24173:2;24153:18;;;24146:30;24212:34;24192:18;;;24185:62;-1:-1:-1;;;24263:18:14;;;24256:39;24312:19;;12207:71:2;23932:405:14;12207:71:2;-1:-1:-1;;;;;12288:25:2;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;12288:46:2;;;;;;;;;;12349:41;;1486::14;;;12349::2;;1459:18:14;12349:41:2;;;;;;;12074:323;;;:::o;4925:797::-;-1:-1:-1;;;;;5106:16:2;;5098:66;;;;-1:-1:-1;;;5098:66:2;;;;;;;:::i;:::-;719:10:9;5217:96:2;719:10:9;5248:4:2;5254:2;5258:21;5276:2;5258:17;:21::i;5217:96::-;5324:19;5346:13;;;;;;;;;;;-1:-1:-1;;;;;5346:19:2;;;;;;;;;;5383:21;;;;5375:76;;;;-1:-1:-1;;;5375:76:2;;;;;;;:::i;:::-;5485:9;:13;;;;;;;;;;;-1:-1:-1;;;;;5485:19:2;;;;;;;;;;5507:20;;;5485:42;;5547:17;;;;;;;:27;;5507:20;;5485:9;5547:27;;5507:20;;5547:27;:::i;:::-;;;;-1:-1:-1;;5590:46:2;;;19865:25:14;;;19921:2;19906:18;;19899:34;;;-1:-1:-1;;;;;5590:46:2;;;;;;;;;;;;;;19838:18:14;5590:46:2;;;;;;;5647:68;5678:8;5688:4;5694:2;5698;5702:6;5710:4;5647:30;:68::i;:::-;5088:634;;4925:797;;;;;:::o;10248:630::-;-1:-1:-1;;;;;10370:18:2;;10362:66;;;;-1:-1:-1;;;10362:66:2;;;;;;;:::i;:::-;719:10:9;10481:102:2;719:10:9;10512:4:2;10439:16;10530:21;10548:2;10530:17;:21::i;:::-;10553:25;10571:6;10553:17;:25::i;:::-;-1:-1:-1;;10481:102:2;;;;;;;;;-1:-1:-1;10481:102:2;;-1:-1:-1;;;6068:1045:2;10481:102;10594:19;10616:13;;;;;;;;;;;-1:-1:-1;;;;;10616:19:2;;;;;;;;;;10653:21;;;;10645:70;;;;-1:-1:-1;;;10645:70:2;;;;;;;:::i;:::-;10749:9;:13;;;;;;;;;;;-1:-1:-1;;;;;10749:19:2;;;;;;;;;;;;10771:20;;;10749:42;;10817:54;;19865:25:14;;;19906:18;;;19899:34;;;10749:19:2;;10817:54;;;;;;19838:18:14;10817:54:2;;;;;;;10352:526;;10248:630;;;:::o;15080:193::-;15199:16;;;15213:1;15199:16;;;;;;;;;15146;;15174:22;;15199:16;;;;;;;;;;;;-1:-1:-1;15199:16:2;15174:41;;15236:7;15225:5;15231:1;15225:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;15261:5;15080:193;-1:-1:-1;;15080:193:2:o;13551:725::-;-1:-1:-1;;;;;13758:13:2;;1087:20:8;1133:8;13754:516:2;;13793:72;;-1:-1:-1;;;13793:72:2;;-1:-1:-1;;;;;13793:38:2;;;;;:72;;13832:8;;13842:4;;13848:2;;13852:6;;13860:4;;13793:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13793:72:2;;;;;;;;-1:-1:-1;;13793:72:2;;;;;;;;;;;;:::i;:::-;;;13789:471;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;14136:6;14129:14;;-1:-1:-1;;;14129:14:2;;;;;;;;:::i;13789:471::-;;;14183:62;;-1:-1:-1;;;14183:62:2;;26235:2:14;14183:62:2;;;26217:21:14;26274:2;26254:18;;;26247:30;26313:34;26293:18;;;26286:62;-1:-1:-1;;;26364:18:14;;;26357:50;26424:19;;14183:62:2;26033:416:14;13789:471:2;-1:-1:-1;;;;;;13914:55:2;;-1:-1:-1;;;13914:55:2;13910:152;;13993:50;;-1:-1:-1;;;13993:50:2;;;;;;;:::i;4293:227:11:-;4371:7;4391:17;4410:18;4432:27;4443:4;4449:9;4432:10;:27::i;:::-;4390:69;;;;4469:18;4481:5;4469:11;:18::i;14282:792:2:-;-1:-1:-1;;;;;14514:13:2;;1087:20:8;1133:8;14510:558:2;;14549:79;;-1:-1:-1;;;14549:79:2;;-1:-1:-1;;;;;14549:43:2;;;;;:79;;14593:8;;14603:4;;14609:3;;14614:7;;14623:4;;14549:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14549:79:2;;;;;;;;-1:-1:-1;;14549:79:2;;;;;;;;;;;;:::i;:::-;;;14545:513;;;;:::i;:::-;-1:-1:-1;;;;;;14707:60:2;;-1:-1:-1;;;14707:60:2;14703:157;;14791:50;;-1:-1:-1;;;14791:50:2;;;;;;;:::i;2228:1279:11:-;2309:7;2318:12;2539:9;:16;2559:2;2539:22;2535:966;;;2828:4;2813:20;;2807:27;2877:4;2862:20;;2856:27;2934:4;2919:20;;2913:27;2577:9;2905:36;2975:25;2986:4;2905:36;2807:27;2856;2975:10;:25::i;:::-;2968:32;;;;;;;;;2535:966;3021:9;:16;3041:2;3021:22;3017:484;;;3290:4;3275:20;;3269:27;3340:4;3325:20;;3319:27;3380:23;3391:4;3269:27;3319;3380:10;:23::i;:::-;3373:30;;;;;;;;3017:484;-1:-1:-1;3450:1:11;;-1:-1:-1;3454:35:11;3017:484;2228:1279;;;;;:::o;533:631::-;610:20;601:5;:29;;;;;;;;:::i;:::-;;597:561;;;533:631;:::o;597:561::-;706:29;697:5;:38;;;;;;;;:::i;:::-;;693:465;;;751:34;;-1:-1:-1;;;751:34:11;;28040:2:14;751:34:11;;;28022:21:14;28079:2;28059:18;;;28052:30;28118:26;28098:18;;;28091:54;28162:18;;751:34:11;27838:348:14;693:465:11;815:35;806:5;:44;;;;;;;;:::i;:::-;;802:356;;;866:41;;-1:-1:-1;;;866:41:11;;28393:2:14;866:41:11;;;28375:21:14;28432:2;28412:18;;;28405:30;28471:33;28451:18;;;28444:61;28522:18;;866:41:11;28191:355:14;802:356:11;937:30;928:5;:39;;;;;;;;:::i;:::-;;924:234;;;983:44;;-1:-1:-1;;;983:44:11;;28753:2:14;983:44:11;;;28735:21:14;28792:2;28772:18;;;28765:30;28831:34;28811:18;;;28804:62;-1:-1:-1;;;28882:18:14;;;28875:32;28924:19;;983:44:11;28551:398:14;924:234:11;1057:30;1048:5;:39;;;;;;;;:::i;:::-;;1044:114;;;1103:44;;-1:-1:-1;;;1103:44:11;;29156:2:14;1103:44:11;;;29138:21:14;29195:2;29175:18;;;29168:30;29234:34;29214:18;;;29207:62;-1:-1:-1;;;29285:18:14;;;29278:32;29327:19;;1103:44:11;28954:398:14;5744:1603:11;5870:7;;6794:66;6781:79;;6777:161;;;-1:-1:-1;6892:1:11;;-1:-1:-1;6896:30:11;6876:51;;6777:161;6951:1;:7;;6956:2;6951:7;;:18;;;;;6962:1;:7;;6967:2;6962:7;;6951:18;6947:100;;;-1:-1:-1;7001:1:11;;-1:-1:-1;7005:30:11;6985:51;;6947:100;7158:24;;;7141:14;7158:24;;;;;;;;;29584:25:14;;;29657:4;29645:17;;29625:18;;;29618:45;;;;29679:18;;;29672:34;;;29722:18;;;29715:34;;;7158:24:11;;29556:19:14;;7158:24:11;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7158:24:11;;-1:-1:-1;;7158:24:11;;;-1:-1:-1;;;;;;;7196:20:11;;7192:101;;7248:1;7252:29;7232:50;;;;;;;7192:101;7311:6;-1:-1:-1;7319:20:11;;-1:-1:-1;5744:1603:11;;;;;;;;:::o;4774:379::-;4884:7;;-1:-1:-1;;;;;4981:75:11;;5082:3;5078:12;;;5092:2;5074:21;5121:25;5132:4;5074:21;5141:1;4981:75;5121:10;:25::i;:::-;5114:32;;;;;;4774:379;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:14;82:20;;-1:-1:-1;;;;;131:31:14;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:322::-;269:6;277;285;338:2;326:9;317:7;313:23;309:32;306:52;;;354:1;351;344:12;306:52;377:29;396:9;377:29;:::i;:::-;367:39;453:2;438:18;;425:32;;-1:-1:-1;504:2:14;489:18;;;476:32;;192:322;-1:-1:-1;;;192:322:14:o;701:254::-;769:6;777;830:2;818:9;809:7;805:23;801:32;798:52;;;846:1;843;836:12;798:52;869:29;888:9;869:29;:::i;:::-;859:39;945:2;930:18;;;;917:32;;-1:-1:-1;;;701:254:14:o;960:131::-;-1:-1:-1;;;;;;1034:32:14;;1024:43;;1014:71;;1081:1;1078;1071:12;1096:245;1154:6;1207:2;1195:9;1186:7;1182:23;1178:32;1175:52;;;1223:1;1220;1213:12;1175:52;1262:9;1249:23;1281:30;1305:5;1281:30;:::i;:::-;1330:5;1096:245;-1:-1:-1;;;1096:245:14:o;1538:186::-;1597:6;1650:2;1638:9;1629:7;1625:23;1621:32;1618:52;;;1666:1;1663;1656:12;1618:52;1689:29;1708:9;1689:29;:::i;1729:180::-;1788:6;1841:2;1829:9;1820:7;1816:23;1812:32;1809:52;;;1857:1;1854;1847:12;1809:52;-1:-1:-1;1880:23:14;;1729:180;-1:-1:-1;1729:180:14:o;1914:258::-;1986:1;1996:113;2010:6;2007:1;2004:13;1996:113;;;2086:11;;;2080:18;2067:11;;;2060:39;2032:2;2025:10;1996:113;;;2127:6;2124:1;2121:13;2118:48;;;2162:1;2153:6;2148:3;2144:16;2137:27;2118:48;;1914:258;;;:::o;2177:269::-;2230:3;2268:5;2262:12;2295:6;2290:3;2283:19;2311:63;2367:6;2360:4;2355:3;2351:14;2344:4;2337:5;2333:16;2311:63;:::i;:::-;2428:2;2407:15;-1:-1:-1;;2403:29:14;2394:39;;;;2435:4;2390:50;;2177:269;-1:-1:-1;;2177:269:14:o;2451:231::-;2600:2;2589:9;2582:21;2563:4;2620:56;2672:2;2661:9;2657:18;2649:6;2620:56;:::i;2687:127::-;2748:10;2743:3;2739:20;2736:1;2729:31;2779:4;2776:1;2769:15;2803:4;2800:1;2793:15;2819:249;2929:2;2910:13;;-1:-1:-1;;2906:27:14;2894:40;;2964:18;2949:34;;2985:22;;;2946:62;2943:88;;;3011:18;;:::i;:::-;3047:2;3040:22;-1:-1:-1;;2819:249:14:o;3073:468::-;3137:5;3171:18;3163:6;3160:30;3157:56;;;3193:18;;:::i;:::-;3242:2;3236:9;3254:69;3311:2;3290:15;;-1:-1:-1;;3286:29:14;3317:4;3282:40;3236:9;3254:69;:::i;:::-;3341:6;3332:15;;3371:6;3363;3356:22;3411:3;3402:6;3397:3;3393:16;3390:25;3387:45;;;3428:1;3425;3418:12;3387:45;3478:6;3473:3;3466:4;3458:6;3454:17;3441:44;3533:1;3526:4;3517:6;3509;3505:19;3501:30;3494:41;;3073:468;;;;;:::o;3546:220::-;3588:5;3641:3;3634:4;3626:6;3622:17;3618:27;3608:55;;3659:1;3656;3649:12;3608:55;3681:79;3756:3;3747:6;3734:20;3727:4;3719:6;3715:17;3681:79;:::i;3771:525::-;3866:6;3874;3882;3890;3943:3;3931:9;3922:7;3918:23;3914:33;3911:53;;;3960:1;3957;3950:12;3911:53;4000:9;3987:23;4033:18;4025:6;4022:30;4019:50;;;4065:1;4062;4055:12;4019:50;4088:49;4129:7;4120:6;4109:9;4105:22;4088:49;:::i;:::-;4078:59;4184:2;4169:18;;4156:32;;-1:-1:-1;4235:2:14;4220:18;;4207:32;;4286:2;4271:18;4258:32;;-1:-1:-1;3771:525:14;-1:-1:-1;;;;3771:525:14:o;4301:183::-;4361:4;4394:18;4386:6;4383:30;4380:56;;;4416:18;;:::i;:::-;-1:-1:-1;4461:1:14;4457:14;4473:4;4453:25;;4301:183::o;4489:724::-;4543:5;4596:3;4589:4;4581:6;4577:17;4573:27;4563:55;;4614:1;4611;4604:12;4563:55;4650:6;4637:20;4676:4;4699:43;4739:2;4699:43;:::i;:::-;4771:2;4765:9;4783:31;4811:2;4803:6;4783:31;:::i;:::-;4849:18;;;4941:1;4937:10;;;;4925:23;;4921:32;;;4883:15;;;;-1:-1:-1;4965:15:14;;;4962:35;;;4993:1;4990;4983:12;4962:35;5029:2;5021:6;5017:15;5041:142;5057:6;5052:3;5049:15;5041:142;;;5123:17;;5111:30;;5161:12;;;;5074;;5041:142;;;-1:-1:-1;5201:6:14;4489:724;-1:-1:-1;;;;;;4489:724:14:o;5218:943::-;5372:6;5380;5388;5396;5404;5457:3;5445:9;5436:7;5432:23;5428:33;5425:53;;;5474:1;5471;5464:12;5425:53;5497:29;5516:9;5497:29;:::i;:::-;5487:39;;5545:38;5579:2;5568:9;5564:18;5545:38;:::i;:::-;5535:48;;5634:2;5623:9;5619:18;5606:32;5657:18;5698:2;5690:6;5687:14;5684:34;;;5714:1;5711;5704:12;5684:34;5737:61;5790:7;5781:6;5770:9;5766:22;5737:61;:::i;:::-;5727:71;;5851:2;5840:9;5836:18;5823:32;5807:48;;5880:2;5870:8;5867:16;5864:36;;;5896:1;5893;5886:12;5864:36;5919:63;5974:7;5963:8;5952:9;5948:24;5919:63;:::i;:::-;5909:73;;6035:3;6024:9;6020:19;6007:33;5991:49;;6065:2;6055:8;6052:16;6049:36;;;6081:1;6078;6071:12;6049:36;;6104:51;6147:7;6136:8;6125:9;6121:24;6104:51;:::i;:::-;6094:61;;;5218:943;;;;;;;;:::o;6166:1208::-;6284:6;6292;6345:2;6333:9;6324:7;6320:23;6316:32;6313:52;;;6361:1;6358;6351:12;6313:52;6401:9;6388:23;6430:18;6471:2;6463:6;6460:14;6457:34;;;6487:1;6484;6477:12;6457:34;6525:6;6514:9;6510:22;6500:32;;6570:7;6563:4;6559:2;6555:13;6551:27;6541:55;;6592:1;6589;6582:12;6541:55;6628:2;6615:16;6650:4;6673:43;6713:2;6673:43;:::i;:::-;6745:2;6739:9;6757:31;6785:2;6777:6;6757:31;:::i;:::-;6823:18;;;6911:1;6907:10;;;;6899:19;;6895:28;;;6857:15;;;;-1:-1:-1;6935:19:14;;;6932:39;;;6967:1;6964;6957:12;6932:39;6991:11;;;;7011:148;7027:6;7022:3;7019:15;7011:148;;;7093:23;7112:3;7093:23;:::i;:::-;7081:36;;7044:12;;;;7137;;;;7011:148;;;7178:6;-1:-1:-1;;7222:18:14;;7209:32;;-1:-1:-1;;7253:16:14;;;7250:36;;;7282:1;7279;7272:12;7250:36;;7305:63;7360:7;7349:8;7338:9;7334:24;7305:63;:::i;:::-;7295:73;;;6166:1208;;;;;:::o;7379:435::-;7432:3;7470:5;7464:12;7497:6;7492:3;7485:19;7523:4;7552:2;7547:3;7543:12;7536:19;;7589:2;7582:5;7578:14;7610:1;7620:169;7634:6;7631:1;7628:13;7620:169;;;7695:13;;7683:26;;7729:12;;;;7764:15;;;;7656:1;7649:9;7620:169;;;-1:-1:-1;7805:3:14;;7379:435;-1:-1:-1;;;;;7379:435:14:o;7819:261::-;7998:2;7987:9;7980:21;7961:4;8018:56;8070:2;8059:9;8055:18;8047:6;8018:56;:::i;8085:450::-;8154:6;8207:2;8195:9;8186:7;8182:23;8178:32;8175:52;;;8223:1;8220;8213:12;8175:52;8263:9;8250:23;8296:18;8288:6;8285:30;8282:50;;;8328:1;8325;8318:12;8282:50;8351:22;;8404:4;8396:13;;8392:27;-1:-1:-1;8382:55:14;;8433:1;8430;8423:12;8382:55;8456:73;8521:7;8516:2;8503:16;8498:2;8494;8490:11;8456:73;:::i;:::-;8446:83;8085:450;-1:-1:-1;;;;8085:450:14:o;8540:669::-;8667:6;8675;8683;8736:2;8724:9;8715:7;8711:23;8707:32;8704:52;;;8752:1;8749;8742:12;8704:52;8775:29;8794:9;8775:29;:::i;:::-;8765:39;;8855:2;8844:9;8840:18;8827:32;8878:18;8919:2;8911:6;8908:14;8905:34;;;8935:1;8932;8925:12;8905:34;8958:61;9011:7;9002:6;8991:9;8987:22;8958:61;:::i;:::-;8948:71;;9072:2;9061:9;9057:18;9044:32;9028:48;;9101:2;9091:8;9088:16;9085:36;;;9117:1;9114;9107:12;9085:36;;9140:63;9195:7;9184:8;9173:9;9169:24;9140:63;:::i;:::-;9130:73;;;8540:669;;;;;:::o;9422:160::-;9487:20;;9543:13;;9536:21;9526:32;;9516:60;;9572:1;9569;9562:12;9587:254;9652:6;9660;9713:2;9701:9;9692:7;9688:23;9684:32;9681:52;;;9729:1;9726;9719:12;9681:52;9752:29;9771:9;9752:29;:::i;:::-;9742:39;;9800:35;9831:2;9820:9;9816:18;9800:35;:::i;:::-;9790:45;;9587:254;;;;;:::o;10070:180::-;10126:6;10179:2;10167:9;10158:7;10154:23;10150:32;10147:52;;;10195:1;10192;10185:12;10147:52;10218:26;10234:9;10218:26;:::i;10255:260::-;10323:6;10331;10384:2;10372:9;10363:7;10359:23;10355:32;10352:52;;;10400:1;10397;10390:12;10352:52;10423:29;10442:9;10423:29;:::i;:::-;10413:39;;10471:38;10505:2;10494:9;10490:18;10471:38;:::i;10520:606::-;10624:6;10632;10640;10648;10656;10709:3;10697:9;10688:7;10684:23;10680:33;10677:53;;;10726:1;10723;10716:12;10677:53;10749:29;10768:9;10749:29;:::i;:::-;10739:39;;10797:38;10831:2;10820:9;10816:18;10797:38;:::i;:::-;10787:48;;10882:2;10871:9;10867:18;10854:32;10844:42;;10933:2;10922:9;10918:18;10905:32;10895:42;;10988:3;10977:9;10973:19;10960:33;11016:18;11008:6;11005:30;11002:50;;;11048:1;11045;11038:12;11002:50;11071:49;11112:7;11103:6;11092:9;11088:22;11071:49;:::i;11131:356::-;11333:2;11315:21;;;11352:18;;;11345:30;11411:34;11406:2;11391:18;;11384:62;11478:2;11463:18;;11131:356::o;11904:338::-;12106:2;12088:21;;;12145:2;12125:18;;;12118:30;-1:-1:-1;;;12179:2:14;12164:18;;12157:44;12233:2;12218:18;;11904:338::o;12247:339::-;12449:2;12431:21;;;12488:2;12468:18;;;12461:30;-1:-1:-1;;;12522:2:14;12507:18;;12500:45;12577:2;12562:18;;12247:339::o;12591:184::-;12661:6;12714:2;12702:9;12693:7;12689:23;12685:32;12682:52;;;12730:1;12727;12720:12;12682:52;-1:-1:-1;12753:16:14;;12591:184;-1:-1:-1;12591:184:14:o;13136:380::-;13215:1;13211:12;;;;13258;;;13279:61;;13333:4;13325:6;13321:17;13311:27;;13279:61;13386:2;13378:6;13375:14;13355:18;13352:38;13349:161;;;13432:10;13427:3;13423:20;13420:1;13413:31;13467:4;13464:1;13457:15;13495:4;13492:1;13485:15;13349:161;;13136:380;;;:::o;13647:185::-;13689:3;13727:5;13721:12;13742:52;13787:6;13782:3;13775:4;13768:5;13764:16;13742:52;:::i;:::-;13810:16;;;;;13647:185;-1:-1:-1;;13647:185:14:o;13837:1174::-;14013:3;14042:1;14075:6;14069:13;14105:3;14127:1;14155:9;14151:2;14147:18;14137:28;;14215:2;14204:9;14200:18;14237;14227:61;;14281:4;14273:6;14269:17;14259:27;;14227:61;14307:2;14355;14347:6;14344:14;14324:18;14321:38;14318:165;;;-1:-1:-1;;;14382:33:14;;14438:4;14435:1;14428:15;14468:4;14389:3;14456:17;14318:165;14499:18;14526:104;;;;14644:1;14639:320;;;;14492:467;;14526:104;-1:-1:-1;;14559:24:14;;14547:37;;14604:16;;;;-1:-1:-1;14526:104:14;;14639:320;13594:1;13587:14;;;13631:4;13618:18;;14734:1;14748:165;14762:6;14759:1;14756:13;14748:165;;;14840:14;;14827:11;;;14820:35;14883:16;;;;14777:10;;14748:165;;;14752:3;;14942:6;14937:3;14933:16;14926:23;;14492:467;;;;;;;14975:30;15001:3;14993:6;14975:30;:::i;:::-;14968:37;13837:1174;-1:-1:-1;;;;;13837:1174:14:o;17220:127::-;17281:10;17276:3;17272:20;17269:1;17262:31;17312:4;17309:1;17302:15;17336:4;17333:1;17326:15;17352:127;17413:10;17408:3;17404:20;17401:1;17394:31;17444:4;17441:1;17434:15;17468:4;17465:1;17458:15;17484:135;17523:3;-1:-1:-1;;17544:17:14;;17541:43;;;17564:18;;:::i;:::-;-1:-1:-1;17611:1:14;17600:13;;17484:135::o;17983:405::-;18185:2;18167:21;;;18224:2;18204:18;;;18197:30;18263:34;18258:2;18243:18;;18236:62;-1:-1:-1;;;18329:2:14;18314:18;;18307:39;18378:3;18363:19;;17983:405::o;19558:128::-;19598:3;19629:1;19625:6;19622:1;19619:13;19616:39;;;19635:18;;:::i;:::-;-1:-1:-1;19671:9:14;;19558:128::o;19944:217::-;19984:1;20010;20000:132;;20054:10;20049:3;20045:20;20042:1;20035:31;20089:4;20086:1;20079:15;20117:4;20114:1;20107:15;20000:132;-1:-1:-1;20146:9:14;;19944:217::o;20166:125::-;20206:4;20234:1;20231;20228:8;20225:34;;;20239:18;;:::i;:::-;-1:-1:-1;20276:9:14;;20166:125::o;20296:168::-;20336:7;20402:1;20398;20394:6;20390:14;20387:1;20384:21;20379:1;20372:9;20365:17;20361:45;20358:71;;;20409:18;;:::i;:::-;-1:-1:-1;20449:9:14;;20296:168::o;20469:204::-;20507:3;20543:4;20540:1;20536:12;20575:4;20572:1;20568:12;20610:3;20604:4;20600:14;20595:3;20592:23;20589:49;;;20618:18;;:::i;:::-;20654:13;;20469:204;-1:-1:-1;;;20469:204:14:o;21427:404::-;21629:2;21611:21;;;21668:2;21648:18;;;21641:30;21707:34;21702:2;21687:18;;21680:62;-1:-1:-1;;;21773:2:14;21758:18;;21751:38;21821:3;21806:19;;21427:404::o;21836:401::-;22038:2;22020:21;;;22077:2;22057:18;;;22050:30;22116:34;22111:2;22096:18;;22089:62;-1:-1:-1;;;22182:2:14;22167:18;;22160:35;22227:3;22212:19;;21836:401::o;22242:406::-;22444:2;22426:21;;;22483:2;22463:18;;;22456:30;22522:34;22517:2;22502:18;;22495:62;-1:-1:-1;;;22588:2:14;22573:18;;22566:40;22638:3;22623:19;;22242:406::o;22653:465::-;22910:2;22899:9;22892:21;22873:4;22936:56;22988:2;22977:9;22973:18;22965:6;22936:56;:::i;:::-;23040:9;23032:6;23028:22;23023:2;23012:9;23008:18;23001:50;23068:44;23105:6;23097;23068:44;:::i;23123:399::-;23325:2;23307:21;;;23364:2;23344:18;;;23337:30;23403:34;23398:2;23383:18;;23376:62;-1:-1:-1;;;23469:2:14;23454:18;;23447:33;23512:3;23497:19;;23123:399::o;23527:400::-;23729:2;23711:21;;;23768:2;23748:18;;;23741:30;23807:34;23802:2;23787:18;;23780:62;-1:-1:-1;;;23873:2:14;23858:18;;23851:34;23917:3;23902:19;;23527:400::o;24342:572::-;-1:-1:-1;;;;;24639:15:14;;;24621:34;;24691:15;;24686:2;24671:18;;24664:43;24738:2;24723:18;;24716:34;;;24781:2;24766:18;;24759:34;;;24601:3;24824;24809:19;;24802:32;;;24564:4;;24851:57;;24888:19;;24880:6;24851:57;:::i;:::-;24843:65;24342:572;-1:-1:-1;;;;;;;24342:572:14:o;24919:249::-;24988:6;25041:2;25029:9;25020:7;25016:23;25012:32;25009:52;;;25057:1;25054;25047:12;25009:52;25089:9;25083:16;25108:30;25132:5;25108:30;:::i;25173:179::-;25208:3;25250:1;25232:16;25229:23;25226:120;;;25296:1;25293;25290;25275:23;-1:-1:-1;25333:1:14;25327:8;25322:3;25318:18;25226:120;25173:179;:::o;25357:671::-;25396:3;25438:4;25420:16;25417:26;25414:39;;;25357:671;:::o;25414:39::-;25480:2;25474:9;-1:-1:-1;;25545:16:14;25541:25;;25538:1;25474:9;25517:50;25596:4;25590:11;25620:16;25655:18;25726:2;25719:4;25711:6;25707:17;25704:25;25699:2;25691:6;25688:14;25685:45;25682:58;;;25733:5;;;;;25357:671;:::o;25682:58::-;25770:6;25764:4;25760:17;25749:28;;25806:3;25800:10;25833:2;25825:6;25822:14;25819:27;;;25839:5;;;;;;25357:671;:::o;25819:27::-;25923:2;25904:16;25898:4;25894:27;25890:36;25883:4;25874:6;25869:3;25865:16;25861:27;25858:69;25855:82;;;25930:5;;;;;;25357:671;:::o;25855:82::-;25946:57;25997:4;25988:6;25980;25976:19;25972:30;25966:4;25946:57;:::i;:::-;-1:-1:-1;26019:3:14;;25357:671;-1:-1:-1;;;;;25357:671:14:o;26454:404::-;26656:2;26638:21;;;26695:2;26675:18;;;26668:30;26734:34;26729:2;26714:18;;26707:62;-1:-1:-1;;;26800:2:14;26785:18;;26778:38;26848:3;26833:19;;26454:404::o;26863:838::-;-1:-1:-1;;;;;27260:15:14;;;27242:34;;27312:15;;27307:2;27292:18;;27285:43;27222:3;27359:2;27344:18;;27337:31;;;27185:4;;27391:57;;27428:19;;27420:6;27391:57;:::i;:::-;27496:9;27488:6;27484:22;27479:2;27468:9;27464:18;27457:50;27530:44;27567:6;27559;27530:44;:::i;:::-;27516:58;;27623:9;27615:6;27611:22;27605:3;27594:9;27590:19;27583:51;27651:44;27688:6;27680;27651:44;:::i;:::-;27643:52;26863:838;-1:-1:-1;;;;;;;;26863:838:14:o;27706:127::-;27767:10;27762:3;27758:20;27755:1;27748:31;27798:4;27795:1;27788:15;27822:4;27819:1;27812:15

Swarm Source

ipfs://02c171f387f7769a498cd0365763011f4899e7376472e27185bc2288999ac0ab
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.