ETH Price: $2,718.94 (-1.72%)

Token

INFRSNCS (INFRSNCS)
 

Overview

Max Total Supply

0 INFRSNCS

Holders

80

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
hiehie.eth
Balance
2 INFRSNCS
0xcE2f750CBA00bEab10504475b3716B1Cfb99E49b
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:
INFRSNCS

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 24 : INFRSNCS.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/Base64.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

import "./ByteSwapping.sol";
import "./Royalty.sol";
import "./SVG.sol";
import "./Traversable.sol";
import "./WAVE.sol";

contract INFRSNCS is ERC721, Ownable, Traversable, Royalty {
    uint256 public chainSeed;
    uint256 public supplied;
    uint256 public startTokenId;
    uint256 public endTokenId;
    uint256 public mintPrice;

    constructor(
        address layerZeroEndpoint,
        uint256 chainSeed_,
        uint256 startTokenId_,
        uint256 endTokenId_,
        uint256 mintPrice_
    ) ERC721("INFRSNCS", "INFRSNCS") Traversable(layerZeroEndpoint) {
        chainSeed = chainSeed_;
        startTokenId = startTokenId_;
        endTokenId = endTokenId_;
        mintPrice = mintPrice_;
    }

    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function mint(address to) public payable virtual {
        require(msg.value >= mintPrice, "INFRSNCS: msg value invalid");
        uint256 tokenId = startTokenId + supplied;
        require(tokenId <= endTokenId, "INFRSNCS: mint finished");
        _safeMint(to, tokenId);
        _registerTraversableSeeds(
            tokenId,
            chainSeed,
            uint256(
                keccak256(
                    abi.encodePacked(blockhash(block.number - 1), tokenId)
                )
            )
        );
        supplied++;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory tokenURI)
    {
        require(_exists(tokenId), "INFRSNCS: nonexistent token");
        (uint256 birthChainSeed, uint256 tokenIdSeed) = getTraversableSeeds(
            tokenId
        );
        uint256 sampleRate = WAVE.calculateSampleRate(chainSeed);
        uint256 dutyCycle = WAVE.calculateDutyCycle(birthChainSeed);
        uint256 hertz = WAVE.calculateHertz(tokenIdSeed);
        bytes memory wave = WAVE.generate(sampleRate, hertz, dutyCycle);
        bytes memory metadata = abi.encodePacked(
            '{"name":"INFRSNCS #',
            Strings.toString(tokenId),
            '","description": "A traversed generative infrasonic.","image_data":"',
            SVG.generate(wave),
            '","animation_url":"',
            wave,
            '","attributes":',
            abi.encodePacked(
                '[{"trait_type":"SAMPLE RATE","value":"',
                Strings.toString(sampleRate),
                '"},{"trait_type":"DUTY CYCLE","value":"',
                Strings.toString(dutyCycle),
                '"},{"trait_type":"HERTZ","value":"',
                WAVE.addDecimalPointToHertz(hertz),
                '"}]'
            ),
            "}"
        );
        return
            string(
                abi.encodePacked(
                    "data:application/json;base64,",
                    Base64.encode(metadata)
                )
            );
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override
        returns (bool)
    {
        return
            interfaceId == type(IERC2981).interfaceId ||
            super.supportsInterface(interfaceId);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @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, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 24 : ByteSwapping.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

library ByteSwapping {
    function swapUint32(uint32 input) internal pure returns (uint32) {
        uint32 output = input;
        output = ((output & 0xFF00FF00) >> 8) | ((output & 0x00FF00FF) << 8);
        return (output >> 16) | (output << 16);
    }

    function swapUint16(uint16 input) internal pure returns (uint16) {
        uint16 output = input;
        return (output >> 8) | (output << 8);
    }
}

File 7 of 24 : Royalty.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "./interfaces/IERC2981.sol";

abstract contract Royalty is Ownable, IERC2981 {
    uint256 private constant _BPS_BASE = 10000;
    uint256 private _bps;
    address private _recipient;

    function setRoyalty(address recipient, uint256 bps) public onlyOwner {
        require(_bps < _BPS_BASE, "Royalty: bps invalid");
        _recipient = recipient;
        _bps = bps;
    }

    // solhint-disable-next-line no-unused-vars
    function royaltyInfo(uint256 _tokenId, uint256 salePrice)
        public
        view
        override
        returns (address, uint256)
    {
        if (_recipient != address(0x0) && _bps != 0) {
            return (_recipient, (salePrice * _bps) / _BPS_BASE);
        } else {
            return (address(0x0), 0);
        }
    }
}

File 8 of 24 : SVG.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

library SVG {
    function generate(bytes memory wave) internal pure returns (bytes memory) {
        return
            abi.encodePacked(
                '<svg width=\\"350\\" height=\\"350\\" viewBox=\\"0 0 350 350\\" xmlns=\\"http://www.w3.org/2000/svg\\"><style>@font-face{font-family: \\"Tinos\\"; font-style: normal; font-weight: 400; src: url(data:font/woff2;base64,d09GMgABAAAAAA3wAA4AAAAAF1gAAA2cAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhYbgmYcKgZgAIEkERAKoCCYagtmAAE2AiQDgUgEIAWDQAcgG0USM1KzeiBTnYkxbuiPX3/+/eAfmDNfqJCkfEC5ATA7lIQKFRHbqamtqv9/dakk++6SLyvhrd06LJ3w7YSy5BQoAKBFbtm6G9ZO5bk8zECCIAzPn+uFHVrC/z/yp+0FjtUhWQtX66KW8M91kJcOJjz032V/QndlO+4V7jiAOhtzks2spS+Bv37gj/u1uiEiUbS0g5rgnW4738flxPZxT4lIJboks0amm4TaKeUM0k0u4gYfsxFZ284YgI/AzFR1Iwz/PC6dGYs1ZdXiudSdsXjaHCrOnbR0PnnYDTX/GDDbjBWNpcCaM23xfPJczd8MAGezMYlQAFb5idP5/OUPr3jAJU6ykt50pb1SaeDjZA4x0hRSTCkBtahHfRoOzbXGrTiLh3vUOcxcFldd8dSVmAIqqAlV1ISq2kVNNaGuAuqpCblSfW2JZ6KZ4bksDnCAtl0yl6WWtlFX22ioAItSjSXQLhrqLNZA6QqI2UxMjeXPM5MQhnZRmssSqCv1NJP66kpDdZ2+oHNYxOrC9dVwboOzalITO7BEXjJz2uTFlGyzoeRQvC17rLEbB4OcfU4TMKr5V7COMNU4YTimGbIc2zEteyPUAOY88zD0G9B/AB2pWDnf2Z7rbjQJVzKuTsS4+fM/WKeddkDFzafGcpSHILfZA1QuewiTitSlEU1pSRva0ZvBDGc005jFPBawWnr6qevSgKY0pzXt6MRAhjGSScxiDgtYLOm3Puid3ui1Xumlnumh7uuebuiqruiyLg46JQMmt5pLnCRhiUTLwMZ4KuoWZh+ODv0zRQjBpWSmDTyzeFAMVtkoRYVx0uMo47RVmiumbM/3PLvEixb6zP+dsu2kFXXzytx4WVGlMj8/mvSLC6LFibL8TJnrpwvz3IKw75a4jT0/v1ZhYcJD+6HDbZ3achxw/uGkx3mgxqWgqHqcFMvRoxVqlrJHy1AskodL1KyM3kcNuLP+Hu6kikDUgBUtU7QAfUxpC8VylK8EalIE4ruHYjEL1Lg+E3DuoeAPlxREzWgOVIPSljuHtIVqlAfpB335XO6hsEg7asJCHNeprbp+dgmKat75OTQp1ITt83WiBEtF51PUgOWNhkzdYir3AISa0BHQ+PX95rCsF7jRjEg5rlNtJg/mq/vRowNm0g4Q3kN1cQVOHy5Lmln1aD+BOkfNykJtjzzcTR7A0/S609RMQLx0dyYpAZHErCYlzVoG4+HHr2xT1kI/hcmgU5HADHE6MgficWPJZ3UvqSg1xDB2kmtuRFwpu5W1tVAITNP3jho8UxyX3SPNRFYj2sLg6/lKtLdV2ZPGOfS7d9U5KtGrNe3pxUeo7g92UG9Lt/4UJQO95Jia2qCy3oTqNq70vdpDZgJWiM/BQkaYVwJ3pgfABwfAu3uf4F39r5UG1Ov1UUVk/6BMKig4vypHYyacljRrUsahOEWJsFBEj5og5ZXaiQMOHdxapKkJ5yfz3B7ZUXFBYEY0vwiDkV6Ewgv147zp6SZXQZWcLi5HS/DKai8xFpjNpyjpKQ0r+aZepN2rqo6hr6sCXU9bI6insIjlXuk/UPzD+X9q/s4tcEFFYNYroCS8h8MFbBeYdYZWFUZFj7qcxCUblHL4EJfPP6W1E6RhaSZhgnXFHNGzPtvnbixWDET8uHyXNg7fm0vkbK3JRoDsewKclX5+i4vdilEj4ndFPpXvwsLCQiR3UYAkIuDvTwZkICK8YDvYx4+vWHizn4DYqvUGFlI0dUdNYnvUWigSFpJzhIaTQ8NFWjwFHhQwFh4fl+WBwV5NTGzgqXSTG5aW/J9RUmIBn88nCxQfW7OPiIDEnmND/5oy03revlZ91+2WGbL3GUwNmgXTCtLcgkG0TIxyblAUsNUY37ePvxTt47oUcYd/O2SvB6NQsZaTSfbyyZatqC7WAFnuUhi8DqUxJ/EIWHuXCsxHdHW36PrV6H3uyW7a0yyvaU66P/oU2JkNX7/x6Oyjd+Hrl0utH411trVoPGdo1AmkY3jbKLZaYtR3fOf+M4NqhckDu8fjWjPqe83M6rWAaAdg2Du4asd8qNSaH3cFVu3f0pJ6gnQz9Ut2VRxZOPpoS1lN+bYUPT/dlO70yQu7jx24NL9mjjJc0rypOrtuaia3hlNTxhVsN+UmV6YmxZU2NUQXpGYkFIG2YDOWM4XKcjajsNkUczZrH4XNNqew2RQzljOVwnIGKMWFwmabU9hsihnLmUphOYN2l3revjZ91x2WGXL/zZjqdAuWFZXmHgTon8Tj9sfZtvbF7Y8Dl6hwP+zGlDp+HFGe/zGDQUs4h1VzJGs5yHzCU+5NYPv4R3Fv+tarv2+P9pTHvGw8yLn6gVpPGiBmWhwqnkIC4xEojP3/ums8r2WCozgvfXpL3XGRM4AgAdMIWafkKFpQaFTA9ffmJC2G8la2wT7jCIHXuL3WN8qbrPMWW7XO0kk2tx3AesY0aqyOztfkr5749kJdrep0duz6jR4Bgf53hbZAAuMRKATjBMYjUPiOzlBdThfj3xZNUhmiDdBURpI01wi6S1h9Z0hHmoCpQJF7GHSEPIxHoPAdnaG6nC7Gv23SoDJkP2CvMgI8aE7Z2j8pLU7J4cyIiBDfL49s1ZjYBMv0GDUZvDG10f1s+t5nr+7vUgK1eG/BQYEtJDAegUIUEqhEvgSBQgQSKI/AIAIJDOZDAoNgtzuBQQQSGI9AfRsK0PF34iMLw27Uodbz3GROfIWb8heGMleHjRpsPgLg2I6J3sY9UcUJM8O9Oz8f4WMQwhE/j19vGq78WHgJtAaZS6rPnq4os5m3sCfPlpSu0bY1M1yDvF9HtSr7pxaH2nkKMRLLMBPnVOP0OM4ExZTuGgamNvy5gEFDMrfF/PN+5lBt64kK7SSFFgzSCzasLentqDhI2O+c66oGLjnv5lB4HmId9Y9r3v8hr/lwlzo7f1ft1Ohjl3bPgWCSPWxD1XeLUTTkxLpQqALnUDT6Nup9ezsKgZ37BAb3wHbsbGi1YxcK9eEMKjdoMTiBwr2wHS34emmqG4P6cAYLXw2oUZLH+BhMhnzswOLjLhRawjm0Iik1aQaF87ANBZGhJsL1v76HyKjcYNu3+pn4tGvkvJMTsfnvhOV8A8oyx/taSjnFOQguKB2ambnzIxLmUjRE6xbcLNQe6RS8PsbLWD3H6vKIxv+HHKEa4bDQtB3NrCgVBfD3/b7yuVrbbNn+l94SudziJV0f4zoF3MTDgtQc7dpz7NKLN38frFrwu6LtqgKoD6yFCL2g8x9fv/izsmlIZZWlwYSXcY5oD390nmhLVgM32BmB3ZUPv68AfkqavEfNl0EFnAVIztkIvubBpSPlB6ozA3WeB0hmCQOhZWmuXU+Ze7xFu9Qvq3/juN/tC69J3y5/PJrY55XQn5A2Nd42F9wDFObvG/3Hjf4b4f+N8P9g/Mwwgj/HhxC1agQ3BP6nKniRGL4Rz5EnS/lLxcrjlbgvItBRVCsejeCVeB4CSIJcBdwMpLGHEfw5PoQAkuCQAu4EZKMj1htMWdPYOZRzGw2u0Fkf5JIKEJzAG5CALcMYazVr7RsmiZ60GcGP4FwkwNsnwDeAo/R8M4LP4nmIWh6CywBb9dvv9/GX/n58t/T7zuLKt7lPy6XHa6ty9j94nHeosrr8JNCvOv3P0DrVvA6TOzKM4EfwPEQtD4EsvB2HHb5ZGcN9h3mHFu5P2xX47YvQTclKHnV+x5hVxrLAJqUyWd+QNm7XgkXmNcG3tD0t6pD8oryUyJzcXL8l+nIRl9SpmFyfuprB5qVjxbhuTQ/jHz0pejI5MSpRF1Xgkdh9ajARLvs2jWsP/jJfFsaWEbLwdshO63Y6Iv6r1DJSFsH08cmSjWNqZXFCLPP3mmU3Z5ksqkS5ROIhSf3S/rE9SyocM0AWZ8Ra/9dj3jcVvWt9OGm1LFqEWSJukBB7xDjfpzn/qpMkUSAsHqaVHosGyGKPGOd/zO2OxyRZFIh2yaHYdI/Lp9VsrxtapfZzuKk0OmN42ErfxkG1sjgmlvr/u+jXkiWyqBH1ku+P7QnbahcOzSRcKMnaVxFm7/jgGdq/TuiV5N4+keP9lxouauVkAACwAqyiO9/vy8Naj5hfjgGOFDZdTbl721/2Ue+br//e8e9S5yiH5zA4fcggqz926PhfKqXOe/7e8dcb56gPnDiDfSS3xq5QrSOBbIkKfAz3wGXSTNtysgXL97OdSovdFSS7EqIfBYvsrhBt+wENleyupEdY7yHLJojeeVZC496kA0WF38/2Aw0288l46ysBDEeyYOtrHUlvkO6QetrHcar1nhVtgiiyjkSyhYD26XZXsCbecPjZzCd8UaLBqoAi5n7+jl2g6pOyypGW0GLrxCcP43OOFc68zLHGnds5NmjYlGOLPzNy7JAZkGOPP0XEHbtDK8MYxiCi0KJlpGnTUM8gXmyklWY0n6LHwIwWC2000swAhtKM5bXkkEkyqagU8tUCw++FsxXRxgAGMhRBAc2YGY6FeoZQQjN+PpQ2BjIABT0aDBhbF6Voaj9qNLnkoZJHNOlxUqPakBSKmCnbMNoYg4wmFJrIMHo1hUYGMojRDOFgM3wVetBIT8gN6NCjWxaENgMK6cgYiBlLtULy1rBBLhBT0TUabPaR/9/xM3t8Aw==) format(\\"woff2\\");}div{width: 350px; height: 350px; background: black; display: flex; align-items: center;}p{margin-left: -700px; margin-right: -700px; font-family: Tinos; color: white; word-break: break-all; letter-spacing: 10px; transform:scale(0.2); font-size: 10px; animation-duration: 0.01s; animation-name: textflicker; animation-iteration-count: infinite; animation-direction: alternate;}@keyframes textflicker{from{text-shadow: 1px 0 0 #ea36af, -2px 0 0 #75fa69;}to{text-shadow: 2px 0.5px 2px #ea36af, -1px -0.5px 2px #75fa69;}}</style><foreignObject x=\\"0\\" y=\\"0\\" width=\\"350\\" height=\\"350\\"><div xmlns=\\"http://www.w3.org/1999/xhtml\\"><p>',
                wave,
                "</p></div></foreignObject></svg>"
            );
    }
}

File 9 of 24 : Traversable.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

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

import "solidity-examples/contracts/lzApp/NonblockingLzApp.sol";
import "solidity-examples/contracts/token/onft/IONFT.sol";

abstract contract Traversable is ERC721, Ownable, NonblockingLzApp, IONFT {
    mapping(uint256 => uint256) private _birthChainSeeds;
    mapping(uint256 => uint256) private _tokenIdSeeds;

    constructor(address layerZeroEndpoint)
        NonblockingLzApp(layerZeroEndpoint)
    {} // solhint-disable-line no-empty-blocks

    function sendFrom(
        address from,
        uint16 dstChainId,
        bytes calldata toAddress,
        uint256 tokenId,
        address payable refundAddress,
        address zroPaymentAddress,
        bytes calldata adapterParam
    ) external payable virtual override {
        _send(
            from,
            dstChainId,
            toAddress,
            tokenId,
            refundAddress,
            zroPaymentAddress,
            adapterParam
        );
    }

    function send(
        uint16 dstChainId,
        bytes calldata toAddress,
        uint256 tokenId,
        address payable refundAddress,
        address zroPaymentAddress,
        bytes calldata adapterParam
    ) external payable virtual override {
        _send(
            _msgSender(),
            dstChainId,
            toAddress,
            tokenId,
            refundAddress,
            zroPaymentAddress,
            adapterParam
        );
    }

    function getTraversableSeeds(uint256 tokenId)
        public
        view
        returns (uint256 birthChainSeed, uint256 tokenIdSeed)
    {
        return (_birthChainSeeds[tokenId], _tokenIdSeeds[tokenId]);
    }

    function _send(
        address from,
        uint16 dstChainId,
        bytes memory toAddress,
        uint256 tokenId,
        address payable refundAddress,
        address zroPaymentAddress,
        bytes calldata adapterParam
    ) internal virtual {
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "Traversable: transfer caller is not owner nor approved"
        );
        (uint256 birthChainSeed, uint256 tokenIdSeed) = getTraversableSeeds(
            tokenId
        );

        _unregisterTraversableSeeds(tokenId);
        _burn(tokenId);

        bytes memory payload = abi.encode(
            toAddress,
            tokenId,
            birthChainSeed,
            tokenIdSeed
        );

        _lzSend(
            dstChainId,
            payload,
            refundAddress,
            zroPaymentAddress,
            adapterParam
        );

        uint64 nonce = lzEndpoint.getOutboundNonce(dstChainId, address(this));
        emit SendToChain(from, dstChainId, toAddress, tokenId, nonce);
    }

    function _registerTraversableSeeds(
        uint256 tokenId,
        uint256 birthChainSeed,
        uint256 tokenIdSeed
    ) internal {
        _birthChainSeeds[tokenId] = birthChainSeed;
        _tokenIdSeeds[tokenId] = tokenIdSeed;
    }

    function _unregisterTraversableSeeds(uint256 tokenId) internal {
        delete _birthChainSeeds[tokenId];
        delete _tokenIdSeeds[tokenId];
    }

    function _nonblockingLzReceive(
        uint16 srcChainId, // solhint-disable-line no-unused-vars
        bytes memory srcAddress, // solhint-disable-line no-unused-vars
        uint64 nonce, // solhint-disable-line no-unused-vars
        bytes memory payload
    ) internal override {
        (
            bytes memory toAddress,
            uint256 tokenId,
            uint256 birthChainSeed,
            uint256 tokenIdSeed
        ) = abi.decode(payload, (bytes, uint256, uint256, uint256));
        address localToAddress;

        //solhint-disable-next-line no-inline-assembly
        assembly {
            localToAddress := mload(add(toAddress, 20))
        }
        if (localToAddress == address(0x0)) localToAddress == address(0xdEaD);

        _safeMint(localToAddress, tokenId);
        _registerTraversableSeeds(tokenId, birthChainSeed, tokenIdSeed);

        emit ReceiveFromChain(srcChainId, localToAddress, tokenId, nonce);
    }
}

File 10 of 24 : WAVE.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

import "@openzeppelin/contracts/utils/Base64.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./ByteSwapping.sol";

library WAVE {
    bytes4 private constant _CHANK_ID = "RIFF";
    bytes4 private constant _FORMAT = "WAVE";
    bytes4 private constant _SUB_CHANK_1_ID = "fmt ";
    uint32 private constant _SUB_CHANK_1_SIZE = 16;
    uint16 private constant _AUDIO_FORMAT = 1;
    uint16 private constant _NUM_CHANNELS = 1;
    uint16 private constant _BITS_PER_SAMPLE = 16;
    bytes4 private constant _SUB_CHANK_2_SIZE = "data";

    int16 private constant _UPPER_AMPLITUDE = 16383;
    int16 private constant _LOWER_AMPLITUDE = -16383;

    uint256 private constant _MAX_SAMPLE_RATE = 8000;
    uint256 private constant _MIN_SAMPLE_RATE = 3000;

    uint256 private constant _MAX_HERTZ = 160;
    uint256 private constant _MIN_HERTZ = 10;
    uint256 private constant _HERTZ_BASE = 10;

    uint256 private constant _MAX_DUTY_CYCLE = 99;
    uint256 private constant _MIN_DUTY_CYCLE = 1;
    uint256 private constant _DUTY_CYCLE_BASE = 100;

    function calculateSampleRate(uint256 seed) internal pure returns (uint256) {
        return _ramdom(seed, _MAX_SAMPLE_RATE, _MIN_SAMPLE_RATE);
    }

    function calculateDutyCycle(uint256 seed) internal pure returns (uint256) {
        return _ramdom(seed, _MAX_DUTY_CYCLE, _MIN_DUTY_CYCLE);
    }

    function calculateHertz(uint256 seed) internal pure returns (uint256) {
        return _ramdom(seed, _MAX_HERTZ, _MIN_HERTZ);
    }

    function addDecimalPointToHertz(uint256 hertz)
        internal
        pure
        returns (bytes memory)
    {
        return
            abi.encodePacked(
                Strings.toString(hertz / _HERTZ_BASE),
                ".",
                Strings.toString(hertz % _HERTZ_BASE)
            );
    }

    function generate(
        uint256 sampleRate,
        uint256 hertz,
        uint256 dutyCycle
    ) internal pure returns (bytes memory) {
        bytes memory wave;

        uint256 waveWidth = (sampleRate / hertz) * _HERTZ_BASE;

        uint256 amplitudesLength = 1;
        while (waveWidth >= 2**amplitudesLength) {
            amplitudesLength++;
        }

        bytes[] memory upperAmplitudes = new bytes[](amplitudesLength);
        bytes[] memory lowerAmplitudes = new bytes[](amplitudesLength);
        upperAmplitudes[0] = abi.encodePacked(
            ByteSwapping.swapUint16(uint16(_UPPER_AMPLITUDE))
        );
        lowerAmplitudes[0] = abi.encodePacked(
            ByteSwapping.swapUint16(uint16(_LOWER_AMPLITUDE))
        );

        for (uint256 i = 1; i < amplitudesLength; i++) {
            uint256 lastIndex = i - 1;
            upperAmplitudes[i] = abi.encodePacked(
                upperAmplitudes[lastIndex],
                upperAmplitudes[lastIndex]
            );
            lowerAmplitudes[i] = abi.encodePacked(
                lowerAmplitudes[lastIndex],
                lowerAmplitudes[lastIndex]
            );
        }

        uint256 upperWaveWidth = (waveWidth * dutyCycle) / _DUTY_CYCLE_BASE;
        uint256 lowerWaveWidth = (waveWidth * (_DUTY_CYCLE_BASE - dutyCycle)) /
            _DUTY_CYCLE_BASE;
        uint256 adjustWaveWidth = sampleRate %
            (upperWaveWidth + lowerWaveWidth);

        bytes memory upperWave = _concatAmplitudes(
            upperAmplitudes,
            upperWaveWidth
        );
        bytes memory lowerWave = _concatAmplitudes(
            lowerAmplitudes,
            lowerWaveWidth
        );
        bytes memory adjustWave = _concatAmplitudes(
            upperAmplitudes,
            adjustWaveWidth
        );

        while (sampleRate * 2 >= wave.length + waveWidth * 2) {
            wave = abi.encodePacked(wave, upperWave, lowerWave);
        }
        wave = abi.encodePacked(wave, adjustWave);
        return _encode(uint32(sampleRate), wave);
    }

    function _ramdom(
        uint256 seed,
        uint256 max,
        uint256 min
    ) private pure returns (uint256) {
        return (seed % (max - min)) + min;
    }

    function _concatAmplitudes(bytes[] memory amplitudes, uint256 waveWidth)
        private
        pure
        returns (bytes memory)
    {
        bytes memory concated;
        uint256 lastAmplitudesIndex = amplitudes.length - 1;
        while (concated.length < waveWidth * 2) {
            uint256 gap = waveWidth * 2 - concated.length;
            for (uint256 i = lastAmplitudesIndex; i >= 0; i--) {
                if (gap >= amplitudes[i].length) {
                    concated = abi.encodePacked(concated, amplitudes[i]);
                    lastAmplitudesIndex = i;
                    break;
                }
            }
        }
        return concated;
    }

    function _encode(uint32 sampleRate, bytes memory data)
        private
        pure
        returns (bytes memory)
    {
        bytes memory raw = abi.encodePacked(
            _riffChunk(sampleRate),
            _fmtSubChunk(sampleRate),
            _dataSubChunk(sampleRate, data)
        );
        return abi.encodePacked("data:audio/wav;base64,", Base64.encode(raw));
    }

    function _riffChunk(uint32 sampleRate) private pure returns (bytes memory) {
        return
            abi.encodePacked(
                _CHANK_ID,
                ByteSwapping.swapUint32(_chunkSize(sampleRate)),
                _FORMAT
            );
    }

    function _chunkSize(uint32 sampleRate) private pure returns (uint32) {
        return 4 + (8 + _SUB_CHANK_1_SIZE) + (8 + _subchunk2Size(sampleRate));
    }

    function _fmtSubChunk(uint32 sampleRate)
        private
        pure
        returns (bytes memory)
    {
        return
            abi.encodePacked(
                _SUB_CHANK_1_ID,
                ByteSwapping.swapUint32(_SUB_CHANK_1_SIZE),
                ByteSwapping.swapUint16(_AUDIO_FORMAT),
                ByteSwapping.swapUint16(_NUM_CHANNELS),
                ByteSwapping.swapUint32(sampleRate),
                ByteSwapping.swapUint32(_byteRate(sampleRate)),
                ByteSwapping.swapUint16(_blockAlign()),
                ByteSwapping.swapUint16(_BITS_PER_SAMPLE)
            );
    }

    function _byteRate(uint32 sampleRate) private pure returns (uint32) {
        return (sampleRate * _NUM_CHANNELS * _BITS_PER_SAMPLE) / 8;
    }

    function _blockAlign() private pure returns (uint16) {
        return (_NUM_CHANNELS * _BITS_PER_SAMPLE) / 8;
    }

    function _dataSubChunk(uint32 sampleRate, bytes memory data)
        private
        pure
        returns (bytes memory)
    {
        return
            abi.encodePacked(
                _SUB_CHANK_2_SIZE,
                ByteSwapping.swapUint32(_subchunk2Size(sampleRate)),
                data
            );
    }

    function _subchunk2Size(uint32 sampleRate) private pure returns (uint32) {
        return (sampleRate * _NUM_CHANNELS * _BITS_PER_SAMPLE) / 8;
    }
}

File 11 of 24 : 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 12 of 24 : 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 13 of 24 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 18 of 24 : IERC2981.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

interface IERC2981 {
    function royaltyInfo(uint256 tokenId, uint256 value)
        external
        view
        returns (address, uint256);
}

File 19 of 24 : NonblockingLzApp.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./LzApp.sol";

/*
 * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel
 * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking
 * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)
 */
abstract contract NonblockingLzApp is LzApp {
    constructor(address _endpoint) LzApp(_endpoint) {}

    mapping(uint16 => mapping(bytes => mapping(uint => bytes32))) public failedMessages;

    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload);

    // overriding the virtual function in LzReceiver
    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {
        // try-catch all errors/exceptions
        try this.nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload) {
            // do nothing
        } catch {
            // error / exception
            failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);
            emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload);
        }
    }

    function nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) public virtual {
        // only internal transaction
        require(_msgSender() == address(this), "LzReceiver: caller must be Bridge.");
        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);
    }

    //@notice override this function
    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;

    function retryMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes calldata _payload) external payable virtual {
        // assert there is message to retry
        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];
        require(payloadHash != bytes32(0), "LzReceiver: no stored message");
        require(keccak256(_payload) == payloadHash, "LzReceiver: invalid payload");
        // clear the stored message
        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);
        // execute the message. revert if it fails again
        this.nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);
    }
}

