ETH Price: $2,956.61 (-0.01%)

Token

StarLab 0 (STAR)

Overview

Max Total Supply

0 STAR

Holders

1,521

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 STAR
0x0159E123e0Efacfd9203e82a4452948b34750f31
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
StarLabLayer0

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 18 of 19: StarLabs.sol
// STARLAB LAYER 0 BRIDGE //

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

import "./Ownable.sol";
import "./ERC721.sol";
import "./ILayerZeroEndpoint.sol";
import "./ILayerZeroReceiver.sol";
import "./NonblockingLzApp.sol";

error NotTokenOwner();
error InsufficientGas();
error SupplyExceeded();

contract StarLabLayer0 is Ownable, ERC721, NonblockingLzApp {
    uint256 public counter;
    uint public mintcost = 0.0003 ether;

    event ReceivedNFT(
        uint16 _srcChainId,
        address _from,
        uint256 _tokenId,
        uint256 counter
    );

    constructor(
        address _endpoint
    ) ERC721("StarLab 0", "STAR") NonblockingLzApp(_endpoint) {}

    function mint() external payable {
        require(msg.value >= mintcost, "Starlab : Not enough ether sent");
        _mint(
            msg.sender,
            (uint256(keccak256(abi.encode(counter, block.timestamp))) %
                10000000) + 1
        );
        unchecked {
            ++counter;
        }
    }

    function safeWithdraw() public payable onlyOwner {
        (bool success, ) = payable(msg.sender).call{
            value: address(this).balance
        }("");
        require(success);
    }

    function crossChain(uint16 dstChainId, uint256 tokenId) public payable {
        if (msg.sender != ownerOf(tokenId)) revert NotTokenOwner();

        // Remove NFT on current chain
        unchecked {
            --counter;
        }
        _burn(tokenId);

        bytes memory payload = abi.encode(msg.sender, tokenId);
        uint16 version = 1;
        uint256 gasForLzReceive = 350000;
        bytes memory adapterParams = abi.encodePacked(version, gasForLzReceive);

        (uint256 messageFee, ) = lzEndpoint.estimateFees(
            dstChainId,
            address(this),
            payload,
            false,
            adapterParams
        );
        if (msg.value <= messageFee) revert InsufficientGas();

        _lzSend(
            dstChainId,
            payload,
            payable(msg.sender),
            address(0x0),
            adapterParams,
            msg.value
        );
    }

    function setMintCost(uint _mintcost) public onlyOwner {
        mintcost = _mintcost;
    }

    function _nonblockingLzReceive(
        uint16 _srcChainId,
        bytes memory _srcAddress,
        uint64 /*_nonce*/,
        bytes memory _payload
    ) internal override {
        address from;
        assembly {
            from := mload(add(_srcAddress, 20))
        }
        (address toAddress, uint256 tokenId) = abi.decode(
            _payload,
            (address, uint256)
        );

        _mint(toAddress, tokenId);
        unchecked {
            ++counter;
        }
        emit ReceivedNFT(_srcChainId, from, tokenId, counter);
    }

    // Endpoint.sol estimateFees() returns the fees for the message
    function estimateFees(
        uint16 dstChainId,
        uint256 tokenId
    ) external view returns (uint256) {
        bytes memory payload = abi.encode(msg.sender, tokenId);
        uint16 version = 1;
        uint256 gasForLzReceive = 350000;
        bytes memory adapterParams = abi.encodePacked(version, gasForLzReceive);

        (uint256 messageFee, ) = lzEndpoint.estimateFees(
            dstChainId,
            address(this),
            payload,
            false,
            adapterParams
        );
        return messageFee;
    }
}

File 1 of 19: Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return
            verifyCallResultFromTarget(
                target,
                success,
                returndata,
                errorMessage
            );
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return
            verifyCallResultFromTarget(
                target,
                success,
                returndata,
                errorMessage
            );
    }

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

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

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

File 2 of 19: BytesLib.sol
// SPDX-License-Identifier: Unlicense
/*
 * @title Solidity Bytes Arrays Utils
 * @author Gonçalo Sá <[email protected]>
 *
 * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.
 *      The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.
 */
pragma solidity >=0.8.0 <0.9.0;

library BytesLib {
    function concat(
        bytes memory _preBytes,
        bytes memory _postBytes
    ) internal pure returns (bytes memory) {
        bytes memory tempBytes;

        assembly {
            // Get a location of some free memory and store it in tempBytes as
            // Solidity does for memory variables.
            tempBytes := mload(0x40)

            // Store the length of the first bytes array at the beginning of
            // the memory for tempBytes.
            let length := mload(_preBytes)
            mstore(tempBytes, length)

            // Maintain a memory counter for the current write location in the
            // temp bytes array by adding the 32 bytes for the array length to
            // the starting location.
            let mc := add(tempBytes, 0x20)
            // Stop copying when the memory counter reaches the length of the
            // first bytes array.
            let end := add(mc, length)

            for {
                // Initialize a copy counter to the start of the _preBytes data,
                // 32 bytes into its memory.
                let cc := add(_preBytes, 0x20)
            } lt(mc, end) {
                // Increase both counters by 32 bytes each iteration.
                mc := add(mc, 0x20)
                cc := add(cc, 0x20)
            } {
                // Write the _preBytes data into the tempBytes memory 32 bytes
                // at a time.
                mstore(mc, mload(cc))
            }

            // Add the length of _postBytes to the current length of tempBytes
            // and store it as the new length in the first 32 bytes of the
            // tempBytes memory.
            length := mload(_postBytes)
            mstore(tempBytes, add(length, mload(tempBytes)))

            // Move the memory counter back from a multiple of 0x20 to the
            // actual end of the _preBytes data.
            mc := end
            // Stop copying when the memory counter reaches the new combined
            // length of the arrays.
            end := add(mc, length)

            for {
                let cc := add(_postBytes, 0x20)
            } lt(mc, end) {
                mc := add(mc, 0x20)
                cc := add(cc, 0x20)
            } {
                mstore(mc, mload(cc))
            }

            // Update the free-memory pointer by padding our last write location
            // to 32 bytes: add 31 bytes to the end of tempBytes to move to the
            // next 32 byte block, then round down to the nearest multiple of
            // 32. If the sum of the length of the two arrays is zero then add
            // one before rounding down to leave a blank 32 bytes (the length block with 0).
            mstore(
                0x40,
                and(
                    add(add(end, iszero(add(length, mload(_preBytes)))), 31),
                    not(31) // Round down to the nearest 32 bytes.
                )
            )
        }

        return tempBytes;
    }

    function concatStorage(
        bytes storage _preBytes,
        bytes memory _postBytes
    ) internal {
        assembly {
            // Read the first 32 bytes of _preBytes storage, which is the length
            // of the array. (We don't need to use the offset into the slot
            // because arrays use the entire slot.)
            let fslot := sload(_preBytes.slot)
            // Arrays of 31 bytes or less have an even value in their slot,
            // while longer arrays have an odd value. The actual length is
            // the slot divided by two for odd values, and the lowest order
            // byte divided by two for even values.
            // If the slot is even, bitwise and the slot with 255 and divide by
            // two to get the length. If the slot is odd, bitwise and the slot
            // with -1 and divide by two.
            let slength := div(
                and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)),
                2
            )
            let mlength := mload(_postBytes)
            let newlength := add(slength, mlength)
            // slength can contain both the length and contents of the array
            // if length < 32 bytes so let's prepare for that
            // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage
            switch add(lt(slength, 32), lt(newlength, 32))
            case 2 {
                // Since the new array still fits in the slot, we just need to
                // update the contents of the slot.
                // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length
                sstore(
                    _preBytes.slot,
                    // all the modifications to the slot are inside this
                    // next block
                    add(
                        // we can just add to the slot contents because the
                        // bytes we want to change are the LSBs
                        fslot,
                        add(
                            mul(
                                div(
                                    // load the bytes from memory
                                    mload(add(_postBytes, 0x20)),
                                    // zero all bytes to the right
                                    exp(0x100, sub(32, mlength))
                                ),
                                // and now shift left the number of bytes to
                                // leave space for the length in the slot
                                exp(0x100, sub(32, newlength))
                            ),
                            // increase length by the double of the memory
                            // bytes length
                            mul(mlength, 2)
                        )
                    )
                )
            }
            case 1 {
                // The stored value fits in the slot, but the combined value
                // will exceed it.
                // get the keccak hash to get the contents of the array
                mstore(0x0, _preBytes.slot)
                let sc := add(keccak256(0x0, 0x20), div(slength, 32))

                // save new length
                sstore(_preBytes.slot, add(mul(newlength, 2), 1))

                // The contents of the _postBytes array start 32 bytes into
                // the structure. Our first read should obtain the `submod`
                // bytes that can fit into the unused space in the last word
                // of the stored array. To get this, we read 32 bytes starting
                // from `submod`, so the data we read overlaps with the array
                // contents by `submod` bytes. Masking the lowest-order
                // `submod` bytes allows us to add that value directly to the
                // stored value.

                let submod := sub(32, slength)
                let mc := add(_postBytes, submod)
                let end := add(_postBytes, mlength)
                let mask := sub(exp(0x100, submod), 1)

                sstore(
                    sc,
                    add(
                        and(
                            fslot,
                            0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00
                        ),
                        and(mload(mc), mask)
                    )
                )

                for {
                    mc := add(mc, 0x20)
                    sc := add(sc, 1)
                } lt(mc, end) {
                    sc := add(sc, 1)
                    mc := add(mc, 0x20)
                } {
                    sstore(sc, mload(mc))
                }

                mask := exp(0x100, sub(mc, end))

                sstore(sc, mul(div(mload(mc), mask), mask))
            }
            default {
                // get the keccak hash to get the contents of the array
                mstore(0x0, _preBytes.slot)
                // Start copying to the last used word of the stored array.
                let sc := add(keccak256(0x0, 0x20), div(slength, 32))

                // save new length
                sstore(_preBytes.slot, add(mul(newlength, 2), 1))

                // Copy over the first `submod` bytes of the new data as in
                // case 1 above.
                let slengthmod := mod(slength, 32)
                let mlengthmod := mod(mlength, 32)
                let submod := sub(32, slengthmod)
                let mc := add(_postBytes, submod)
                let end := add(_postBytes, mlength)
                let mask := sub(exp(0x100, submod), 1)

                sstore(sc, add(sload(sc), and(mload(mc), mask)))

                for {
                    sc := add(sc, 1)
                    mc := add(mc, 0x20)
                } lt(mc, end) {
                    sc := add(sc, 1)
                    mc := add(mc, 0x20)
                } {
                    sstore(sc, mload(mc))
                }

                mask := exp(0x100, sub(mc, end))

                sstore(sc, mul(div(mload(mc), mask), mask))
            }
        }
    }

    function slice(
        bytes memory _bytes,
        uint256 _start,
        uint256 _length
    ) internal pure returns (bytes memory) {
        require(_length + 31 >= _length, "slice_overflow");
        require(_bytes.length >= _start + _length, "slice_outOfBounds");

        bytes memory tempBytes;

        assembly {
            switch iszero(_length)
            case 0 {
                // Get a location of some free memory and store it in tempBytes as
                // Solidity does for memory variables.
                tempBytes := mload(0x40)

                // The first word of the slice result is potentially a partial
                // word read from the original array. To read it, we calculate
                // the length of that partial word and start copying that many
                // bytes into the array. The first word we copy will start with
                // data we don't care about, but the last `lengthmod` bytes will
                // land at the beginning of the contents of the new array. When
                // we're done copying, we overwrite the full first word with
                // the actual length of the slice.
                let lengthmod := and(_length, 31)

                // The multiplication in the next line is necessary
                // because when slicing multiples of 32 bytes (lengthmod == 0)
                // the following copy loop was copying the origin's length
                // and then ending prematurely not copying everything it should.
                let mc := add(
                    add(tempBytes, lengthmod),
                    mul(0x20, iszero(lengthmod))
                )
                let end := add(mc, _length)

                for {
                    // The multiplication in the next line has the same exact purpose
                    // as the one above.
                    let cc := add(
                        add(
                            add(_bytes, lengthmod),
                            mul(0x20, iszero(lengthmod))
                        ),
                        _start
                    )
                } lt(mc, end) {
                    mc := add(mc, 0x20)
                    cc := add(cc, 0x20)
                } {
                    mstore(mc, mload(cc))
                }

                mstore(tempBytes, _length)

                //update free-memory pointer
                //allocating the array padded to 32 bytes like the compiler does now
                mstore(0x40, and(add(mc, 31), not(31)))
            }
            //if we want a zero-length slice let's just return a zero-length array
            default {
                tempBytes := mload(0x40)
                //zero out the 32 bytes slice we are about to return
                //we need to do it because Solidity does not garbage collect
                mstore(tempBytes, 0)

                mstore(0x40, add(tempBytes, 0x20))
            }
        }

        return tempBytes;
    }

    function toAddress(
        bytes memory _bytes,
        uint256 _start
    ) internal pure returns (address) {
        require(_bytes.length >= _start + 20, "toAddress_outOfBounds");
        address tempAddress;

        assembly {
            tempAddress := div(
                mload(add(add(_bytes, 0x20), _start)),
                0x1000000000000000000000000
            )
        }

        return tempAddress;
    }

    function toUint8(
        bytes memory _bytes,
        uint256 _start
    ) internal pure returns (uint8) {
        require(_bytes.length >= _start + 1, "toUint8_outOfBounds");
        uint8 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x1), _start))
        }

        return tempUint;
    }

    function toUint16(
        bytes memory _bytes,
        uint256 _start
    ) internal pure returns (uint16) {
        require(_bytes.length >= _start + 2, "toUint16_outOfBounds");
        uint16 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x2), _start))
        }

        return tempUint;
    }

    function toUint32(
        bytes memory _bytes,
        uint256 _start
    ) internal pure returns (uint32) {
        require(_bytes.length >= _start + 4, "toUint32_outOfBounds");
        uint32 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x4), _start))
        }

        return tempUint;
    }

    function toUint64(
        bytes memory _bytes,
        uint256 _start
    ) internal pure returns (uint64) {
        require(_bytes.length >= _start + 8, "toUint64_outOfBounds");
        uint64 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x8), _start))
        }

        return tempUint;
    }

    function toUint96(
        bytes memory _bytes,
        uint256 _start
    ) internal pure returns (uint96) {
        require(_bytes.length >= _start + 12, "toUint96_outOfBounds");
        uint96 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0xc), _start))
        }

        return tempUint;
    }

    function toUint128(
        bytes memory _bytes,
        uint256 _start
    ) internal pure returns (uint128) {
        require(_bytes.length >= _start + 16, "toUint128_outOfBounds");
        uint128 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x10), _start))
        }

        return tempUint;
    }

    function toUint256(
        bytes memory _bytes,
        uint256 _start
    ) internal pure returns (uint256) {
        require(_bytes.length >= _start + 32, "toUint256_outOfBounds");
        uint256 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x20), _start))
        }

        return tempUint;
    }

    function toBytes32(
        bytes memory _bytes,
        uint256 _start
    ) internal pure returns (bytes32) {
        require(_bytes.length >= _start + 32, "toBytes32_outOfBounds");
        bytes32 tempBytes32;

        assembly {
            tempBytes32 := mload(add(add(_bytes, 0x20), _start))
        }

        return tempBytes32;
    }

    function equal(
        bytes memory _preBytes,
        bytes memory _postBytes
    ) internal pure returns (bool) {
        bool success = true;

        assembly {
            let length := mload(_preBytes)

            // if lengths don't match the arrays are not equal
            switch eq(length, mload(_postBytes))
            case 1 {
                // cb is a circuit breaker in the for loop since there's
                //  no said feature for inline assembly loops
                // cb = 1 - don't breaker
                // cb = 0 - break
                let cb := 1

                let mc := add(_preBytes, 0x20)
                let end := add(mc, length)

                for {
                    let cc := add(_postBytes, 0x20)
                    // the next line is the loop condition:
                    // while(uint256(mc < end) + cb == 2)
                } eq(add(lt(mc, end), cb), 2) {
                    mc := add(mc, 0x20)
                    cc := add(cc, 0x20)
                } {
                    // if any of these checks fails then arrays are not equal
                    if iszero(eq(mload(mc), mload(cc))) {
                        // unsuccess:
                        success := 0
                        cb := 0
                    }
                }
            }
            default {
                // unsuccess:
                success := 0
            }
        }

        return success;
    }

    function equalStorage(
        bytes storage _preBytes,
        bytes memory _postBytes
    ) internal view returns (bool) {
        bool success = true;

        assembly {
            // we know _preBytes_offset is 0
            let fslot := sload(_preBytes.slot)
            // Decode the length of the stored array like in concatStorage().
            let slength := div(
                and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)),
                2
            )
            let mlength := mload(_postBytes)

            // if lengths don't match the arrays are not equal
            switch eq(slength, mlength)
            case 1 {
                // slength can contain both the length and contents of the array
                // if length < 32 bytes so let's prepare for that
                // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage
                if iszero(iszero(slength)) {
                    switch lt(slength, 32)
                    case 1 {
                        // blank the last byte which is the length
                        fslot := mul(div(fslot, 0x100), 0x100)

                        if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {
                            // unsuccess:
                            success := 0
                        }
                    }
                    default {
                        // cb is a circuit breaker in the for loop since there's
                        //  no said feature for inline assembly loops
                        // cb = 1 - don't breaker
                        // cb = 0 - break
                        let cb := 1

                        // get the keccak hash to get the contents of the array
                        mstore(0x0, _preBytes.slot)
                        let sc := keccak256(0x0, 0x20)

                        let mc := add(_postBytes, 0x20)
                        let end := add(mc, mlength)

                        // the next line is the loop condition:
                        // while(uint256(mc < end) + cb == 2)
                        for {

                        } eq(add(lt(mc, end), cb), 2) {
                            sc := add(sc, 1)
                            mc := add(mc, 0x20)
                        } {
                            if iszero(eq(sload(sc), mload(mc))) {
                                // unsuccess:
                                success := 0
                                cb := 0
                            }
                        }
                    }
                }
            }
            default {
                // unsuccess:
                success := 0
            }
        }

        return success;
    }
}