File 20 of 24 : IONFT.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

/**
 * @dev Interface of the ONFT standard
 */
interface IONFT is IERC721 {
    /**
     * @dev send token `_tokenId` to (`_dstChainId`, `_toAddress`)
     * `_toAddress` can be any size depending on the `dstChainId`.
     * `_zroPaymentAddress` set to address(0x0) if not paying in ZRO (LayerZero Token)
     * `_adapterParam` is a flexible bytes array to indicate messaging adapter services
     */
    function send(uint16 _dstChainId, bytes calldata _toAddress, uint _tokenId, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParam) external payable;

    /**
     * @dev send token `_tokenId` to (`_dstChainId`, `_toAddress`) from `_from`
     * `_toAddress` can be any size depending on the `dstChainId`.
     * `_zroPaymentAddress` set to address(0x0) if not paying in ZRO (LayerZero Token)
     * `_adapterParam` is a flexible bytes array to indicate messaging adapter services
     */
    function sendFrom(address _from, uint16 _dstChainId, bytes calldata _toAddress, uint _tokenId, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParam) external payable;

    /**
     * @dev Emitted when `_tokenId` are moved from the `_sender` to (`_dstChainId`, `_toAddress`)
     * `_nonce` is the outbound nonce from
     */
    event SendToChain(address indexed _sender, uint16 indexed _dstChainId, bytes indexed _toAddress, uint _tokenId, uint64 _nonce);

    /**
     * @dev Emitted when `_tokenId` are sent from `_srcChainId` to the `_toAddress` at this chain. `_nonce` is the inbound nonce.
     */
    event ReceiveFromChain(uint16 _srcChainId, address _toAddress, uint _tokenId, uint64 _nonce);
}

File 21 of 24 : LzApp.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "../interfaces/ILayerZeroReceiver.sol";
import "../interfaces/ILayerZeroUserApplicationConfig.sol";
import "../interfaces/ILayerZeroEndpoint.sol";

/*
 * a generic LzReceiver implementation
 */
abstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {
    ILayerZeroEndpoint internal immutable lzEndpoint;

    mapping(uint16 => bytes) internal trustedRemoteLookup;

    event SetTrustedRemote(uint16 _srcChainId, bytes _srcAddress);

    constructor(address _endpoint) {
        lzEndpoint = ILayerZeroEndpoint(_endpoint);
    }

    function lzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) external override {
        // lzReceive must be called by the endpoint for security
        require(_msgSender() == address(lzEndpoint));
        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.
        require(_srcAddress.length == trustedRemoteLookup[_srcChainId].length && keccak256(_srcAddress) == keccak256(trustedRemoteLookup[_srcChainId]), "LzReceiver: invalid source sending contract");

        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);
    }

    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging
    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;

    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParam) internal {
        require(trustedRemoteLookup[_dstChainId].length != 0, "LzSend: destination chain is not a trusted source.");
        lzEndpoint.send{value: msg.value}(_dstChainId, trustedRemoteLookup[_dstChainId], _payload, _refundAddress, _zroPaymentAddress, _adapterParam);
    }

    //---------------------------UserApplication config----------------------------------------
    function getConfig(uint16, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {
        return lzEndpoint.getConfig(lzEndpoint.getSendVersion(address(this)), _chainId, address(this), _configType);
    }

    // generic config for LayerZero user Application
    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {
        lzEndpoint.setConfig(_version, _chainId, _configType, _config);
    }

    function setSendVersion(uint16 _version) external override onlyOwner {
        lzEndpoint.setSendVersion(_version);
    }

    function setReceiveVersion(uint16 _version) external override onlyOwner {
        lzEndpoint.setReceiveVersion(_version);
    }

    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {
        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);
    }

    // allow owner to set it multiple times.
    function setTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external onlyOwner {
        trustedRemoteLookup[_srcChainId] = _srcAddress;
        emit SetTrustedRemote(_srcChainId, _srcAddress);
    }

    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {
        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];
        return keccak256(trustedSource) == keccak256(_srcAddress);
    }

    //--------------------------- VIEW FUNCTION ----------------------------------------
    // interacting with the LayerZero Endpoint and remote contracts

    function getTrustedRemote(uint16 _chainId) external view returns (bytes memory) {
        return trustedRemoteLookup[_chainId];
    }

    function getLzEndpoint() external view returns (address) {
        return address(lzEndpoint);
    }
}

File 22 of 24 : ILayerZeroReceiver.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.5.0;

interface ILayerZeroReceiver {
    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination
    // @param _srcChainId - the source endpoint identifier
    // @param _srcAddress - the source sending contract address from the source chain
    // @param _nonce - the ordered message nonce
    // @param _payload - the signed payload is the UA bytes has encoded to be sent
    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;
}

File 23 of 24 : ILayerZeroUserApplicationConfig.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.5.0;

interface ILayerZeroUserApplicationConfig {
    // @notice set the configuration of the LayerZero messaging library of the specified version
    // @param _version - messaging library version
    // @param _chainId - the chainId for the pending config change
    // @param _configType - type of configuration. every messaging library has its own convention.
    // @param _config - configuration in the bytes. can encode arbitrary content.
    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;

    // @notice set the send() LayerZero messaging library version to _version
    // @param _version - new messaging library version
    function setSendVersion(uint16 _version) external;

    // @notice set the lzReceive() LayerZero messaging library version to _version
    // @param _version - new messaging library version
    function setReceiveVersion(uint16 _version) external;

    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload
    // @param _srcChainId - the chainId of the source chain
    // @param _srcAddress - the contract address of the source contract at the source chain
    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;
}

File 24 of 24 : ILayerZeroEndpoint.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.5.0;

import "./ILayerZeroUserApplicationConfig.sol";

interface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {
    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.
    // @param _dstChainId - the destination chain identifier
    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains
    // @param _payload - a custom bytes payload to send to the destination contract
    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address
    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction
    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination
    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;