File 3 of 19: 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 4 of 19: 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 5 of 19: ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./IERC721Metadata.sol";
import "./Address.sol";
import "./Context.sol";
import "./Strings.sol";
import "./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: address zero is not a valid owner"
        );
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(
        uint256 tokenId
    ) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        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) {
        _requireMinted(tokenId);

        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 overridden 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 token owner or approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(
        uint256 tokenId
    ) public view virtual override returns (address) {
        _requireMinted(tokenId);

        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: caller is not token owner or 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: caller is not token owner or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @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 _ownerOf(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) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner ||
            isApprovedForAll(owner, spender) ||
            getApproved(tokenId) == 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, 1);

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

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

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

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

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(
            ERC721.ownerOf(tokenId) == from,
            "ERC721: transfer from incorrect owner"
        );

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {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 an {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 Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @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 {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
     * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
     * that `ownerOf(tokenId)` is `a`.
     */
    // solhint-disable-next-line func-name-mixedcase
    function __unsafe_increaseBalance(
        address account,
        uint256 amount
    ) internal {
        _balances[account] += amount;
    }
}

File 6 of 19: ExcessivelySafeCall.sol
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.7.6;

library ExcessivelySafeCall {
    uint256 constant LOW_28_MASK =
        0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;

    /// @notice Use when you _really_ really _really_ don't trust the called
    /// contract. This prevents the called contract from causing reversion of
    /// the caller in as many ways as we can.
    /// @dev The main difference between this and a solidity low-level call is
    /// that we limit the number of bytes that the callee can cause to be
    /// copied to caller memory. This prevents stupid things like malicious
    /// contracts returning 10,000,000 bytes causing a local OOG when copying
    /// to memory.
    /// @param _target The address to call
    /// @param _gas The amount of gas to forward to the remote contract
    /// @param _maxCopy The maximum number of bytes of returndata to copy
    /// to memory.
    /// @param _calldata The data to send to the remote contract
    /// @return success and returndata, as `.call()`. Returndata is capped to
    /// `_maxCopy` bytes.
    function excessivelySafeCall(
        address _target,
        uint256 _gas,
        uint16 _maxCopy,
        bytes memory _calldata
    ) internal returns (bool, bytes memory) {
        // set up for assembly call
        uint256 _toCopy;
        bool _success;
        bytes memory _returnData = new bytes(_maxCopy);
        // dispatch message to recipient
        // by assembly calling "handle" function
        // we call via assembly to avoid memcopying a very large returndata
        // returned by a malicious contract
        assembly {
            _success := call(
                _gas, // gas
                _target, // recipient
                0, // ether value
                add(_calldata, 0x20), // inloc
                mload(_calldata), // inlen
                0, // outloc
                0 // outlen
            )
            // limit our copy to 256 bytes
            _toCopy := returndatasize()
            if gt(_toCopy, _maxCopy) {
                _toCopy := _maxCopy
            }
            // Store the length of the copied bytes
            mstore(_returnData, _toCopy)
            // copy the bytes from returndata[0:_toCopy]
            returndatacopy(add(_returnData, 0x20), 0, _toCopy)
        }
        return (_success, _returnData);
    }

    /// @notice Use when you _really_ really _really_ don't trust the called
    /// contract. This prevents the called contract from causing reversion of
    /// the caller in as many ways as we can.
    /// @dev The main difference between this and a solidity low-level call is
    /// that we limit the number of bytes that the callee can cause to be
    /// copied to caller memory. This prevents stupid things like malicious
    /// contracts returning 10,000,000 bytes causing a local OOG when copying
    /// to memory.
    /// @param _target The address to call
    /// @param _gas The amount of gas to forward to the remote contract
    /// @param _maxCopy The maximum number of bytes of returndata to copy
    /// to memory.
    /// @param _calldata The data to send to the remote contract
    /// @return success and returndata, as `.call()`. Returndata is capped to
    /// `_maxCopy` bytes.
    function excessivelySafeStaticCall(
        address _target,
        uint256 _gas,
        uint16 _maxCopy,
        bytes memory _calldata
    ) internal view returns (bool, bytes memory) {
        // set up for assembly call
        uint256 _toCopy;
        bool _success;
        bytes memory _returnData = new bytes(_maxCopy);
        // dispatch message to recipient
        // by assembly calling "handle" function
        // we call via assembly to avoid memcopying a very large returndata
        // returned by a malicious contract
        assembly {
            _success := staticcall(
                _gas, // gas
                _target, // recipient
                add(_calldata, 0x20), // inloc
                mload(_calldata), // inlen
                0, // outloc
                0 // outlen
            )
            // limit our copy to 256 bytes
            _toCopy := returndatasize()
            if gt(_toCopy, _maxCopy) {
                _toCopy := _maxCopy
            }
            // Store the length of the copied bytes
            mstore(_returnData, _toCopy)
            // copy the bytes from returndata[0:_toCopy]
            returndatacopy(add(_returnData, 0x20), 0, _toCopy)
        }
        return (_success, _returnData);
    }

    /**
     * @notice Swaps function selectors in encoded contract calls
     * @dev Allows reuse of encoded calldata for functions with identical
     * argument types but different names. It simply swaps out the first 4 bytes
     * for the new selector. This function modifies memory in place, and should
     * only be used with caution.
     * @param _newSelector The new 4-byte selector
     * @param _buf The encoded contract args
     */
    function swapSelector(
        bytes4 _newSelector,
        bytes memory _buf
    ) internal pure {
        require(_buf.length >= 4);
        uint256 _mask = LOW_28_MASK;
        assembly {
            // load the first word of
            let _word := mload(add(_buf, 0x20))
            // mask out the top 4 bytes
            // /x
            _word := and(_word, _mask)
            _word := or(_newSelector, _word)
            mstore(add(_buf, 0x20), _word)
        }
    }
}

File 7 of 19: 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 8 of 19: IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "./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`.
     *
     * 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;

    /**
     * @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 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(
        uint256 tokenId
    ) external view returns (address operator);

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

File 9 of 19: 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 10 of 19: IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 11 of 19: ILayerZeroEndpoint.sol
// SPDX-License-Identifier: BUSL-1.1

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

File 12 of 19: ILayerZeroReceiver.sol
// SPDX-License-Identifier: BUSL-1.1

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 13 of 19: ILayerZeroUserApplicationConfig.sol
// SPDX-License-Identifier: BUSL-1.1

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 14 of 19: LzApp.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./Ownable.sol";
import "./ILayerZeroReceiver.sol";
import "./ILayerZeroUserApplicationConfig.sol";
import "./ILayerZeroEndpoint.sol";
import "./BytesLib.sol";

/*
 * a generic LzReceiver implementation
 */
abstract contract LzApp is
    Ownable,
    ILayerZeroReceiver,
    ILayerZeroUserApplicationConfig
{
    using BytesLib for bytes;

    // ua can not send payload larger than this by default, but it can be changed by the ua owner
    uint public constant DEFAULT_PAYLOAD_SIZE_LIMIT = 10000;

    ILayerZeroEndpoint public immutable lzEndpoint;
    mapping(uint16 => bytes) public trustedRemoteLookup;
    mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;
    mapping(uint16 => uint) public payloadSizeLimitLookup;
    address public precrime;

    event SetPrecrime(address precrime);
    event SetTrustedRemote(uint16 _remoteChainId, bytes _path);
    event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);
    event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);

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

    function lzReceive(
        uint16 _srcChainId,
        bytes calldata _srcAddress,
        uint64 _nonce,
        bytes calldata _payload
    ) public virtual override {
        // lzReceive must be called by the endpoint for security
        require(
            _msgSender() == address(lzEndpoint),
            "LzApp: invalid endpoint caller"
        );

        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];
        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.
        require(
            _srcAddress.length == trustedRemote.length &&
                trustedRemote.length > 0 &&
                keccak256(_srcAddress) == keccak256(trustedRemote),
            "LzApp: 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 _adapterParams,
        uint _nativeFee
    ) internal virtual {
        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];
        require(
            trustedRemote.length != 0,
            "LzApp: destination chain is not a trusted source"
        );
        _checkPayloadSize(_dstChainId, _payload.length);
        lzEndpoint.send{value: _nativeFee}(
            _dstChainId,
            trustedRemote,
            _payload,
            _refundAddress,
            _zroPaymentAddress,
            _adapterParams
        );
    }

    function _checkGasLimit(
        uint16 _dstChainId,
        uint16 _type,
        bytes memory _adapterParams,
        uint _extraGas
    ) internal view virtual {
        uint providedGasLimit = _getGasLimit(_adapterParams);
        uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;
        require(minGasLimit > 0, "LzApp: minGasLimit not set");
        require(providedGasLimit >= minGasLimit, "LzApp: gas limit is too low");
    }

    function _getGasLimit(
        bytes memory _adapterParams
    ) internal pure virtual returns (uint gasLimit) {
        require(_adapterParams.length >= 34, "LzApp: invalid adapterParams");
        assembly {
            gasLimit := mload(add(_adapterParams, 34))
        }
    }

    function _checkPayloadSize(
        uint16 _dstChainId,
        uint _payloadSize
    ) internal view virtual {
        uint payloadSizeLimit = payloadSizeLimitLookup[_dstChainId];
        if (payloadSizeLimit == 0) {
            // use default if not set
            payloadSizeLimit = DEFAULT_PAYLOAD_SIZE_LIMIT;
        }
        require(
            _payloadSize <= payloadSizeLimit,
            "LzApp: payload size is too large"
        );
    }

    //---------------------------UserApplication config----------------------------------------
    function getConfig(
        uint16 _version,
        uint16 _chainId,
        address,
        uint _configType
    ) external view returns (bytes memory) {
        return
            lzEndpoint.getConfig(
                _version,
                _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);
    }

    // _path = abi.encodePacked(remoteAddress, localAddress)
    // this function set the trusted path for the cross-chain communication
    function setTrustedRemote(
        uint16 _srcChainId,
        bytes calldata _path
    ) external onlyOwner {
        trustedRemoteLookup[_srcChainId] = _path;
        emit SetTrustedRemote(_srcChainId, _path);
    }

    function setTrustedRemoteAddress(
        uint16 _remoteChainId,
        bytes calldata _remoteAddress
    ) external onlyOwner {
        trustedRemoteLookup[_remoteChainId] = abi.encodePacked(
            _remoteAddress,
            address(this)
        );
        emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);
    }

    function getTrustedRemoteAddress(
        uint16 _remoteChainId
    ) external view returns (bytes memory) {
        bytes memory path = trustedRemoteLookup[_remoteChainId];
        require(path.length != 0, "LzApp: no trusted path record");
        return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)
    }

    function setPrecrime(address _precrime) external onlyOwner {
        precrime = _precrime;
        emit SetPrecrime(_precrime);
    }

    function setMinDstGas(
        uint16 _dstChainId,
        uint16 _packetType,
        uint _minGas
    ) external onlyOwner {
        require(_minGas > 0, "LzApp: invalid minGas");
        minDstGasLookup[_dstChainId][_packetType] = _minGas;
        emit SetMinDstGas(_dstChainId, _packetType, _minGas);
    }

    // if the size is 0, it means default size limit
    function setPayloadSizeLimit(
        uint16 _dstChainId,
        uint _size
    ) external onlyOwner {
        payloadSizeLimitLookup[_dstChainId] = _size;
    }

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./LzApp.sol";
import "./ExcessivelySafeCall.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 {
    using ExcessivelySafeCall for address;

    constructor(address _endpoint) LzApp(_endpoint) {}

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

    event MessageFailed(
        uint16 _srcChainId,
        bytes _srcAddress,
        uint64 _nonce,
        bytes _payload,
        bytes _reason
    );
    event RetryMessageSuccess(
        uint16 _srcChainId,
        bytes _srcAddress,
        uint64 _nonce,
        bytes32 _payloadHash
    );

    // overriding the virtual function in LzReceiver
    function _blockingLzReceive(
        uint16 _srcChainId,
        bytes memory _srcAddress,
        uint64 _nonce,
        bytes memory _payload
    ) internal virtual override {
        (bool success, bytes memory reason) = address(this).excessivelySafeCall(
            gasleft(),
            150,
            abi.encodeWithSelector(
                this.nonblockingLzReceive.selector,
                _srcChainId,
                _srcAddress,
                _nonce,
                _payload
            )
        );
        // try-catch all errors/exceptions
        if (!success) {
            _storeFailedMessage(
                _srcChainId,
                _srcAddress,
                _nonce,
                _payload,
                reason
            );
        }
    }

    function _storeFailedMessage(
        uint16 _srcChainId,
        bytes memory _srcAddress,
        uint64 _nonce,
        bytes memory _payload,
        bytes memory _reason
    ) internal virtual {
        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);
        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);
    }

    function nonblockingLzReceive(
        uint16 _srcChainId,
        bytes calldata _srcAddress,
        uint64 _nonce,
        bytes calldata _payload
    ) public virtual {
        // only internal transaction
        require(
            _msgSender() == address(this),
            "NonblockingLzApp: caller must be LzApp"
        );
        _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 calldata _srcAddress,
        uint64 _nonce,
        bytes calldata _payload
    ) public payable virtual {
        // assert there is message to retry
        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];
        require(
            payloadHash != bytes32(0),
            "NonblockingLzApp: no stored message"
        );
        require(
            keccak256(_payload) == payloadHash,
            "NonblockingLzApp: invalid payload"
        );
        // clear the stored message
        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);
        // execute the message. revert if it fails again
        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);
        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);
    }
}

File 17 of 19: Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "./Context.sol";

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./Math.sol";

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

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

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

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_endpoint","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InsufficientGas","type":"error"},{"inputs":[],"name":"NotTokenOwner","type":"error"},{"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"},{"indexed":false,"internalType":"bytes","name":"_reason","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":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"counter","type":"uint256"}],"name":"ReceivedNFT","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":"bytes32","name":"_payloadHash","type":"bytes32"}],"name":"RetryMessageSuccess","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"_type","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"_minDstGas","type":"uint256"}],"name":"SetMinDstGas","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"precrime","type":"address"}],"name":"SetPrecrime","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_path","type":"bytes"}],"name":"SetTrustedRemote","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_remoteAddress","type":"bytes"}],"name":"SetTrustedRemoteAddress","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":[],"name":"DEFAULT_PAYLOAD_SIZE_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":"counter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"dstChainId","type":"uint16"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"crossChain","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"dstChainId","type":"uint16"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"estimateFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint64","name":"","type":"uint64"}],"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":"_version","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":[{"internalType":"uint16","name":"_remoteChainId","type":"uint16"}],"name":"getTrustedRemoteAddress","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":[],"name":"lzEndpoint","outputs":[{"internalType":"contract ILayerZeroEndpoint","name":"","type":"address"}],"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":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"}],"name":"minDstGasLookup","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintcost","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":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"payloadSizeLimitLookup","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"precrime","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":"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":[],"name":"safeWithdraw","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":"_dstChainId","type":"uint16"},{"internalType":"uint16","name":"_packetType","type":"uint16"},{"internalType":"uint256","name":"_minGas","type":"uint256"}],"name":"setMinDstGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintcost","type":"uint256"}],"name":"setMintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint256","name":"_size","type":"uint256"}],"name":"setPayloadSizeLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_precrime","type":"address"}],"name":"setPrecrime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"}],"name":"setReceiveVersion","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":"_path","type":"bytes"}],"name":"setTrustedRemote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"internalType":"bytes","name":"_remoteAddress","type":"bytes"}],"name":"setTrustedRemoteAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","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":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"trustedRemoteLookup","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"}]