    // @notice used by the messaging library to publish verified payload
    // @param _srcChainId - the source chain identifier
    // @param _srcAddress - the source contract (as bytes) at the source chain
    // @param _dstAddress - the address on destination chain
    // @param _nonce - the unbound message ordering nonce
    // @param _gasLimit - the gas limit for external contract execution
    // @param _payload - verified payload to send to the destination contract
    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;

    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain
    // @param _srcChainId - the source chain identifier
    // @param _srcAddress - the source chain contract address
    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);

    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM
    // @param _srcAddress - the source chain contract address
    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);

    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery
    // @param _dstChainId - the destination chain identifier
    // @param _userApplication - the user app address on this EVM chain
    // @param _payload - the custom message to send over LayerZero
    // @param _payInZRO - if false, user app pays the protocol fee in native token
    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain
    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);

    // @notice get this Endpoint's immutable source identifier
    function getChainId() external view returns (uint16);

    // @notice the interface to retry failed message on this Endpoint destination
    // @param _srcChainId - the source chain identifier
    // @param _srcAddress - the source chain contract address
    // @param _payload - the payload to be retried
    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;

    // @notice query if any STORED payload (message blocking) at the endpoint.
    // @param _srcChainId - the source chain identifier
    // @param _srcAddress - the source chain contract address
    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);

    // @notice query if the _libraryAddress is valid for sending msgs.
    // @param _userApplication - the user app address on this EVM chain
    function getSendLibraryAddress(address _userApplication) external view returns (address);

    // @notice query if the _libraryAddress is valid for receiving msgs.
    // @param _userApplication - the user app address on this EVM chain
    function getReceiveLibraryAddress(address _userApplication) external view returns (address);

    // @notice query if the non-reentrancy guard for send() is on
    // @return true if the guard is on. false otherwise
    function isSendingPayload() external view returns (bool);

    // @notice query if the non-reentrancy guard for receive() is on
    // @return true if the guard is on. false otherwise
    function isReceivingPayload() external view returns (bool);

    // @notice get the configuration of the LayerZero messaging library of the specified version
    // @param _version - messaging library version
    // @param _chainId - the chainId for the pending config change
    // @param _userApplication - the contract address of the user application
    // @param _configType - type of configuration. every messaging library has its own convention.
    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);

    // @notice get the send() LayerZero messaging library version
    // @param _userApplication - the contract address of the user application
    function getSendVersion(address _userApplication) external view returns (uint16);

    // @notice get the lzReceive() LayerZero messaging library version
    // @param _userApplication - the contract address of the user application
    function getReceiveVersion(address _userApplication) external view returns (uint16);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"layerZeroEndpoint","type":"address"},{"internalType":"uint256","name":"chainSeed_","type":"uint256"},{"internalType":"uint256","name":"startTokenId_","type":"uint256"},{"internalType":"uint256","name":"endTokenId_","type":"uint256"},{"internalType":"uint256","name":"mintPrice_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"},{"indexed":false,"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"MessageFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"address","name":"_toAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"}],"name":"ReceiveFromChain","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_sender","type":"address"},{"indexed":true,"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"indexed":true,"internalType":"bytes","name":"_toAddress","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"}],"name":"SendToChain","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"SetTrustedRemote","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"chainSeed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"failedMessages","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"forceResumeReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"_configType","type":"uint256"}],"name":"getConfig","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLzEndpoint","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTraversableSeeds","outputs":[{"internalType":"uint256","name":"birthChainSeed","type":"uint256"},{"internalType":"uint256","name":"tokenIdSeed","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_chainId","type":"uint16"}],"name":"getTrustedRemote","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"isTrustedRemote","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"lzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"nonblockingLzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"retryMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"dstChainId","type":"uint16"},{"internalType":"bytes","name":"toAddress","type":"bytes"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address payable","name":"refundAddress","type":"address"},{"internalType":"address","name":"zroPaymentAddress","type":"address"},{"internalType":"bytes","name":"adapterParam","type":"bytes"}],"name":"send","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint16","name":"dstChainId","type":"uint16"},{"internalType":"bytes","name":"toAddress","type":"bytes"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address payable","name":"refundAddress","type":"address"},{"internalType":"address","name":"zroPaymentAddress","type":"address"},{"internalType":"bytes","name":"adapterParam","type":"bytes"}],"name":"sendFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"},{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"uint256","name":"_configType","type":"uint256"},{"internalType":"bytes","name":"_config","type":"bytes"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"}],"name":"setReceiveVersion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"}],"name":"setSendVersion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"setTrustedRemote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"supplied","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"tokenURI","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b506040516200628c3803806200628c8339810160408190526200003491620001d6565b604080518082018252600880825267494e4652534e435360c01b60208084018281528551808701909652928552840152815188938493849390926200007c9160009162000130565b5080516200009290600190602084019062000130565b505050620000af620000a9620000da60201b60201c565b620000de565b60601b6001600160601b0319166080525050600d93909355600f919091556010556011555062000268565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013e906200022b565b90600052602060002090601f016020900481019282620001625760008555620001ad565b82601f106200017d57805160ff1916838001178555620001ad565b82800160010185558215620001ad579182015b82811115620001ad57825182559160200191906001019062000190565b50620001bb929150620001bf565b5090565b5b80821115620001bb5760008155600101620001c0565b600080600080600060a08688031215620001ee578081fd5b85516001600160a01b038116811462000205578182fd5b602087015160408801516060890151608090990151929a91995097965090945092505050565b600181811c908216806200024057607f821691505b602082108114156200026257634e487b7160e01b600052602260045260246000fd5b50919050565b60805160601c615fcd620002bf600039600081816106e3015281816107b3015281816109b901528181610c0f01528181610efc01528181611527015281816118f401528181611f610152612af80152615fcd6000f3fe6080604052600436106102455760003560e01c806369b41f9511610139578063c87b56dd116100b6578063e6798baa1161007a578063e6798baa14610707578063e985e9c51461071d578063eb8d72b71461073d578063eed33cef1461075d578063f2fde38b14610770578063f5ecbdbc1461079057600080fd5b8063c87b56dd1461066b578063cbed8b9c1461068b578063d1a26ed3146106ab578063d1deba1f146106c1578063dacbcbe2146106d457600080fd5b80638da5cb5b116100fd5780638da5cb5b146105a95780638ee74912146105c757806395d89b4114610616578063a22cb4651461062b578063b88d4fde1461064b57600080fd5b806369b41f951461052b5780636a6278421461054b5780636e4228311461055e57806370a0823114610574578063715018a61461059457600080fd5b806323b872dd116101c757806342d65a8d1161018b57806342d65a8d146104a257806351905636146104c25780636352211e146104d557806366ad5c8a146104f55780636817c76c1461051557600080fd5b806323b872dd146103ee5780632a55205a1461040e5780633ccfd60b1461044d5780633d8b38f61461046257806342842e0e1461048257600080fd5b8063081812fc1161020e578063081812fc14610307578063095ea7b31461033f57806310ddb1371461035f57806310fd332b1461037f5780631cb929421461039f57600080fd5b80621d35671461024a57806301754d241461026c57806301ffc9a71461029557806306fdde03146102c557806307e0db17146102e7575b600080fd5b34801561025657600080fd5b5061026a6102653660046137b8565b6107b0565b005b34801561027857600080fd5b50610282600d5481565b6040519081526020015b60405180910390f35b3480156102a157600080fd5b506102b56102b03660046134da565b6108b9565b604051901515815260200161028c565b3480156102d157600080fd5b506102da6108e4565b60405161028c9190615906565b3480156102f357600080fd5b5061026a610302366004613599565b610976565b34801561031357600080fd5b506103276103223660046138e2565b610a21565b6040516001600160a01b03909116815260200161028c565b34801561034b57600080fd5b5061026a61035a3660046134af565b610ab6565b34801561036b57600080fd5b5061026a61037a366004613599565b610bcc565b34801561038b57600080fd5b5061026a61039a3660046134af565b610c46565b3480156103ab57600080fd5b506103d96103ba3660046138e2565b600090815260096020908152604080832054600a909252909120549091565b6040805192835260208301919091520161028c565b3480156103fa57600080fd5b5061026a61040936600461330f565b610ce0565b34801561041a57600080fd5b5061042e6104293660046138fa565b610d11565b604080516001600160a01b03909316835260208301919091520161028c565b34801561045957600080fd5b5061026a610d77565b34801561046e57600080fd5b506102b561047d3660046135d1565b610dd4565b34801561048e57600080fd5b5061026a61049d36600461330f565b610ea0565b3480156104ae57600080fd5b5061026a6104bd3660046135d1565b610ebb565b61026a6104d03660046133e9565b610f6c565b3480156104e157600080fd5b506103276104f03660046138e2565b610fbf565b34801561050157600080fd5b5061026a6105103660046137b8565b611036565b34801561052157600080fd5b5061028260115481565b34801561053757600080fd5b506102da610546366004613599565b61109c565b61026a6105593660046132b4565b611143565b34801561056a57600080fd5b50610282600e5481565b34801561058057600080fd5b5061028261058f3660046132b4565b611278565b3480156105a057600080fd5b5061026a6112ff565b3480156105b557600080fd5b506006546001600160a01b0316610327565b3480156105d357600080fd5b506102826105e23660046136d4565b6008602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561062257600080fd5b506102da611335565b34801561063757600080fd5b5061026a6106463660046133b8565b611344565b34801561065757600080fd5b5061026a61066636600461334f565b61134f565b34801561067757600080fd5b506102da6106863660046138e2565b611381565b34801561069757600080fd5b5061026a6106a6366004613883565b6114e6565b3480156106b757600080fd5b5061028260105481565b61026a6106cf36600461372a565b611592565b3480156106e057600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610327565b34801561071357600080fd5b50610282600f5481565b34801561072957600080fd5b506102b56107383660046132d7565b611738565b34801561074957600080fd5b5061026a6107583660046135d1565b611766565b61026a61076b366004613623565b6117ef565b34801561077c57600080fd5b5061026a61078b3660046132b4565b611841565b34801561079c57600080fd5b506102da6107ab366004613833565b6118dc565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146107e557600080fd5b61ffff84166000908152600760205260409020805461080390615e5b565b90508351148015610842575061ffff84166000908152600760205260409081902090516108309190613a84565b60405180910390208380519060200120145b6108a75760405162461bcd60e51b815260206004820152602b60248201527f4c7a52656365697665723a20696e76616c696420736f757263652073656e646960448201526a1b99c818dbdb9d1c9858dd60aa1b60648201526084015b60405180910390fd5b6108b384848484611a14565b50505050565b60006001600160e01b0319821663152a902d60e11b14806108de57506108de82611b05565b92915050565b6060600080546108f390615e5b565b80601f016020809104026020016040519081016040528092919081815260200182805461091f90615e5b565b801561096c5780601f106109415761010080835404028352916020019161096c565b820191906000526020600020905b81548152906001019060200180831161094f57829003601f168201915b5050505050905090565b6006546001600160a01b031633146109a05760405162461bcd60e51b815260040161089e9061599a565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610a0657600080fd5b505af1158015610a1a573d6000803e3d6000fd5b5050505050565b6000818152600260205260408120546001600160a01b0316610a9a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161089e565b506000908152600460205260409020546001600160a01b031690565b6000610ac182610fbf565b9050806001600160a01b0316836001600160a01b03161415610b2f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161089e565b336001600160a01b0382161480610b4b5750610b4b8133611738565b610bbd5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161089e565b610bc78383611b55565b505050565b6006546001600160a01b03163314610bf65760405162461bcd60e51b815260040161089e9061599a565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb137906024016109ec565b6006546001600160a01b03163314610c705760405162461bcd60e51b815260040161089e9061599a565b612710600b5410610cba5760405162461bcd60e51b8152602060048201526014602482015273149bde585b1d1e4e88189c1cc81a5b9d985b1a5960621b604482015260640161089e565b600c80546001600160a01b0319166001600160a01b039390931692909217909155600b55565b610cea3382611bc3565b610d065760405162461bcd60e51b815260040161089e906159cf565b610bc7838383611c92565b600c5460009081906001600160a01b031615801590610d315750600b5415155b15610d6957600c54600b546001600160a01b039091169061271090610d569086615dbf565b610d609190615c7f565b91509150610d70565b5060009050805b9250929050565b6006546001600160a01b03163314610da15760405162461bcd60e51b815260040161089e9061599a565b6040514790339082156108fc029083906000818181858888f19350505050158015610dd0573d6000803e3d6000fd5b5050565b61ffff831660009081526007602052604081208054829190610df590615e5b565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2190615e5b565b8015610e6e5780601f10610e4357610100808354040283529160200191610e6e565b820191906000526020600020905b815481529060010190602001808311610e5157829003601f168201915b505050505090508383604051610e859291906139e6565b60405180910390208180519060200120149150509392505050565b610bc78383836040518060200160405280600081525061134f565b6006546001600160a01b03163314610ee55760405162461bcd60e51b815260040161089e9061599a565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610f3590869086908690600401615a20565b600060405180830381600087803b158015610f4f57600080fd5b505af1158015610f63573d6000803e3d6000fd5b50505050505050565b610fb4898989898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508b92508a91508990508888611e2e565b505050505050505050565b6000818152600260205260408120546001600160a01b0316806108de5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161089e565b3330146110905760405162461bcd60e51b815260206004820152602260248201527f4c7a52656365697665723a2063616c6c6572206d757374206265204272696467604482015261329760f11b606482015260840161089e565b6108b384848484612063565b61ffff811660009081526007602052604090208054606091906110be90615e5b565b80601f01602080910402602001604051908101604052809291908181526020018280546110ea90615e5b565b80156111375780601f1061110c57610100808354040283529160200191611137565b820191906000526020600020905b81548152906001019060200180831161111a57829003601f168201915b50505050509050919050565b6011543410156111955760405162461bcd60e51b815260206004820152601b60248201527f494e4652534e43533a206d73672076616c756520696e76616c69640000000000604482015260640161089e565b6000600e54600f546111a79190615c27565b90506010548111156111fb5760405162461bcd60e51b815260206004820152601760248201527f494e4652534e43533a206d696e742066696e6973686564000000000000000000604482015260640161089e565b611205828261211b565b61125f81600d546001436112199190615e01565b6040805191406020830152810185905260600160408051601f19818403018152918152815160209283012060009485526009835281852093909355600a90915290912055565b600e805490600061126f83615e96565b91905055505050565b60006001600160a01b0382166112e35760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161089e565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146113295760405162461bcd60e51b815260040161089e9061599a565b6113336000612135565b565b6060600180546108f390615e5b565b610dd0338383612187565b6113593383611bc3565b6113755760405162461bcd60e51b815260040161089e906159cf565b6108b384848484612256565b6000818152600260205260409020546060906001600160a01b03166113e85760405162461bcd60e51b815260206004820152601b60248201527f494e4652534e43533a206e6f6e6578697374656e7420746f6b656e0000000000604482015260640161089e565b600082815260096020908152604080832054600a909252822054600d549192909161141290612289565b9050600061141f8461229a565b9050600061142c846122a9565b9050600061143b8483856122b8565b90506000611448896126d3565b611451836127ec565b8361145b886126d3565b611464886126d3565b61146d88612815565b60405160200161147f93929190613b2f565b60408051601f198184030181529082905261149f949392916020016157a4565b60405160208183030381529060405290506114b981612849565b6040516020016114c9919061575f565b604051602081830303815290604052975050505050505050919050565b6006546001600160a01b031633146115105760405162461bcd60e51b815260040161089e9061599a565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c906115649088908890889088908890600401615ba2565b600060405180830381600087803b15801561157e57600080fd5b505af1158015610fb4573d6000803e3d6000fd5b61ffff851660009081526008602052604080822090516115b39087906139f6565b90815260408051602092819003830190206001600160401b038716600090815292529020549050806116275760405162461bcd60e51b815260206004820152601d60248201527f4c7a52656365697665723a206e6f2073746f726564206d657373616765000000604482015260640161089e565b8083836040516116389291906139e6565b60405180910390201461168d5760405162461bcd60e51b815260206004820152601b60248201527f4c7a52656365697665723a20696e76616c6964207061796c6f61640000000000604482015260640161089e565b61ffff861660009081526008602052604080822090516116ae9088906139f6565b9081526040805191829003602090810183206001600160401b038916600090815291522091909155633356ae4560e11b815230906366ad5c8a906116fe9089908990899089908990600401615a3e565b600060405180830381600087803b15801561171857600080fd5b505af115801561172c573d6000803e3d6000fd5b50505050505050505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6006546001600160a01b031633146117905760405162461bcd60e51b815260040161089e9061599a565b61ffff831660009081526007602052604090206117ae908383613148565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab8383836040516117e293929190615a20565b60405180910390a1505050565b611837338989898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508b92508a91508990508888611e2e565b5050505050505050565b6006546001600160a01b0316331461186b5760405162461bcd60e51b815260040161089e9061599a565b6001600160a01b0381166118d05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161089e565b6118d981612135565b50565b6040516304b2b47b60e11b81523060048201526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90829063096568f69060240160206040518083038186803b15801561194657600080fd5b505afa15801561195a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197e91906135b5565b6040516001600160e01b031960e084901b16815261ffff918216600482015290871660248201523060448201526064810185905260840160006040518083038186803b1580156119cd57600080fd5b505afa1580156119e1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a099190810190613512565b90505b949350505050565b604051633356ae4560e11b815230906366ad5c8a90611a3d908790879087908790600401615a7d565b600060405180830381600087803b158015611a5757600080fd5b505af1925050508015611a68575060015b6108b3578080519060200120600860008661ffff1661ffff16815260200190815260200160002084604051611a9d91906139f6565b9081526040805191829003602090810183206001600160401b0387166000908152915220919091557fe6f254030bcb01ffd20558175c13fcaed6d1520be7becee4c961b65f79243b0d90611af8908690869086908690615a7d565b60405180910390a16108b3565b60006001600160e01b031982166380ac58cd60e01b1480611b3657506001600160e01b03198216635b5e139f60e01b145b806108de57506301ffc9a760e01b6001600160e01b03198316146108de565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b8a82610fbf565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611c3c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161089e565b6000611c4783610fbf565b9050806001600160a01b0316846001600160a01b03161480611c825750836001600160a01b0316611c7784610a21565b6001600160a01b0316145b80611a0c5750611a0c8185611738565b826001600160a01b0316611ca582610fbf565b6001600160a01b031614611d095760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161089e565b6001600160a01b038216611d6b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161089e565b611d76600082611b55565b6001600160a01b0383166000908152600360205260408120805460019290611d9f908490615e01565b90915550506001600160a01b0382166000908152600360205260408120805460019290611dcd908490615c27565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611e383386611bc3565b611ea35760405162461bcd60e51b815260206004820152603660248201527f5472617665727361626c653a207472616e736665722063616c6c6572206973206044820152751b9bdd081bdddb995c881b9bdc88185c1c1c9bdd995960521b606482015260840161089e565b60008581526009602090815260408083208054600a9093529083208054918490559290925590611ed2876129aa565b600088888484604051602001611eeb9493929190615919565b6040516020818303038152906040529050611f3f8a82898989898080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612a4592505050565b604051630f428ae960e31b815261ffff8b1660048201523060248201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690637a1457489060440160206040518083038186803b158015611fab57600080fd5b505afa158015611fbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe3919061391b565b905089604051611ff391906139f6565b60405180910390208b61ffff168d6001600160a01b03167f024797cc77ce15dc717112d54fb1df125fdfd8c81344fb046c5e074427ce15438c8560405161204d9291909182526001600160401b0316602082015260400190565b60405180910390a4505050505050505050505050565b6000806000808480602001905181019061207d9190613544565b601484015193975091955093509150612096818561211b565b6000848152600960209081526040808320869055600a90915290208290556040805161ffff8b1681526001600160a01b03831660208201529081018590526001600160401b03881660608201527fd4d39d20f72eabd06c301e516d54653dfc9116de62c1d54bf1cb48cf3b42a7db9060800160405180910390a1505050505050505050565b610dd0828260405180602001604052806000815250612b51565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156121e95760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161089e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612261848484611c92565b61226d84848484612b84565b6108b35760405162461bcd60e51b815260040161089e90615948565b60006108de82611f40610bb8612c8e565b60006108de8260636001612c8e565b60006108de8260a0600a612c8e565b6060806000600a6122c98688615c7f565b6122d39190615dbf565b905060015b6122e3816002615ced565b82106122fb57806122f381615e96565b9150506122d8565b6000816001600160401b0381111561232357634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561235657816020015b60608152602001906001900390816123415790505b5090506000826001600160401b0381111561238157634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156123b457816020015b606081526020019060019003908161239f5790505b50604051600160c160f01b03196020820152909150602201604051602081830303815290604052826000815181106123fc57634e487b7160e01b600052603260045260246000fd5b602090810291909101810191909152604051600760f61b918101919091526022016040516020818303038152906040528160008151811061244d57634e487b7160e01b600052603260045260246000fd5b602090810291909101015260015b838110156125bc576000612470600183615e01565b905083818151811061249257634e487b7160e01b600052603260045260246000fd5b60200260200101518482815181106124ba57634e487b7160e01b600052603260045260246000fd5b60200260200101516040516020016124d3929190613a12565b60405160208183030381529060405284838151811061250257634e487b7160e01b600052603260045260246000fd5b602002602001018190525082818151811061252d57634e487b7160e01b600052603260045260246000fd5b602002602001015183828151811061255557634e487b7160e01b600052603260045260246000fd5b602002602001015160405160200161256e929190613a12565b60405160208183030381529060405283838151811061259d57634e487b7160e01b600052603260045260246000fd5b60200260200101819052505080806125b490615e96565b91505061245b565b50600060646125cb8987615dbf565b6125d59190615c7f565b9050600060646125e58a82615e01565b6125ef9088615dbf565b6125f99190615c7f565b905060006126078284615c27565b612611908d615eb1565b9050600061261f8685612caf565b9050600061262d8685612caf565b9050600061263b8885612caf565b90505b6126498a6002615dbf565b8b516126559190615c27565b8f60026126629190615dbf565b10612692578a838360405160200161267c93929190613a41565b6040516020818303038152906040529a5061263e565b8a816040516020016126a5929190613a12565b6040516020818303038152906040529a506126c08f8c612d99565b9f9e505050505050505050505050505050565b6060816126f75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612721578061270b81615e96565b915061271a9050600a83615c7f565b91506126fb565b6000816001600160401b0381111561274957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612773576020820181803683370190505b5090505b8415611a0c57612788600183615e01565b9150612795600a86615eb1565b6127a0906030615c27565b60f81b8183815181106127c357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506127e5600a86615c7f565b9450612777565b6060816040516020016127ff9190613c29565b6040516020818303038152906040529050919050565b606061282a612825600a84615c7f565b6126d3565b612838612825600a85615eb1565b6040516020016127ff929190613af3565b606081516000141561286957505060408051602081019091526000815290565b6000604051806060016040528060408152602001615f5860409139905060006003845160026128989190615c27565b6128a29190615c7f565b6128ad906004615dbf565b6001600160401b038111156128d257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156128fc576020820181803683370190505b509050600182016020820185865187015b80821015612968576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f811685015184535060018301925061290d565b505060038651066001811461298457600281146129975761299f565b603d6001830353603d600283035361299f565b603d60018303535b509195945050505050565b60006129b582610fbf565b90506129c2600083611b55565b6001600160a01b03811660009081526003602052604081208054600192906129eb908490615e01565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b61ffff851660009081526007602052604090208054612a6390615e5b565b15159050612ace5760405162461bcd60e51b815260206004820152603260248201527f4c7a53656e643a2064657374696e6174696f6e20636861696e206973206e6f746044820152711030903a393ab9ba32b21039b7bab931b29760711b606482015260840161089e565b61ffff851660009081526007602052604090819020905162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163c5803100913491612b38918a91908a908a908a908a90600401615ac6565b6000604051808303818588803b15801561171857600080fd5b612b5b8383612e0d565b612b686000848484612b84565b610bc75760405162461bcd60e51b815260040161089e90615948565b60006001600160a01b0384163b15612c8657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612bc89033908990889088906004016158c9565b602060405180830381600087803b158015612be257600080fd5b505af1925050508015612c12575060408051601f3d908101601f19168201909252612c0f918101906134f6565b60015b612c6c573d808015612c40576040519150601f19603f3d011682016040523d82523d6000602084013e612c45565b606091505b508051612c645760405162461bcd60e51b815260040161089e90615948565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a0c565b506001611a0c565b600081612c9b8185615e01565b612ca59086615eb1565b611a0c9190615c27565b606080600060018551612cc29190615e01565b90505b612cd0846002615dbf565b82511015612d91578151600090612ce8866002615dbf565b612cf29190615e01565b9050815b868181518110612d1657634e487b7160e01b600052603260045260246000fd5b6020026020010151518210612d785783878281518110612d4657634e487b7160e01b600052603260045260246000fd5b6020026020010151604051602001612d5f929190613a12565b6040516020818303038152906040529350809250612d8a565b80612d8281615e44565b915050612cf6565b5050612cc5565b509392505050565b60606000612da684612f4f565b612daf85612fc0565b612db9868661308d565b604051602001612dcb93929190613a41565b6040516020818303038152906040529050612de581612849565b604051602001612df59190615721565b60405160208183030381529060405291505092915050565b6001600160a01b038216612e635760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161089e565b6000818152600260205260409020546001600160a01b031615612ec85760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161089e565b6001600160a01b0382166000908152600360205260408120805460019290612ef1908490615c27565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060632924a32360e11b612f89612f65846130cd565b600881811c62ff00ff1663ff00ff009290911b9190911617601081811c91901b1790565b6040516001600160e01b0319928316602082015260e09190911b9091166024820152635741564560e01b6028820152602c016127ff565b60606303336ba160e51b631000000061010080600886811b63ff00ff001662ff00ff9188901c9190911617601081811b91901c17613000612f6588613104565b61301f61300b613129565b600881811b62ffff001691901c60ff161790565b6040516001600160e01b0319978816602082015260e096871b881660248201526001600160f01b031960f096871b8116602883015294861b8516602a82015292861b8716602c840152941b909416603085015291901b166034820152600160fc1b60368201526038016127ff565b6060636461746160e01b6130a3612f6585613104565b836040516020016130b6939291906139a8565b604051602081830303815290604052905092915050565b60006130d882613104565b6130e3906008615c3f565b6130ef60106008615c3f565b6130fa906004615c3f565b6108de9190615c3f565b600060086010613115600185615dde565b61311f9190615dde565b6108de9190615c93565b6000600861313960106001615d95565b6131439190615c5e565b905090565b82805461315490615e5b565b90600052602060002090601f01602090048101928261317657600085556131bc565b82601f1061318f5782800160ff198235161785556131bc565b828001600101855582156131bc579182015b828111156131bc5782358255916020019190600101906131a1565b506131c89291506131cc565b5090565b5b808211156131c857600081556001016131cd565b60008083601f8401126131f2578182fd5b5081356001600160401b03811115613208578182fd5b602083019150836020828501011115610d7057600080fd5b600082601f830112613230578081fd5b813561324361323e82615c00565b615bd0565b818152846020838601011115613257578283fd5b816020850160208301379081016020019190915292915050565b600082601f830112613281578081fd5b815161328f61323e82615c00565b8181528460208386010111156132a3578283fd5b611a0c826020830160208701615e18565b6000602082840312156132c5578081fd5b81356132d081615f07565b9392505050565b600080604083850312156132e9578081fd5b82356132f481615f07565b9150602083013561330481615f07565b809150509250929050565b600080600060608486031215613323578081fd5b833561332e81615f07565b9250602084013561333e81615f07565b929592945050506040919091013590565b60008060008060808587031215613364578081fd5b843561336f81615f07565b9350602085013561337f81615f07565b92506040850135915060608501356001600160401b038111156133a0578182fd5b6133ac87828801613220565b91505092959194509250565b600080604083850312156133ca578182fd5b82356133d581615f07565b915060208301358015158114613304578182fd5b600080600080600080600080600060e08a8c031215613406578485fd5b893561341181615f07565b985060208a013561342181615f32565b975060408a01356001600160401b038082111561343c578687fd5b6134488d838e016131e1565b909950975060608c0135965060808c0135915061346482615f07565b90945060a08b01359061347682615f07565b90935060c08b0135908082111561348b578384fd5b506134988c828d016131e1565b915080935050809150509295985092959850929598565b600080604083850312156134c1578182fd5b82356134cc81615f07565b946020939093013593505050565b6000602082840312156134eb578081fd5b81356132d081615f1c565b600060208284031215613507578081fd5b81516132d081615f1c565b600060208284031215613523578081fd5b81516001600160401b03811115613538578182fd5b611a0c84828501613271565b60008060008060808587031215613559578182fd5b84516001600160401b0381111561356e578283fd5b61357a87828801613271565b6020870151604088015160609098015191999098509095509350505050565b6000602082840312156135aa578081fd5b81356132d081615f32565b6000602082840312156135c6578081fd5b81516132d081615f32565b6000806000604084860312156135e5578081fd5b83356135f081615f32565b925060208401356001600160401b0381111561360a578182fd5b613616868287016131e1565b9497909650939450505050565b60008060008060008060008060c0898b03121561363e578182fd5b883561364981615f32565b975060208901356001600160401b0380821115613664578384fd5b6136708c838d016131e1565b909950975060408b0135965060608b0135915061368c82615f07565b90945060808a01359061369e82615f07565b90935060a08a013590808211156136b3578384fd5b506136c08b828c016131e1565b999c989b5096995094979396929594505050565b6000806000606084860312156136e8578081fd5b83356136f381615f32565b925060208401356001600160401b0381111561370d578182fd5b61371986828701613220565b925050604084013590509250925092565b600080600080600060808688031215613741578283fd5b853561374c81615f32565b945060208601356001600160401b0380821115613767578485fd5b61377389838a01613220565b95506040880135915061378582615f42565b9093506060870135908082111561379a578283fd5b506137a7888289016131e1565b969995985093965092949392505050565b600080600080608085870312156137cd578182fd5b84356137d881615f32565b935060208501356001600160401b03808211156137f3578384fd5b6137ff88838901613220565b94506040870135915061381182615f42565b90925060608601359080821115613826578283fd5b506133ac87828801613220565b60008060008060808587031215613848578182fd5b843561385381615f32565b9350602085013561386381615f32565b9250604085013561387381615f07565b9396929550929360600135925050565b60008060008060006080868803121561389a578283fd5b85356138a581615f32565b945060208601356138b581615f32565b93506040860135925060608601356001600160401b038111156138d6578182fd5b6137a7888289016131e1565b6000602082840312156138f3578081fd5b5035919050565b6000806040838503121561390c578182fd5b50508035926020909101359150565b60006020828403121561392c578081fd5b81516132d081615f42565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60008151808452613978816020860160208601615e18565b601f01601f19169290920160200192915050565b6000815161399e818560208601615e18565b9290920192915050565b6001600160e01b0319848116825260e084901b16600482015281516000906139d7816008850160208701615e18565b91909101600801949350505050565b8183823760009101908152919050565b60008251613a08818460208701615e18565b9190910192915050565b60008351613a24818460208801615e18565b835190830190613a38818360208801615e18565b01949350505050565b60008451613a53818460208901615e18565b845190830190613a67818360208901615e18565b8451910190613a7a818360208801615e18565b0195945050505050565b6000808354613a9281615e5b565b60018281168015613aaa5760018114613abb57613ae7565b60ff19841687528287019450613ae7565b8786526020808720875b85811015613ade5781548a820152908401908201613ac5565b50505082870194505b50929695505050505050565b60008351613b05818460208801615e18565b601760f91b9083019081528351613b23816001840160208801615e18565b01600101949350505050565b7f5b7b2274726169745f74797065223a2253414d504c452052415445222c227661815265363ab2911d1160d11b602082015260008451613b76816026850160208901615e18565b7f227d2c7b2274726169745f74797065223a2244555459204359434c45222c22766026918401918201526630b63ab2911d1160c91b60468201528451613bc381604d840160208901615e18565b7f227d2c7b2274726169745f74797065223a22484552545a222c2276616c756522604d9290910191820152611d1160f11b606d8201528351613c0c81606f840160208801615e18565b62227d5d60e81b606f929091019182015260720195945050505050565b7f3c7376672077696474683d5c223335305c22206865696768743d5c223335305c81527f222076696577426f783d5c2230203020333530203335305c2220786d6c6e733d60208201527f5c22687474703a2f2f7777772e77332e6f72672f323030302f7376675c223e3c60408201527f7374796c653e40666f6e742d666163657b666f6e742d66616d696c793a205c2260608201527f54696e6f735c223b20666f6e742d7374796c653a206e6f726d616c3b20666f6e60808201527f742d7765696768743a203430303b207372633a2075726c28646174613a666f6e60a08201527f742f776f6666323b6261736536342c643039474d67414241414141414133774160c08201527f413441414141414631674141413263414145414141414141414141414141414160e08201527f41414141414141414141414141414147685962676d59634b675a674149456b456101008201527f52414b6f4343596167746d4141453241695144675567454941574451416367476101208201527f3055534d314b7a656942546e596b786275695058332f2b2f6541666d444e66716101408201527f4a436b66454335415441376c49514b4652486271616d747176392f64616b6b2b6101608201527f2b36534c797668726430364c4a3377375953793542516f414b424662746d36476101808201527f395a4f35626b387a45434349417a506e2b7546485672432f7a2f79702b30466a6101a08201527f7455685751745836364b57384d39316b4a634f4a6a7a303332562f516e646c4f6101c08201527f2b3456376a69414f68747a6b73327370532b42763337676a2f753175694569556101e08201527f625330673572676e5734373338666c78505a7854346c494a626f6b7330616d6d6102008201527f3454614b65554d306b3075346759667378465a3238345967492f417a465231496102208201527f777a2f50433664475973315a6458697564536473586a614843724f6e625230506102408201527f6e6e594454582f474444626a42574e706343614d32337866504a637a64384d416102608201527f47657a4d596c5141466235696450352f4f555072336a414a5536796b743530706102808201527f6231536165446a5a4134783068525354436b427461684866526f4f7a625847726102a08201527f54694c683376554f637863466c6464386453566d41497171416c5631495371326102c08201527f6b564e4e6147754175717043626c536657324a5a364b5a34626b73446e4341746102e08201527f6c30796c365757746c46583232696f414974536a5358514c6872714c4e5a41366103008201527f5171493255784d6a6558504d354d51686e5a526d737353714376314e4a5036366103208201527f6b7044645a322b6f484e59784f724339645677626f4f7a616c49544f374245586103408201527f6a4a7a327554466c47797a6f65525176433137724c456242344f63665534544d6103608201527f4b72355637434f4d4e55345954696d47624963327a457465795055414f5938386103808201527f7a44304739422f4142327057446e66325a3772626a514a567a4b75547353342b6103a08201527f664d2f574b6564646b44467a61664763705348494c665a4131517565776954696103c08201527f74536c4555317053527661305a76424447633030356a4650426177576e7236716103e08201527f657653674b5930707a5874364d5241686a475353637869446774594c4f6d33506104008201527f7569643375693158756d6c6e756d683775756562756971727569794c6734364a6104208201527f514d6d7435704c6e4352686955544c774d5a344b756f575a682b4f4476307a526104408201527f516a427057536d4454797a6546414d56746b6f5259567830754d6f343752566d6104608201527f69756d624d2f33504c7645697862367a502b647375326b4658587a79747834576104808201527f56476c4d6a382f6d76534c43364c4669624c38544a6e727077767a33494b77376104a08201527f3561346a54302f76315a6859634a442b364844625a3361636878772f75476b786104c08201527f336d677871576771487163464d76526f7856716c724a48793141736b6f644c316104e08201527f4b794d336b634e754c502b4875366b696b4455674255745537514166557870436105008201527f3856796c4b3845616c494534727548596a454c314c672b453344756f6541506c6105208201527f7852457a57674f564950536c6a7548744956716c41667042333335584f3668736105408201527f45673761734a43484e65707262702b64676d4b617437354f54517031495474386105608201527f3357694245744635315055674f574e686b7a645969723341495361304248512b6105808201527f5058393572437346376a526a456735726c4e744a672f6d712f76526f774e6d306105a08201527f673451336b4e316351564f4879354c6d6c6e3161442b424f6b664e796b4a746a6105c08201527f7a7a6354523741302f53363039524d514c783064795970415a48457243596c7a6105e08201527f566f47342b484872327854316b492f68636d6755354841444845364d676669636106008201527f57504a5a33557671536731784442326b6d7475524677707535573174564149546106208201527f4e50336a686f38557879583353504e5246596a32734c67362f6c4b744c6456326106408201527f5a50474f665337643955354b7447724e6533707855656f376739325547394c746106608201527f2f34554a514f39354a696132714379336f54714e713730766470445a674a57696106808201527f4d2f42516b615956774a337067664142776641753375663446333972355547316106a08201527f4f76315555566b2f36424d4b69673476797048597961636c6a5272557361684f6106c08201527f45574a734642456a356f67355a586169514d4f48647861704b6b4a3579667a336106e08201527f42375a5558464259455930767769446b5636457767763134377a7036535a58516107008201527f5a57634c693548532f444b6169387846706a4e70796a704b5130722b615a65706107208201527f4e3272716f366872367343585539624936696e73496a6c58756b2f55507a442b6107408201527f5839712f73347463454646594e59726f43533868384d466242655964595a57466107608201527f555a466a377163784355626c484c34454a6650503657314536526861535a68676107808201527f6e5846484e477a5074766e6269785744455438754879584e6737666d30766b626107a08201527f4b334a526f447365774b636c58352b69347664696c456a346e644650705876776107c08201527f734c43516952335559416b4975447654775a6b49434b385944765978342b76576107e08201527f48697a6e34445971765547466c49306455644e596e76555769675346704a7a686108008201527f49615451384e46576a774648685177466834666c2b57427756354e54477a67716108208201527f585354473561572f4a3952556d49426e38386e4378516657374f50694944456e6108408201527f6d4e442f356f7930337265766c5a39312b325747624c334755774e6d675854436108608201527f744c63676b473054497879626c4155734e5559333765507678547434376f55636108808201527f59642f4f32537642364e51735a615453666279795a61747143375741466e75556108a08201527f686938447155784a2f45495748755843737848644857333650725636483375796108c08201527f5737613079797661553636502f6f55324a6b4e58372f78364f796a642b48726c6108e08201527f307574483431317472566f5047646f31416d6b59336a624b4c5a6159745233666109008201527f4f662b4d344e7168636b447538666a576a50716538334d3672574161416467326109208201527f44753461736438714e5361483363465675336630704a36676e517a39557432566109408201527f52785a4f50706f53316c4e2b62595550542f646c4f3730795175376a7832344e6109608201527f4c396d6a6a4a63307279704f72747561696133686c4e54786856734e2b556d566109808201527f36596d785a55324e5551587047596b4649473259444f574d34584b636a616a736109a08201527f4e6b55637a5a724834584e4e7165773252517a6c6a4f56776e49474b4d5746776109c08201527f6d61625539687369686e4c6d5570684f594e326c337265766a5a3931783257476109e08201527f584c2f7a5a6a7164417557465a586d4867546f6e38546a3973665a7476624637610a008201527f5938446c366877502b7a476c44702b484647652f7a4744515573346831567a4a610a208201527f47733579487a43552b354e59507634523346762b74617276322b503970544876610a408201527f477738794c6e36675670504769426d576877716e6b49433478456f6a50332f75610a608201527f6d7338723257436f7a67766658704c335847524d34416741644d495761666b4b610a808201527f467051614654413966666d4a433247386c61327754376a43494858754c33574e610aa08201527f38716272504d575737584f306b6b3274783341657359306171794f7a74666b72610ac08201527f353734396b4a647265703064757a366a5234426766353368625a4141754d524b610ae08201527f41546a424d596a5550694f7a6c42645468666a33785a4e55686d694464425552610b008201527f70493031776936533168395a3068486d6f4370514a463747485345504978486f610b208201527f5041646e6147366e433747763233536f444a6b503243764d6749386145375a32610b408201527f6a38704c55374a34637949694244664c343973315a6a59424d76304744555a76610b608201527f444731306631732b74356e722b377655674b3165472f42515945744a44416567610b808201527f5549554571684576675342516751534b492f414941494a444f5a44416f4e6774610ba08201527f7a754251515153474939416652734b3050463334694d4c773237556f64627a33610bc08201527f47524f66495762386865474d6c65486a52707350674c673249364a3373593955610be08201527f63554a4d384f394f7a386634574d517768452f6a313976477137385748674a74610c008201527f41615a533672506e71346f73356d33734366506c705375306259314d31794476610c208201527f4639487453723770786148326e6b4b4d524c4c4d42506e564f50304f4d344578610c408201527f5a54754767616d4e767935674546444d7266462f504e2b356c427436346b4b37610c608201527f53534646677a53437a61734c656e7471446849324f2b6336366f474c6a6e7635610c808201527f6c4234486d49643959397233763868722f6c776c7a6f3766316674314f686a6c610ca08201527f33625067574353505778443158654c5554546b784c705171414c6e554454364e610cc08201527f757039657a734b675a33374241623377486273624769315978634b3965454d4b610ce08201527f6a646f4d5469427772327748533334656d6d71473450366341594c5877326f55610d008201527f5a4c482b42684d686e7a73774f4c6a4c685261776a6d3049696b316151614638610d208201527f37414e425a47684a734c3176373648794b6a63594e75332b706e347447766b76610d408201527f4a4d5473666e76684f563841386f79782f7461536a6e464f5167754b4232616d610d608201527f626e7a49784c6d556a5245367862634c4e5165365253385073624c5744334836610d808201527f764b4978762b48484b4561346244517442334e72436756426644332f62377975610da08201527f567262624e6e2b6c39345375647a694a563066347a6f46334d54446774516337610dc08201527f64707a374e4b4c4e3338667246727775364c7471674b6f44367946434c326738610de08201527f783966762f697a736d6c495a5a576c775953586359356f443339306e6d684c56610e008201527f674d3332426d42335a555076363841666b71617645664e6c3045466e4156497a610e208201527f746b49767562427053506c42366f7a413357654230686d43514f685a576d7558610e408201527f552b5a653778467539517671332f6a754e2f744336394a3379352f504a725935610e608201527f3558516e3541324e64343246397744464f6276472f33486a66346234662b4e38610e808201527f5039672f4d7777676a2f4868784331616751334250366e4b6e6952474c34527a610ea08201527f35456e532f6c4c7863726a6c62677649744252564373656a6543566542344353610ec08201527f494a634264774d704c474845667735506f51416b754351417534455a4b4d6a31610ee08201527f68744d576450594f5a527a4777327530466b66354a494b454a7a41473543414c610f008201527f634d59617a56723752736d695a3630476347503446776b774e736e774465416f610f208201527f2f52384d344c50346e6d49576836437977426239647676392f47582f6e353874610f408201527f2f54377a754c4b74376c507936584861367479396a39346e48656f737272384a610f608201527f4e43764f76335030447256764136544f7a4b4d34456677504551744434457376610f808201527f4232484862355a47634e3968336d4846753550327858343759765154636c4b48610fa08201527f6e562b7835685678724c414a71557957642b514e6d3758676b586d4e63473374610fc08201527f443074367044386f727955794a7a63584c386c2b6e49526c3953706d46796675610fe08201527f7072423571566a7862687554512f6a487a3070656a49354d537052463158676b6110008201527f646839616a41524c7673326a5773502f6a4a664673615745624c776473684f366110208201527f3359364976367231444a534673483038636d536a574e715a5846434c5050336d6110408201527f6d55335a356b73716b5335524f4968536633532f72453953796f634d3041575a6110608201527f3852612f39646a336a6356765774394f476d314c46714557534a756b424237786110808201527f446a66707a6e2f71704d6b5553417348716156486f734779474b50474f642f7a6110a08201527f4f324f7879525a464968327961485964492f4c703956737278746170665a7a756110c08201527f4b6b304f6d4e3432457266786b4731736a676d6c76722f752b6a586b695779716110e08201527f4248316b752b5037516e626168634f7a5352634b4d6e615678466d372f6a67476111008201527f64712f54756956354e342b6b6550396c786f756175566b41414377417179694f6111208201527f392f7679384e616a3568666a67474f46445a6454626c3732312f3255652b62726111408201527f2f2f653865395335796948357a413466636767717a3932365068664b71584f656111608201527f2f376538646362353667506e446944665353337871355172534f4262496b4b666111808201527f417a3377475853544e74797367584c39374f64536f76644653533745714966426111a08201527f597673726842742b77454e6c657975704564593779484c4a6f6a6565565a43346111c08201527f39366b4130574633382f324177303238386c343679734244456579594f7472486111e08201527f556c766b4f365165747248636172316e685674676969796a6b537968594432366112008201527f585a587343626563506a5a7a43643855614c42716f4169356e372b6a6c3267366112208201527f704f797970475730474c727843635034334f4f466336387a4c48476e6473354e6112408201527f6d6a596c474f4c507a4e79374a415a6b474f5050305845486274444b384d59786112608201527f694369304b4a6c70476e54554d3867586d796b6c5759306e364c4877497757436112808201527f3230303073774168744b4d3562586b6b456b797161675538745543772b2b46736112a08201527f785852786741474d6852424163325947593646656f5a51516a4e2b50705132426112c08201527f6a494142543061444268624636566f616a39714e4c6e6b6f5a4a484e4f6c78556112e08201527f7150616b42534b6d436e624d4e6f596734776d464a72494d486f31685559474d6113008201527f6f6a52444f46674d337756657442495438674e364e436a577861454e674d4b366113208201527f63675969426c4c74554c79317242424c68425430545561625061522f392f784d6113408201527f33743841773d3d2920666f726d6174285c22776f6666325c22293b7d6469767b6113608201527f77696474683a2033353070783b206865696768743a2033353070783b206261636113808201527f6b67726f756e643a20626c61636b3b20646973706c61793a20666c65783b20616113a08201527f6c69676e2d6974656d733a2063656e7465723b7d707b6d617267696e2d6c65666113c08201527f743a202d37303070783b206d617267696e2d72696768743a202d37303070783b6113e08201527f20666f6e742d66616d696c793a2054696e6f733b20636f6c6f723a20776869746114008201527f653b20776f72642d627265616b3a20627265616b2d616c6c3b206c65747465726114208201527f2d73706163696e673a20313070783b207472616e73666f726d3a7363616c65286114408201527f302e32293b20666f6e742d73697a653a20313070783b20616e696d6174696f6e6114608201527f2d6475726174696f6e3a20302e3031733b20616e696d6174696f6e2d6e616d656114808201527f3a2074657874666c69636b65723b20616e696d6174696f6e2d697465726174696114a08201527f6f6e2d636f756e743a20696e66696e6974653b20616e696d6174696f6e2d64696114c08201527f72656374696f6e3a20616c7465726e6174653b7d406b65796672616d657320746114e08201527f657874666c69636b65727b66726f6d7b746578742d736861646f773a203170786115008201527f2030203020236561333661662c202d3270782030203020233735666136393b7d6115208201527f746f7b746578742d736861646f773a2032707820302e357078203270782023656115408201527f61333661662c202d317078202d302e3570782032707820233735666136393b7d6115608201527f7d3c2f7374796c653e3c666f726569676e4f626a65637420783d5c22305c22206115808201527f793d5c22305c222077696474683d5c223335305c22206865696768743d5c22336115a08201527f35305c223e3c64697620786d6c6e733d5c22687474703a2f2f7777772e77332e6115c08201527337b93397989c9c9c97bc343a36b62e111f1e381f60611b6115e082015260006132d06156f86115f484018561398c565b7f3c2f703e3c2f6469763e3c2f666f726569676e4f626a6563743e3c2f7376673e815260200190565b7519185d184e985d591a5bcbddd85d8ed8985cd94d8d0b60521b815260008251615752816016850160208701615e18565b9190910160160192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161579781601d850160208701615e18565b91909101601d0192915050565b727b226e616d65223a22494e4652534e4353202360681b815284516000906157d3816013850160208a01615e18565b7f222c226465736372697074696f6e223a202241207472617665727365642067656013918401918201527f6e6572617469766520696e667261736f6e69632e222c22696d6167655f64617460338201526330911d1160e11b60538201528551615843816057840160208a01615e18565b7211161130b734b6b0ba34b7b72fbab936111d1160691b60579290910191820152845161587781606a840160208901615e18565b6e11161130ba3a3934b13aba32b9911d60891b606a929091019182015283516158a7816079840160208801615e18565b6158bd607982840101607d60f81b815260010190565b98975050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906158fc90830184613960565b9695505050505050565b6020815260006132d06020830184613960565b60808152600061592c6080830187613960565b6020830195909552506040810192909252606090910152919050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b61ffff84168152604060208201526000611a09604083018486613937565b61ffff86168152608060208201526000615a5b6080830187613960565b6001600160401b038616604084015282810360608401526158bd818587613937565b61ffff85168152608060208201526000615a9a6080830186613960565b6001600160401b03851660408401528281036060840152615abb8185613960565b979650505050505050565b61ffff871681526000602060c081840152818854615ae381615e5b565b8060c087015260e0600180841660008114615b055760018114615b1a57615b45565b60ff1985168984015261010089019550615b45565b8d8852868820885b85811015615b3d5781548b8201860152908301908801615b22565b8a0184019650505b50505050508381036040850152615b5c8189613960565b915050615b7460608401876001600160a01b03169052565b6001600160a01b038516608084015282810360a0840152615b958185613960565b9998505050505050505050565b600061ffff808816835280871660208401525084604083015260806060830152615abb608083018486613937565b604051601f8201601f191681016001600160401b0381118282101715615bf857615bf8615ef1565b604052919050565b60006001600160401b03821115615c1957615c19615ef1565b50601f01601f191660200190565b60008219821115615c3a57615c3a615ec5565b500190565b600063ffffffff808316818516808303821115613a3857613a38615ec5565b600061ffff80841680615c7357615c73615edb565b92169190910492915050565b600082615c8e57615c8e615edb565b500490565b600063ffffffff80841680615c7357615c73615edb565b600181815b80851115615ce5578160001904821115615ccb57615ccb615ec5565b80851615615cd857918102915b93841c9390800290615caf565b509250929050565b60006132d08383600082615d03575060016108de565b81615d10575060006108de565b8160018114615d265760028114615d3057615d4c565b60019150506108de565b60ff841115615d4157615d41615ec5565b50506001821b6108de565b5060208310610133831016604e8410600b8410161715615d6f575081810a6108de565b615d798383615caa565b8060001904821115615d8d57615d8d615ec5565b029392505050565b600061ffff80831681851681830481118215151615615db657615db6615ec5565b02949350505050565b6000816000190483118215151615615dd957615dd9615ec5565b500290565b600063ffffffff80831681851681830481118215151615615db657615db6615ec5565b600082821015615e1357615e13615ec5565b500390565b60005b83811015615e33578181015183820152602001615e1b565b838111156108b35750506000910152565b600081615e5357615e53615ec5565b506000190190565b600181811c90821680615e6f57607f821691505b60208210811415615e9057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415615eaa57615eaa615ec5565b5060010190565b600082615ec057615ec0615edb565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146118d957600080fd5b6001600160e01b0319811681146118d957600080fd5b61ffff811681146118d957600080fd5b6001600160401b03811681146118d957600080fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220d8e3dac69cd953ecc4f224a8f3d1e11943a9e342934a08fd8b1e64871f46e8fd64736f6c6343000804003300000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675d4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa30000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000002386f26fc10000

Deployed Bytecode

0x6080604052600436106102455760003560e01c806369b41f9511610139578063c87b56dd116100b6578063e6798baa1161007a578063e6798baa14610707578063e985e9c51461071d578063eb8d72b71461073d578063eed33cef1461075d578063f2fde38b14610770578063f5ecbdbc1461079057600080fd5b8063c87b56dd1461066b578063cbed8b9c1461068b578063d1a26ed3146106ab578063d1deba1f146106c1578063dacbcbe2146106d457600080fd5b80638da5cb5b116100fd5780638da5cb5b146105a95780638ee74912146105c757806395d89b4114610616578063a22cb4651461062b578063b88d4fde1461064b57600080fd5b806369b41f951461052b5780636a6278421461054b5780636e4228311461055e57806370a0823114610574578063715018a61461059457600080fd5b806323b872dd116101c757806342d65a8d1161018b57806342d65a8d146104a257806351905636146104c25780636352211e146104d557806366ad5c8a146104f55780636817c76c1461051557600080fd5b806323b872dd146103ee5780632a55205a1461040e5780633ccfd60b1461044d5780633d8b38f61461046257806342842e0e1461048257600080fd5b8063081812fc1161020e578063081812fc14610307578063095ea7b31461033f57806310ddb1371461035f57806310fd332b1461037f5780631cb929421461039f57600080fd5b80621d35671461024a57806301754d241461026c57806301ffc9a71461029557806306fdde03146102c557806307e0db17146102e7575b600080fd5b34801561025657600080fd5b5061026a6102653660046137b8565b6107b0565b005b34801561027857600080fd5b50610282600d5481565b6040519081526020015b60405180910390f35b3480156102a157600080fd5b506102b56102b03660046134da565b6108b9565b604051901515815260200161028c565b3480156102d157600080fd5b506102da6108e4565b60405161028c9190615906565b3480156102f357600080fd5b5061026a610302366004613599565b610976565b34801561031357600080fd5b506103276103223660046138e2565b610a21565b6040516001600160a01b03909116815260200161028c565b34801561034b57600080fd5b5061026a61035a3660046134af565b610ab6565b34801561036b57600080fd5b5061026a61037a366004613599565b610bcc565b34801561038b57600080fd5b5061026a61039a3660046134af565b610c46565b3480156103ab57600080fd5b506103d96103ba3660046138e2565b600090815260096020908152604080832054600a909252909120549091565b6040805192835260208301919091520161028c565b3480156103fa57600080fd5b5061026a61040936600461330f565b610ce0565b34801561041a57600080fd5b5061042e6104293660046138fa565b610d11565b604080516001600160a01b03909316835260208301919091520161028c565b34801561045957600080fd5b5061026a610d77565b34801561046e57600080fd5b506102b561047d3660046135d1565b610dd4565b34801561048e57600080fd5b5061026a61049d36600461330f565b610ea0565b3480156104ae57600080fd5b5061026a6104bd3660046135d1565b610ebb565b61026a6104d03660046133e9565b610f6c565b3480156104e157600080fd5b506103276104f03660046138e2565b610fbf565b34801561050157600080fd5b5061026a6105103660046137b8565b611036565b34801561052157600080fd5b5061028260115481565b34801561053757600080fd5b506102da610546366004613599565b61109c565b61026a6105593660046132b4565b611143565b34801561056a57600080fd5b50610282600e5481565b34801561058057600080fd5b5061028261058f3660046132b4565b611278565b3480156105a057600080fd5b5061026a6112ff565b3480156105b557600080fd5b506006546001600160a01b0316610327565b3480156105d357600080fd5b506102826105e23660046136d4565b6008602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561062257600080fd5b506102da611335565b34801561063757600080fd5b5061026a6106463660046133b8565b611344565b34801561065757600080fd5b5061026a61066636600461334f565b61134f565b34801561067757600080fd5b506102da6106863660046138e2565b611381565b34801561069757600080fd5b5061026a6106a6366004613883565b6114e6565b3480156106b757600080fd5b5061028260105481565b61026a6106cf36600461372a565b611592565b3480156106e057600080fd5b507f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675610327565b34801561071357600080fd5b50610282600f5481565b34801561072957600080fd5b506102b56107383660046132d7565b611738565b34801561074957600080fd5b5061026a6107583660046135d1565b611766565b61026a61076b366004613623565b6117ef565b34801561077c57600080fd5b5061026a61078b3660046132b4565b611841565b34801561079c57600080fd5b506102da6107ab366004613833565b6118dc565b337f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd6756001600160a01b0316146107e557600080fd5b61ffff84166000908152600760205260409020805461080390615e5b565b90508351148015610842575061ffff84166000908152600760205260409081902090516108309190613a84565b60405180910390208380519060200120145b6108a75760405162461bcd60e51b815260206004820152602b60248201527f4c7a52656365697665723a20696e76616c696420736f757263652073656e646960448201526a1b99c818dbdb9d1c9858dd60aa1b60648201526084015b60405180910390fd5b6108b384848484611a14565b50505050565b60006001600160e01b0319821663152a902d60e11b14806108de57506108de82611b05565b92915050565b6060600080546108f390615e5b565b80601f016020809104026020016040519081016040528092919081815260200182805461091f90615e5b565b801561096c5780601f106109415761010080835404028352916020019161096c565b820191906000526020600020905b81548152906001019060200180831161094f57829003601f168201915b5050505050905090565b6006546001600160a01b031633146109a05760405162461bcd60e51b815260040161089e9061599a565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd6756001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610a0657600080fd5b505af1158015610a1a573d6000803e3d6000fd5b5050505050565b6000818152600260205260408120546001600160a01b0316610a9a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161089e565b506000908152600460205260409020546001600160a01b031690565b6000610ac182610fbf565b9050806001600160a01b0316836001600160a01b03161415610b2f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161089e565b336001600160a01b0382161480610b4b5750610b4b8133611738565b610bbd5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161089e565b610bc78383611b55565b505050565b6006546001600160a01b03163314610bf65760405162461bcd60e51b815260040161089e9061599a565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd6756001600160a01b0316906310ddb137906024016109ec565b6006546001600160a01b03163314610c705760405162461bcd60e51b815260040161089e9061599a565b612710600b5410610cba5760405162461bcd60e51b8152602060048201526014602482015273149bde585b1d1e4e88189c1cc81a5b9d985b1a5960621b604482015260640161089e565b600c80546001600160a01b0319166001600160a01b039390931692909217909155600b55565b610cea3382611bc3565b610d065760405162461bcd60e51b815260040161089e906159cf565b610bc7838383611c92565b600c5460009081906001600160a01b031615801590610d315750600b5415155b15610d6957600c54600b546001600160a01b039091169061271090610d569086615dbf565b610d609190615c7f565b91509150610d70565b5060009050805b9250929050565b6006546001600160a01b03163314610da15760405162461bcd60e51b815260040161089e9061599a565b6040514790339082156108fc029083906000818181858888f19350505050158015610dd0573d6000803e3d6000fd5b5050565b61ffff831660009081526007602052604081208054829190610df590615e5b565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2190615e5b565b8015610e6e5780601f10610e4357610100808354040283529160200191610e6e565b820191906000526020600020905b815481529060010190602001808311610e5157829003601f168201915b505050505090508383604051610e859291906139e6565b60405180910390208180519060200120149150509392505050565b610bc78383836040518060200160405280600081525061134f565b6006546001600160a01b03163314610ee55760405162461bcd60e51b815260040161089e9061599a565b6040516342d65a8d60e01b81526001600160a01b037f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67516906342d65a8d90610f3590869086908690600401615a20565b600060405180830381600087803b158015610f4f57600080fd5b505af1158015610f63573d6000803e3d6000fd5b50505050505050565b610fb4898989898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508b92508a91508990508888611e2e565b505050505050505050565b6000818152600260205260408120546001600160a01b0316806108de5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161089e565b3330146110905760405162461bcd60e51b815260206004820152602260248201527f4c7a52656365697665723a2063616c6c6572206d757374206265204272696467604482015261329760f11b606482015260840161089e565b6108b384848484612063565b61ffff811660009081526007602052604090208054606091906110be90615e5b565b80601f01602080910402602001604051908101604052809291908181526020018280546110ea90615e5b565b80156111375780601f1061110c57610100808354040283529160200191611137565b820191906000526020600020905b81548152906001019060200180831161111a57829003601f168201915b50505050509050919050565b6011543410156111955760405162461bcd60e51b815260206004820152601b60248201527f494e4652534e43533a206d73672076616c756520696e76616c69640000000000604482015260640161089e565b6000600e54600f546111a79190615c27565b90506010548111156111fb5760405162461bcd60e51b815260206004820152601760248201527f494e4652534e43533a206d696e742066696e6973686564000000000000000000604482015260640161089e565b611205828261211b565b61125f81600d546001436112199190615e01565b6040805191406020830152810185905260600160408051601f19818403018152918152815160209283012060009485526009835281852093909355600a90915290912055565b600e805490600061126f83615e96565b91905055505050565b60006001600160a01b0382166112e35760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161089e565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146113295760405162461bcd60e51b815260040161089e9061599a565b6113336000612135565b565b6060600180546108f390615e5b565b610dd0338383612187565b6113593383611bc3565b6113755760405162461bcd60e51b815260040161089e906159cf565b6108b384848484612256565b6000818152600260205260409020546060906001600160a01b03166113e85760405162461bcd60e51b815260206004820152601b60248201527f494e4652534e43533a206e6f6e6578697374656e7420746f6b656e0000000000604482015260640161089e565b600082815260096020908152604080832054600a909252822054600d549192909161141290612289565b9050600061141f8461229a565b9050600061142c846122a9565b9050600061143b8483856122b8565b90506000611448896126d3565b611451836127ec565b8361145b886126d3565b611464886126d3565b61146d88612815565b60405160200161147f93929190613b2f565b60408051601f198184030181529082905261149f949392916020016157a4565b60405160208183030381529060405290506114b981612849565b6040516020016114c9919061575f565b604051602081830303815290604052975050505050505050919050565b6006546001600160a01b031633146115105760405162461bcd60e51b815260040161089e9061599a565b6040516332fb62e760e21b81526001600160a01b037f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675169063cbed8b9c906115649088908890889088908890600401615ba2565b600060405180830381600087803b15801561157e57600080fd5b505af1158015610fb4573d6000803e3d6000fd5b61ffff851660009081526008602052604080822090516115b39087906139f6565b90815260408051602092819003830190206001600160401b038716600090815292529020549050806116275760405162461bcd60e51b815260206004820152601d60248201527f4c7a52656365697665723a206e6f2073746f726564206d657373616765000000604482015260640161089e565b8083836040516116389291906139e6565b60405180910390201461168d5760405162461bcd60e51b815260206004820152601b60248201527f4c7a52656365697665723a20696e76616c6964207061796c6f61640000000000604482015260640161089e565b61ffff861660009081526008602052604080822090516116ae9088906139f6565b9081526040805191829003602090810183206001600160401b038916600090815291522091909155633356ae4560e11b815230906366ad5c8a906116fe9089908990899089908990600401615a3e565b600060405180830381600087803b15801561171857600080fd5b505af115801561172c573d6000803e3d6000fd5b50505050505050505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6006546001600160a01b031633146117905760405162461bcd60e51b815260040161089e9061599a565b61ffff831660009081526007602052604090206117ae908383613148565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab8383836040516117e293929190615a20565b60405180910390a1505050565b611837338989898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508b92508a91508990508888611e2e565b5050505050505050565b6006546001600160a01b0316331461186b5760405162461bcd60e51b815260040161089e9061599a565b6001600160a01b0381166118d05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161089e565b6118d981612135565b50565b6040516304b2b47b60e11b81523060048201526060907f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd6756001600160a01b03169063f5ecbdbc90829063096568f69060240160206040518083038186803b15801561194657600080fd5b505afa15801561195a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197e91906135b5565b6040516001600160e01b031960e084901b16815261ffff918216600482015290871660248201523060448201526064810185905260840160006040518083038186803b1580156119cd57600080fd5b505afa1580156119e1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a099190810190613512565b90505b949350505050565b604051633356ae4560e11b815230906366ad5c8a90611a3d908790879087908790600401615a7d565b600060405180830381600087803b158015611a5757600080fd5b505af1925050508015611a68575060015b6108b3578080519060200120600860008661ffff1661ffff16815260200190815260200160002084604051611a9d91906139f6565b9081526040805191829003602090810183206001600160401b0387166000908152915220919091557fe6f254030bcb01ffd20558175c13fcaed6d1520be7becee4c961b65f79243b0d90611af8908690869086908690615a7d565b60405180910390a16108b3565b60006001600160e01b031982166380ac58cd60e01b1480611b3657506001600160e01b03198216635b5e139f60e01b145b806108de57506301ffc9a760e01b6001600160e01b03198316146108de565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b8a82610fbf565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611c3c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161089e565b6000611c4783610fbf565b9050806001600160a01b0316846001600160a01b03161480611c825750836001600160a01b0316611c7784610a21565b6001600160a01b0316145b80611a0c5750611a0c8185611738565b826001600160a01b0316611ca582610fbf565b6001600160a01b031614611d095760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161089e565b6001600160a01b038216611d6b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161089e565b611d76600082611b55565b6001600160a01b0383166000908152600360205260408120805460019290611d9f908490615e01565b90915550506001600160a01b0382166000908152600360205260408120805460019290611dcd908490615c27565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611e383386611bc3565b611ea35760405162461bcd60e51b815260206004820152603660248201527f5472617665727361626c653a207472616e736665722063616c6c6572206973206044820152751b9bdd081bdddb995c881b9bdc88185c1c1c9bdd995960521b606482015260840161089e565b60008581526009602090815260408083208054600a9093529083208054918490559290925590611ed2876129aa565b600088888484604051602001611eeb9493929190615919565b6040516020818303038152906040529050611f3f8a82898989898080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612a4592505050565b604051630f428ae960e31b815261ffff8b1660048201523060248201526000907f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd6756001600160a01b031690637a1457489060440160206040518083038186803b158015611fab57600080fd5b505afa158015611fbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe3919061391b565b905089604051611ff391906139f6565b60405180910390208b61ffff168d6001600160a01b03167f024797cc77ce15dc717112d54fb1df125fdfd8c81344fb046c5e074427ce15438c8560405161204d9291909182526001600160401b0316602082015260400190565b60405180910390a4505050505050505050505050565b6000806000808480602001905181019061207d9190613544565b601484015193975091955093509150612096818561211b565b6000848152600960209081526040808320869055600a90915290208290556040805161ffff8b1681526001600160a01b03831660208201529081018590526001600160401b03881660608201527fd4d39d20f72eabd06c301e516d54653dfc9116de62c1d54bf1cb48cf3b42a7db9060800160405180910390a1505050505050505050565b610dd0828260405180602001604052806000815250612b51565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156121e95760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161089e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612261848484611c92565b61226d84848484612b84565b6108b35760405162461bcd60e51b815260040161089e90615948565b60006108de82611f40610bb8612c8e565b60006108de8260636001612c8e565b60006108de8260a0600a612c8e565b6060806000600a6122c98688615c7f565b6122d39190615dbf565b905060015b6122e3816002615ced565b82106122fb57806122f381615e96565b9150506122d8565b6000816001600160401b0381111561232357634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561235657816020015b60608152602001906001900390816123415790505b5090506000826001600160401b0381111561238157634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156123b457816020015b606081526020019060019003908161239f5790505b50604051600160c160f01b03196020820152909150602201604051602081830303815290604052826000815181106123fc57634e487b7160e01b600052603260045260246000fd5b602090810291909101810191909152604051600760f61b918101919091526022016040516020818303038152906040528160008151811061244d57634e487b7160e01b600052603260045260246000fd5b602090810291909101015260015b838110156125bc576000612470600183615e01565b905083818151811061249257634e487b7160e01b600052603260045260246000fd5b60200260200101518482815181106124ba57634e487b7160e01b600052603260045260246000fd5b60200260200101516040516020016124d3929190613a12565b60405160208183030381529060405284838151811061250257634e487b7160e01b600052603260045260246000fd5b602002602001018190525082818151811061252d57634e487b7160e01b600052603260045260246000fd5b602002602001015183828151811061255557634e487b7160e01b600052603260045260246000fd5b602002602001015160405160200161256e929190613a12565b60405160208183030381529060405283838151811061259d57634e487b7160e01b600052603260045260246000fd5b60200260200101819052505080806125b490615e96565b91505061245b565b50600060646125cb8987615dbf565b6125d59190615c7f565b9050600060646125e58a82615e01565b6125ef9088615dbf565b6125f99190615c7f565b905060006126078284615c27565b612611908d615eb1565b9050600061261f8685612caf565b9050600061262d8685612caf565b9050600061263b8885612caf565b90505b6126498a6002615dbf565b8b516126559190615c27565b8f60026126629190615dbf565b10612692578a838360405160200161267c93929190613a41565b6040516020818303038152906040529a5061263e565b8a816040516020016126a5929190613a12565b6040516020818303038152906040529a506126c08f8c612d99565b9f9e505050505050505050505050505050565b6060816126f75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612721578061270b81615e96565b915061271a9050600a83615c7f565b91506126fb565b6000816001600160401b0381111561274957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612773576020820181803683370190505b5090505b8415611a0c57612788600183615e01565b9150612795600a86615eb1565b6127a0906030615c27565b60f81b8183815181106127c357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506127e5600a86615c7f565b9450612777565b6060816040516020016127ff9190613c29565b6040516020818303038152906040529050919050565b606061282a612825600a84615c7f565b6126d3565b612838612825600a85615eb1565b6040516020016127ff929190613af3565b606081516000141561286957505060408051602081019091526000815290565b6000604051806060016040528060408152602001615f5860409139905060006003845160026128989190615c27565b6128a29190615c7f565b6128ad906004615dbf565b6001600160401b038111156128d257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156128fc576020820181803683370190505b509050600182016020820185865187015b80821015612968576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f811685015184535060018301925061290d565b505060038651066001811461298457600281146129975761299f565b603d6001830353603d600283035361299f565b603d60018303535b509195945050505050565b60006129b582610fbf565b90506129c2600083611b55565b6001600160a01b03811660009081526003602052604081208054600192906129eb908490615e01565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b61ffff851660009081526007602052604090208054612a6390615e5b565b15159050612ace5760405162461bcd60e51b815260206004820152603260248201527f4c7a53656e643a2064657374696e6174696f6e20636861696e206973206e6f746044820152711030903a393ab9ba32b21039b7bab931b29760711b606482015260840161089e565b61ffff851660009081526007602052604090819020905162c5803160e81b81526001600160a01b037f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675169163c5803100913491612b38918a91908a908a908a908a90600401615ac6565b6000604051808303818588803b15801561171857600080fd5b612b5b8383612e0d565b612b686000848484612b84565b610bc75760405162461bcd60e51b815260040161089e90615948565b60006001600160a01b0384163b15612c8657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612bc89033908990889088906004016158c9565b602060405180830381600087803b158015612be257600080fd5b505af1925050508015612c12575060408051601f3d908101601f19168201909252612c0f918101906134f6565b60015b612c6c573d808015612c40576040519150601f19603f3d011682016040523d82523d6000602084013e612c45565b606091505b508051612c645760405162461bcd60e51b815260040161089e90615948565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a0c565b506001611a0c565b600081612c9b8185615e01565b612ca59086615eb1565b611a0c9190615c27565b606080600060018551612cc29190615e01565b90505b612cd0846002615dbf565b82511015612d91578151600090612ce8866002615dbf565b612cf29190615e01565b9050815b868181518110612d1657634e487b7160e01b600052603260045260246000fd5b6020026020010151518210612d785783878281518110612d4657634e487b7160e01b600052603260045260246000fd5b6020026020010151604051602001612d5f929190613a12565b6040516020818303038152906040529350809250612d8a565b80612d8281615e44565b915050612cf6565b5050612cc5565b509392505050565b60606000612da684612f4f565b612daf85612fc0565b612db9868661308d565b604051602001612dcb93929190613a41565b6040516020818303038152906040529050612de581612849565b604051602001612df59190615721565b60405160208183030381529060405291505092915050565b6001600160a01b038216612e635760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161089e565b6000818152600260205260409020546001600160a01b031615612ec85760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161089e565b6001600160a01b0382166000908152600360205260408120805460019290612ef1908490615c27565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060632924a32360e11b612f89612f65846130cd565b600881811c62ff00ff1663ff00ff009290911b9190911617601081811c91901b1790565b6040516001600160e01b0319928316602082015260e09190911b9091166024820152635741564560e01b6028820152602c016127ff565b60606303336ba160e51b631000000061010080600886811b63ff00ff001662ff00ff9188901c9190911617601081811b91901c17613000612f6588613104565b61301f61300b613129565b600881811b62ffff001691901c60ff161790565b6040516001600160e01b0319978816602082015260e096871b881660248201526001600160f01b031960f096871b8116602883015294861b8516602a82015292861b8716602c840152941b909416603085015291901b166034820152600160fc1b60368201526038016127ff565b6060636461746160e01b6130a3612f6585613104565b836040516020016130b6939291906139a8565b604051602081830303815290604052905092915050565b60006130d882613104565b6130e3906008615c3f565b6130ef60106008615c3f565b6130fa906004615c3f565b6108de9190615c3f565b600060086010613115600185615dde565b61311f9190615dde565b6108de9190615c93565b6000600861313960106001615d95565b6131439190615c5e565b905090565b82805461315490615e5b565b90600052602060002090601f01602090048101928261317657600085556131bc565b82601f1061318f5782800160ff198235161785556131bc565b828001600101855582156131bc579182015b828111156131bc5782358255916020019190600101906131a1565b506131c89291506131cc565b5090565b5b808211156131c857600081556001016131cd565b60008083601f8401126131f2578182fd5b5081356001600160401b03811115613208578182fd5b602083019150836020828501011115610d7057600080fd5b600082601f830112613230578081fd5b813561324361323e82615c00565b615bd0565b818152846020838601011115613257578283fd5b816020850160208301379081016020019190915292915050565b600082601f830112613281578081fd5b815161328f61323e82615c00565b8181528460208386010111156132a3578283fd5b611a0c826020830160208701615e18565b6000602082840312156132c5578081fd5b81356132d081615f07565b9392505050565b600080604083850312156132e9578081fd5b82356132f481615f07565b9150602083013561330481615f07565b809150509250929050565b600080600060608486031215613323578081fd5b833561332e81615f07565b9250602084013561333e81615f07565b929592945050506040919091013590565b60008060008060808587031215613364578081fd5b843561336f81615f07565b9350602085013561337f81615f07565b92506040850135915060608501356001600160401b038111156133a0578182fd5b6133ac87828801613220565b91505092959194509250565b600080604083850312156133ca578182fd5b82356133d581615f07565b915060208301358015158114613304578182fd5b600080600080600080600080600060e08a8c031215613406578485fd5b893561341181615f07565b985060208a013561342181615f32565b975060408a01356001600160401b038082111561343c578687fd5b6134488d838e016131e1565b909950975060608c0135965060808c0135915061346482615f07565b90945060a08b01359061347682615f07565b90935060c08b0135908082111561348b578384fd5b506134988c828d016131e1565b915080935050809150509295985092959850929598565b600080604083850312156134c1578182fd5b82356134cc81615f07565b946020939093013593505050565b6000602082840312156134eb578081fd5b81356132d081615f1c565b600060208284031215613507578081fd5b81516132d081615f1c565b600060208284031215613523578081fd5b81516001600160401b03811115613538578182fd5b611a0c84828501613271565b60008060008060808587031215613559578182fd5b84516001600160401b0381111561356e578283fd5b61357a87828801613271565b6020870151604088015160609098015191999098509095509350505050565b6000602082840312156135aa578081fd5b81356132d081615f32565b6000602082840312156135c6578081fd5b81516132d081615f32565b6000806000604084860312156135e5578081fd5b83356135f081615f32565b925060208401356001600160401b0381111561360a578182fd5b613616868287016131e1565b9497909650939450505050565b60008060008060008060008060c0898b03121561363e578182fd5b883561364981615f32565b975060208901356001600160401b0380821115613664578384fd5b6136708c838d016131e1565b909950975060408b0135965060608b0135915061368c82615f07565b90945060808a01359061369e82615f07565b90935060a08a013590808211156136b3578384fd5b506136c08b828c016131e1565b999c989b5096995094979396929594505050565b6000806000606084860312156136e8578081fd5b83356136f381615f32565b925060208401356001600160401b0381111561370d578182fd5b61371986828701613220565b925050604084013590509250925092565b600080600080600060808688031215613741578283fd5b853561374c81615f32565b945060208601356001600160401b0380821115613767578485fd5b61377389838a01613220565b95506040880135915061378582615f42565b9093506060870135908082111561379a578283fd5b506137a7888289016131e1565b969995985093965092949392505050565b600080600080608085870312156137cd578182fd5b84356137d881615f32565b935060208501356001600160401b03808211156137f3578384fd5b6137ff88838901613220565b94506040870135915061381182615f42565b90925060608601359080821115613826578283fd5b506133ac87828801613220565b60008060008060808587031215613848578182fd5b843561385381615f32565b9350602085013561386381615f32565b9250604085013561387381615f07565b9396929550929360600135925050565b60008060008060006080868803121561389a578283fd5b85356138a581615f32565b945060208601356138b581615f32565b93506040860135925060608601356001600160401b038111156138d6578182fd5b6137a7888289016131e1565b6000602082840312156138f3578081fd5b5035919050565b6000806040838503121561390c578182fd5b50508035926020909101359150565b60006020828403121561392c578081fd5b81516132d081615f42565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60008151808452613978816020860160208601615e18565b601f01601f19169290920160200192915050565b6000815161399e818560208601615e18565b9290920192915050565b6001600160e01b0319848116825260e084901b16600482015281516000906139d7816008850160208701615e18565b91909101600801949350505050565b8183823760009101908152919050565b60008251613a08818460208701615e18565b9190910192915050565b60008351613a24818460208801615e18565b835190830190613a38818360208801615e18565b01949350505050565b60008451613a53818460208901615e18565b845190830190613a67818360208901615e18565b8451910190613a7a818360208801615e18565b0195945050505050565b6000808354613a9281615e5b565b60018281168015613aaa5760018114613abb57613ae7565b60ff19841687528287019450613ae7565b8786526020808720875b85811015613ade5781548a820152908401908201613ac5565b50505082870194505b50929695505050505050565b60008351613b05818460208801615e18565b601760f91b9083019081528351613b23816001840160208801615e18565b01600101949350505050565b7f5b7b2274726169745f74797065223a2253414d504c452052415445222c227661815265363ab2911d1160d11b602082015260008451613b76816026850160208901615e18565b7f227d2c7b2274726169745f74797065223a2244555459204359434c45222c22766026918401918201526630b63ab2911d1160c91b60468201528451613bc381604d840160208901615e18565b7f227d2c7b2274726169745f74797065223a22484552545a222c2276616c756522604d9290910191820152611d1160f11b606d8201528351613c0c81606f840160208801615e18565b62227d5d60e81b606f929091019182015260720195945050505050565b7f3c7376672077696474683d5c223335305c22206865696768743d5c223335305c81527f222076696577426f783d5c2230203020333530203335305c2220786d6c6e733d60208201527f5c22687474703a2f2f7777772e77332e6f72672f323030302f7376675c223e3c60408201527f7374796c653e40666f6e742d666163657b666f6e742d66616d696c793a205c2260608201527f54696e6f735c223b20666f6e742d7374796c653a206e6f726d616c3b20666f6e60808201527f742d7765696768743a203430303b207372633a2075726c28646174613a666f6e60a08201527f742f776f6666323b6261736536342c643039474d67414241414141414133774160c08201527f413441414141414631674141413263414145414141414141414141414141414160e08201527f41414141414141414141414141414147685962676d59634b675a674149456b456101008201527f52414b6f4343596167746d4141453241695144675567454941574451416367476101208201527f3055534d314b7a656942546e596b786275695058332f2b2f6541666d444e66716101408201527f4a436b66454335415441376c49514b4652486271616d747176392f64616b6b2b6101608201527f2b36534c797668726430364c4a3377375953793542516f414b424662746d36476101808201527f395a4f35626b387a45434349417a506e2b7546485672432f7a2f79702b30466a6101a08201527f7455685751745836364b57384d39316b4a634f4a6a7a303332562f516e646c4f6101c08201527f2b3456376a69414f68747a6b73327370532b42763337676a2f753175694569556101e08201527f625330673572676e5734373338666c78505a7854346c494a626f6b7330616d6d6102008201527f3454614b65554d306b3075346759667378465a3238345967492f417a465231496102208201527f777a2f50433664475973315a6458697564536473586a614843724f6e625230506102408201527f6e6e594454582f474444626a42574e706343614d32337866504a637a64384d416102608201527f47657a4d596c5141466235696450352f4f555072336a414a5536796b743530706102808201527f6231536165446a5a4134783068525354436b427461684866526f4f7a625847726102a08201527f54694c683376554f637863466c6464386453566d41497171416c5631495371326102c08201527f6b564e4e6147754175717043626c536657324a5a364b5a34626b73446e4341746102e08201527f6c30796c365757746c46583232696f414974536a5358514c6872714c4e5a41366103008201527f5171493255784d6a6558504d354d51686e5a526d737353714376314e4a5036366103208201527f6b7044645a322b6f484e59784f724339645677626f4f7a616c49544f374245586103408201527f6a4a7a327554466c47797a6f65525176433137724c456242344f63665534544d6103608201527f4b72355637434f4d4e55345954696d47624963327a457465795055414f5938386103808201527f7a44304739422f4142327057446e66325a3772626a514a567a4b75547353342b6103a08201527f664d2f574b6564646b44467a61664763705348494c665a4131517565776954696103c08201527f74536c4555317053527661305a76424447633030356a4650426177576e7236716103e08201527f657653674b5930707a5874364d5241686a475353637869446774594c4f6d33506104008201527f7569643375693158756d6c6e756d683775756562756971727569794c6734364a6104208201527f514d6d7435704c6e4352686955544c774d5a344b756f575a682b4f4476307a526104408201527f516a427057536d4454797a6546414d56746b6f5259567830754d6f343752566d6104608201527f69756d624d2f33504c7645697862367a502b647375326b4658587a79747834576104808201527f56476c4d6a382f6d76534c43364c4669624c38544a6e727077767a33494b77376104a08201527f3561346a54302f76315a6859634a442b364844625a3361636878772f75476b786104c08201527f336d677871576771487163464d76526f7856716c724a48793141736b6f644c316104e08201527f4b794d336b634e754c502b4875366b696b4455674255745537514166557870436105008201527f3856796c4b3845616c494534727548596a454c314c672b453344756f6541506c6105208201527f7852457a57674f564950536c6a7548744956716c41667042333335584f3668736105408201527f45673761734a43484e65707262702b64676d4b617437354f54517031495474386105608201527f3357694245744635315055674f574e686b7a645969723341495361304248512b6105808201527f5058393572437346376a526a456735726c4e744a672f6d712f76526f774e6d306105a08201527f673451336b4e316351564f4879354c6d6c6e3161442b424f6b664e796b4a746a6105c08201527f7a7a6354523741302f53363039524d514c783064795970415a48457243596c7a6105e08201527f566f47342b484872327854316b492f68636d6755354841444845364d676669636106008201527f57504a5a33557671536731784442326b6d7475524677707535573174564149546106208201527f4e50336a686f38557879583353504e5246596a32734c67362f6c4b744c6456326106408201527f5a50474f665337643955354b7447724e6533707855656f376739325547394c746106608201527f2f34554a514f39354a696132714379336f54714e713730766470445a674a57696106808201527f4d2f42516b615956774a337067664142776641753375663446333972355547316106a08201527f4f76315555566b2f36424d4b69673476797048597961636c6a5272557361684f6106c08201527f45574a734642456a356f67355a586169514d4f48647861704b6b4a3579667a336106e08201527f42375a5558464259455930767769446b5636457767763134377a7036535a58516107008201527f5a57634c693548532f444b6169387846706a4e70796a704b5130722b615a65706107208201527f4e3272716f366872367343585539624936696e73496a6c58756b2f55507a442b6107408201527f5839712f73347463454646594e59726f43533868384d466242655964595a57466107608201527f555a466a377163784355626c484c34454a6650503657314536526861535a68676107808201527f6e5846484e477a5074766e6269785744455438754879584e6737666d30766b626107a08201527f4b334a526f447365774b636c58352b69347664696c456a346e644650705876776107c08201527f734c43516952335559416b4975447654775a6b49434b385944765978342b76576107e08201527f48697a6e34445971765547466c49306455644e596e76555769675346704a7a686108008201527f49615451384e46576a774648685177466834666c2b57427756354e54477a67716108208201527f585354473561572f4a3952556d49426e38386e4378516657374f50694944456e6108408201527f6d4e442f356f7930337265766c5a39312b325747624c334755774e6d675854436108608201527f744c63676b473054497879626c4155734e5559333765507678547434376f55636108808201527f59642f4f32537642364e51735a615453666279795a61747143375741466e75556108a08201527f686938447155784a2f45495748755843737848644857333650725636483375796108c08201527f5737613079797661553636502f6f55324a6b4e58372f78364f796a642b48726c6108e08201527f307574483431317472566f5047646f31416d6b59336a624b4c5a6159745233666109008201527f4f662b4d344e7168636b447538666a576a50716538334d3672574161416467326109208201527f44753461736438714e5361483363465675336630704a36676e517a39557432566109408201527f52785a4f50706f53316c4e2b62595550542f646c4f3730795175376a7832344e6109608201527f4c396d6a6a4a63307279704f72747561696133686c4e54786856734e2b556d566109808201527f36596d785a55324e5551587047596b4649473259444f574d34584b636a616a736109a08201527f4e6b55637a5a724834584e4e7165773252517a6c6a4f56776e49474b4d5746776109c08201527f6d61625539687369686e4c6d5570684f594e326c337265766a5a3931783257476109e08201527f584c2f7a5a6a7164417557465a586d4867546f6e38546a3973665a7476624637610a008201527f5938446c366877502b7a476c44702b484647652f7a4744515573346831567a4a610a208201527f47733579487a43552b354e59507634523346762b74617276322b503970544876610a408201527f477738794c6e36675670504769426d576877716e6b49433478456f6a50332f75610a608201527f6d7338723257436f7a67766658704c335847524d34416741644d495761666b4b610a808201527f467051614654413966666d4a433247386c61327754376a43494858754c33574e610aa08201527f38716272504d575737584f306b6b3274783341657359306171794f7a74666b72610ac08201527f353734396b4a647265703064757a366a5234426766353368625a4141754d524b610ae08201527f41546a424d596a5550694f7a6c42645468666a33785a4e55686d694464425552610b008201527f70493031776936533168395a3068486d6f4370514a463747485345504978486f610b208201527f5041646e6147366e433747763233536f444a6b503243764d6749386145375a32610b408201527f6a38704c55374a34637949694244664c343973315a6a59424d76304744555a76610b608201527f444731306631732b74356e722b377655674b3165472f42515945744a44416567610b808201527f5549554571684576675342516751534b492f414941494a444f5a44416f4e6774610ba08201527f7a754251515153474939416652734b3050463334694d4c773237556f64627a33610bc08201527f47524f66495762386865474d6c65486a52707350674c673249364a3373593955610be08201527f63554a4d384f394f7a386634574d517768452f6a313976477137385748674a74610c008201527f41615a533672506e71346f73356d33734366506c705375306259314d31794476610c208201527f4639487453723770786148326e6b4b4d524c4c4d42506e564f50304f4d344578610c408201527f5a54754767616d4e767935674546444d7266462f504e2b356c427436346b4b37610c608201527f53534646677a53437a61734c656e7471446849324f2b6336366f474c6a6e7635610c808201527f6c4234486d49643959397233763868722f6c776c7a6f3766316674314f686a6c610ca08201527f33625067574353505778443158654c5554546b784c705171414c6e554454364e610cc08201527f757039657a734b675a33374241623377486273624769315978634b3965454d4b610ce08201527f6a646f4d5469427772327748533334656d6d71473450366341594c5877326f55610d008201527f5a4c482b42684d686e7a73774f4c6a4c685261776a6d3049696b316151614638610d208201527f37414e425a47684a734c3176373648794b6a63594e75332b706e347447766b76610d408201527f4a4d5473666e76684f563841386f79782f7461536a6e464f5167754b4232616d610d608201527f626e7a49784c6d556a5245367862634c4e5165365253385073624c5744334836610d808201527f764b4978762b48484b4561346244517442334e72436756426644332f62377975610da08201527f567262624e6e2b6c39345375647a694a563066347a6f46334d54446774516337610dc08201527f64707a374e4b4c4e3338667246727775364c7471674b6f44367946434c326738610de08201527f783966762f697a736d6c495a5a576c775953586359356f443339306e6d684c56610e008201527f674d3332426d42335a555076363841666b71617645664e6c3045466e4156497a610e208201527f746b49767562427053506c42366f7a413357654230686d43514f685a576d7558610e408201527f552b5a653778467539517671332f6a754e2f744336394a3379352f504a725935610e608201527f3558516e3541324e64343246397744464f6276472f33486a66346234662b4e38610e808201527f5039672f4d7777676a2f4868784331616751334250366e4b6e6952474c34527a610ea08201527f35456e532f6c4c7863726a6c62677649744252564373656a6543566542344353610ec08201527f494a634264774d704c474845667735506f51416b754351417534455a4b4d6a31610ee08201527f68744d576450594f5a527a4777327530466b66354a494b454a7a41473543414c610f008201527f634d59617a56723752736d695a3630476347503446776b774e736e774465416f610f208201527f2f52384d344c50346e6d49576836437977426239647676392f47582f6e353874610f408201527f2f54377a754c4b74376c507936584861367479396a39346e48656f737272384a610f608201527f4e43764f76335030447256764136544f7a4b4d34456677504551744434457376610f808201527f4232484862355a47634e3968336d4846753550327858343759765154636c4b48610fa08201527f6e562b7835685678724c414a71557957642b514e6d3758676b586d4e63473374610fc08201527f443074367044386f727955794a7a63584c386c2b6e49526c3953706d46796675610fe08201527f7072423571566a7862687554512f6a487a3070656a49354d537052463158676b6110008201527f646839616a41524c7673326a5773502f6a4a664673615745624c776473684f366110208201527f3359364976367231444a534673483038636d536a574e715a5846434c5050336d6110408201527f6d55335a356b73716b5335524f4968536633532f72453953796f634d3041575a6110608201527f3852612f39646a336a6356765774394f476d314c46714557534a756b424237786110808201527f446a66707a6e2f71704d6b5553417348716156486f734779474b50474f642f7a6110a08201527f4f324f7879525a464968327961485964492f4c703956737278746170665a7a756110c08201527f4b6b304f6d4e3432457266786b4731736a676d6c76722f752b6a586b695779716110e08201527f4248316b752b5037516e626168634f7a5352634b4d6e615678466d372f6a67476111008201527f64712f54756956354e342b6b6550396c786f756175566b41414377417179694f6111208201527f392f7679384e616a3568666a67474f46445a6454626c3732312f3255652b62726111408201527f2f2f653865395335796948357a413466636767717a3932365068664b71584f656111608201527f2f376538646362353667506e446944665353337871355172534f4262496b4b666111808201527f417a3377475853544e74797367584c39374f64536f76644653533745714966426111a08201527f597673726842742b77454e6c657975704564593779484c4a6f6a6565565a43346111c08201527f39366b4130574633382f324177303238386c343679734244456579594f7472486111e08201527f556c766b4f365165747248636172316e685674676969796a6b537968594432366112008201527f585a587343626563506a5a7a43643855614c42716f4169356e372b6a6c3267366112208201527f704f797970475730474c727843635034334f4f466336387a4c48476e6473354e6112408201527f6d6a596c474f4c507a4e79374a415a6b474f5050305845486274444b384d59786112608201527f694369304b4a6c70476e54554d3867586d796b6c5759306e364c4877497757436112808201527f3230303073774168744b4d3562586b6b456b797161675538745543772b2b46736112a08201527f785852786741474d6852424163325947593646656f5a51516a4e2b50705132426112c08201527f6a494142543061444268624636566f616a39714e4c6e6b6f5a4a484e4f6c78556112e08201527f7150616b42534b6d436e624d4e6f596734776d464a72494d486f31685559474d6113008201527f6f6a52444f46674d337756657442495438674e364e436a577861454e674d4b366113208201527f63675969426c4c74554c79317242424c68425430545561625061522f392f784d6113408201527f33743841773d3d2920666f726d6174285c22776f6666325c22293b7d6469767b6113608201527f77696474683a2033353070783b206865696768743a2033353070783b206261636113808201527f6b67726f756e643a20626c61636b3b20646973706c61793a20666c65783b20616113a08201527f6c69676e2d6974656d733a2063656e7465723b7d707b6d617267696e2d6c65666113c08201527f743a202d37303070783b206d617267696e2d72696768743a202d37303070783b6113e08201527f20666f6e742d66616d696c793a2054696e6f733b20636f6c6f723a20776869746114008201527f653b20776f72642d627265616b3a20627265616b2d616c6c3b206c65747465726114208201527f2d73706163696e673a20313070783b207472616e73666f726d3a7363616c65286114408201527f302e32293b20666f6e742d73697a653a20313070783b20616e696d6174696f6e6114608201527f2d6475726174696f6e3a20302e3031733b20616e696d6174696f6e2d6e616d656114808201527f3a2074657874666c69636b65723b20616e696d6174696f6e2d697465726174696114a08201527f6f6e2d636f756e743a20696e66696e6974653b20616e696d6174696f6e2d64696114c08201527f72656374696f6e3a20616c7465726e6174653b7d406b65796672616d657320746114e08201527f657874666c69636b65727b66726f6d7b746578742d736861646f773a203170786115008201527f2030203020236561333661662c202d3270782030203020233735666136393b7d6115208201527f746f7b746578742d736861646f773a2032707820302e357078203270782023656115408201527f61333661662c202d317078202d302e3570782032707820233735666136393b7d6115608201527f7d3c2f7374796c653e3c666f726569676e4f626a65637420783d5c22305c22206115808201527f793d5c22305c222077696474683d5c223335305c22206865696768743d5c22336115a08201527f35305c223e3c64697620786d6c6e733d5c22687474703a2f2f7777772e77332e6115c08201527337b93397989c9c9c97bc343a36b62e111f1e381f60611b6115e082015260006132d06156f86115f484018561398c565b7f3c2f703e3c2f6469763e3c2f666f726569676e4f626a6563743e3c2f7376673e815260200190565b7519185d184e985d591a5bcbddd85d8ed8985cd94d8d0b60521b815260008251615752816016850160208701615e18565b9190910160160192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161579781601d850160208701615e18565b91909101601d0192915050565b727b226e616d65223a22494e4652534e4353202360681b815284516000906157d3816013850160208a01615e18565b7f222c226465736372697074696f6e223a202241207472617665727365642067656013918401918201527f6e6572617469766520696e667261736f6e69632e222c22696d6167655f64617460338201526330911d1160e11b60538201528551615843816057840160208a01615e18565b7211161130b734b6b0ba34b7b72fbab936111d1160691b60579290910191820152845161587781606a840160208901615e18565b6e11161130ba3a3934b13aba32b9911d60891b606a929091019182015283516158a7816079840160208801615e18565b6158bd607982840101607d60f81b815260010190565b98975050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906158fc90830184613960565b9695505050505050565b6020815260006132d06020830184613960565b60808152600061592c6080830187613960565b6020830195909552506040810192909252606090910152919050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b61ffff84168152604060208201526000611a09604083018486613937565b61ffff86168152608060208201526000615a5b6080830187613960565b6001600160401b038616604084015282810360608401526158bd818587613937565b61ffff85168152608060208201526000615a9a6080830186613960565b6001600160401b03851660408401528281036060840152615abb8185613960565b979650505050505050565b61ffff871681526000602060c081840152818854615ae381615e5b565b8060c087015260e0600180841660008114615b055760018114615b1a57615b45565b60ff1985168984015261010089019550615b45565b8d8852868820885b85811015615b3d5781548b8201860152908301908801615b22565b8a0184019650505b50505050508381036040850152615b5c8189613960565b915050615b7460608401876001600160a01b03169052565b6001600160a01b038516608084015282810360a0840152615b958185613960565b9998505050505050505050565b600061ffff808816835280871660208401525084604083015260806060830152615abb608083018486613937565b604051601f8201601f191681016001600160401b0381118282101715615bf857615bf8615ef1565b604052919050565b60006001600160401b03821115615c1957615c19615ef1565b50601f01601f191660200190565b60008219821115615c3a57615c3a615ec5565b500190565b600063ffffffff808316818516808303821115613a3857613a38615ec5565b600061ffff80841680615c7357615c73615edb565b92169190910492915050565b600082615c8e57615c8e615edb565b500490565b600063ffffffff80841680615c7357615c73615edb565b600181815b80851115615ce5578160001904821115615ccb57615ccb615ec5565b80851615615cd857918102915b93841c9390800290615caf565b509250929050565b60006132d08383600082615d03575060016108de565b81615d10575060006108de565b8160018114615d265760028114615d3057615d4c565b60019150506108de565b60ff841115615d4157615d41615ec5565b50506001821b6108de565b5060208310610133831016604e8410600b8410161715615d6f575081810a6108de565b615d798383615caa565b8060001904821115615d8d57615d8d615ec5565b029392505050565b600061ffff80831681851681830481118215151615615db657615db6615ec5565b02949350505050565b6000816000190483118215151615615dd957615dd9615ec5565b500290565b600063ffffffff80831681851681830481118215151615615db657615db6615ec5565b600082821015615e1357615e13615ec5565b500390565b60005b83811015615e33578181015183820152602001615e1b565b838111156108b35750506000910152565b600081615e5357615e53615ec5565b506000190190565b600181811c90821680615e6f57607f821691505b60208210811415615e9057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415615eaa57615eaa615ec5565b5060010190565b600082615ec057615ec0615edb565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146118d957600080fd5b6001600160e01b0319811681146118d957600080fd5b61ffff811681146118d957600080fd5b6001600160401b03811681146118d957600080fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220d8e3dac69cd953ecc4f224a8f3d1e11943a9e342934a08fd8b1e64871f46e8fd64736f6c63430008040033

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

00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675d4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa30000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000002386f26fc10000

-----Decoded View---------------
Arg [0] : layerZeroEndpoint (address): 0x66A71Dcef29A0fFBDBE3c6a460a3B5BC225Cd675
Arg [1] : chainSeed_ (uint256): 96295644508963302359223866841007920022480890644992946816264522587871600414627
Arg [2] : startTokenId_ (uint256): 0
Arg [3] : endTokenId_ (uint256): 127
Arg [4] : mintPrice_ (uint256): 10000000000000000

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675
Arg [1] : d4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 000000000000000000000000000000000000000000000000000000000000007f
Arg [4] : 000000000000000000000000000000000000000000000000002386f26fc10000


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.