60a0604052660110d9316ec000600d553480156200001c57600080fd5b5060405162003b4e38038062003b4e8339810160408190526200003f9162000123565b8080604051806040016040528060098152602001680537461724c616220360bc1b8152506040518060400160405280600481526020016329aa20a960e11b8152506200009a62000094620000cf60201b60201c565b620000d3565b6001620000a88382620001fa565b506002620000b78282620001fa565b5050506001600160a01b031660805250620002c69050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156200013657600080fd5b81516001600160a01b03811681146200014e57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018057607f821691505b602082108103620001a157634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001f557600081815260208120601f850160051c81016020861015620001d05750805b601f850160051c820191505b81811015620001f157828155600101620001dc565b5050505b505050565b81516001600160401b0381111562000216576200021662000155565b6200022e816200022784546200016b565b84620001a7565b602080601f8311600181146200026657600084156200024d5750858301515b600019600386901b1c1916600185901b178555620001f1565b600085815260208120601f198616915b82811015620002975788860151825594840194600190910190840162000276565b5085821015620002b65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805161382d62000321600039600081816106d20152818161086901528181610b9c01528181610d8001528181610f160152818161105d015281816111f50152818161181c01528181611c5b01526121c6015261382d6000f3fe6080604052600436106102715760003560e01c80637533d7881161014f578063b353aaa7116100c1578063d1deba1f1161007a578063d1deba1f1461078a578063df2a5b3b1461079d578063e985e9c5146107bd578063eb8d72b714610806578063f2fde38b14610826578063f5ecbdbc1461084657600080fd5b8063b353aaa7146106c0578063b88d4fde146106f4578063baf3292d14610714578063c446183414610734578063c87b56dd1461074a578063cbed8b9c1461076a57600080fd5b806394c3cbf41161011357806394c3cbf414610615578063950c8a741461062b57806395d89b411461064b5780639f38369a14610660578063a22cb46514610680578063a6c3d165146106a057600080fd5b80637533d788146105775780637fd42617146105975780638545f4ea1461059f5780638cfd8f5c146105bf5780638da5cb5b146105f757600080fd5b8063362790f6116101e85780635b8c41e6116101ac5780635b8c41e61461049d57806361bc221a146104ec5780636352211e1461050257806366ad5c8a1461052257806370a0823114610542578063715018a61461056257600080fd5b8063362790f6146103e25780633d8b38f6146104105780633f1f4fa41461043057806342842e0e1461045d57806342d65a8d1461047d57600080fd5b8063095ea7b31161023a578063095ea7b3146103475780630df374831461036757806310ddb137146103875780631249c58b146103a75780631e128296146103af57806323b872dd146103c257600080fd5b80621d35671461027657806301ffc9a71461029857806306fdde03146102cd57806307e0db17146102ef578063081812fc1461030f575b600080fd5b34801561028257600080fd5b50610296610291366004612b83565b610866565b005b3480156102a457600080fd5b506102b86102b3366004612c2c565b610a97565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102e2610ae9565b6040516102c49190612c99565b3480156102fb57600080fd5b5061029661030a366004612cac565b610b7b565b34801561031b57600080fd5b5061032f61032a366004612cc7565b610c04565b6040516001600160a01b0390911681526020016102c4565b34801561035357600080fd5b50610296610362366004612cf5565b610c2b565b34801561037357600080fd5b50610296610382366004612d21565b610d40565b34801561039357600080fd5b506102966103a2366004612cac565b610d5f565b610296610db7565b6102966103bd366004612d21565b610e6d565b3480156103ce57600080fd5b506102966103dd366004612d3d565b610fcd565b3480156103ee57600080fd5b506104026103fd366004612d21565b610ffe565b6040519081526020016102c4565b34801561041c57600080fd5b506102b861042b366004612d7e565b6110ef565b34801561043c57600080fd5b5061040261044b366004612cac565b60096020526000908152604090205481565b34801561046957600080fd5b50610296610478366004612d3d565b6111bb565b34801561048957600080fd5b50610296610498366004612d7e565b6111d6565b3480156104a957600080fd5b506104026104b8366004612e93565b600b602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b3480156104f857600080fd5b50610402600c5481565b34801561050e57600080fd5b5061032f61051d366004612cc7565b61125c565b34801561052e57600080fd5b5061029661053d366004612b83565b6112bc565b34801561054e57600080fd5b5061040261055d366004612ef0565b611398565b34801561056e57600080fd5b5061029661141e565b34801561058357600080fd5b506102e2610592366004612cac565b611432565b6102966114cc565b3480156105ab57600080fd5b506102966105ba366004612cc7565b61152c565b3480156105cb57600080fd5b506104026105da366004612f0d565b600860209081526000928352604080842090915290825290205481565b34801561060357600080fd5b506000546001600160a01b031661032f565b34801561062157600080fd5b50610402600d5481565b34801561063757600080fd5b50600a5461032f906001600160a01b031681565b34801561065757600080fd5b506102e2611539565b34801561066c57600080fd5b506102e261067b366004612cac565b611548565b34801561068c57600080fd5b5061029661069b366004612f40565b61165e565b3480156106ac57600080fd5b506102966106bb366004612d7e565b61166d565b3480156106cc57600080fd5b5061032f7f000000000000000000000000000000000000000000000000000000000000000081565b34801561070057600080fd5b5061029661070f366004612f7e565b6116f6565b34801561072057600080fd5b5061029661072f366004612ef0565b61172e565b34801561074057600080fd5b5061040261271081565b34801561075657600080fd5b506102e2610765366004612cc7565b61178a565b34801561077657600080fd5b50610296610785366004612fe9565b6117fd565b610296610798366004612b83565b611892565b3480156107a957600080fd5b506102966107b8366004613057565b611aa8565b3480156107c957600080fd5b506102b86107d8366004613093565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561081257600080fd5b50610296610821366004612d7e565b611b5a565b34801561083257600080fd5b50610296610841366004612ef0565b611bb4565b34801561085257600080fd5b506102e26108613660046130c1565b611c2a565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146108e35760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff8616600090815260076020526040812080546109019061310e565b80601f016020809104026020016040519081016040528092919081815260200182805461092d9061310e565b801561097a5780601f1061094f5761010080835404028352916020019161097a565b820191906000526020600020905b81548152906001019060200180831161095d57829003601f168201915b50505050509050805186869050148015610995575060008151115b80156109bd5750805160208201206040516109b39088908890613148565b6040518091039020145b610a185760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b60648201526084016108da565b610a8e8787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611cdd92505050565b50505050505050565b60006001600160e01b031982166380ac58cd60e01b1480610ac857506001600160e01b03198216635b5e139f60e01b145b80610ae357506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060018054610af89061310e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b249061310e565b8015610b715780601f10610b4657610100808354040283529160200191610b71565b820191906000526020600020905b815481529060010190602001808311610b5457829003601f168201915b5050505050905090565b610b83611d56565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610be957600080fd5b505af1158015610bfd573d6000803e3d6000fd5b5050505050565b6000610c0f82611db0565b506000908152600560205260409020546001600160a01b031690565b6000610c368261125c565b9050806001600160a01b0316836001600160a01b031603610ca35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108da565b336001600160a01b0382161480610cbf5750610cbf81336107d8565b610d315760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016108da565b610d3b8383611e0f565b505050565b610d48611d56565b61ffff909116600090815260096020526040902055565b610d67611d56565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610bcf565b600d54341015610e095760405162461bcd60e51b815260206004820152601f60248201527f537461726c6162203a204e6f7420656e6f7567682065746865722073656e740060448201526064016108da565b610e623362989680600c5442604051602001610e2f929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c610e529190613158565b610e5d906001613190565b611e7d565b600c80546001019055565b610e768161125c565b6001600160a01b0316336001600160a01b031614610ea7576040516359dc379f60e01b815260040160405180910390fd5b600c8054600019019055610eba81612008565b60408051336020820152808201839052815180820383018152606082018352600160f01b60808301526205573060828084018290528451808503909101815260a284019485905263040a7bb160e41b90945290926001926000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906340a7bb1090610f5b908a9030908a908790899060a6016131a3565b6040805180830381865afa158015610f77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9b91906131f7565b509050803411610fbe576040516307099c5360e21b815260040160405180910390fd5b610a8e8786336000863461209d565b610fd73382612242565b610ff35760405162461bcd60e51b81526004016108da9061321b565b610d3b8383836122c0565b60408051336020820152808201839052815180820383018152606082018352600160f01b60808301526205573060828084018290528451808503909101815260a284019485905263040a7bb160e41b90945260009391926001929085907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906340a7bb10906110a2908b9030908a908790899060a6016131a3565b6040805180830381865afa1580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e291906131f7565b5098975050505050505050565b61ffff8316600090815260076020526040812080548291906111109061310e565b80601f016020809104026020016040519081016040528092919081815260200182805461113c9061310e565b80156111895780601f1061115e57610100808354040283529160200191611189565b820191906000526020600020905b81548152906001019060200180831161116c57829003601f168201915b5050505050905083836040516111a0929190613148565b60405180910390208180519060200120149150509392505050565b610d3b838383604051806020016040528060008152506116f6565b6111de611d56565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d9061122e90869086908690600401613291565b600060405180830381600087803b15801561124857600080fd5b505af1158015610a8e573d6000803e3d6000fd5b6000818152600360205260408120546001600160a01b031680610ae35760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108da565b33301461131a5760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b60648201526084016108da565b6113908686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f89018190048102820181019092528781528993509150879087908190840183828082843760009201919091525061242492505050565b505050505050565b60006001600160a01b0382166114025760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016108da565b506001600160a01b031660009081526004602052604090205490565b611426611d56565b61143060006124af565b565b6007602052600090815260409020805461144b9061310e565b80601f01602080910402602001604051908101604052809291908181526020018280546114779061310e565b80156114c45780601f10611499576101008083540402835291602001916114c4565b820191906000526020600020905b8154815290600101906020018083116114a757829003601f168201915b505050505081565b6114d4611d56565b604051600090339047908381818185875af1925050503d8060008114611516576040519150601f19603f3d011682016040523d82523d6000602084013e61151b565b606091505b505090508061152957600080fd5b50565b611534611d56565b600d55565b606060028054610af89061310e565b61ffff811660009081526007602052604081208054606092919061156b9061310e565b80601f01602080910402602001604051908101604052809291908181526020018280546115979061310e565b80156115e45780601f106115b9576101008083540402835291602001916115e4565b820191906000526020600020905b8154815290600101906020018083116115c757829003601f168201915b50505050509050805160000361163c5760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f726400000060448201526064016108da565b61165760006014835161164f91906132af565b8391906124ff565b9392505050565b61166933838361260c565b5050565b611675611d56565b81813060405160200161168a939291906132c2565b60408051601f1981840301815291815261ffff85166000908152600760205220906116b5908261332e565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce8383836040516116e993929190613291565b60405180910390a1505050565b6117003383612242565b61171c5760405162461bcd60e51b81526004016108da9061321b565b611728848484846126da565b50505050565b611736611d56565b600a80546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b9060200160405180910390a150565b606061179582611db0565b60006117ac60408051602081019091526000815290565b905060008151116117cc5760405180602001604052806000815250611657565b806117d68461270d565b6040516020016117e79291906133ed565b6040516020818303038152906040529392505050565b611805611d56565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c90611859908890889088908890889060040161341c565b600060405180830381600087803b15801561187357600080fd5b505af1158015611887573d6000803e3d6000fd5b505050505050505050565b61ffff86166000908152600b602052604080822090516118b59088908890613148565b90815260408051602092819003830190206001600160401b038716600090815292529020549050806119355760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b60648201526084016108da565b808383604051611946929190613148565b6040518091039020146119a55760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b60648201526084016108da565b61ffff87166000908152600b602052604080822090516119c89089908990613148565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252611a60918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93509150889088908190840183828082843760009201919091525061242492505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e58787878785604051611a97959493929190613455565b60405180910390a150505050505050565b611ab0611d56565b60008111611af85760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b60448201526064016108da565b61ffff83811660008181526008602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac0906060016116e9565b611b62611d56565b61ffff83166000908152600760205260409020611b80828483613490565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab8383836040516116e993929190613291565b611bbc611d56565b6001600160a01b038116611c215760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108da565b611529816124af565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611caa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611cd2919081019061354f565b90505b949350505050565b600080611d405a60966366ad5c8a60e01b89898989604051602401611d0594939291906135c5565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091523092919061279f565b9150915081611390576113908686868685612829565b6000546001600160a01b031633146114305760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108da565b6000818152600360205260409020546001600160a01b03166115295760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108da565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611e448261125c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038216611ed35760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108da565b6000818152600360205260409020546001600160a01b031615611f385760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108da565b6000818152600360205260409020546001600160a01b031615611f9d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108da565b6001600160a01b038216600081815260046020908152604080832080546001019055848352600390915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006120138261125c565b905061201e8261125c565b600083815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526004845282852080546000190190558785526003909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b61ffff8616600090815260076020526040812080546120bb9061310e565b80601f01602080910402602001604051908101604052809291908181526020018280546120e79061310e565b80156121345780601f1061210957610100808354040283529160200191612134565b820191906000526020600020905b81548152906001019060200180831161211757829003601f168201915b5050505050905080516000036121a55760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b60648201526084016108da565b6121b08787516128c6565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490612207908b9086908c908c908c908c90600401613603565b6000604051808303818588803b15801561222057600080fd5b505af1158015612234573d6000803e3d6000fd5b505050505050505050505050565b60008061224e8361125c565b9050806001600160a01b0316846001600160a01b0316148061229557506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80611cd55750836001600160a01b03166122ae84610c04565b6001600160a01b031614949350505050565b826001600160a01b03166122d38261125c565b6001600160a01b0316146122f95760405162461bcd60e51b81526004016108da9061366a565b6001600160a01b03821661235b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108da565b826001600160a01b031661236e8261125c565b6001600160a01b0316146123945760405162461bcd60e51b81526004016108da9061366a565b600081815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260048552838620805460001901905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000601484015190506000808380602001905181019061244491906136af565b915091506124528282611e7d565b600c8054600101908190556040805161ffff8a1681526001600160a01b038616602082015290810183905260608101919091527f31ae2bb20187b24b2039def7711f43f56311ec96de17b7ef01d1b1da40eb2eee90608001611a97565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60608161250d81601f613190565b101561254c5760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016108da565b6125568284613190565b8451101561259a5760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016108da565b6060821580156125b95760405191506000825260208201604052612603565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156125f25780518352602092830192016125da565b5050858452601f01601f1916604052505b50949350505050565b816001600160a01b0316836001600160a01b03160361266d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108da565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6126e58484846122c0565b6126f184848484612937565b6117285760405162461bcd60e51b81526004016108da906136dd565b6060600061271a83612a35565b60010190506000816001600160401b0381111561273957612739612dd0565b6040519080825280601f01601f191660200182016040528015612763576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461276d57509392505050565b6000606060008060008661ffff166001600160401b038111156127c4576127c4612dd0565b6040519080825280601f01601f1916602001820160405280156127ee576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612810578692505b828152826000602083013e909890975095505050505050565b8180519060200120600b60008761ffff1661ffff1681526020019081526020016000208560405161285a919061372f565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906128b7908790879087908790879061374b565b60405180910390a15050505050565b61ffff8216600090815260096020526040812054908190036128e757506127105b80821115610d3b5760405162461bcd60e51b815260206004820181905260248201527f4c7a4170703a207061796c6f61642073697a6520697320746f6f206c6172676560448201526064016108da565b60006001600160a01b0384163b15612a2d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061297b90339089908890889060040161379d565b6020604051808303816000875af19250505080156129b6575060408051601f3d908101601f191682019092526129b3918101906137da565b60015b612a13573d8080156129e4576040519150601f19603f3d011682016040523d82523d6000602084013e6129e9565b606091505b508051600003612a0b5760405162461bcd60e51b81526004016108da906136dd565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611cd5565b506001611cd5565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612a745772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612aa0576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612abe57662386f26fc10000830492506010015b6305f5e1008310612ad6576305f5e100830492506008015b6127108310612aea57612710830492506004015b60648310612afc576064830492506002015b600a8310610ae35760010192915050565b803561ffff81168114612b1f57600080fd5b919050565b60008083601f840112612b3657600080fd5b5081356001600160401b03811115612b4d57600080fd5b602083019150836020828501011115612b6557600080fd5b9250929050565b80356001600160401b0381168114612b1f57600080fd5b60008060008060008060808789031215612b9c57600080fd5b612ba587612b0d565b955060208701356001600160401b0380821115612bc157600080fd5b612bcd8a838b01612b24565b9097509550859150612be160408a01612b6c565b94506060890135915080821115612bf757600080fd5b50612c0489828a01612b24565b979a9699509497509295939492505050565b6001600160e01b03198116811461152957600080fd5b600060208284031215612c3e57600080fd5b813561165781612c16565b60005b83811015612c64578181015183820152602001612c4c565b50506000910152565b60008151808452612c85816020860160208601612c49565b601f01601f19169290920160200192915050565b6020815260006116576020830184612c6d565b600060208284031215612cbe57600080fd5b61165782612b0d565b600060208284031215612cd957600080fd5b5035919050565b6001600160a01b038116811461152957600080fd5b60008060408385031215612d0857600080fd5b8235612d1381612ce0565b946020939093013593505050565b60008060408385031215612d3457600080fd5b612d1383612b0d565b600080600060608486031215612d5257600080fd5b8335612d5d81612ce0565b92506020840135612d6d81612ce0565b929592945050506040919091013590565b600080600060408486031215612d9357600080fd5b612d9c84612b0d565b925060208401356001600160401b03811115612db757600080fd5b612dc386828701612b24565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612e0e57612e0e612dd0565b604052919050565b60006001600160401b03821115612e2f57612e2f612dd0565b50601f01601f191660200190565b600082601f830112612e4e57600080fd5b8135612e61612e5c82612e16565b612de6565b818152846020838601011115612e7657600080fd5b816020850160208301376000918101602001919091529392505050565b600080600060608486031215612ea857600080fd5b612eb184612b0d565b925060208401356001600160401b03811115612ecc57600080fd5b612ed886828701612e3d565b925050612ee760408501612b6c565b90509250925092565b600060208284031215612f0257600080fd5b813561165781612ce0565b60008060408385031215612f2057600080fd5b612f2983612b0d565b9150612f3760208401612b0d565b90509250929050565b60008060408385031215612f5357600080fd5b8235612f5e81612ce0565b915060208301358015158114612f7357600080fd5b809150509250929050565b60008060008060808587031215612f9457600080fd5b8435612f9f81612ce0565b93506020850135612faf81612ce0565b92506040850135915060608501356001600160401b03811115612fd157600080fd5b612fdd87828801612e3d565b91505092959194509250565b60008060008060006080868803121561300157600080fd5b61300a86612b0d565b945061301860208701612b0d565b93506040860135925060608601356001600160401b0381111561303a57600080fd5b61304688828901612b24565b969995985093965092949392505050565b60008060006060848603121561306c57600080fd5b61307584612b0d565b925061308360208501612b0d565b9150604084013590509250925092565b600080604083850312156130a657600080fd5b82356130b181612ce0565b91506020830135612f7381612ce0565b600080600080608085870312156130d757600080fd5b6130e085612b0d565b93506130ee60208601612b0d565b925060408501356130fe81612ce0565b9396929550929360600135925050565b600181811c9082168061312257607f821691505b60208210810361314257634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b60008261317557634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052601160045260246000fd5b80820180821115610ae357610ae361317a565b61ffff861681526001600160a01b038516602082015260a0604082018190526000906131d190830186612c6d565b841515606084015282810360808401526131eb8185612c6d565b98975050505050505050565b6000806040838503121561320a57600080fd5b505080516020909101519092909150565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff84168152604060208201526000611cd2604083018486613268565b81810381811115610ae357610ae361317a565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115610d3b57600081815260208120601f850160051c8101602086101561330f5750805b601f850160051c820191505b818110156113905782815560010161331b565b81516001600160401b0381111561334757613347612dd0565b61335b81613355845461310e565b846132e8565b602080601f83116001811461339057600084156133785750858301515b600019600386901b1c1916600185901b178555611390565b600085815260208120601f198616915b828110156133bf578886015182559484019460019091019084016133a0565b50858210156133dd5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600083516133ff818460208801612c49565b835190830190613413818360208801612c49565b01949350505050565b600061ffff80881683528087166020840152508460408301526080606083015261344a608083018486613268565b979650505050505050565b61ffff86168152608060208201526000613473608083018688613268565b6001600160401b0394909416604083015250606001529392505050565b6001600160401b038311156134a7576134a7612dd0565b6134bb836134b5835461310e565b836132e8565b6000601f8411600181146134ef57600085156134d75750838201355b600019600387901b1c1916600186901b178355610bfd565b600083815260209020601f19861690835b828110156135205786850135825560209485019460019092019101613500565b508682101561353d5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60006020828403121561356157600080fd5b81516001600160401b0381111561357757600080fd5b8201601f8101841361358857600080fd5b8051613596612e5c82612e16565b8181528560208385010111156135ab57600080fd5b6135bc826020830160208601612c49565b95945050505050565b61ffff851681526080602082015260006135e26080830186612c6d565b6001600160401b0385166040840152828103606084015261344a8185612c6d565b61ffff8716815260c06020820152600061362060c0830188612c6d565b82810360408401526136328188612c6d565b6001600160a01b0387811660608601528616608085015283810360a0850152905061365d8185612c6d565b9998505050505050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b600080604083850312156136c257600080fd5b82516136cd81612ce0565b6020939093015192949293505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008251613741818460208701612c49565b9190910192915050565b61ffff8616815260a06020820152600061376860a0830187612c6d565b6001600160401b038616604084015282810360608401526137898186612c6d565b905082810360808401526131eb8185612c6d565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906137d090830184612c6d565b9695505050505050565b6000602082840312156137ec57600080fd5b815161165781612c1656fea2646970667358221220d8be3509c882b60efa6428ae8fa6da194c38f3f05bc181c62b82481db7e62c2b64736f6c634300081200330000000000000000000000004ee2f9b7cf3a68966c370f3eb2c16613d3235245

Deployed Bytecode

0x6080604052600436106102715760003560e01c80637533d7881161014f578063b353aaa7116100c1578063d1deba1f1161007a578063d1deba1f1461078a578063df2a5b3b1461079d578063e985e9c5146107bd578063eb8d72b714610806578063f2fde38b14610826578063f5ecbdbc1461084657600080fd5b8063b353aaa7146106c0578063b88d4fde146106f4578063baf3292d14610714578063c446183414610734578063c87b56dd1461074a578063cbed8b9c1461076a57600080fd5b806394c3cbf41161011357806394c3cbf414610615578063950c8a741461062b57806395d89b411461064b5780639f38369a14610660578063a22cb46514610680578063a6c3d165146106a057600080fd5b80637533d788146105775780637fd42617146105975780638545f4ea1461059f5780638cfd8f5c146105bf5780638da5cb5b146105f757600080fd5b8063362790f6116101e85780635b8c41e6116101ac5780635b8c41e61461049d57806361bc221a146104ec5780636352211e1461050257806366ad5c8a1461052257806370a0823114610542578063715018a61461056257600080fd5b8063362790f6146103e25780633d8b38f6146104105780633f1f4fa41461043057806342842e0e1461045d57806342d65a8d1461047d57600080fd5b8063095ea7b31161023a578063095ea7b3146103475780630df374831461036757806310ddb137146103875780631249c58b146103a75780631e128296146103af57806323b872dd146103c257600080fd5b80621d35671461027657806301ffc9a71461029857806306fdde03146102cd57806307e0db17146102ef578063081812fc1461030f575b600080fd5b34801561028257600080fd5b50610296610291366004612b83565b610866565b005b3480156102a457600080fd5b506102b86102b3366004612c2c565b610a97565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102e2610ae9565b6040516102c49190612c99565b3480156102fb57600080fd5b5061029661030a366004612cac565b610b7b565b34801561031b57600080fd5b5061032f61032a366004612cc7565b610c04565b6040516001600160a01b0390911681526020016102c4565b34801561035357600080fd5b50610296610362366004612cf5565b610c2b565b34801561037357600080fd5b50610296610382366004612d21565b610d40565b34801561039357600080fd5b506102966103a2366004612cac565b610d5f565b610296610db7565b6102966103bd366004612d21565b610e6d565b3480156103ce57600080fd5b506102966103dd366004612d3d565b610fcd565b3480156103ee57600080fd5b506104026103fd366004612d21565b610ffe565b6040519081526020016102c4565b34801561041c57600080fd5b506102b861042b366004612d7e565b6110ef565b34801561043c57600080fd5b5061040261044b366004612cac565b60096020526000908152604090205481565b34801561046957600080fd5b50610296610478366004612d3d565b6111bb565b34801561048957600080fd5b50610296610498366004612d7e565b6111d6565b3480156104a957600080fd5b506104026104b8366004612e93565b600b602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b3480156104f857600080fd5b50610402600c5481565b34801561050e57600080fd5b5061032f61051d366004612cc7565b61125c565b34801561052e57600080fd5b5061029661053d366004612b83565b6112bc565b34801561054e57600080fd5b5061040261055d366004612ef0565b611398565b34801561056e57600080fd5b5061029661141e565b34801561058357600080fd5b506102e2610592366004612cac565b611432565b6102966114cc565b3480156105ab57600080fd5b506102966105ba366004612cc7565b61152c565b3480156105cb57600080fd5b506104026105da366004612f0d565b600860209081526000928352604080842090915290825290205481565b34801561060357600080fd5b506000546001600160a01b031661032f565b34801561062157600080fd5b50610402600d5481565b34801561063757600080fd5b50600a5461032f906001600160a01b031681565b34801561065757600080fd5b506102e2611539565b34801561066c57600080fd5b506102e261067b366004612cac565b611548565b34801561068c57600080fd5b5061029661069b366004612f40565b61165e565b3480156106ac57600080fd5b506102966106bb366004612d7e565b61166d565b3480156106cc57600080fd5b5061032f7f0000000000000000000000004ee2f9b7cf3a68966c370f3eb2c16613d323524581565b34801561070057600080fd5b5061029661070f366004612f7e565b6116f6565b34801561072057600080fd5b5061029661072f366004612ef0565b61172e565b34801561074057600080fd5b5061040261271081565b34801561075657600080fd5b506102e2610765366004612cc7565b61178a565b34801561077657600080fd5b50610296610785366004612fe9565b6117fd565b610296610798366004612b83565b611892565b3480156107a957600080fd5b506102966107b8366004613057565b611aa8565b3480156107c957600080fd5b506102b86107d8366004613093565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561081257600080fd5b50610296610821366004612d7e565b611b5a565b34801561083257600080fd5b50610296610841366004612ef0565b611bb4565b34801561085257600080fd5b506102e26108613660046130c1565b611c2a565b337f0000000000000000000000004ee2f9b7cf3a68966c370f3eb2c16613d32352456001600160a01b0316146108e35760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff8616600090815260076020526040812080546109019061310e565b80601f016020809104026020016040519081016040528092919081815260200182805461092d9061310e565b801561097a5780601f1061094f5761010080835404028352916020019161097a565b820191906000526020600020905b81548152906001019060200180831161095d57829003601f168201915b50505050509050805186869050148015610995575060008151115b80156109bd5750805160208201206040516109b39088908890613148565b6040518091039020145b610a185760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b60648201526084016108da565b610a8e8787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611cdd92505050565b50505050505050565b60006001600160e01b031982166380ac58cd60e01b1480610ac857506001600160e01b03198216635b5e139f60e01b145b80610ae357506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060018054610af89061310e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b249061310e565b8015610b715780601f10610b4657610100808354040283529160200191610b71565b820191906000526020600020905b815481529060010190602001808311610b5457829003601f168201915b5050505050905090565b610b83611d56565b6040516307e0db1760e01b815261ffff821660048201527f0000000000000000000000004ee2f9b7cf3a68966c370f3eb2c16613d32352456001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610be957600080fd5b505af1158015610bfd573d6000803e3d6000fd5b5050505050565b6000610c0f82611db0565b506000908152600560205260409020546001600160a01b031690565b6000610c368261125c565b9050806001600160a01b0316836001600160a01b031603610ca35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108da565b336001600160a01b0382161480610cbf5750610cbf81336107d8565b610d315760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016108da565b610d3b8383611e0f565b505050565b610d48611d56565b61ffff909116600090815260096020526040902055565b610d67611d56565b6040516310ddb13760e01b815261ffff821660048201527f0000000000000000000000004ee2f9b7cf3a68966c370f3eb2c16613d32352456001600160a01b0316906310ddb13790602401610bcf565b600d54341015610e095760405162461bcd60e51b815260206004820152601f60248201527f537461726c6162203a204e6f7420656e6f7567682065746865722073656e740060448201526064016108da565b610e623362989680600c5442604051602001610e2f929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c610e529190613158565b610e5d906001613190565b611e7d565b600c80546001019055565b610e768161125c565b6001600160a01b0316336001600160a01b031614610ea7576040516359dc379f60e01b815260040160405180910390fd5b600c8054600019019055610eba81612008565b60408051336020820152808201839052815180820383018152606082018352600160f01b60808301526205573060828084018290528451808503909101815260a284019485905263040a7bb160e41b90945290926001926000907f0000000000000000000000004ee2f9b7cf3a68966c370f3eb2c16613d32352456001600160a01b0316906340a7bb1090610f5b908a9030908a908790899060a6016131a3565b6040805180830381865afa158015610f77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9b91906131f7565b509050803411610fbe576040516307099c5360e21b815260040160405180910390fd5b610a8e8786336000863461209d565b610fd73382612242565b610ff35760405162461bcd60e51b81526004016108da9061321b565b610d3b8383836122c0565b60408051336020820152808201839052815180820383018152606082018352600160f01b60808301526205573060828084018290528451808503909101815260a284019485905263040a7bb160e41b90945260009391926001929085907f0000000000000000000000004ee2f9b7cf3a68966c370f3eb2c16613d32352456001600160a01b0316906340a7bb10906110a2908b9030908a908790899060a6016131a3565b6040805180830381865afa1580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e291906131f7565b5098975050505050505050565b61ffff8316600090815260076020526040812080548291906111109061310e565b80601f016020809104026020016040519081016040528092919081815260200182805461113c9061310e565b80156111895780601f1061115e57610100808354040283529160200191611189565b820191906000526020600020905b81548152906001019060200180831161116c57829003601f168201915b5050505050905083836040516111a0929190613148565b60405180910390208180519060200120149150509392505050565b610d3b838383604051806020016040528060008152506116f6565b6111de611d56565b6040516342d65a8d60e01b81526001600160a01b037f0000000000000000000000004ee2f9b7cf3a68966c370f3eb2c16613d323524516906342d65a8d9061122e90869086908690600401613291565b600060405180830381600087803b15801561124857600080fd5b505af1158015610a8e573d6000803e3d6000fd5b6000818152600360205260408120546001600160a01b031680610ae35760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108da565b33301461131a5760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b60648201526084016108da565b6113908686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f89018190048102820181019092528781528993509150879087908190840183828082843760009201919091525061242492505050565b505050505050565b60006001600160a01b0382166114025760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016108da565b506001600160a01b031660009081526004602052604090205490565b611426611d56565b61143060006124af565b565b6007602052600090815260409020805461144b9061310e565b80601f01602080910402602001604051908101604052809291908181526020018280546114779061310e565b80156114c45780601f10611499576101008083540402835291602001916114c4565b820191906000526020600020905b8154815290600101906020018083116114a757829003601f168201915b505050505081565b6114d4611d56565b604051600090339047908381818185875af1925050503d8060008114611516576040519150601f19603f3d011682016040523d82523d6000602084013e61151b565b606091505b505090508061152957600080fd5b50565b611534611d56565b600d55565b606060028054610af89061310e565b61ffff811660009081526007602052604081208054606092919061156b9061310e565b80601f01602080910402602001604051908101604052809291908181526020018280546115979061310e565b80156115e45780601f106115b9576101008083540402835291602001916115e4565b820191906000526020600020905b8154815290600101906020018083116115c757829003601f168201915b50505050509050805160000361163c5760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f726400000060448201526064016108da565b61165760006014835161164f91906132af565b8391906124ff565b9392505050565b61166933838361260c565b5050565b611675611d56565b81813060405160200161168a939291906132c2565b60408051601f1981840301815291815261ffff85166000908152600760205220906116b5908261332e565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce8383836040516116e993929190613291565b60405180910390a1505050565b6117003383612242565b61171c5760405162461bcd60e51b81526004016108da9061321b565b611728848484846126da565b50505050565b611736611d56565b600a80546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b9060200160405180910390a150565b606061179582611db0565b60006117ac60408051602081019091526000815290565b905060008151116117cc5760405180602001604052806000815250611657565b806117d68461270d565b6040516020016117e79291906133ed565b6040516020818303038152906040529392505050565b611805611d56565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000004ee2f9b7cf3a68966c370f3eb2c16613d3235245169063cbed8b9c90611859908890889088908890889060040161341c565b600060405180830381600087803b15801561187357600080fd5b505af1158015611887573d6000803e3d6000fd5b505050505050505050565b61ffff86166000908152600b602052604080822090516118b59088908890613148565b90815260408051602092819003830190206001600160401b038716600090815292529020549050806119355760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b60648201526084016108da565b808383604051611946929190613148565b6040518091039020146119a55760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b60648201526084016108da565b61ffff87166000908152600b602052604080822090516119c89089908990613148565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252611a60918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93509150889088908190840183828082843760009201919091525061242492505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e58787878785604051611a97959493929190613455565b60405180910390a150505050505050565b611ab0611d56565b60008111611af85760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b60448201526064016108da565b61ffff83811660008181526008602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac0906060016116e9565b611b62611d56565b61ffff83166000908152600760205260409020611b80828483613490565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab8383836040516116e993929190613291565b611bbc611d56565b6001600160a01b038116611c215760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108da565b611529816124af565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f0000000000000000000000004ee2f9b7cf3a68966c370f3eb2c16613d32352456001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611caa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611cd2919081019061354f565b90505b949350505050565b600080611d405a60966366ad5c8a60e01b89898989604051602401611d0594939291906135c5565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091523092919061279f565b9150915081611390576113908686868685612829565b6000546001600160a01b031633146114305760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108da565b6000818152600360205260409020546001600160a01b03166115295760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108da565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611e448261125c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038216611ed35760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108da565b6000818152600360205260409020546001600160a01b031615611f385760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108da565b6000818152600360205260409020546001600160a01b031615611f9d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108da565b6001600160a01b038216600081815260046020908152604080832080546001019055848352600390915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006120138261125c565b905061201e8261125c565b600083815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526004845282852080546000190190558785526003909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b61ffff8616600090815260076020526040812080546120bb9061310e565b80601f01602080910402602001604051908101604052809291908181526020018280546120e79061310e565b80156121345780601f1061210957610100808354040283529160200191612134565b820191906000526020600020905b81548152906001019060200180831161211757829003601f168201915b5050505050905080516000036121a55760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b60648201526084016108da565b6121b08787516128c6565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000004ee2f9b7cf3a68966c370f3eb2c16613d3235245169063c5803100908490612207908b9086908c908c908c908c90600401613603565b6000604051808303818588803b15801561222057600080fd5b505af1158015612234573d6000803e3d6000fd5b505050505050505050505050565b60008061224e8361125c565b9050806001600160a01b0316846001600160a01b0316148061229557506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80611cd55750836001600160a01b03166122ae84610c04565b6001600160a01b031614949350505050565b826001600160a01b03166122d38261125c565b6001600160a01b0316146122f95760405162461bcd60e51b81526004016108da9061366a565b6001600160a01b03821661235b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108da565b826001600160a01b031661236e8261125c565b6001600160a01b0316146123945760405162461bcd60e51b81526004016108da9061366a565b600081815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260048552838620805460001901905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000601484015190506000808380602001905181019061244491906136af565b915091506124528282611e7d565b600c8054600101908190556040805161ffff8a1681526001600160a01b038616602082015290810183905260608101919091527f31ae2bb20187b24b2039def7711f43f56311ec96de17b7ef01d1b1da40eb2eee90608001611a97565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60608161250d81601f613190565b101561254c5760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016108da565b6125568284613190565b8451101561259a5760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016108da565b6060821580156125b95760405191506000825260208201604052612603565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156125f25780518352602092830192016125da565b5050858452601f01601f1916604052505b50949350505050565b816001600160a01b0316836001600160a01b03160361266d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108da565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6126e58484846122c0565b6126f184848484612937565b6117285760405162461bcd60e51b81526004016108da906136dd565b6060600061271a83612a35565b60010190506000816001600160401b0381111561273957612739612dd0565b6040519080825280601f01601f191660200182016040528015612763576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461276d57509392505050565b6000606060008060008661ffff166001600160401b038111156127c4576127c4612dd0565b6040519080825280601f01601f1916602001820160405280156127ee576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612810578692505b828152826000602083013e909890975095505050505050565b8180519060200120600b60008761ffff1661ffff1681526020019081526020016000208560405161285a919061372f565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906128b7908790879087908790879061374b565b60405180910390a15050505050565b61ffff8216600090815260096020526040812054908190036128e757506127105b80821115610d3b5760405162461bcd60e51b815260206004820181905260248201527f4c7a4170703a207061796c6f61642073697a6520697320746f6f206c6172676560448201526064016108da565b60006001600160a01b0384163b15612a2d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061297b90339089908890889060040161379d565b6020604051808303816000875af19250505080156129b6575060408051601f3d908101601f191682019092526129b3918101906137da565b60015b612a13573d8080156129e4576040519150601f19603f3d011682016040523d82523d6000602084013e6129e9565b606091505b508051600003612a0b5760405162461bcd60e51b81526004016108da906136dd565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611cd5565b506001611cd5565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612a745772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612aa0576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612abe57662386f26fc10000830492506010015b6305f5e1008310612ad6576305f5e100830492506008015b6127108310612aea57612710830492506004015b60648310612afc576064830492506002015b600a8310610ae35760010192915050565b803561ffff81168114612b1f57600080fd5b919050565b60008083601f840112612b3657600080fd5b5081356001600160401b03811115612b4d57600080fd5b602083019150836020828501011115612b6557600080fd5b9250929050565b80356001600160401b0381168114612b1f57600080fd5b60008060008060008060808789031215612b9c57600080fd5b612ba587612b0d565b955060208701356001600160401b0380821115612bc157600080fd5b612bcd8a838b01612b24565b9097509550859150612be160408a01612b6c565b94506060890135915080821115612bf757600080fd5b50612c0489828a01612b24565b979a9699509497509295939492505050565b6001600160e01b03198116811461152957600080fd5b600060208284031215612c3e57600080fd5b813561165781612c16565b60005b83811015612c64578181015183820152602001612c4c565b50506000910152565b60008151808452612c85816020860160208601612c49565b601f01601f19169290920160200192915050565b6020815260006116576020830184612c6d565b600060208284031215612cbe57600080fd5b61165782612b0d565b600060208284031215612cd957600080fd5b5035919050565b6001600160a01b038116811461152957600080fd5b60008060408385031215612d0857600080fd5b8235612d1381612ce0565b946020939093013593505050565b60008060408385031215612d3457600080fd5b612d1383612b0d565b600080600060608486031215612d5257600080fd5b8335612d5d81612ce0565b92506020840135612d6d81612ce0565b929592945050506040919091013590565b600080600060408486031215612d9357600080fd5b612d9c84612b0d565b925060208401356001600160401b03811115612db757600080fd5b612dc386828701612b24565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612e0e57612e0e612dd0565b604052919050565b60006001600160401b03821115612e2f57612e2f612dd0565b50601f01601f191660200190565b600082601f830112612e4e57600080fd5b8135612e61612e5c82612e16565b612de6565b818152846020838601011115612e7657600080fd5b816020850160208301376000918101602001919091529392505050565b600080600060608486031215612ea857600080fd5b612eb184612b0d565b925060208401356001600160401b03811115612ecc57600080fd5b612ed886828701612e3d565b925050612ee760408501612b6c565b90509250925092565b600060208284031215612f0257600080fd5b813561165781612ce0565b60008060408385031215612f2057600080fd5b612f2983612b0d565b9150612f3760208401612b0d565b90509250929050565b60008060408385031215612f5357600080fd5b8235612f5e81612ce0565b915060208301358015158114612f7357600080fd5b809150509250929050565b60008060008060808587031215612f9457600080fd5b8435612f9f81612ce0565b93506020850135612faf81612ce0565b92506040850135915060608501356001600160401b03811115612fd157600080fd5b612fdd87828801612e3d565b91505092959194509250565b60008060008060006080868803121561300157600080fd5b61300a86612b0d565b945061301860208701612b0d565b93506040860135925060608601356001600160401b0381111561303a57600080fd5b61304688828901612b24565b969995985093965092949392505050565b60008060006060848603121561306c57600080fd5b61307584612b0d565b925061308360208501612b0d565b9150604084013590509250925092565b600080604083850312156130a657600080fd5b82356130b181612ce0565b91506020830135612f7381612ce0565b600080600080608085870312156130d757600080fd5b6130e085612b0d565b93506130ee60208601612b0d565b925060408501356130fe81612ce0565b9396929550929360600135925050565b600181811c9082168061312257607f821691505b60208210810361314257634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b60008261317557634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052601160045260246000fd5b80820180821115610ae357610ae361317a565b61ffff861681526001600160a01b038516602082015260a0604082018190526000906131d190830186612c6d565b841515606084015282810360808401526131eb8185612c6d565b98975050505050505050565b6000806040838503121561320a57600080fd5b505080516020909101519092909150565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff84168152604060208201526000611cd2604083018486613268565b81810381811115610ae357610ae361317a565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115610d3b57600081815260208120601f850160051c8101602086101561330f5750805b601f850160051c820191505b818110156113905782815560010161331b565b81516001600160401b0381111561334757613347612dd0565b61335b81613355845461310e565b846132e8565b602080601f83116001811461339057600084156133785750858301515b600019600386901b1c1916600185901b178555611390565b600085815260208120601f198616915b828110156133bf578886015182559484019460019091019084016133a0565b50858210156133dd5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600083516133ff818460208801612c49565b835190830190613413818360208801612c49565b01949350505050565b600061ffff80881683528087166020840152508460408301526080606083015261344a608083018486613268565b979650505050505050565b61ffff86168152608060208201526000613473608083018688613268565b6001600160401b0394909416604083015250606001529392505050565b6001600160401b038311156134a7576134a7612dd0565b6134bb836134b5835461310e565b836132e8565b6000601f8411600181146134ef57600085156134d75750838201355b600019600387901b1c1916600186901b178355610bfd565b600083815260209020601f19861690835b828110156135205786850135825560209485019460019092019101613500565b508682101561353d5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60006020828403121561356157600080fd5b81516001600160401b0381111561357757600080fd5b8201601f8101841361358857600080fd5b8051613596612e5c82612e16565b8181528560208385010111156135ab57600080fd5b6135bc826020830160208601612c49565b95945050505050565b61ffff851681526080602082015260006135e26080830186612c6d565b6001600160401b0385166040840152828103606084015261344a8185612c6d565b61ffff8716815260c06020820152600061362060c0830188612c6d565b82810360408401526136328188612c6d565b6001600160a01b0387811660608601528616608085015283810360a0850152905061365d8185612c6d565b9998505050505050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b600080604083850312156136c257600080fd5b82516136cd81612ce0565b6020939093015192949293505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008251613741818460208701612c49565b9190910192915050565b61ffff8616815260a06020820152600061376860a0830187612c6d565b6001600160401b038616604084015282810360608401526137898186612c6d565b905082810360808401526131eb8185612c6d565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906137d090830184612c6d565b9695505050505050565b6000602082840312156137ec57600080fd5b815161165781612c1656fea2646970667358221220d8be3509c882b60efa6428ae8fa6da194c38f3f05bc181c62b82481db7e62c2b64736f6c63430008120033

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

0000000000000000000000004ee2f9b7cf3a68966c370f3eb2c16613d3235245

-----Decoded View---------------
Arg [0] : _endpoint (address): 0x4EE2F9B7cf3A68966c370F3eb2C16613d3235245

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000004ee2f9b7cf3a68966c370f3eb2c16613d3235245


Deployed Bytecode Sourcemap

310:3094:17:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1195:891:13;;;;;;;;;;-1:-1:-1;1195:891:13;;;;;:::i;:::-;;:::i;:::-;;1505:314:4;;;;;;;;;;-1:-1:-1;1505:314:4;;;;;:::i;:::-;;:::i;:::-;;;2124:14:19;;2117:22;2099:41;;2087:2;2072:18;1505:314:4;;;;;;;;2482:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;5072:121:13:-;;;;;;;;;;-1:-1:-1;5072:121:13;;;;;:::i;:::-;;:::i;4004:181:4:-;;;;;;;;;;-1:-1:-1;4004:181:4;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3445:32:19;;;3427:51;;3415:2;3400:18;4004:181:4;3281:203:19;3537:406:4;;;;;;;;;;-1:-1:-1;3537:406:4;;;;;:::i;:::-;;:::i;7090:162:13:-;;;;;;;;;;-1:-1:-1;7090:162:13;;;;;:::i;:::-;;:::i;5199:127::-;;;;;;;;;;-1:-1:-1;5199:127:13;;;;;:::i;:::-;;:::i;687:320:17:-;;;:::i;1210:911::-;;;;;;:::i;:::-;;:::i;4739:360:4:-;;;;;;;;;;-1:-1:-1;4739:360:4;;;;;:::i;:::-;;:::i;2854:548:17:-;;;;;;;;;;-1:-1:-1;2854:548:17;;;;;:::i;:::-;;:::i;:::-;;;4809:25:19;;;4797:2;4782:18;2854:548:17;4663:177:19;7347:269:13;;;;;;;;;;-1:-1:-1;7347:269:13;;;;;:::i;:::-;;:::i;749:53::-;;;;;;;;;;-1:-1:-1;749:53:13;;;;;:::i;:::-;;;;;;;;;;;;;;5165:179:4;;;;;;;;;;-1:-1:-1;5165:179:4;;;;;:::i;:::-;;:::i;5332:198:13:-;;;;;;;;;;-1:-1:-1;5332:198:13;;;;;:::i;:::-;;:::i;611:93:15:-;;;;;;;;;;-1:-1:-1;611:93:15;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;376:22:17;;;;;;;;;;;;;;;;2187:233:4;;;;;;;;;;-1:-1:-1;2187:233:4;;;;;:::i;:::-;;:::i;2224:414:15:-;;;;;;;;;;-1:-1:-1;2224:414:15;;;;;:::i;:::-;;:::i;1878:252:4:-;;;;;;;;;;-1:-1:-1;1878:252:4;;;;;:::i;:::-;;:::i;1846:101:16:-;;;;;;;;;;;;;:::i;621:51:13:-;;;;;;;;;;-1:-1:-1;621:51:13;;;;;:::i;:::-;;:::i;1013:191:17:-;;;:::i;2127:91::-;;;;;;;;;;-1:-1:-1;2127:91:17;;;;;:::i;:::-;;:::i;678:65:13:-;;;;;;;;;;-1:-1:-1;678:65:13;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;1216:85:16;;;;;;;;;;-1:-1:-1;1262:7:16;1288:6;-1:-1:-1;;;;;1288:6:16;1216:85;;404:35:17;;;;;;;;;;;;;;;;808:23:13;;;;;;;;;;-1:-1:-1;808:23:13;;;;-1:-1:-1;;;;;808:23:13;;;2644:102:4;;;;;;;;;;;;;:::i;6236:340:13:-;;;;;;;;;;-1:-1:-1;6236:340:13;;;;;:::i;:::-;;:::i;4252:175:4:-;;;;;;;;;;-1:-1:-1;4252:175:4;;;;;:::i;:::-;;:::i;5896:334:13:-;;;;;;;;;;-1:-1:-1;5896:334:13;;;;;:::i;:::-;;:::i;569:46::-;;;;;;;;;;;;;;;5410:348:4;;;;;;;;;;-1:-1:-1;5410:348:4;;;;;:::i;:::-;;:::i;6582:133:13:-;;;;;;;;;;-1:-1:-1;6582:133:13;;;;;:::i;:::-;;:::i;507:55::-;;;;;;;;;;;;557:5;507:55;;2812:334:4;;;;;;;;;;-1:-1:-1;2812:334:4;;;;;:::i;:::-;;:::i;4826:240:13:-;;;;;;;;;;-1:-1:-1;4826:240:13;;;;;:::i;:::-;;:::i;2857:863:15:-;;;;;;:::i;:::-;;:::i;6721:310:13:-;;;;;;;;;;-1:-1:-1;6721:310:13;;;;;:::i;:::-;;:::i;4493:184:4:-;;;;;;;;;;-1:-1:-1;4493:184:4;;;;;:::i;:::-;-1:-1:-1;;;;;4635:25:4;;;4612:4;4635:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4493:184;5673:217:13;;;;;;;;;;-1:-1:-1;5673:217:13;;;;;:::i;:::-;;:::i;2096:232:16:-;;;;;;;;;;-1:-1:-1;2096:232:16;;;;;:::i;:::-;;:::i;4430:337:13:-;;;;;;;;;;-1:-1:-1;4430:337:13;;;;;:::i;:::-;;:::i;1195:891::-;719:10:2;1484::13;-1:-1:-1;;;;;1460:35:13;;1439:112;;;;-1:-1:-1;;;1439:112:13;;11130:2:19;1439:112:13;;;11112:21:19;11169:2;11149:18;;;11142:30;11208:32;11188:18;;;11181:60;11258:18;;1439:112:13;;;;;;;;;1591:32;;;1562:26;1591:32;;;:19;:32;;;;;1562:61;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1808:13;:20;1786:11;;:18;;:42;:86;;;;;1871:1;1848:13;:20;:24;1786:86;:156;;;;-1:-1:-1;1918:24:13;;;;;;1892:22;;;;1902:11;;;;1892:22;:::i;:::-;;;;;;;;:50;1786:156;1765:241;;;;-1:-1:-1;;;1765:241:13;;12150:2:19;1765:241:13;;;12132:21:19;12189:2;12169:18;;;12162:30;12228:34;12208:18;;;12201:62;-1:-1:-1;;;12279:18:19;;;12272:36;12325:19;;1765:241:13;11948:402:19;1765:241:13;2017:62;2036:11;2049;;2017:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2017:62:13;;;;;;;;;;;;;;;;;;;;;;2062:6;;-1:-1:-1;2017:62:13;-1:-1:-1;2070:8:13;;;;;;2017:62;;2070:8;;;;2017:62;;;;;;;;;-1:-1:-1;2017:18:13;;-1:-1:-1;;;2017:62:13:i;:::-;1364:722;1195:891;;;;;;:::o;1505:314:4:-;1621:4;-1:-1:-1;;;;;;1656:40:4;;-1:-1:-1;;;1656:40:4;;:104;;-1:-1:-1;;;;;;;1712:48:4;;-1:-1:-1;;;1712:48:4;1656:104;:156;;;-1:-1:-1;;;;;;;;;;951:40:3;;;1776:36:4;1637:175;1505:314;-1:-1:-1;;1505:314:4:o;2482:98::-;2536:13;2568:5;2561:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2482:98;:::o;5072:121:13:-;1109:13:16;:11;:13::i;:::-;5151:35:13::1;::::0;-1:-1:-1;;;5151:35:13;;12529:6:19;12517:19;;5151:35:13::1;::::0;::::1;12499:38:19::0;5151:10:13::1;-1:-1:-1::0;;;;;5151:25:13::1;::::0;::::1;::::0;12472:18:19;;5151:35:13::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;5072:121:::0;:::o;4004:181:4:-;4094:7;4113:23;4128:7;4113:14;:23::i;:::-;-1:-1:-1;4154:24:4;;;;:15;:24;;;;;;-1:-1:-1;;;;;4154:24:4;;4004:181::o;3537:406::-;3617:13;3633:23;3648:7;3633:14;:23::i;:::-;3617:39;;3680:5;-1:-1:-1;;;;;3674:11:4;:2;-1:-1:-1;;;;;3674:11:4;;3666:57;;;;-1:-1:-1;;;3666:57:4;;12750:2:19;3666:57:4;;;12732:21:19;12789:2;12769:18;;;12762:30;12828:34;12808:18;;;12801:62;-1:-1:-1;;;12879:18:19;;;12872:31;12920:19;;3666:57:4;12548:397:19;3666:57:4;719:10:2;-1:-1:-1;;;;;3755:21:4;;;;:62;;-1:-1:-1;3780:37:4;3797:5;719:10:2;4493:184:4;:::i;3780:37::-;3734:170;;;;-1:-1:-1;;;3734:170:4;;13152:2:19;3734:170:4;;;13134:21:19;13191:2;13171:18;;;13164:30;13230:34;13210:18;;;13203:62;13301:31;13281:18;;;13274:59;13350:19;;3734:170:4;12950:425:19;3734:170:4;3915:21;3924:2;3928:7;3915:8;:21::i;:::-;3607:336;3537:406;;:::o;7090:162:13:-;1109:13:16;:11;:13::i;:::-;7202:35:13::1;::::0;;::::1;;::::0;;;:22:::1;:35;::::0;;;;:43;7090:162::o;5199:127::-;1109:13:16;:11;:13::i;:::-;5281:38:13::1;::::0;-1:-1:-1;;;5281:38:13;;12529:6:19;12517:19;;5281:38:13::1;::::0;::::1;12499::19::0;5281:10:13::1;-1:-1:-1::0;;;;;5281:28:13::1;::::0;::::1;::::0;12472:18:19;;5281:38:13::1;12355:188:19::0;687:320:17;751:8;;738:9;:21;;730:65;;;;-1:-1:-1;;;730:65:17;;13582:2:19;730:65:17;;;13564:21:19;13621:2;13601:18;;;13594:30;13660:33;13640:18;;;13633:61;13711:18;;730:65:17;13380:355:19;730:65:17;805:142;824:10;924:8;878:7;;887:15;867:36;;;;;;;;13914:25:19;;;13970:2;13955:18;;13948:34;13902:2;13887:18;;13740:248;867:36:17;;;;;;;;;;;;;857:47;;;;;;849:56;;:83;;;;:::i;:::-;848:89;;936:1;848:89;:::i;:::-;805:5;:142::i;:::-;983:7;981:9;;;;;;687:320::o;1210:911::-;1309:16;1317:7;1309;:16::i;:::-;-1:-1:-1;;;;;1295:30:17;:10;-1:-1:-1;;;;;1295:30:17;;1291:58;;1334:15;;-1:-1:-1;;;1334:15:17;;;;;;;;;;;1291:58;1425:7;1423:9;;-1:-1:-1;;1423:9:17;;;1452:14;1458:7;1452:5;:14::i;:::-;1500:31;;;1511:10;1500:31;;;14775:51:19;14842:18;;;14835:34;;;1500:31:17;;;;;;;;;14748:18:19;;;1500:31:17;;-1:-1:-1;;;1640:42:17;;;15035:51:19;1595:6:17;15102:11:19;;;;15095:27;;;1640:42:17;;;;;;;;;;15138:12:19;;;1640:42:17;;;;-1:-1:-1;;;1718:151:17;;;1500:31;;1558:1;;-1:-1:-1;;1718:10:17;-1:-1:-1;;;;;1718:23:17;;;;:151;;1755:10;;1787:4;;1500:31;;-1:-1:-1;;1640:42:17;;1718:151;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1693:176;;;1896:10;1883:9;:23;1879:53;;1915:17;;-1:-1:-1;;;1915:17:17;;;;;;;;;;;1879:53;1943:171;1964:10;1988:7;2017:10;2050:3;2068:13;2095:9;1943:7;:171::i;4739:360:4:-;4941:41;719:10:2;4974:7:4;4941:18;:41::i;:::-;4920:133;;;;-1:-1:-1;;;4920:133:4;;;;;;;:::i;:::-;5064:28;5074:4;5080:2;5084:7;5064:9;:28::i;2854:548:17:-;2999:31;;;3010:10;2999:31;;;14775:51:19;14842:18;;;14835:34;;;2999:31:17;;;;;;;;;14748:18:19;;;2999:31:17;;-1:-1:-1;;;3139:42:17;;;15035:51:19;3094:6:17;15102:11:19;;;;15095:27;;;3139:42:17;;;;;;;;;;15138:12:19;;;3139:42:17;;;;-1:-1:-1;;;3217:151:17;;;-1:-1:-1;;2999:31:17;;3057:1;;3139:42;-1:-1:-1;;3217:10:17;-1:-1:-1;;;;;3217:23:17;;;;:151;;3254:10;;3286:4;;2999:31;;-1:-1:-1;;3139:42:17;;3217:151;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;3192:176:17;2854:548;-1:-1:-1;;;;;;;;2854:548:17:o;7347:269:13:-;7510:32;;;7465:4;7510:32;;;:19;:32;;;;;7481:61;;7465:4;;7510:32;7481:61;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7597:11;;7587:22;;;;;;;:::i;:::-;;;;;;;;7569:13;7559:24;;;;;;:50;7552:57;;;7347:269;;;;;:::o;5165:179:4:-;5298:39;5315:4;5321:2;5325:7;5298:39;;;;;;;;;;;;:16;:39::i;5332:198:13:-;1109:13:16;:11;:13::i;:::-;5468:55:13::1;::::0;-1:-1:-1;;;5468:55:13;;-1:-1:-1;;;;;5468:10:13::1;:29;::::0;::::1;::::0;:55:::1;::::0;5498:11;;5511;;;;5468:55:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;2187:233:4::0;2273:7;7159:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7159:16:4;;2335:56;;;;-1:-1:-1;;;2335:56:4;;17276:2:19;2335:56:4;;;17258:21:19;17315:2;17295:18;;;17288:30;-1:-1:-1;;;17334:18:19;;;17327:54;17398:18;;2335:56:4;17074:348:19;2224:414:15;719:10:2;2487:4:15;2463:29;2442:114;;;;-1:-1:-1;;;2442:114:15;;17629:2:19;2442:114:15;;;17611:21:19;17668:2;17648:18;;;17641:30;17707:34;17687:18;;;17680:62;-1:-1:-1;;;17758:18:19;;;17751:36;17804:19;;2442:114:15;17427:402:19;2442:114:15;2566:65;2588:11;2601;;2566:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2566:65:15;;;;;;;;;;;;;;;;;;;;;;2614:6;;-1:-1:-1;2566:65:15;-1:-1:-1;2622:8:15;;;;;;2566:65;;2622:8;;;;2566:65;;;;;;;;;-1:-1:-1;2566:21:15;;-1:-1:-1;;;2566:65:15:i;:::-;2224:414;;;;;;:::o;1878:252:4:-;1964:7;-1:-1:-1;;;;;2004:19:4;;1983:107;;;;-1:-1:-1;;;1983:107:4;;18036:2:19;1983:107:4;;;18018:21:19;18075:2;18055:18;;;18048:30;18114:34;18094:18;;;18087:62;-1:-1:-1;;;18165:18:19;;;18158:39;18214:19;;1983:107:4;17834:405:19;1983:107:4;-1:-1:-1;;;;;;2107:16:4;;;;;:9;:16;;;;;;;1878:252::o;1846:101:16:-;1109:13;:11;:13::i;:::-;1910:30:::1;1937:1;1910:18;:30::i;:::-;1846:101::o:0;621:51:13:-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1013:191:17:-;1109:13:16;:11;:13::i;:::-;1091:80:17::1;::::0;1073:12:::1;::::0;1099:10:::1;::::0;1136:21:::1;::::0;1073:12;1091:80;1073:12;1091:80;1136:21;1099:10;1091:80:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1072:99;;;1189:7;1181:16;;;::::0;::::1;;1062:142;1013:191::o:0;2127:91::-;1109:13:16;:11;:13::i;:::-;2191:8:17::1;:20:::0;2127:91::o;2644:102:4:-;2700:13;2732:7;2725:14;;;;;:::i;6236:340:13:-;6373:35;;;6353:17;6373:35;;;:19;:35;;;;;6353:55;;6329:12;;6353:17;6373:35;6353:55;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6426:4;:11;6441:1;6426:16;6418:58;;;;-1:-1:-1;;;6418:58:13;;18656:2:19;6418:58:13;;;18638:21:19;18695:2;18675:18;;;18668:30;18734:31;18714:18;;;18707:59;18783:18;;6418:58:13;18454:353:19;6418:58:13;6493:31;6504:1;6521:2;6507:4;:11;:16;;;;:::i;:::-;6493:4;;:31;:10;:31::i;:::-;6486:38;6236:340;-1:-1:-1;;;6236:340:13:o;4252:175:4:-;4368:52;719:10:2;4401:8:4;4411;4368:18;:52::i;:::-;4252:175;;:::o;5896:334:13:-;1109:13:16;:11;:13::i;:::-;6102:14:13::1;;6138:4;6072:81;;;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;6072:81:13;;::::1;::::0;;;;;;6034:35:::1;::::0;::::1;;::::0;;;:19:::1;6072:81;6034:35:::0;;;:119:::1;::::0;:35;:119:::1;:::i;:::-;;6168:55;6192:14;6208;;6168:55;;;;;;;;:::i;:::-;;;;;;;;5896:334:::0;;;:::o;5410:348:4:-;5591:41;719:10:2;5624:7:4;5591:18;:41::i;:::-;5570:133;;;;-1:-1:-1;;;5570:133:4;;;;;;;:::i;:::-;5713:38;5727:4;5733:2;5737:7;5746:4;5713:13;:38::i;:::-;5410:348;;;;:::o;6582:133:13:-;1109:13:16;:11;:13::i;:::-;6651:8:13::1;:20:::0;;-1:-1:-1;;;;;;6651:20:13::1;-1:-1:-1::0;;;;;6651:20:13;::::1;::::0;;::::1;::::0;;;6686:22:::1;::::0;3427:51:19;;;6686:22:13::1;::::0;3415:2:19;3400:18;6686:22:13::1;;;;;;;6582:133:::0;:::o;2812:334:4:-;2899:13;2924:23;2939:7;2924:14;:23::i;:::-;2958:21;2982:10;3464:9;;;;;;;;;-1:-1:-1;3464:9:4;;;3388:92;2982:10;2958:34;;3045:1;3027:7;3021:21;:25;:118;;;;;;;;;;;;;;;;;3089:7;3098:18;:7;:16;:18::i;:::-;3072:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3002:137;2812:334;-1:-1:-1;;;2812:334:4:o;4826:240:13:-;1109:13:16;:11;:13::i;:::-;4997:62:13::1;::::0;-1:-1:-1;;;4997:62:13;;-1:-1:-1;;;;;4997:10:13::1;:20;::::0;::::1;::::0;:62:::1;::::0;5018:8;;5028;;5038:11;;5051:7;;;;4997:62:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;4826:240:::0;;;;;:::o;2857:863:15:-;3104:27;;;3082:19;3104:27;;;:14;:27;;;;;;:40;;;;3132:11;;;;3104:40;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3104:48:15;;;;;;;;;;;;-1:-1:-1;3104:48:15;3162:107;;;;-1:-1:-1;;;3162:107:15;;22714:2:19;3162:107:15;;;22696:21:19;22753:2;22733:18;;;22726:30;22792:34;22772:18;;;22765:62;-1:-1:-1;;;22843:18:19;;;22836:33;22886:19;;3162:107:15;22512:399:19;3162:107:15;3323:11;3310:8;;3300:19;;;;;;;:::i;:::-;;;;;;;;:34;3279:114;;;;-1:-1:-1;;;3279:114:15;;23118:2:19;3279:114:15;;;23100:21:19;23157:2;23137:18;;;23130:30;23196:34;23176:18;;;23169:62;-1:-1:-1;;;23247:18:19;;;23240:31;23288:19;;3279:114:15;22916:397:19;3279:114:15;3439:27;;;3498:1;3439:27;;;:14;:27;;;;;;:40;;;;3467:11;;;;3439:40;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3439:48:15;;;;;;;;;;;;:61;;;;3567:65;;;;;;;;;;;;;;;;;;;3589:11;;3602;;3567:65;;;;;;3602:11;3567:65;;3602:11;3567:65;;;;;;;;;-1:-1:-1;;3567:65:15;;;;;;;;;;;;;;;;;;;;;;3615:6;;-1:-1:-1;3567:65:15;-1:-1:-1;3623:8:15;;;;;;3567:65;;3623:8;;;;3567:65;;;;;;;;;-1:-1:-1;3567:21:15;;-1:-1:-1;;;3567:65:15:i;:::-;3647:66;3667:11;3680;;3693:6;3701:11;3647:66;;;;;;;;;;:::i;:::-;;;;;;;;3028:692;2857:863;;;;;;:::o;6721:310:13:-;1109:13:16;:11;:13::i;:::-;6874:1:13::1;6864:7;:11;6856:45;;;::::0;-1:-1:-1;;;6856:45:13;;24018:2:19;6856:45:13::1;::::0;::::1;24000:21:19::0;24057:2;24037:18;;;24030:30;-1:-1:-1;;;24076:18:19;;;24069:51;24137:18;;6856:45:13::1;23816:345:19::0;6856:45:13::1;6911:28;::::0;;::::1;;::::0;;;:15:::1;:28;::::0;;;;;;;:41;;::::1;::::0;;;;;;;;;;:51;;;6977:47;;24389:34:19;;;24439:18;;24432:43;;;;24491:18;;;24484:34;;;6977:47:13::1;::::0;24352:2:19;24337:18;6977:47:13::1;24166:358:19::0;5673:217:13;1109:13:16;:11;:13::i;:::-;5792:32:13::1;::::0;::::1;;::::0;;;:19:::1;:32;::::0;;;;:40:::1;5827:5:::0;;5792:32;:40:::1;:::i;:::-;;5847:36;5864:11;5877:5;;5847:36;;;;;;;;:::i;2096:232:16:-:0;1109:13;:11;:13::i;:::-;-1:-1:-1;;;;;2197:22:16;::::1;2176:107;;;::::0;-1:-1:-1;;;2176:107:16;;25938:2:19;2176:107:16::1;::::0;::::1;25920:21:19::0;25977:2;25957:18;;;25950:30;26016:34;25996:18;;;25989:62;-1:-1:-1;;;26067:18:19;;;26060:36;26113:19;;2176:107:16::1;25736:402:19::0;2176:107:16::1;2293:28;2312:8;2293:18;:28::i;4430:337:13:-:0;4614:146;;-1:-1:-1;;;4614:146:13;;26380:6:19;26413:15;;;4614:146:13;;;26395:34:19;26465:15;;26445:18;;;26438:43;4712:4:13;26497:18:19;;;26490:60;26566:18;;;26559:34;;;4571:12:13;;4614:10;-1:-1:-1;;;;;4614:20:13;;;;26342:19:19;;4614:146:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4614:146:13;;;;;;;;;;;;:::i;:::-;4595:165;;4430:337;;;;;;;:::o;1066:780:15:-;1253:12;1267:19;1290:293;1337:9;1360:3;1417:34;;;1469:11;1498;1527:6;1551:8;1377:196;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1377:196:15;;;;;;;;;;;;;;-1:-1:-1;;;;;1377:196:15;-1:-1:-1;;;;;;1377:196:15;;;;;;;;;;1298:4;;1290:293;;:33;:293::i;:::-;1252:331;;;;1641:7;1636:204;;1664:165;1701:11;1730;1759:6;1783:8;1809:6;1664:19;:165::i;1374:130:16:-;1262:7;1288:6;-1:-1:-1;;;;;1288:6:16;719:10:2;1437:23:16;1429:68;;;;-1:-1:-1;;;1429:68:16;;28020:2:19;1429:68:16;;;28002:21:19;;;28039:18;;;28032:30;28098:34;28078:18;;;28071:62;28150:18;;1429:68:16;27818:356:19;13809:133:4;7550:4;7159:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7159:16:4;13882:53;;;;-1:-1:-1;;;13882:53:4;;17276:2:19;13882:53:4;;;17258:21:19;17315:2;17295:18;;;17288:30;-1:-1:-1;;;17334:18:19;;;17327:54;17398:18;;13882:53:4;17074:348:19;13111:171:4;13185:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;13185:29:4;-1:-1:-1;;;;;13185:29:4;;;;;;;;:24;;13238:23;13185:24;13238:14;:23::i;:::-;-1:-1:-1;;;;;13229:46:4;;;;;;;;;;;13111:171;;:::o;9366:920::-;-1:-1:-1;;;;;9445:16:4;;9437:61;;;;-1:-1:-1;;;9437:61:4;;28381:2:19;9437:61:4;;;28363:21:19;;;28400:18;;;28393:30;28459:34;28439:18;;;28432:62;28511:18;;9437:61:4;28179:356:19;9437:61:4;7550:4;7159:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7159:16:4;7573:31;9508:58;;;;-1:-1:-1;;;9508:58:4;;28742:2:19;9508:58:4;;;28724:21:19;28781:2;28761:18;;;28754:30;28820;28800:18;;;28793:58;28868:18;;9508:58:4;28540:352:19;9508:58:4;7550:4;7159:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7159:16:4;7573:31;9712:58;;;;-1:-1:-1;;;9712:58:4;;28742:2:19;9712:58:4;;;28724:21:19;28781:2;28761:18;;;28754:30;28820;28800:18;;;28793:58;28868:18;;9712:58:4;28540:352:19;9712:58:4;-1:-1:-1;;;;;10112:13:4;;;;;;:9;:13;;;;;;;;:18;;10129:1;10112:18;;;10151:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10151:21:4;;;;;10188:33;10159:7;;10112:13;;10188:33;;10112:13;;10188:33;4252:175;;:::o;10612:762::-;10671:13;10687:23;10702:7;10687:14;:23::i;:::-;10671:39;;10882:23;10897:7;10882:14;:23::i;:::-;10950:24;;;;:15;:24;;;;;;;;10943:31;;-1:-1:-1;;;;;;10943:31:4;;;;;;-1:-1:-1;;;;;11190:16:4;;;;;:9;:16;;;;;:21;;-1:-1:-1;;11190:21:4;;;11238:16;;;:7;:16;;;;;;11231:23;;;;;;;11270:36;10874:31;;-1:-1:-1;10966:7:4;;11270:36;;10950:24;;11270:36;4252:175;;:::o;2408:718:13:-;2684:32;;;2655:26;2684:32;;;:19;:32;;;;;2655:61;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2747:13;:20;2771:1;2747:25;2726:120;;;;-1:-1:-1;;;2726:120:13;;29099:2:19;2726:120:13;;;29081:21:19;29138:2;29118:18;;;29111:30;29177:34;29157:18;;;29150:62;-1:-1:-1;;;29228:18:19;;;29221:46;29284:19;;2726:120:13;28897:412:19;2726:120:13;2856:47;2874:11;2887:8;:15;2856:17;:47::i;:::-;2913:206;;-1:-1:-1;;;2913:206:13;;-1:-1:-1;;;;;2913:10:13;:15;;;;2936:10;;2913:206;;2961:11;;2986:13;;3013:8;;3035:14;;3063:18;;3095:14;;2913:206;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2645:481;2408:718;;;;;;:::o;7769:307:4:-;7884:4;7900:13;7916:23;7931:7;7916:14;:23::i;:::-;7900:39;;7968:5;-1:-1:-1;;;;;7957:16:4;:7;-1:-1:-1;;;;;7957:16:4;;:64;;;-1:-1:-1;;;;;;4635:25:4;;;4612:4;4635:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7989:32;7957:111;;;;8061:7;-1:-1:-1;;;;;8037:31:4;:20;8049:7;8037:11;:20::i;:::-;-1:-1:-1;;;;;8037:31:4;;7949:120;7769:307;-1:-1:-1;;;;7769:307:4:o;11698:1301::-;11865:4;-1:-1:-1;;;;;11838:31:4;:23;11853:7;11838:14;:23::i;:::-;-1:-1:-1;;;;;11838:31:4;;11817:115;;;;-1:-1:-1;;;11817:115:4;;;;;;;:::i;:::-;-1:-1:-1;;;;;11950:16:4;;11942:65;;;;-1:-1:-1;;;11942:65:4;;30767:2:19;11942:65:4;;;30749:21:19;30806:2;30786:18;;;30779:30;30845:34;30825:18;;;30818:62;-1:-1:-1;;;30896:18:19;;;30889:34;30940:19;;11942:65:4;30565:400:19;11942:65:4;12200:4;-1:-1:-1;;;;;12173:31:4;:23;12188:7;12173:14;:23::i;:::-;-1:-1:-1;;;;;12173:31:4;;12152:115;;;;-1:-1:-1;;;12152:115:4;;;;;;;:::i;:::-;12336:24;;;;:15;:24;;;;;;;;12329:31;;-1:-1:-1;;;;;;12329:31:4;;;;;;-1:-1:-1;;;;;12804:15:4;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;12804:20:4;;;12838:13;;;;;;;;;:18;;12329:31;12838:18;;;12876:16;;;:7;:16;;;;;;:21;;;;;;;;;;12913:27;;12352:7;;12913:27;;;3607:336;3537:406;;:::o;2224:556:17:-;2409:12;2485:2;2472:11;2468:20;2462:27;2454:35;;2509:17;2528:15;2571:8;2547:74;;;;;;;;;;;;:::i;:::-;2508:113;;;;2632:25;2638:9;2649:7;2632:5;:25::i;:::-;2693:7;2691:9;;;;;;;;2725:48;;;31554:6:19;31542:19;;31524:38;;-1:-1:-1;;;;;31598:32:19;;31593:2;31578:18;;31571:60;31647:18;;;31640:34;;;31705:2;31690:18;;31683:34;;;;2725:48:17;;31511:3:19;31496:19;2725:48:17;31295:428:19;2482:187:16;2555:16;2574:6;;-1:-1:-1;;;;;2590:17:16;;;-1:-1:-1;;;;;;2590:17:16;;;;;;2622:40;;2574:6;;;;;;;2622:40;;2555:16;2622:40;2545:124;2482:187;:::o;9558:2986:1:-;9680:12;9728:7;9712:12;9728:7;9722:2;9712:12;:::i;:::-;:23;;9704:50;;;;-1:-1:-1;;;9704:50:1;;31930:2:19;9704:50:1;;;31912:21:19;31969:2;31949:18;;;31942:30;-1:-1:-1;;;31988:18:19;;;31981:44;32042:18;;9704:50:1;31728:338:19;9704:50:1;9789:16;9798:7;9789:6;:16;:::i;:::-;9772:6;:13;:33;;9764:63;;;;-1:-1:-1;;;9764:63:1;;32273:2:19;9764:63:1;;;32255:21:19;32312:2;32292:18;;;32285:30;-1:-1:-1;;;32331:18:19;;;32324:47;32388:18;;9764:63:1;32071:341:19;9764:63:1;9838:22;9901:15;;9929:2177;;;;12247:4;12241:11;12228:24;;12433:1;12422:9;12415:20;12481:4;12470:9;12466:20;12460:4;12453:34;9894:2607;;9929:2177;10111:4;10105:11;10092:24;;10770:2;10761:7;10757:16;11193:9;11186:17;11180:4;11176:28;11144:9;11133;11129:25;11104:118;11258:7;11254:2;11250:16;11641:6;11578:9;11571:17;11565:4;11561:28;11521:9;11513:6;11509:22;11476:139;11447:222;11284:577;11695:3;11691:2;11688:11;11284:577;;;11833:9;;11822:21;;11736:4;11728:13;;;;11768;11284:577;;;-1:-1:-1;;11879:26:1;;;12087:2;12070:11;-1:-1:-1;;12066:25:1;12060:4;12053:39;-1:-1:-1;9894:2607:1;-1:-1:-1;12528:9:1;9558:2986;-1:-1:-1;;;;9558:2986:1:o;13418:307:4:-;13568:8;-1:-1:-1;;;;;13559:17:4;:5;-1:-1:-1;;;;;13559:17:4;;13551:55;;;;-1:-1:-1;;;13551:55:4;;32619:2:19;13551:55:4;;;32601:21:19;32658:2;32638:18;;;32631:30;32697:27;32677:18;;;32670:55;32742:18;;13551:55:4;32417:349:19;13551:55:4;-1:-1:-1;;;;;13616:25:4;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;13616:46:4;;;;;;;;;;13677:41;;2099::19;;;13677::4;;2072:18:19;13677:41:4;;;;;;;13418:307;;;:::o;6619:339::-;6769:28;6779:4;6785:2;6789:7;6769:9;:28::i;:::-;6828:47;6851:4;6857:2;6861:7;6870:4;6828:22;:47::i;:::-;6807:144;;;;-1:-1:-1;;;6807:144:4;;;;;;;:::i;410:696:18:-;466:13;515:14;532:17;543:5;532:10;:17::i;:::-;552:1;532:21;515:38;;567:20;601:6;-1:-1:-1;;;;;590:18:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;590:18:18;-1:-1:-1;567:41:18;-1:-1:-1;728:28:18;;;744:2;728:28;783:280;-1:-1:-1;;814:5:18;-1:-1:-1;;;948:2:18;937:14;;932:30;814:5;919:44;1007:2;998:11;;;-1:-1:-1;1027:21:18;783:280;1027:21;-1:-1:-1;1083:6:18;410:696;-1:-1:-1;;;410:696:18:o;1122:1280:5:-;1279:4;1285:12;1345:15;1370:13;1393:24;1430:8;1420:19;;-1:-1:-1;;;;;1420:19:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1420:19:5;;1393:46;;1936:1;1907;1870:9;1864:16;1832:4;1821:9;1817:20;1783:1;1745:7;1716:4;1694:267;1682:279;;2028:16;2017:27;;2072:8;2063:7;2060:21;2057:76;;;2111:8;2100:19;;2057:76;2218:7;2205:11;2198:28;2338:7;2335:1;2328:4;2315:11;2311:22;2296:50;2373:8;;;;-1:-1:-1;1122:1280:5;-1:-1:-1;;;;;;1122:1280:5:o;1852:366:15:-;2121:8;2111:19;;;;;;2060:14;:27;2075:11;2060:27;;;;;;;;;;;;;;;2088:11;2060:40;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2060:48:15;;;;;;;;;:70;;;;2145:66;;;;2159:11;;2172;;2101:6;;2193:8;;2203:7;;2145:66;:::i;:::-;;;;;;;;1852:366;;;;;:::o;3877:451:13:-;4021:35;;;3997:21;4021:35;;;:22;:35;;;;;;;4070:21;;;4066:135;;-1:-1:-1;557:5:13;4066:135;4247:16;4231:12;:32;;4210:111;;;;-1:-1:-1;;;4210:111:13;;34408:2:19;4210:111:13;;;34390:21:19;;;34427:18;;;34420:30;34486:34;34466:18;;;34459:62;34538:18;;4210:111:13;34206:356:19;14494:1003:4;14643:4;-1:-1:-1;;;;;14663:13:4;;1465:19:0;:23;14659:832:4;;14714:169;;-1:-1:-1;;;14714:169:4;;-1:-1:-1;;;;;14714:36:4;;;;;:169;;719:10:2;;14806:4:4;;14832:7;;14861:4;;14714:169;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14714:169:4;;;;;;;;-1:-1:-1;;14714:169:4;;;;;;;;;;;;:::i;:::-;;;14694:745;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15062:6;:13;15079:1;15062:18;15058:367;;15104:106;;-1:-1:-1;;;15104:106:4;;;;;;;:::i;15058:367::-;15377:6;15371:13;15362:6;15358:2;15354:15;15347:38;14694:745;-1:-1:-1;;;;;;14945:51:4;-1:-1:-1;;;14945:51:4;;-1:-1:-1;14938:58:4;;14659:832;-1:-1:-1;15476:4:4;15469:11;;9997:916:14;10050:7;;-1:-1:-1;;;10125:17:14;;10121:103;;-1:-1:-1;;;10162:17:14;;;-1:-1:-1;10207:2:14;10197:12;10121:103;10250:8;10241:5;:17;10237:103;;10287:8;10278:17;;;-1:-1:-1;10323:2:14;10313:12;10237:103;10366:8;10357:5;:17;10353:103;;10403:8;10394:17;;;-1:-1:-1;10439:2:14;10429:12;10353:103;10482:7;10473:5;:16;10469:100;;10518:7;10509:16;;;-1:-1:-1;10553:1:14;10543:11;10469:100;10595:7;10586:5;:16;10582:100;;10631:7;10622:16;;;-1:-1:-1;10666:1:14;10656:11;10582:100;10708:7;10699:5;:16;10695:100;;10744:7;10735:16;;;-1:-1:-1;10779:1:14;10769:11;10695:100;10821:7;10812:5;:16;10808:66;;10858:1;10848:11;10900:6;9997:916;-1:-1:-1;;9997:916:14:o;14:159:19:-;81:20;;141:6;130:18;;120:29;;110:57;;163:1;160;153:12;110:57;14:159;;;:::o;178:347::-;229:8;239:6;293:3;286:4;278:6;274:17;270:27;260:55;;311:1;308;301:12;260:55;-1:-1:-1;334:20:19;;-1:-1:-1;;;;;366:30:19;;363:50;;;409:1;406;399:12;363:50;446:4;438:6;434:17;422:29;;498:3;491:4;482:6;474;470:19;466:30;463:39;460:59;;;515:1;512;505:12;460:59;178:347;;;;;:::o;530:171::-;597:20;;-1:-1:-1;;;;;646:30:19;;636:41;;626:69;;691:1;688;681:12;706:862;812:6;820;828;836;844;852;905:3;893:9;884:7;880:23;876:33;873:53;;;922:1;919;912:12;873:53;945:28;963:9;945:28;:::i;:::-;935:38;;1024:2;1013:9;1009:18;996:32;-1:-1:-1;;;;;1088:2:19;1080:6;1077:14;1074:34;;;1104:1;1101;1094:12;1074:34;1143:58;1193:7;1184:6;1173:9;1169:22;1143:58;:::i;:::-;1220:8;;-1:-1:-1;1117:84:19;-1:-1:-1;1117:84:19;;-1:-1:-1;1274:37:19;1307:2;1292:18;;1274:37;:::i;:::-;1264:47;;1364:2;1353:9;1349:18;1336:32;1320:48;;1393:2;1383:8;1380:16;1377:36;;;1409:1;1406;1399:12;1377:36;;1448:60;1500:7;1489:8;1478:9;1474:24;1448:60;:::i;:::-;706:862;;;;-1:-1:-1;706:862:19;;-1:-1:-1;706:862:19;;1527:8;;706:862;-1:-1:-1;;;706:862:19:o;1573:131::-;-1:-1:-1;;;;;;1647:32:19;;1637:43;;1627:71;;1694:1;1691;1684:12;1709:245;1767:6;1820:2;1808:9;1799:7;1795:23;1791:32;1788:52;;;1836:1;1833;1826:12;1788:52;1875:9;1862:23;1894:30;1918:5;1894:30;:::i;2151:250::-;2236:1;2246:113;2260:6;2257:1;2254:13;2246:113;;;2336:11;;;2330:18;2317:11;;;2310:39;2282:2;2275:10;2246:113;;;-1:-1:-1;;2393:1:19;2375:16;;2368:27;2151:250::o;2406:271::-;2448:3;2486:5;2480:12;2513:6;2508:3;2501:19;2529:76;2598:6;2591:4;2586:3;2582:14;2575:4;2568:5;2564:16;2529:76;:::i;:::-;2659:2;2638:15;-1:-1:-1;;2634:29:19;2625:39;;;;2666:4;2621:50;;2406:271;-1:-1:-1;;2406:271:19:o;2682:220::-;2831:2;2820:9;2813:21;2794:4;2851:45;2892:2;2881:9;2877:18;2869:6;2851:45;:::i;2907:184::-;2965:6;3018:2;3006:9;2997:7;2993:23;2989:32;2986:52;;;3034:1;3031;3024:12;2986:52;3057:28;3075:9;3057:28;:::i;3096:180::-;3155:6;3208:2;3196:9;3187:7;3183:23;3179:32;3176:52;;;3224:1;3221;3214:12;3176:52;-1:-1:-1;3247:23:19;;3096:180;-1:-1:-1;3096:180:19:o;3489:131::-;-1:-1:-1;;;;;3564:31:19;;3554:42;;3544:70;;3610:1;3607;3600:12;3625:315;3693:6;3701;3754:2;3742:9;3733:7;3729:23;3725:32;3722:52;;;3770:1;3767;3760:12;3722:52;3809:9;3796:23;3828:31;3853:5;3828:31;:::i;:::-;3878:5;3930:2;3915:18;;;;3902:32;;-1:-1:-1;;;3625:315:19:o;3945:252::-;4012:6;4020;4073:2;4061:9;4052:7;4048:23;4044:32;4041:52;;;4089:1;4086;4079:12;4041:52;4112:28;4130:9;4112:28;:::i;4202:456::-;4279:6;4287;4295;4348:2;4336:9;4327:7;4323:23;4319:32;4316:52;;;4364:1;4361;4354:12;4316:52;4403:9;4390:23;4422:31;4447:5;4422:31;:::i;:::-;4472:5;-1:-1:-1;4529:2:19;4514:18;;4501:32;4542:33;4501:32;4542:33;:::i;:::-;4202:456;;4594:7;;-1:-1:-1;;;4648:2:19;4633:18;;;;4620:32;;4202:456::o;4845:481::-;4923:6;4931;4939;4992:2;4980:9;4971:7;4967:23;4963:32;4960:52;;;5008:1;5005;4998:12;4960:52;5031:28;5049:9;5031:28;:::i;:::-;5021:38;;5110:2;5099:9;5095:18;5082:32;-1:-1:-1;;;;;5129:6:19;5126:30;5123:50;;;5169:1;5166;5159:12;5123:50;5208:58;5258:7;5249:6;5238:9;5234:22;5208:58;:::i;:::-;4845:481;;5285:8;;-1:-1:-1;5182:84:19;;-1:-1:-1;;;;4845:481:19:o;5331:127::-;5392:10;5387:3;5383:20;5380:1;5373:31;5423:4;5420:1;5413:15;5447:4;5444:1;5437:15;5463:275;5534:2;5528:9;5599:2;5580:13;;-1:-1:-1;;5576:27:19;5564:40;;-1:-1:-1;;;;;5619:34:19;;5655:22;;;5616:62;5613:88;;;5681:18;;:::i;:::-;5717:2;5710:22;5463:275;;-1:-1:-1;5463:275:19:o;5743:186::-;5791:4;-1:-1:-1;;;;;5816:6:19;5813:30;5810:56;;;5846:18;;:::i;:::-;-1:-1:-1;5912:2:19;5891:15;-1:-1:-1;;5887:29:19;5918:4;5883:40;;5743:186::o;5934:462::-;5976:5;6029:3;6022:4;6014:6;6010:17;6006:27;5996:55;;6047:1;6044;6037:12;5996:55;6083:6;6070:20;6114:48;6130:31;6158:2;6130:31;:::i;:::-;6114:48;:::i;:::-;6187:2;6178:7;6171:19;6233:3;6226:4;6221:2;6213:6;6209:15;6205:26;6202:35;6199:55;;;6250:1;6247;6240:12;6199:55;6315:2;6308:4;6300:6;6296:17;6289:4;6280:7;6276:18;6263:55;6363:1;6338:16;;;6356:4;6334:27;6327:38;;;;6342:7;5934:462;-1:-1:-1;;;5934:462:19:o;6401:464::-;6485:6;6493;6501;6554:2;6542:9;6533:7;6529:23;6525:32;6522:52;;;6570:1;6567;6560:12;6522:52;6593:28;6611:9;6593:28;:::i;:::-;6583:38;;6672:2;6661:9;6657:18;6644:32;-1:-1:-1;;;;;6691:6:19;6688:30;6685:50;;;6731:1;6728;6721:12;6685:50;6754:49;6795:7;6786:6;6775:9;6771:22;6754:49;:::i;:::-;6744:59;;;6822:37;6855:2;6844:9;6840:18;6822:37;:::i;:::-;6812:47;;6401:464;;;;;:::o;7052:247::-;7111:6;7164:2;7152:9;7143:7;7139:23;7135:32;7132:52;;;7180:1;7177;7170:12;7132:52;7219:9;7206:23;7238:31;7263:5;7238:31;:::i;7527:256::-;7593:6;7601;7654:2;7642:9;7633:7;7629:23;7625:32;7622:52;;;7670:1;7667;7660:12;7622:52;7693:28;7711:9;7693:28;:::i;:::-;7683:38;;7740:37;7773:2;7762:9;7758:18;7740:37;:::i;:::-;7730:47;;7527:256;;;;;:::o;7788:416::-;7853:6;7861;7914:2;7902:9;7893:7;7889:23;7885:32;7882:52;;;7930:1;7927;7920:12;7882:52;7969:9;7956:23;7988:31;8013:5;7988:31;:::i;:::-;8038:5;-1:-1:-1;8095:2:19;8080:18;;8067:32;8137:15;;8130:23;8118:36;;8108:64;;8168:1;8165;8158:12;8108:64;8191:7;8181:17;;;7788:416;;;;;:::o;8444:665::-;8539:6;8547;8555;8563;8616:3;8604:9;8595:7;8591:23;8587:33;8584:53;;;8633:1;8630;8623:12;8584:53;8672:9;8659:23;8691:31;8716:5;8691:31;:::i;:::-;8741:5;-1:-1:-1;8798:2:19;8783:18;;8770:32;8811:33;8770:32;8811:33;:::i;:::-;8863:7;-1:-1:-1;8917:2:19;8902:18;;8889:32;;-1:-1:-1;8972:2:19;8957:18;;8944:32;-1:-1:-1;;;;;8988:30:19;;8985:50;;;9031:1;9028;9021:12;8985:50;9054:49;9095:7;9086:6;9075:9;9071:22;9054:49;:::i;:::-;9044:59;;;8444:665;;;;;;;:::o;9114:622::-;9209:6;9217;9225;9233;9241;9294:3;9282:9;9273:7;9269:23;9265:33;9262:53;;;9311:1;9308;9301:12;9262:53;9334:28;9352:9;9334:28;:::i;:::-;9324:38;;9381:37;9414:2;9403:9;9399:18;9381:37;:::i;:::-;9371:47;;9465:2;9454:9;9450:18;9437:32;9427:42;;9520:2;9509:9;9505:18;9492:32;-1:-1:-1;;;;;9539:6:19;9536:30;9533:50;;;9579:1;9576;9569:12;9533:50;9618:58;9668:7;9659:6;9648:9;9644:22;9618:58;:::i;:::-;9114:622;;;;-1:-1:-1;9114:622:19;;-1:-1:-1;9695:8:19;;9592:84;9114:622;-1:-1:-1;;;9114:622:19:o;9741:324::-;9816:6;9824;9832;9885:2;9873:9;9864:7;9860:23;9856:32;9853:52;;;9901:1;9898;9891:12;9853:52;9924:28;9942:9;9924:28;:::i;:::-;9914:38;;9971:37;10004:2;9993:9;9989:18;9971:37;:::i;:::-;9961:47;;10055:2;10044:9;10040:18;10027:32;10017:42;;9741:324;;;;;:::o;10070:388::-;10138:6;10146;10199:2;10187:9;10178:7;10174:23;10170:32;10167:52;;;10215:1;10212;10205:12;10167:52;10254:9;10241:23;10273:31;10298:5;10273:31;:::i;:::-;10323:5;-1:-1:-1;10380:2:19;10365:18;;10352:32;10393:33;10352:32;10393:33;:::i;10463:460::-;10547:6;10555;10563;10571;10624:3;10612:9;10603:7;10599:23;10595:33;10592:53;;;10641:1;10638;10631:12;10592:53;10664:28;10682:9;10664:28;:::i;:::-;10654:38;;10711:37;10744:2;10733:9;10729:18;10711:37;:::i;:::-;10701:47;;10798:2;10787:9;10783:18;10770:32;10811:31;10836:5;10811:31;:::i;:::-;10463:460;;;;-1:-1:-1;10861:5:19;;10913:2;10898:18;10885:32;;-1:-1:-1;;10463:460:19:o;11287:380::-;11366:1;11362:12;;;;11409;;;11430:61;;11484:4;11476:6;11472:17;11462:27;;11430:61;11537:2;11529:6;11526:14;11506:18;11503:38;11500:161;;11583:10;11578:3;11574:20;11571:1;11564:31;11618:4;11615:1;11608:15;11646:4;11643:1;11636:15;11500:161;;11287:380;;;:::o;11672:271::-;11855:6;11847;11842:3;11829:33;11811:3;11881:16;;11906:13;;;11881:16;11672:271;-1:-1:-1;11672:271:19:o;14125:209::-;14157:1;14183;14173:132;;14227:10;14222:3;14218:20;14215:1;14208:31;14262:4;14259:1;14252:15;14290:4;14287:1;14280:15;14173:132;-1:-1:-1;14319:9:19;;14125:209::o;14339:127::-;14400:10;14395:3;14391:20;14388:1;14381:31;14431:4;14428:1;14421:15;14455:4;14452:1;14445:15;14471:125;14536:9;;;14557:10;;;14554:36;;;14570:18;;:::i;15161:642::-;15442:6;15430:19;;15412:38;;-1:-1:-1;;;;;15486:32:19;;15481:2;15466:18;;15459:60;15506:3;15550:2;15535:18;;15528:31;;;-1:-1:-1;;15582:46:19;;15608:19;;15600:6;15582:46;:::i;:::-;15678:6;15671:14;15664:22;15659:2;15648:9;15644:18;15637:50;15736:9;15728:6;15724:22;15718:3;15707:9;15703:19;15696:51;15764:33;15790:6;15782;15764:33;:::i;:::-;15756:41;15161:642;-1:-1:-1;;;;;;;;15161:642:19:o;15808:245::-;15887:6;15895;15948:2;15936:9;15927:7;15923:23;15919:32;15916:52;;;15964:1;15961;15954:12;15916:52;-1:-1:-1;;15987:16:19;;16043:2;16028:18;;;16022:25;15987:16;;16022:25;;-1:-1:-1;15808:245:19:o;16058:409::-;16260:2;16242:21;;;16299:2;16279:18;;;16272:30;16338:34;16333:2;16318:18;;16311:62;-1:-1:-1;;;16404:2:19;16389:18;;16382:43;16457:3;16442:19;;16058:409::o;16472:266::-;16560:6;16555:3;16548:19;16612:6;16605:5;16598:4;16593:3;16589:14;16576:43;-1:-1:-1;16664:1:19;16639:16;;;16657:4;16635:27;;;16628:38;;;;16720:2;16699:15;;;-1:-1:-1;;16695:29:19;16686:39;;;16682:50;;16472:266::o;16743:326::-;16938:6;16930;16926:19;16915:9;16908:38;16982:2;16977;16966:9;16962:18;16955:30;16889:4;17002:61;17059:2;17048:9;17044:18;17036:6;17028;17002:61;:::i;18812:128::-;18879:9;;;18900:11;;;18897:37;;;18914:18;;:::i;18945:360::-;19156:6;19148;19143:3;19130:33;19226:2;19222:15;;;;-1:-1:-1;;19218:53:19;19182:16;;19207:65;;;19296:2;19288:11;;18945:360;-1:-1:-1;18945:360:19:o;19435:544::-;19536:2;19531:3;19528:11;19525:448;;;19572:1;19597:5;19593:2;19586:17;19642:4;19638:2;19628:19;19712:2;19700:10;19696:19;19693:1;19689:27;19683:4;19679:38;19748:4;19736:10;19733:20;19730:47;;;-1:-1:-1;19771:4:19;19730:47;19826:2;19821:3;19817:12;19814:1;19810:20;19804:4;19800:31;19790:41;;19881:82;19899:2;19892:5;19889:13;19881:82;;;19944:17;;;19925:1;19914:13;19881:82;;20155:1348;20279:3;20273:10;-1:-1:-1;;;;;20298:6:19;20295:30;20292:56;;;20328:18;;:::i;:::-;20357:96;20446:6;20406:38;20438:4;20432:11;20406:38;:::i;:::-;20400:4;20357:96;:::i;:::-;20508:4;;20572:2;20561:14;;20589:1;20584:662;;;;21290:1;21307:6;21304:89;;;-1:-1:-1;21359:19:19;;;21353:26;21304:89;-1:-1:-1;;20112:1:19;20108:11;;;20104:24;20100:29;20090:40;20136:1;20132:11;;;20087:57;21406:81;;20554:943;;20584:662;19382:1;19375:14;;;19419:4;19406:18;;-1:-1:-1;;20620:20:19;;;20737:236;20751:7;20748:1;20745:14;20737:236;;;20840:19;;;20834:26;20819:42;;20932:27;;;;20900:1;20888:14;;;;20767:19;;20737:236;;;20741:3;21001:6;20992:7;20989:19;20986:201;;;21062:19;;;21056:26;-1:-1:-1;;21145:1:19;21141:14;;;21157:3;21137:24;21133:37;21129:42;21114:58;21099:74;;20986:201;-1:-1:-1;;;;;21233:1:19;21217:14;;;21213:22;21200:36;;-1:-1:-1;20155:1348:19:o;21508:496::-;21687:3;21725:6;21719:13;21741:66;21800:6;21795:3;21788:4;21780:6;21776:17;21741:66;:::i;:::-;21870:13;;21829:16;;;;21892:70;21870:13;21829:16;21939:4;21927:17;;21892:70;:::i;:::-;21978:20;;21508:496;-1:-1:-1;;;;21508:496:19:o;22009:498::-;22209:4;22238:6;22283:2;22275:6;22271:15;22260:9;22253:34;22335:2;22327:6;22323:15;22318:2;22307:9;22303:18;22296:43;;22375:6;22370:2;22359:9;22355:18;22348:34;22418:3;22413:2;22402:9;22398:18;22391:31;22439:62;22496:3;22485:9;22481:19;22473:6;22465;22439:62;:::i;:::-;22431:70;22009:498;-1:-1:-1;;;;;;;22009:498:19:o;23318:493::-;23567:6;23559;23555:19;23544:9;23537:38;23611:3;23606:2;23595:9;23591:18;23584:31;23518:4;23632:62;23689:3;23678:9;23674:19;23666:6;23658;23632:62;:::i;:::-;-1:-1:-1;;;;;23730:31:19;;;;23725:2;23710:18;;23703:59;-1:-1:-1;23793:2:19;23778:18;23771:34;23624:70;23318:493;-1:-1:-1;;;23318:493:19:o;24529:1202::-;-1:-1:-1;;;;;24646:3:19;24643:27;24640:53;;;24673:18;;:::i;:::-;24702:93;24791:3;24751:38;24783:4;24777:11;24751:38;:::i;:::-;24745:4;24702:93;:::i;:::-;24821:1;24846:2;24841:3;24838:11;24863:1;24858:615;;;;25517:1;25534:3;25531:93;;;-1:-1:-1;25590:19:19;;;25577:33;25531:93;-1:-1:-1;;20112:1:19;20108:11;;;20104:24;20100:29;20090:40;20136:1;20132:11;;;20087:57;25637:78;;24831:894;;24858:615;19382:1;19375:14;;;19419:4;19406:18;;-1:-1:-1;;24894:17:19;;;24994:9;25016:229;25030:7;25027:1;25024:14;25016:229;;;25119:19;;;25106:33;25091:49;;25226:4;25211:20;;;;25179:1;25167:14;;;;25046:12;25016:229;;;25020:3;25273;25264:7;25261:16;25258:159;;;25397:1;25393:6;25387:3;25381;25378:1;25374:11;25370:21;25366:34;25362:39;25349:9;25344:3;25340:19;25327:33;25323:79;25315:6;25308:95;25258:159;;;25460:1;25454:3;25451:1;25447:11;25443:19;25437:4;25430:33;24831:894;;24529:1202;;;:::o;26604:647::-;26683:6;26736:2;26724:9;26715:7;26711:23;26707:32;26704:52;;;26752:1;26749;26742:12;26704:52;26785:9;26779:16;-1:-1:-1;;;;;26810:6:19;26807:30;26804:50;;;26850:1;26847;26840:12;26804:50;26873:22;;26926:4;26918:13;;26914:27;-1:-1:-1;26904:55:19;;26955:1;26952;26945:12;26904:55;26984:2;26978:9;27009:48;27025:31;27053:2;27025:31;:::i;27009:48::-;27080:2;27073:5;27066:17;27120:7;27115:2;27110;27106;27102:11;27098:20;27095:33;27092:53;;;27141:1;27138;27131:12;27092:53;27154:67;27218:2;27213;27206:5;27202:14;27197:2;27193;27189:11;27154:67;:::i;:::-;27240:5;26604:647;-1:-1:-1;;;;;26604:647:19:o;27256:557::-;27513:6;27505;27501:19;27490:9;27483:38;27557:3;27552:2;27541:9;27537:18;27530:31;27464:4;27584:46;27625:3;27614:9;27610:19;27602:6;27584:46;:::i;:::-;-1:-1:-1;;;;;27670:6:19;27666:31;27661:2;27650:9;27646:18;27639:59;27746:9;27738:6;27734:22;27729:2;27718:9;27714:18;27707:50;27774:33;27800:6;27792;27774:33;:::i;29314:840::-;29663:6;29655;29651:19;29640:9;29633:38;29707:3;29702:2;29691:9;29687:18;29680:31;29614:4;29734:46;29775:3;29764:9;29760:19;29752:6;29734:46;:::i;:::-;29828:9;29820:6;29816:22;29811:2;29800:9;29796:18;29789:50;29862:33;29888:6;29880;29862:33;:::i;:::-;-1:-1:-1;;;;;29969:15:19;;;29964:2;29949:18;;29942:43;30022:15;;30016:3;30001:19;;29994:44;30075:22;;;29922:3;30054:19;;30047:51;29848:47;-1:-1:-1;30115:33:19;29848:47;30133:6;30115:33;:::i;:::-;30107:41;29314:840;-1:-1:-1;;;;;;;;;29314:840:19:o;30159:401::-;30361:2;30343:21;;;30400:2;30380:18;;;30373:30;30439:34;30434:2;30419:18;;30412:62;-1:-1:-1;;;30505:2:19;30490:18;;30483:35;30550:3;30535:19;;30159:401::o;30970:320::-;31057:6;31065;31118:2;31106:9;31097:7;31093:23;31089:32;31086:52;;;31134:1;31131;31124:12;31086:52;31166:9;31160:16;31185:31;31210:5;31185:31;:::i;:::-;31280:2;31265:18;;;;31259:25;31235:5;;31259:25;;-1:-1:-1;;;30970:320:19:o;32771:414::-;32973:2;32955:21;;;33012:2;32992:18;;;32985:30;33051:34;33046:2;33031:18;;33024:62;-1:-1:-1;;;33117:2:19;33102:18;;33095:48;33175:3;33160:19;;32771:414::o;33190:287::-;33319:3;33357:6;33351:13;33373:66;33432:6;33427:3;33420:4;33412:6;33408:17;33373:66;:::i;:::-;33455:16;;;;;33190:287;-1:-1:-1;;33190:287:19:o;33482:719::-;33785:6;33777;33773:19;33762:9;33755:38;33829:3;33824:2;33813:9;33809:18;33802:31;33736:4;33856:46;33897:3;33886:9;33882:19;33874:6;33856:46;:::i;:::-;-1:-1:-1;;;;;33942:6:19;33938:31;33933:2;33922:9;33918:18;33911:59;34018:9;34010:6;34006:22;34001:2;33990:9;33986:18;33979:50;34052:33;34078:6;34070;34052:33;:::i;:::-;34038:47;;34134:9;34126:6;34122:22;34116:3;34105:9;34101:19;34094:51;34162:33;34188:6;34180;34162:33;:::i;34567:489::-;-1:-1:-1;;;;;34836:15:19;;;34818:34;;34888:15;;34883:2;34868:18;;34861:43;34935:2;34920:18;;34913:34;;;34983:3;34978:2;34963:18;;34956:31;;;34761:4;;35004:46;;35030:19;;35022:6;35004:46;:::i;:::-;34996:54;34567:489;-1:-1:-1;;;;;;34567:489:19:o;35061:249::-;35130:6;35183:2;35171:9;35162:7;35158:23;35154:32;35151:52;;;35199:1;35196;35189:12;35151:52;35231:9;35225:16;35250:30;35274:5;35250:30;:::i

Swarm Source

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