ETH Price: $3,189.40 (-7.34%)
Gas: 2 Gwei

Token

CHAOS (CHAOS)
 

Overview

Max Total Supply

493 CHAOS

Holders

67

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 CHAOS
0xFFEF35bEA76A4520ce8ef0C36eC6EABE94736C42
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
CollectionCore

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-06-08
*/

// File: VaultCoreInterface.sol



pragma solidity 0.8.9;

abstract contract VaultCoreInterface {
    function getVersion() public pure virtual returns (uint);
    function typeOfContract() public pure virtual returns (bytes32);
    function approveToken(
        uint256 _tokenId,
        address _tokenContractAddress) external virtual;
}
// File: RoyaltyRegistryInterface.sol



pragma solidity 0.8.9;


/**
 * Interface to the RoyaltyRegistry responsible for looking payout addresses
 */
abstract contract RoyaltyRegistryInterface {
    function getAddress(address custodial) external view virtual returns (address);
    function getMediaCustomPercentage(uint256 mediaId, address tokenAddress) external view virtual returns(uint16);
    function getExternalTokenPercentage(uint256 tokenId, address tokenAddress) external view virtual returns(uint16, uint16);
    function typeOfContract() virtual public pure returns (string calldata);
    function VERSION() virtual public pure returns (uint8);
}
// File: ApprovedCreatorRegistryInterface.sol



pragma solidity 0.8.9;


/**
 * Interface to the digital media store external contract that is
 * responsible for storing the common digital media and collection data.
 * This allows for new token contracts to be deployed and continue to reference
 * the digital media and collection data.
 */
abstract contract ApprovedCreatorRegistryInterface {

    function getVersion() virtual public pure returns (uint);
    function typeOfContract() virtual public pure returns (string calldata);
    function isOperatorApprovedForCustodialAccount(
        address _operator,
        address _custodialAddress) virtual public view returns (bool);

}
// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol


// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

// File: @openzeppelin/contracts/utils/Context.sol


// 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: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

// File: OBOControl.sol



pragma solidity 0.8.9;



contract OBOControl is Ownable {
    address public oboAdmin;
    uint256 constant public newAddressWaitPeriod = 1 days;
    bool public canAddOBOImmediately = true;

    // List of approved on behalf of users.
    mapping (address => uint256) public approvedOBOs;

    event NewOBOAddressEvent(
        address OBOAddress,
        bool action);

    event NewOBOAdminAddressEvent(
        address oboAdminAddress);

    modifier onlyOBOAdmin() {
        require(owner() == _msgSender() || oboAdmin == _msgSender(), "not oboAdmin");
        _;
    }

    function setOBOAdmin(address _oboAdmin) external onlyOwner {
        oboAdmin = _oboAdmin;
        emit NewOBOAdminAddressEvent(_oboAdmin);
    }

    /**
     * Add a new approvedOBO address. The address can be used after wait period.
     */
    function addApprovedOBO(address _oboAddress) external onlyOBOAdmin {
        require(_oboAddress != address(0), "cant set to 0x");
        require(approvedOBOs[_oboAddress] == 0, "already added");
        approvedOBOs[_oboAddress] = block.timestamp;
        emit NewOBOAddressEvent(_oboAddress, true);
    }

    /**
     * Removes an approvedOBO immediately.
     */
    function removeApprovedOBO(address _oboAddress) external onlyOBOAdmin {
        delete approvedOBOs[_oboAddress];
        emit NewOBOAddressEvent(_oboAddress, false);
    }

    /*
     * Add OBOAddress for immediate use. This is an internal only Fn that is called
     * only when the contract is deployed.
     */
    function addApprovedOBOImmediately(address _oboAddress) internal onlyOwner {
        require(_oboAddress != address(0), "addr(0)");
        // set the date to one in past so that address is active immediately.
        approvedOBOs[_oboAddress] = block.timestamp - newAddressWaitPeriod - 1;
        emit NewOBOAddressEvent(_oboAddress, true);
    }

    function addApprovedOBOAfterDeploy(address _oboAddress) external onlyOBOAdmin {
        require(canAddOBOImmediately == true, "disabled");
        addApprovedOBOImmediately(_oboAddress);
    }

    function blockImmediateOBO() external onlyOBOAdmin {
        canAddOBOImmediately = false;
    }

    /*
     * Helper function to verify is a given address is a valid approvedOBO address.
     */
    function isValidApprovedOBO(address _oboAddress) public view returns (bool) {
        uint256 createdAt = approvedOBOs[_oboAddress];
        if (createdAt == 0) {
            return false;
        }
        return block.timestamp - createdAt > newAddressWaitPeriod;
    }

    /**
    * @dev Modifier to make the obo calls only callable by approved addressess
    */
    modifier isApprovedOBO() {
        require(isValidApprovedOBO(msg.sender), "unauthorized OBO user");
        _;
    }
}
// File: @openzeppelin/contracts/security/Pausable.sol


// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;


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

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

    bool private _paused;

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// 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: @openzeppelin/contracts/utils/introspection/IERC165.sol


// 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: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


/**
 * @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 be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

    /**
     * @dev 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: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC721/ERC721.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be 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 owner nor approved for all"
        );

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;



/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

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

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

// File: CollectionCore.sol



pragma solidity 0.8.9;








contract CollectionCore is ERC721Enumerable, OBOControl, Pausable {
    using ECDSA for bytes32;
    uint8 constant public VERSION = 1;
    uint16 public immutable royaltyPercentage;
    address public immutable creator;
    address public signerAddress;
    bool public enableExternalMinting;
    // by default bool's are false, save gas by not initializing
    bool public isImmutable;
    uint256 public immutable totalMediaSupply;
    string public baseURI;
    ApprovedCreatorRegistryInterface public creatorRegistryStore;

    struct ExternalCreateRequest {
        address owner;
        bytes signature;
        uint256 tokenId;
    }

    struct OBOCreateRequest {
        address owner;
        uint256 tokenId;
    }

    struct ChainSignatureRequest {
        uint256 onchainId;
        address owner;
        address thisContract;
    }

    event NewSignerEvent(
        address signer);

    constructor(string memory _tokenName, string memory _tokenSymbol,
            address _crsAddress, uint256 _totalSupply,
            address _creator, uint16 _royaltyPercentage, string memory _initialBaseURI) ERC721(_tokenName, _tokenSymbol) {
        require(_royaltyPercentage > 0 && _royaltyPercentage <= 10000, "invalid royalty");
        require(_creator != address(0), "creator = 0x0");
        setCreatorRegistryStore(_crsAddress);
        require(_totalSupply > 0, "supply > 0");
        totalMediaSupply = _totalSupply;
        creator = _creator;
        royaltyPercentage = _royaltyPercentage;
        baseURI = _initialBaseURI;
    }

    /*
     * Set signer address on the token contract. Setting signer means we are opening
     * the token contract for external accounts to create tokens. Call this to change
     * the signer immediately.
     */
    function setSignerAddress(address _signerAddress, bool _enableExternalMinting) external
            whenNotPaused isApprovedOBO {
        require(_signerAddress != address(0), "cant be zero");
        signerAddress = _signerAddress;
        enableExternalMinting = _enableExternalMinting;
        emit NewSignerEvent(signerAddress);
    }

    // Set the creator registry address upon construction. Immutable.
    function setCreatorRegistryStore(address _crsAddress) internal {
        require(_crsAddress != address(0), "registry = 0x0");
        ApprovedCreatorRegistryInterface candidateCreatorRegistryStore = ApprovedCreatorRegistryInterface(_crsAddress);
        // require(candidateCreatorRegistryStore.getVersion() == 1, "registry store is not version 1");
        // Simple check to make sure we are adding the registry contract indeed
        // https://fravoll.github.io/solidity-patterns/string_equality_comparison.html
        bytes32 contractType = keccak256(abi.encodePacked(candidateCreatorRegistryStore.typeOfContract()));
        // keccak256(abi.encodePacked("approvedCreatorRegistryReadOnly")) = 0x9732b26dfb8751e6f1f71e8f21b28a237cfe383953dce7db3dfa1777abdb2791
        require(contractType == 0x9732b26dfb8751e6f1f71e8f21b28a237cfe383953dce7db3dfa1777abdb2791,
            "not crtrReadOnlyRegistry");
        creatorRegistryStore = candidateCreatorRegistryStore;
    }

    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }

    /*
     * Set BaseURI for the entire collectible project. Only owner can set it to hide / reveal
     * baseURI.
     */
    function setBaseURI(string memory _newBaseURI) external onlyOwner whenNotPaused {
        require(isImmutable == false, "cant change");
        baseURI = _newBaseURI;
    }

    function makeImmutable() external onlyOwner {
        isImmutable = true;
    }

    /* External users who have been given a signature can mint token using this function 
     * This Fn works only when unpaused.
     */
    function mintTokens(ExternalCreateRequest[] calldata requests) external whenNotPaused {
        require(enableExternalMinting == true, "minting disabled");
        for (uint32 i=0; i < requests.length; i++) {
            ExternalCreateRequest memory request = requests[i];
            // If a token is burnt _exists will return 0.
            require(_exists(request.tokenId) == false, "token exists");
            require(request.owner == msg.sender, "owner error");
            require(totalSupply() + 1 <= totalMediaSupply, "exceeded supply");
            ChainSignatureRequest memory signatureRequest = ChainSignatureRequest(request.tokenId, request.owner, address(this));
            bytes32 encodedRequest = keccak256(abi.encode(signatureRequest));
            address addressWhoSigned = encodedRequest.recover(request.signature);
            require(addressWhoSigned == signerAddress, "sig error");
            _safeMint(msg.sender, request.tokenId);
        }
    }

    function oboMintTokens(OBOCreateRequest[] calldata requests) external isApprovedOBO {
        for (uint32 i=0; i < requests.length; i++) {
            OBOCreateRequest memory request = requests[i];
            require(_exists(request.tokenId) == false, "token exists");
            require(totalSupply() + 1 <= totalMediaSupply, "exceeded supply");
            _safeMint(request.owner, request.tokenId);
        }
    }

    /**
     * Override the isApprovalForAll to check for a special oboApproval list.  Reason for this
     * is that we can can easily remove obo operators if they every become compromised.
     */
    function isApprovedForAll(address _owner, address _operator) public view override registryInitialized returns (bool) {
        if (creatorRegistryStore.isOperatorApprovedForCustodialAccount(_operator, _owner) == true) {
            return true;
        } else {
            return super.isApprovedForAll(_owner, _operator);
        }
    }

         /**
     * Validates that the Registered store is initialized.
     */
    modifier registryInitialized() {
        require(address(creatorRegistryStore) != address(0), "registry = 0x0");
        _;
    }

    function royaltyInfo(uint256, uint256 _salePrice) external view returns (
            address _creator, uint256 _payout) {
        return (creator, (_salePrice * royaltyPercentage / 10000));
    }

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

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

    // TODO: Other collectible project dont expose burn.
    // function burn(uint256 _tokenId) external {
    //     require(_isApprovedOrOwner(msg.sender, _tokenId), "ERC721: burn caller is not owner nor approved");
    //     _burn(_tokenId);
    // }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"address","name":"_crsAddress","type":"address"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"},{"internalType":"address","name":"_creator","type":"address"},{"internalType":"uint16","name":"_royaltyPercentage","type":"uint16"},{"internalType":"string","name":"_initialBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"OBOAddress","type":"address"},{"indexed":false,"internalType":"bool","name":"action","type":"bool"}],"name":"NewOBOAddressEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oboAdminAddress","type":"address"}],"name":"NewOBOAdminAddressEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"signer","type":"address"}],"name":"NewSignerEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"VERSION","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_oboAddress","type":"address"}],"name":"addApprovedOBO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_oboAddress","type":"address"}],"name":"addApprovedOBOAfterDeploy","outputs":[],"stateMutability":"nonpayable","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":"","type":"address"}],"name":"approvedOBOs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blockImmediateOBO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"canAddOBOImmediately","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"creator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"creatorRegistryStore","outputs":[{"internalType":"contract ApprovedCreatorRegistryInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableExternalMinting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"isImmutable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_oboAddress","type":"address"}],"name":"isValidApprovedOBO","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"makeImmutable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"internalType":"struct CollectionCore.ExternalCreateRequest[]","name":"requests","type":"tuple[]"}],"name":"mintTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newAddressWaitPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oboAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"internalType":"struct CollectionCore.OBOCreateRequest[]","name":"requests","type":"tuple[]"}],"name":"oboMintTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_oboAddress","type":"address"}],"name":"removeApprovedOBO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"_creator","type":"address"},{"internalType":"uint256","name":"_payout","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyPercentage","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_oboAdmin","type":"address"}],"name":"setOBOAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signerAddress","type":"address"},{"internalType":"bool","name":"_enableExternalMinting","type":"bool"}],"name":"setSignerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMediaSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e0604052600b805460ff60a01b1916600160a01b1790553480156200002457600080fd5b506040516200391c3803806200391c833981016040819052620000479162000548565b86518790879062000060906000906020850190620003ab565b50805162000076906001906020840190620003ab565b505050620000936200008d620001ca60201b60201c565b620001ce565b600d805460ff1916905561ffff821615801590620000b757506127108261ffff1611155b620000fb5760405162461bcd60e51b815260206004820152600f60248201526e696e76616c696420726f79616c747960881b60448201526064015b60405180910390fd5b6001600160a01b038316620001435760405162461bcd60e51b815260206004820152600d60248201526c063726561746f72203d2030783609c1b6044820152606401620000f2565b6200014e8562000220565b600084116200018d5760405162461bcd60e51b815260206004820152600a6024820152690737570706c79203e20360b41b6044820152606401620000f2565b60c08490526001600160a01b03831660a05261ffff82166080528051620001bc90600e906020840190620003ab565b5050505050505050620006bf565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038116620002695760405162461bcd60e51b815260206004820152600e60248201526d07265676973747279203d203078360941b6044820152606401620000f2565b60008190506000816001600160a01b031663c20a03826040518163ffffffff1660e01b815260040160006040518083038186803b158015620002aa57600080fd5b505afa158015620002bf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620002e9919081019062000624565b604051602001620002fb919062000664565b604051602081830303815290604052805190602001209050807f9732b26dfb8751e6f1f71e8f21b28a237cfe383953dce7db3dfa1777abdb279160001b14620003875760405162461bcd60e51b815260206004820152601860248201527f6e6f742063727472526561644f6e6c79526567697374727900000000000000006044820152606401620000f2565b50600f80546001600160a01b0319166001600160a01b039290921691909117905550565b828054620003b99062000682565b90600052602060002090601f016020900481019282620003dd576000855562000428565b82601f10620003f857805160ff191683800117855562000428565b8280016001018555821562000428579182015b82811115620004285782518255916020019190600101906200040b565b50620004369291506200043a565b5090565b5b808211156200043657600081556001016200043b565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620004845781810151838201526020016200046a565b8381111562000494576000848401525b50505050565b600082601f830112620004ac57600080fd5b81516001600160401b0380821115620004c957620004c962000451565b604051601f8301601f19908116603f01168101908282118183101715620004f457620004f462000451565b816040528381528660208588010111156200050e57600080fd5b6200052184602083016020890162000467565b9695505050505050565b80516001600160a01b03811681146200054357600080fd5b919050565b600080600080600080600060e0888a0312156200056457600080fd5b87516001600160401b03808211156200057c57600080fd5b6200058a8b838c016200049a565b985060208a0151915080821115620005a157600080fd5b620005af8b838c016200049a565b9750620005bf60408b016200052b565b965060608a01519550620005d660808b016200052b565b945060a08a0151915061ffff82168214620005f057600080fd5b60c08a0151919350808211156200060657600080fd5b50620006158a828b016200049a565b91505092959891949750929550565b6000602082840312156200063757600080fd5b81516001600160401b038111156200064e57600080fd5b6200065c848285016200049a565b949350505050565b600082516200067881846020870162000467565b9190910192915050565b600181811c908216806200069757607f821691505b60208210811415620006b957634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c0516132116200070b6000396000818161041501528181610a2301526116bc0152600081816102c70152610bc30152600081816104f90152610bed01526132116000f3fe608060405234801561001057600080fd5b50600436106102955760003560e01c806370a0823111610167578063b39ba60a116100ce578063d5edf45b11610087578063d5edf45b146105fb578063d7dd397d1461060f578063e985e9c514610622578063f2fde38b14610635578063fb12a87614610648578063ffa1ad741461065b57600080fd5b8063b39ba60a14610588578063b88d4fde1461059b578063bb0aa8ef146105ae578063c87b56dd146105c2578063c95ab462146105d5578063cd161d2e146105e857600080fd5b80638ce87646116101205780638ce876461461052e5780638da5cb5b1461054157806395d89b4114610552578063a22cb4651461055a578063a47a2e771461056d578063a790c0e21461058057600080fd5b806370a08231146104b6578063715018a6146104c95780637ff9f614146104d15780638456cb59146104e4578063875d364e146104ec5780638a71bb2d146104f457600080fd5b80632a55205a1161020b5780634f6ccce7116101c45780634f6ccce71461045257806355f804b3146104655780635b7633d0146104785780635c975abb146104905780636352211e1461049b5780636c0360eb146104ae57600080fd5b80632a55205a146103b85780632f745c59146103ea5780633ad0288e146103fd5780633ef110f1146104105780633f4ba83a1461043757806342842e0e1461043f57600080fd5b80630c9999291161025d5780630c9999291461033e57806313e2263e1461035657806318160ddd1461036a5780631ad32562146103725780631dd8354c1461039257806323b872dd146103a557600080fd5b806301ffc9a71461029a57806302d05d3f146102c257806306fdde0314610301578063081812fc14610316578063095ea7b314610329575b600080fd5b6102ad6102a83660046129ae565b610675565b60405190151581526020015b60405180910390f35b6102e97f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102b9565b6103096106a0565b6040516102b99190612a23565b6102e9610324366004612a36565b610732565b61033c610337366004612a6b565b6107bf565b005b6103486201518081565b6040519081526020016102b9565b600d546102ad90600160a81b900460ff1681565b600854610348565b610348610380366004612a95565b600c6020526000908152604090205481565b61033c6103a0366004612ab0565b6108d5565b61033c6103b3366004612b25565b610b8d565b6103cb6103c6366004612b61565b610bbe565b604080516001600160a01b0390931683526020830191909152016102b9565b6103486103f8366004612a6b565b610c29565b61033c61040b366004612b91565b610cbf565b6103487f000000000000000000000000000000000000000000000000000000000000000081565b61033c610de5565b61033c61044d366004612b25565b610e19565b610348610460366004612a36565b610e34565b61033c610473366004612c54565b610ec7565b600d546102e99061010090046001600160a01b031681565b600d5460ff166102ad565b6102e96104a9366004612a36565b610f73565b610309610fea565b6103486104c4366004612a95565b611078565b61033c6110ff565b61033c6104df366004612a95565b611133565b61033c6111cb565b61033c6111fd565b61051b7f000000000000000000000000000000000000000000000000000000000000000081565b60405161ffff90911681526020016102b9565b61033c61053c366004612a95565b61123c565b600a546001600160a01b03166102e9565b6103096112b4565b61033c610568366004612b91565b6112c3565b61033c61057b366004612a95565b6112ce565b61033c611362565b600f546102e9906001600160a01b031681565b61033c6105a9366004612cbd565b6113b0565b600d546102ad90600160b01b900460ff1681565b6103096105d0366004612a36565b6113e8565b600b546102e9906001600160a01b031681565b61033c6105f6366004612a95565b6114b3565b600b546102ad90600160a01b900460ff1681565b61033c61061d366004612d25565b6115e1565b6102ad610630366004612d88565b611754565b61033c610643366004612a95565b611866565b6102ad610656366004612a95565b6118fe565b610663600181565b60405160ff90911681526020016102b9565b60006001600160e01b0319821663780e9d6360e01b148061069a575061069a8261193b565b92915050565b6060600080546106af90612dbb565b80601f01602080910402602001604051908101604052809291908181526020018280546106db90612dbb565b80156107285780601f106106fd57610100808354040283529160200191610728565b820191906000526020600020905b81548152906001019060200180831161070b57829003601f168201915b5050505050905090565b600061073d8261198b565b6107a35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107ca82610f73565b9050806001600160a01b0316836001600160a01b031614156108385760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161079a565b336001600160a01b038216148061085457506108548133611754565b6108c65760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161079a565b6108d083836119a8565b505050565b600d5460ff16156108f85760405162461bcd60e51b815260040161079a90612df6565b600d54600160a81b900460ff1615156001146109495760405162461bcd60e51b815260206004820152601060248201526f1b5a5b9d1a5b99c8191a5cd8589b195960821b604482015260640161079a565b60005b63ffffffff81168211156108d057600083838363ffffffff1681811061097457610974612e20565b90506020028101906109869190612e36565b61098f90612e56565b905061099e816040015161198b565b156109da5760405162461bcd60e51b815260206004820152600c60248201526b746f6b656e2065786973747360a01b604482015260640161079a565b80516001600160a01b03163314610a215760405162461bcd60e51b815260206004820152600b60248201526a37bbb732b91032b93937b960a91b604482015260640161079a565b7f0000000000000000000000000000000000000000000000000000000000000000610a4b60085490565b610a56906001612ee9565b1115610a965760405162461bcd60e51b815260206004820152600f60248201526e657863656564656420737570706c7960881b604482015260640161079a565b60408051606080820183528383015180835284516001600160a01b03908116602080860191825230868801908152875191820194909452905182169581019590955290511690830152906000906080016040516020818303038152906040528051906020012090506000610b17846020015183611a1690919063ffffffff16565b600d549091506001600160a01b038083166101009092041614610b685760405162461bcd60e51b815260206004820152600960248201526839b4b39032b93937b960b91b604482015260640161079a565b610b76338560400151611a3a565b505050508080610b8590612f01565b91505061094c565b610b973382611a54565b610bb35760405162461bcd60e51b815260040161079a90612f25565b6108d0838383611b1e565b6000807f0000000000000000000000000000000000000000000000000000000000000000612710610c1361ffff7f00000000000000000000000000000000000000000000000000000000000000001686612f76565b610c1d9190612fab565b915091505b9250929050565b6000610c3483611078565b8210610c965760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161079a565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600d5460ff1615610ce25760405162461bcd60e51b815260040161079a90612df6565b610ceb336118fe565b610d2f5760405162461bcd60e51b81526020600482015260156024820152743ab730baba3437b934bd32b21027a127903ab9b2b960591b604482015260640161079a565b6001600160a01b038216610d745760405162461bcd60e51b815260206004820152600c60248201526b63616e74206265207a65726f60a01b604482015260640161079a565b600d8054610100600160b01b0319166101006001600160a01b03858116820260ff60a81b191692909217600160a81b85151502179283905560405192041681527f892cc3ddabcf4697be271eb3df1f098bec1713e58e7287c001532df08b5ebaab9060200160405180910390a15050565b600a546001600160a01b03163314610e0f5760405162461bcd60e51b815260040161079a90612fbf565b610e17611cc5565b565b6108d0838383604051806020016040528060008152506113b0565b6000610e3f60085490565b8210610ea25760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161079a565b60088281548110610eb557610eb5612e20565b90600052602060002001549050919050565b600a546001600160a01b03163314610ef15760405162461bcd60e51b815260040161079a90612fbf565b600d5460ff1615610f145760405162461bcd60e51b815260040161079a90612df6565b600d54600160b01b900460ff1615610f5c5760405162461bcd60e51b815260206004820152600b60248201526a63616e74206368616e676560a81b604482015260640161079a565b8051610f6f90600e9060208401906128ff565b5050565b6000818152600260205260408120546001600160a01b03168061069a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161079a565b600e8054610ff790612dbb565b80601f016020809104026020016040519081016040528092919081815260200182805461102390612dbb565b80156110705780601f1061104557610100808354040283529160200191611070565b820191906000526020600020905b81548152906001019060200180831161105357829003601f168201915b505050505081565b60006001600160a01b0382166110e35760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161079a565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146111295760405162461bcd60e51b815260040161079a90612fbf565b610e176000611d58565b600a546001600160a01b03163314806111565750600b546001600160a01b031633145b6111725760405162461bcd60e51b815260040161079a90612ff4565b6001600160a01b0381166000818152600c602090815260408083208390558051938452908301919091527fe2e2dad866561a9926816384b10b4073c5e0e101b6c911e4936d22438bd63e9b91015b60405180910390a150565b600a546001600160a01b031633146111f55760405162461bcd60e51b815260040161079a90612fbf565b610e17611daa565b600a546001600160a01b031633146112275760405162461bcd60e51b815260040161079a90612fbf565b600d805460ff60b01b1916600160b01b179055565b600a546001600160a01b031633146112665760405162461bcd60e51b815260040161079a90612fbf565b600b80546001600160a01b0319166001600160a01b0383169081179091556040519081527ffbd1c2e6a1f767e08b9689ca3ce8ca1e7b60fbb71734bfc34f39f5bcb846cf30906020016111c0565b6060600180546106af90612dbb565b610f6f338383611e02565b600a546001600160a01b03163314806112f15750600b546001600160a01b031633145b61130d5760405162461bcd60e51b815260040161079a90612ff4565b600b54600160a01b900460ff1615156001146113565760405162461bcd60e51b8152602060048201526008602482015267191a5cd8589b195960c21b604482015260640161079a565b61135f81611ed1565b50565b600a546001600160a01b03163314806113855750600b546001600160a01b031633145b6113a15760405162461bcd60e51b815260040161079a90612ff4565b600b805460ff60a01b19169055565b6113ba3383611a54565b6113d65760405162461bcd60e51b815260040161079a90612f25565b6113e284848484611faa565b50505050565b60606113f38261198b565b6114575760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161079a565b6000611461611fdd565b9050600081511161148157604051806020016040528060008152506114ac565b8061148b84611fec565b60405160200161149c92919061301a565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314806114d65750600b546001600160a01b031633145b6114f25760405162461bcd60e51b815260040161079a90612ff4565b6001600160a01b0381166115395760405162461bcd60e51b815260206004820152600e60248201526d0c6c2dce840e6cae840e8de4060f60931b604482015260640161079a565b6001600160a01b0381166000908152600c60205260409020541561158f5760405162461bcd60e51b815260206004820152600d60248201526c185b1c9958591e481859191959609a1b604482015260640161079a565b6001600160a01b0381166000818152600c602090815260409182902042905581519283526001908301527fe2e2dad866561a9926816384b10b4073c5e0e101b6c911e4936d22438bd63e9b91016111c0565b6115ea336118fe565b61162e5760405162461bcd60e51b81526020600482015260156024820152743ab730baba3437b934bd32b21027a127903ab9b2b960591b604482015260640161079a565b60005b63ffffffff81168211156108d057600083838363ffffffff1681811061165957611659612e20565b90506040020180360381019061166f9190613049565b905061167e816020015161198b565b156116ba5760405162461bcd60e51b815260206004820152600c60248201526b746f6b656e2065786973747360a01b604482015260640161079a565b7f00000000000000000000000000000000000000000000000000000000000000006116e460085490565b6116ef906001612ee9565b111561172f5760405162461bcd60e51b815260206004820152600f60248201526e657863656564656420737570706c7960881b604482015260640161079a565b61174181600001518260200151611a3a565b508061174c81612f01565b915050611631565b600f546000906001600160a01b03166117a05760405162461bcd60e51b815260206004820152600e60248201526d07265676973747279203d203078360941b604482015260640161079a565b600f546040516319f5a9f760e21b81526001600160a01b0384811660048301528581166024830152909116906367d6a7dc9060440160206040518083038186803b1580156117ed57600080fd5b505afa158015611801573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061182591906130a0565b1515600114156118375750600161069a565b506001600160a01b0382811660009081526005602090815260408083209385168352929052205460ff1661069a565b600a546001600160a01b031633146118905760405162461bcd60e51b815260040161079a90612fbf565b6001600160a01b0381166118f55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161079a565b61135f81611d58565b6001600160a01b0381166000908152600c6020526040812054806119255750600092915050565b6201518061193382426130bd565b119392505050565b60006001600160e01b031982166380ac58cd60e01b148061196c57506001600160e01b03198216635b5e139f60e01b145b8061069a57506301ffc9a760e01b6001600160e01b031983161461069a565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906119dd82610f73565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806000611a2585856120ea565b91509150611a3281612157565b509392505050565b610f6f828260405180602001604052806000815250612312565b6000611a5f8261198b565b611ac05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161079a565b6000611acb83610f73565b9050806001600160a01b0316846001600160a01b03161480611af25750611af28185611754565b80611b165750836001600160a01b0316611b0b84610732565b6001600160a01b0316145b949350505050565b826001600160a01b0316611b3182610f73565b6001600160a01b031614611b955760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161079a565b6001600160a01b038216611bf75760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161079a565b611c02838383612345565b611c0d6000826119a8565b6001600160a01b0383166000908152600360205260408120805460019290611c369084906130bd565b90915550506001600160a01b0382166000908152600360205260408120805460019290611c64908490612ee9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600d5460ff16611d0e5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161079a565b600d805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600d5460ff1615611dcd5760405162461bcd60e51b815260040161079a90612df6565b600d805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611d3b3390565b816001600160a01b0316836001600160a01b03161415611e645760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161079a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600a546001600160a01b03163314611efb5760405162461bcd60e51b815260040161079a90612fbf565b6001600160a01b038116611f3b5760405162461bcd60e51b81526020600482015260076024820152666164647228302960c81b604482015260640161079a565b6001611f4a62015180426130bd565b611f5491906130bd565b6001600160a01b0382166000818152600c60209081526040918290209390935580519182526001928201929092527fe2e2dad866561a9926816384b10b4073c5e0e101b6c911e4936d22438bd63e9b91016111c0565b611fb5848484611b1e565b611fc1848484846123fd565b6113e25760405162461bcd60e51b815260040161079a906130d4565b6060600e80546106af90612dbb565b6060816120105750506040805180820190915260018152600360fc1b602082015290565b8160005b811561203a578061202481613126565b91506120339050600a83612fab565b9150612014565b60008167ffffffffffffffff81111561205557612055612bc8565b6040519080825280601f01601f19166020018201604052801561207f576020820181803683370190505b5090505b8415611b16576120946001836130bd565b91506120a1600a86613141565b6120ac906030612ee9565b60f81b8183815181106120c1576120c1612e20565b60200101906001600160f81b031916908160001a9053506120e3600a86612fab565b9450612083565b6000808251604114156121215760208301516040840151606085015160001a6121158782858561250a565b94509450505050610c22565b82516040141561214b57602083015160408401516121408683836125f7565b935093505050610c22565b50600090506002610c22565b600081600481111561216b5761216b613155565b14156121745750565b600181600481111561218857612188613155565b14156121d65760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161079a565b60028160048111156121ea576121ea613155565b14156122385760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161079a565b600381600481111561224c5761224c613155565b14156122a55760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161079a565b60048160048111156122b9576122b9613155565b141561135f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161079a565b61231c8383612630565b61232960008484846123fd565b6108d05760405162461bcd60e51b815260040161079a906130d4565b6001600160a01b0383166123a05761239b81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6123c3565b816001600160a01b0316836001600160a01b0316146123c3576123c3838261276f565b6001600160a01b0382166123da576108d08161280c565b826001600160a01b0316826001600160a01b0316146108d0576108d082826128bb565b60006001600160a01b0384163b156124ff57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061244190339089908890889060040161316b565b602060405180830381600087803b15801561245b57600080fd5b505af192505050801561248b575060408051601f3d908101601f19168201909252612488918101906131a8565b60015b6124e5573d8080156124b9576040519150601f19603f3d011682016040523d82523d6000602084013e6124be565b606091505b5080516124dd5760405162461bcd60e51b815260040161079a906130d4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b16565b506001949350505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561254157506000905060036125ee565b8460ff16601b1415801561255957508460ff16601c14155b1561256a57506000905060046125ee565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156125be573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166125e7576000600192509250506125ee565b9150600090505b94509492505050565b6000806001600160ff1b0383168161261460ff86901c601b612ee9565b90506126228782888561250a565b935093505050935093915050565b6001600160a01b0382166126865760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161079a565b61268f8161198b565b156126dc5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161079a565b6126e860008383612345565b6001600160a01b0382166000908152600360205260408120805460019290612711908490612ee9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600161277c84611078565b61278691906130bd565b6000838152600760205260409020549091508082146127d9576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061281e906001906130bd565b6000838152600960205260408120546008805493945090928490811061284657612846612e20565b90600052602060002001549050806008838154811061286757612867612e20565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061289f5761289f6131c5565b6001900381819060005260206000200160009055905550505050565b60006128c683611078565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461290b90612dbb565b90600052602060002090601f01602090048101928261292d5760008555612973565b82601f1061294657805160ff1916838001178555612973565b82800160010185558215612973579182015b82811115612973578251825591602001919060010190612958565b5061297f929150612983565b5090565b5b8082111561297f5760008155600101612984565b6001600160e01b03198116811461135f57600080fd5b6000602082840312156129c057600080fd5b81356114ac81612998565b60005b838110156129e65781810151838201526020016129ce565b838111156113e25750506000910152565b60008151808452612a0f8160208601602086016129cb565b601f01601f19169290920160200192915050565b6020815260006114ac60208301846129f7565b600060208284031215612a4857600080fd5b5035919050565b80356001600160a01b0381168114612a6657600080fd5b919050565b60008060408385031215612a7e57600080fd5b612a8783612a4f565b946020939093013593505050565b600060208284031215612aa757600080fd5b6114ac82612a4f565b60008060208385031215612ac357600080fd5b823567ffffffffffffffff80821115612adb57600080fd5b818501915085601f830112612aef57600080fd5b813581811115612afe57600080fd5b8660208260051b8501011115612b1357600080fd5b60209290920196919550909350505050565b600080600060608486031215612b3a57600080fd5b612b4384612a4f565b9250612b5160208501612a4f565b9150604084013590509250925092565b60008060408385031215612b7457600080fd5b50508035926020909101359150565b801515811461135f57600080fd5b60008060408385031215612ba457600080fd5b612bad83612a4f565b91506020830135612bbd81612b83565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612bf957612bf9612bc8565b604051601f8501601f19908116603f01168101908282118183101715612c2157612c21612bc8565b81604052809350858152868686011115612c3a57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612c6657600080fd5b813567ffffffffffffffff811115612c7d57600080fd5b8201601f81018413612c8e57600080fd5b611b1684823560208401612bde565b600082601f830112612cae57600080fd5b6114ac83833560208501612bde565b60008060008060808587031215612cd357600080fd5b612cdc85612a4f565b9350612cea60208601612a4f565b925060408501359150606085013567ffffffffffffffff811115612d0d57600080fd5b612d1987828801612c9d565b91505092959194509250565b60008060208385031215612d3857600080fd5b823567ffffffffffffffff80821115612d5057600080fd5b818501915085601f830112612d6457600080fd5b813581811115612d7357600080fd5b8660208260061b8501011115612b1357600080fd5b60008060408385031215612d9b57600080fd5b612da483612a4f565b9150612db260208401612a4f565b90509250929050565b600181811c90821680612dcf57607f821691505b60208210811415612df057634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60008235605e19833603018112612e4c57600080fd5b9190910192915050565b600060608236031215612e6857600080fd5b6040516060810167ffffffffffffffff8282108183111715612e8c57612e8c612bc8565b81604052612e9985612a4f565b83526020850135915080821115612eaf57600080fd5b50612ebc36828601612c9d565b602083015250604092830135928101929092525090565b634e487b7160e01b600052601160045260246000fd5b60008219821115612efc57612efc612ed3565b500190565b600063ffffffff80831681811415612f1b57612f1b612ed3565b6001019392505050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000816000190483118215151615612f9057612f90612ed3565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612fba57612fba612f95565b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600c908201526b3737ba1037b137a0b236b4b760a11b604082015260600190565b6000835161302c8184602088016129cb565b8351908301906130408183602088016129cb565b01949350505050565b60006040828403121561305b57600080fd5b6040516040810181811067ffffffffffffffff8211171561307e5761307e612bc8565b60405261308a83612a4f565b8152602083013560208201528091505092915050565b6000602082840312156130b257600080fd5b81516114ac81612b83565b6000828210156130cf576130cf612ed3565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600060001982141561313a5761313a612ed3565b5060010190565b60008261315057613150612f95565b500690565b634e487b7160e01b600052602160045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061319e908301846129f7565b9695505050505050565b6000602082840312156131ba57600080fd5b81516114ac81612998565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220e8db7acc7d37ec003c507eef401ccfcc38902e99dcb6bdc4bed9dcfa4c0af33364736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000085508ce7885b65a57ee070460055f3e4b412051e00000000000000000000000000000000000000000000000000000000000001f500000000000000000000000036bf87584663cde4cd96966177bb6891c52608df00000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000054348414f5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054348414f530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011697066733a2f2f6e6f747365747965742f000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102955760003560e01c806370a0823111610167578063b39ba60a116100ce578063d5edf45b11610087578063d5edf45b146105fb578063d7dd397d1461060f578063e985e9c514610622578063f2fde38b14610635578063fb12a87614610648578063ffa1ad741461065b57600080fd5b8063b39ba60a14610588578063b88d4fde1461059b578063bb0aa8ef146105ae578063c87b56dd146105c2578063c95ab462146105d5578063cd161d2e146105e857600080fd5b80638ce87646116101205780638ce876461461052e5780638da5cb5b1461054157806395d89b4114610552578063a22cb4651461055a578063a47a2e771461056d578063a790c0e21461058057600080fd5b806370a08231146104b6578063715018a6146104c95780637ff9f614146104d15780638456cb59146104e4578063875d364e146104ec5780638a71bb2d146104f457600080fd5b80632a55205a1161020b5780634f6ccce7116101c45780634f6ccce71461045257806355f804b3146104655780635b7633d0146104785780635c975abb146104905780636352211e1461049b5780636c0360eb146104ae57600080fd5b80632a55205a146103b85780632f745c59146103ea5780633ad0288e146103fd5780633ef110f1146104105780633f4ba83a1461043757806342842e0e1461043f57600080fd5b80630c9999291161025d5780630c9999291461033e57806313e2263e1461035657806318160ddd1461036a5780631ad32562146103725780631dd8354c1461039257806323b872dd146103a557600080fd5b806301ffc9a71461029a57806302d05d3f146102c257806306fdde0314610301578063081812fc14610316578063095ea7b314610329575b600080fd5b6102ad6102a83660046129ae565b610675565b60405190151581526020015b60405180910390f35b6102e97f00000000000000000000000036bf87584663cde4cd96966177bb6891c52608df81565b6040516001600160a01b0390911681526020016102b9565b6103096106a0565b6040516102b99190612a23565b6102e9610324366004612a36565b610732565b61033c610337366004612a6b565b6107bf565b005b6103486201518081565b6040519081526020016102b9565b600d546102ad90600160a81b900460ff1681565b600854610348565b610348610380366004612a95565b600c6020526000908152604090205481565b61033c6103a0366004612ab0565b6108d5565b61033c6103b3366004612b25565b610b8d565b6103cb6103c6366004612b61565b610bbe565b604080516001600160a01b0390931683526020830191909152016102b9565b6103486103f8366004612a6b565b610c29565b61033c61040b366004612b91565b610cbf565b6103487f00000000000000000000000000000000000000000000000000000000000001f581565b61033c610de5565b61033c61044d366004612b25565b610e19565b610348610460366004612a36565b610e34565b61033c610473366004612c54565b610ec7565b600d546102e99061010090046001600160a01b031681565b600d5460ff166102ad565b6102e96104a9366004612a36565b610f73565b610309610fea565b6103486104c4366004612a95565b611078565b61033c6110ff565b61033c6104df366004612a95565b611133565b61033c6111cb565b61033c6111fd565b61051b7f00000000000000000000000000000000000000000000000000000000000001f481565b60405161ffff90911681526020016102b9565b61033c61053c366004612a95565b61123c565b600a546001600160a01b03166102e9565b6103096112b4565b61033c610568366004612b91565b6112c3565b61033c61057b366004612a95565b6112ce565b61033c611362565b600f546102e9906001600160a01b031681565b61033c6105a9366004612cbd565b6113b0565b600d546102ad90600160b01b900460ff1681565b6103096105d0366004612a36565b6113e8565b600b546102e9906001600160a01b031681565b61033c6105f6366004612a95565b6114b3565b600b546102ad90600160a01b900460ff1681565b61033c61061d366004612d25565b6115e1565b6102ad610630366004612d88565b611754565b61033c610643366004612a95565b611866565b6102ad610656366004612a95565b6118fe565b610663600181565b60405160ff90911681526020016102b9565b60006001600160e01b0319821663780e9d6360e01b148061069a575061069a8261193b565b92915050565b6060600080546106af90612dbb565b80601f01602080910402602001604051908101604052809291908181526020018280546106db90612dbb565b80156107285780601f106106fd57610100808354040283529160200191610728565b820191906000526020600020905b81548152906001019060200180831161070b57829003601f168201915b5050505050905090565b600061073d8261198b565b6107a35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107ca82610f73565b9050806001600160a01b0316836001600160a01b031614156108385760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161079a565b336001600160a01b038216148061085457506108548133611754565b6108c65760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161079a565b6108d083836119a8565b505050565b600d5460ff16156108f85760405162461bcd60e51b815260040161079a90612df6565b600d54600160a81b900460ff1615156001146109495760405162461bcd60e51b815260206004820152601060248201526f1b5a5b9d1a5b99c8191a5cd8589b195960821b604482015260640161079a565b60005b63ffffffff81168211156108d057600083838363ffffffff1681811061097457610974612e20565b90506020028101906109869190612e36565b61098f90612e56565b905061099e816040015161198b565b156109da5760405162461bcd60e51b815260206004820152600c60248201526b746f6b656e2065786973747360a01b604482015260640161079a565b80516001600160a01b03163314610a215760405162461bcd60e51b815260206004820152600b60248201526a37bbb732b91032b93937b960a91b604482015260640161079a565b7f00000000000000000000000000000000000000000000000000000000000001f5610a4b60085490565b610a56906001612ee9565b1115610a965760405162461bcd60e51b815260206004820152600f60248201526e657863656564656420737570706c7960881b604482015260640161079a565b60408051606080820183528383015180835284516001600160a01b03908116602080860191825230868801908152875191820194909452905182169581019590955290511690830152906000906080016040516020818303038152906040528051906020012090506000610b17846020015183611a1690919063ffffffff16565b600d549091506001600160a01b038083166101009092041614610b685760405162461bcd60e51b815260206004820152600960248201526839b4b39032b93937b960b91b604482015260640161079a565b610b76338560400151611a3a565b505050508080610b8590612f01565b91505061094c565b610b973382611a54565b610bb35760405162461bcd60e51b815260040161079a90612f25565b6108d0838383611b1e565b6000807f00000000000000000000000036bf87584663cde4cd96966177bb6891c52608df612710610c1361ffff7f00000000000000000000000000000000000000000000000000000000000001f41686612f76565b610c1d9190612fab565b915091505b9250929050565b6000610c3483611078565b8210610c965760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161079a565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600d5460ff1615610ce25760405162461bcd60e51b815260040161079a90612df6565b610ceb336118fe565b610d2f5760405162461bcd60e51b81526020600482015260156024820152743ab730baba3437b934bd32b21027a127903ab9b2b960591b604482015260640161079a565b6001600160a01b038216610d745760405162461bcd60e51b815260206004820152600c60248201526b63616e74206265207a65726f60a01b604482015260640161079a565b600d8054610100600160b01b0319166101006001600160a01b03858116820260ff60a81b191692909217600160a81b85151502179283905560405192041681527f892cc3ddabcf4697be271eb3df1f098bec1713e58e7287c001532df08b5ebaab9060200160405180910390a15050565b600a546001600160a01b03163314610e0f5760405162461bcd60e51b815260040161079a90612fbf565b610e17611cc5565b565b6108d0838383604051806020016040528060008152506113b0565b6000610e3f60085490565b8210610ea25760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161079a565b60088281548110610eb557610eb5612e20565b90600052602060002001549050919050565b600a546001600160a01b03163314610ef15760405162461bcd60e51b815260040161079a90612fbf565b600d5460ff1615610f145760405162461bcd60e51b815260040161079a90612df6565b600d54600160b01b900460ff1615610f5c5760405162461bcd60e51b815260206004820152600b60248201526a63616e74206368616e676560a81b604482015260640161079a565b8051610f6f90600e9060208401906128ff565b5050565b6000818152600260205260408120546001600160a01b03168061069a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161079a565b600e8054610ff790612dbb565b80601f016020809104026020016040519081016040528092919081815260200182805461102390612dbb565b80156110705780601f1061104557610100808354040283529160200191611070565b820191906000526020600020905b81548152906001019060200180831161105357829003601f168201915b505050505081565b60006001600160a01b0382166110e35760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161079a565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146111295760405162461bcd60e51b815260040161079a90612fbf565b610e176000611d58565b600a546001600160a01b03163314806111565750600b546001600160a01b031633145b6111725760405162461bcd60e51b815260040161079a90612ff4565b6001600160a01b0381166000818152600c602090815260408083208390558051938452908301919091527fe2e2dad866561a9926816384b10b4073c5e0e101b6c911e4936d22438bd63e9b91015b60405180910390a150565b600a546001600160a01b031633146111f55760405162461bcd60e51b815260040161079a90612fbf565b610e17611daa565b600a546001600160a01b031633146112275760405162461bcd60e51b815260040161079a90612fbf565b600d805460ff60b01b1916600160b01b179055565b600a546001600160a01b031633146112665760405162461bcd60e51b815260040161079a90612fbf565b600b80546001600160a01b0319166001600160a01b0383169081179091556040519081527ffbd1c2e6a1f767e08b9689ca3ce8ca1e7b60fbb71734bfc34f39f5bcb846cf30906020016111c0565b6060600180546106af90612dbb565b610f6f338383611e02565b600a546001600160a01b03163314806112f15750600b546001600160a01b031633145b61130d5760405162461bcd60e51b815260040161079a90612ff4565b600b54600160a01b900460ff1615156001146113565760405162461bcd60e51b8152602060048201526008602482015267191a5cd8589b195960c21b604482015260640161079a565b61135f81611ed1565b50565b600a546001600160a01b03163314806113855750600b546001600160a01b031633145b6113a15760405162461bcd60e51b815260040161079a90612ff4565b600b805460ff60a01b19169055565b6113ba3383611a54565b6113d65760405162461bcd60e51b815260040161079a90612f25565b6113e284848484611faa565b50505050565b60606113f38261198b565b6114575760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161079a565b6000611461611fdd565b9050600081511161148157604051806020016040528060008152506114ac565b8061148b84611fec565b60405160200161149c92919061301a565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314806114d65750600b546001600160a01b031633145b6114f25760405162461bcd60e51b815260040161079a90612ff4565b6001600160a01b0381166115395760405162461bcd60e51b815260206004820152600e60248201526d0c6c2dce840e6cae840e8de4060f60931b604482015260640161079a565b6001600160a01b0381166000908152600c60205260409020541561158f5760405162461bcd60e51b815260206004820152600d60248201526c185b1c9958591e481859191959609a1b604482015260640161079a565b6001600160a01b0381166000818152600c602090815260409182902042905581519283526001908301527fe2e2dad866561a9926816384b10b4073c5e0e101b6c911e4936d22438bd63e9b91016111c0565b6115ea336118fe565b61162e5760405162461bcd60e51b81526020600482015260156024820152743ab730baba3437b934bd32b21027a127903ab9b2b960591b604482015260640161079a565b60005b63ffffffff81168211156108d057600083838363ffffffff1681811061165957611659612e20565b90506040020180360381019061166f9190613049565b905061167e816020015161198b565b156116ba5760405162461bcd60e51b815260206004820152600c60248201526b746f6b656e2065786973747360a01b604482015260640161079a565b7f00000000000000000000000000000000000000000000000000000000000001f56116e460085490565b6116ef906001612ee9565b111561172f5760405162461bcd60e51b815260206004820152600f60248201526e657863656564656420737570706c7960881b604482015260640161079a565b61174181600001518260200151611a3a565b508061174c81612f01565b915050611631565b600f546000906001600160a01b03166117a05760405162461bcd60e51b815260206004820152600e60248201526d07265676973747279203d203078360941b604482015260640161079a565b600f546040516319f5a9f760e21b81526001600160a01b0384811660048301528581166024830152909116906367d6a7dc9060440160206040518083038186803b1580156117ed57600080fd5b505afa158015611801573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061182591906130a0565b1515600114156118375750600161069a565b506001600160a01b0382811660009081526005602090815260408083209385168352929052205460ff1661069a565b600a546001600160a01b031633146118905760405162461bcd60e51b815260040161079a90612fbf565b6001600160a01b0381166118f55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161079a565b61135f81611d58565b6001600160a01b0381166000908152600c6020526040812054806119255750600092915050565b6201518061193382426130bd565b119392505050565b60006001600160e01b031982166380ac58cd60e01b148061196c57506001600160e01b03198216635b5e139f60e01b145b8061069a57506301ffc9a760e01b6001600160e01b031983161461069a565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906119dd82610f73565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806000611a2585856120ea565b91509150611a3281612157565b509392505050565b610f6f828260405180602001604052806000815250612312565b6000611a5f8261198b565b611ac05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161079a565b6000611acb83610f73565b9050806001600160a01b0316846001600160a01b03161480611af25750611af28185611754565b80611b165750836001600160a01b0316611b0b84610732565b6001600160a01b0316145b949350505050565b826001600160a01b0316611b3182610f73565b6001600160a01b031614611b955760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161079a565b6001600160a01b038216611bf75760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161079a565b611c02838383612345565b611c0d6000826119a8565b6001600160a01b0383166000908152600360205260408120805460019290611c369084906130bd565b90915550506001600160a01b0382166000908152600360205260408120805460019290611c64908490612ee9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600d5460ff16611d0e5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161079a565b600d805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600d5460ff1615611dcd5760405162461bcd60e51b815260040161079a90612df6565b600d805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611d3b3390565b816001600160a01b0316836001600160a01b03161415611e645760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161079a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600a546001600160a01b03163314611efb5760405162461bcd60e51b815260040161079a90612fbf565b6001600160a01b038116611f3b5760405162461bcd60e51b81526020600482015260076024820152666164647228302960c81b604482015260640161079a565b6001611f4a62015180426130bd565b611f5491906130bd565b6001600160a01b0382166000818152600c60209081526040918290209390935580519182526001928201929092527fe2e2dad866561a9926816384b10b4073c5e0e101b6c911e4936d22438bd63e9b91016111c0565b611fb5848484611b1e565b611fc1848484846123fd565b6113e25760405162461bcd60e51b815260040161079a906130d4565b6060600e80546106af90612dbb565b6060816120105750506040805180820190915260018152600360fc1b602082015290565b8160005b811561203a578061202481613126565b91506120339050600a83612fab565b9150612014565b60008167ffffffffffffffff81111561205557612055612bc8565b6040519080825280601f01601f19166020018201604052801561207f576020820181803683370190505b5090505b8415611b16576120946001836130bd565b91506120a1600a86613141565b6120ac906030612ee9565b60f81b8183815181106120c1576120c1612e20565b60200101906001600160f81b031916908160001a9053506120e3600a86612fab565b9450612083565b6000808251604114156121215760208301516040840151606085015160001a6121158782858561250a565b94509450505050610c22565b82516040141561214b57602083015160408401516121408683836125f7565b935093505050610c22565b50600090506002610c22565b600081600481111561216b5761216b613155565b14156121745750565b600181600481111561218857612188613155565b14156121d65760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161079a565b60028160048111156121ea576121ea613155565b14156122385760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161079a565b600381600481111561224c5761224c613155565b14156122a55760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161079a565b60048160048111156122b9576122b9613155565b141561135f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161079a565b61231c8383612630565b61232960008484846123fd565b6108d05760405162461bcd60e51b815260040161079a906130d4565b6001600160a01b0383166123a05761239b81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6123c3565b816001600160a01b0316836001600160a01b0316146123c3576123c3838261276f565b6001600160a01b0382166123da576108d08161280c565b826001600160a01b0316826001600160a01b0316146108d0576108d082826128bb565b60006001600160a01b0384163b156124ff57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061244190339089908890889060040161316b565b602060405180830381600087803b15801561245b57600080fd5b505af192505050801561248b575060408051601f3d908101601f19168201909252612488918101906131a8565b60015b6124e5573d8080156124b9576040519150601f19603f3d011682016040523d82523d6000602084013e6124be565b606091505b5080516124dd5760405162461bcd60e51b815260040161079a906130d4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b16565b506001949350505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561254157506000905060036125ee565b8460ff16601b1415801561255957508460ff16601c14155b1561256a57506000905060046125ee565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156125be573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166125e7576000600192509250506125ee565b9150600090505b94509492505050565b6000806001600160ff1b0383168161261460ff86901c601b612ee9565b90506126228782888561250a565b935093505050935093915050565b6001600160a01b0382166126865760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161079a565b61268f8161198b565b156126dc5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161079a565b6126e860008383612345565b6001600160a01b0382166000908152600360205260408120805460019290612711908490612ee9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600161277c84611078565b61278691906130bd565b6000838152600760205260409020549091508082146127d9576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061281e906001906130bd565b6000838152600960205260408120546008805493945090928490811061284657612846612e20565b90600052602060002001549050806008838154811061286757612867612e20565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061289f5761289f6131c5565b6001900381819060005260206000200160009055905550505050565b60006128c683611078565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461290b90612dbb565b90600052602060002090601f01602090048101928261292d5760008555612973565b82601f1061294657805160ff1916838001178555612973565b82800160010185558215612973579182015b82811115612973578251825591602001919060010190612958565b5061297f929150612983565b5090565b5b8082111561297f5760008155600101612984565b6001600160e01b03198116811461135f57600080fd5b6000602082840312156129c057600080fd5b81356114ac81612998565b60005b838110156129e65781810151838201526020016129ce565b838111156113e25750506000910152565b60008151808452612a0f8160208601602086016129cb565b601f01601f19169290920160200192915050565b6020815260006114ac60208301846129f7565b600060208284031215612a4857600080fd5b5035919050565b80356001600160a01b0381168114612a6657600080fd5b919050565b60008060408385031215612a7e57600080fd5b612a8783612a4f565b946020939093013593505050565b600060208284031215612aa757600080fd5b6114ac82612a4f565b60008060208385031215612ac357600080fd5b823567ffffffffffffffff80821115612adb57600080fd5b818501915085601f830112612aef57600080fd5b813581811115612afe57600080fd5b8660208260051b8501011115612b1357600080fd5b60209290920196919550909350505050565b600080600060608486031215612b3a57600080fd5b612b4384612a4f565b9250612b5160208501612a4f565b9150604084013590509250925092565b60008060408385031215612b7457600080fd5b50508035926020909101359150565b801515811461135f57600080fd5b60008060408385031215612ba457600080fd5b612bad83612a4f565b91506020830135612bbd81612b83565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612bf957612bf9612bc8565b604051601f8501601f19908116603f01168101908282118183101715612c2157612c21612bc8565b81604052809350858152868686011115612c3a57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612c6657600080fd5b813567ffffffffffffffff811115612c7d57600080fd5b8201601f81018413612c8e57600080fd5b611b1684823560208401612bde565b600082601f830112612cae57600080fd5b6114ac83833560208501612bde565b60008060008060808587031215612cd357600080fd5b612cdc85612a4f565b9350612cea60208601612a4f565b925060408501359150606085013567ffffffffffffffff811115612d0d57600080fd5b612d1987828801612c9d565b91505092959194509250565b60008060208385031215612d3857600080fd5b823567ffffffffffffffff80821115612d5057600080fd5b818501915085601f830112612d6457600080fd5b813581811115612d7357600080fd5b8660208260061b8501011115612b1357600080fd5b60008060408385031215612d9b57600080fd5b612da483612a4f565b9150612db260208401612a4f565b90509250929050565b600181811c90821680612dcf57607f821691505b60208210811415612df057634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60008235605e19833603018112612e4c57600080fd5b9190910192915050565b600060608236031215612e6857600080fd5b6040516060810167ffffffffffffffff8282108183111715612e8c57612e8c612bc8565b81604052612e9985612a4f565b83526020850135915080821115612eaf57600080fd5b50612ebc36828601612c9d565b602083015250604092830135928101929092525090565b634e487b7160e01b600052601160045260246000fd5b60008219821115612efc57612efc612ed3565b500190565b600063ffffffff80831681811415612f1b57612f1b612ed3565b6001019392505050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000816000190483118215151615612f9057612f90612ed3565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612fba57612fba612f95565b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600c908201526b3737ba1037b137a0b236b4b760a11b604082015260600190565b6000835161302c8184602088016129cb565b8351908301906130408183602088016129cb565b01949350505050565b60006040828403121561305b57600080fd5b6040516040810181811067ffffffffffffffff8211171561307e5761307e612bc8565b60405261308a83612a4f565b8152602083013560208201528091505092915050565b6000602082840312156130b257600080fd5b81516114ac81612b83565b6000828210156130cf576130cf612ed3565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600060001982141561313a5761313a612ed3565b5060010190565b60008261315057613150612f95565b500690565b634e487b7160e01b600052602160045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061319e908301846129f7565b9695505050505050565b6000602082840312156131ba57600080fd5b81516114ac81612998565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220e8db7acc7d37ec003c507eef401ccfcc38902e99dcb6bdc4bed9dcfa4c0af33364736f6c63430008090033

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

00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000085508ce7885b65a57ee070460055f3e4b412051e00000000000000000000000000000000000000000000000000000000000001f500000000000000000000000036bf87584663cde4cd96966177bb6891c52608df00000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000054348414f5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054348414f530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011697066733a2f2f6e6f747365747965742f000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _tokenName (string): CHAOS
Arg [1] : _tokenSymbol (string): CHAOS
Arg [2] : _crsAddress (address): 0x85508Ce7885B65a57Ee070460055f3e4b412051e
Arg [3] : _totalSupply (uint256): 501
Arg [4] : _creator (address): 0x36Bf87584663Cde4Cd96966177Bb6891C52608DF
Arg [5] : _royaltyPercentage (uint16): 500
Arg [6] : _initialBaseURI (string): ipfs://notsetyet/

-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 00000000000000000000000085508ce7885b65a57ee070460055f3e4b412051e
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001f5
Arg [4] : 00000000000000000000000036bf87584663cde4cd96966177bb6891c52608df
Arg [5] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [8] : 4348414f53000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [10] : 4348414f53000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [12] : 697066733a2f2f6e6f747365747965742f000000000000000000000000000000


Deployed Bytecode Sourcemap

62052:6714:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55829:224;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;55829:224:0;;;;;;;;62243:32;;;;;;;;-1:-1:-1;;;;;756:32:1;;;738:51;;726:2;711:18;62243:32:0;592:203:1;42648:100:0;;;:::i;:::-;;;;;;;:::i;44208:221::-;;;;;;:::i;:::-;;:::i;43731:411::-;;;;;;:::i;:::-;;:::i;:::-;;16953:53;;17000:6;16953:53;;;;;2319:25:1;;;2307:2;2292:18;16953:53:0;2173:177:1;62317:33:0;;;;;-1:-1:-1;;;62317:33:0;;;;;;56469:113;56557:10;:17;56469:113;;17106:48;;;;;;:::i;:::-;;;;;;;;;;;;;;65948:987;;;;;;:::i;:::-;;:::i;44958:339::-;;;;;;:::i;:::-;;:::i;68156:199::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3985:32:1;;;3967:51;;4049:2;4034:18;;4027:34;;;;3940:18;68156:199:0;3793:274:1;56137:256:0;;;;;;:::i;:::-;;:::i;63878:344::-;;;;;;:::i;:::-;;:::i;62453:41::-;;;;;68434:67;;;:::i;45368:185::-;;;;;;:::i;:::-;;:::i;56659:233::-;;;;;;:::i;:::-;;:::i;65534:175::-;;;;;;:::i;:::-;;:::i;62282:28::-;;;;;;;;-1:-1:-1;;;;;62282:28:0;;;20837:86;20908:7;;;;20837:86;;42342:239;;;;;;:::i;:::-;;:::i;62501:21::-;;;:::i;42072:208::-;;;;;;:::i;:::-;;:::i;16007:103::-;;;:::i;18098:175::-;;;;;;:::i;:::-;;:::i;68363:63::-;;;:::i;65717:81::-;;;:::i;62195:41::-;;;;;;;;5914:6:1;5902:19;;;5884:38;;5872:2;5857:18;62195:41:0;5740:188:1;17460:148:0;;;;;;:::i;:::-;;:::i;15356:87::-;15429:6;;-1:-1:-1;;;;;15429:6:0;15356:87;;42817:104;;;:::i;44501:155::-;;;;;;:::i;:::-;;:::i;18787:195::-;;;;;;:::i;:::-;;:::i;18990:98::-;;;:::i;62529:60::-;;;;;-1:-1:-1;;;;;62529:60:0;;;45624:328;;;;;;:::i;:::-;;:::i;62423:23::-;;;;;-1:-1:-1;;;62423:23:0;;;;;;42992:334;;;;;;:::i;:::-;;:::i;16923:23::-;;;;;-1:-1:-1;;;;;16923:23:0;;;17716:312;;;;;;:::i;:::-;;:::i;17013:39::-;;;;;-1:-1:-1;;;17013:39:0;;;;;;66943:426;;;;;;:::i;:::-;;:::i;67580:345::-;;;;;;:::i;:::-;;:::i;16265:201::-;;;;;;:::i;:::-;;:::i;19198:277::-;;;;;;:::i;:::-;;:::i;62155:33::-;;62187:1;62155:33;;;;;8041:4:1;8029:17;;;8011:36;;7999:2;7984:18;62155:33:0;7869:184:1;55829:224:0;55931:4;-1:-1:-1;;;;;;55955:50:0;;-1:-1:-1;;;55955:50:0;;:90;;;56009:36;56033:11;56009:23;:36::i;:::-;55948:97;55829:224;-1:-1:-1;;55829:224:0:o;42648:100::-;42702:13;42735:5;42728:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42648:100;:::o;44208:221::-;44284:7;44312:16;44320:7;44312;:16::i;:::-;44304:73;;;;-1:-1:-1;;;44304:73:0;;8645:2:1;44304:73:0;;;8627:21:1;8684:2;8664:18;;;8657:30;8723:34;8703:18;;;8696:62;-1:-1:-1;;;8774:18:1;;;8767:42;8826:19;;44304:73:0;;;;;;;;;-1:-1:-1;44397:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;44397:24:0;;44208:221::o;43731:411::-;43812:13;43828:23;43843:7;43828:14;:23::i;:::-;43812:39;;43876:5;-1:-1:-1;;;;;43870:11:0;:2;-1:-1:-1;;;;;43870:11:0;;;43862:57;;;;-1:-1:-1;;;43862:57:0;;9058:2:1;43862:57:0;;;9040:21:1;9097:2;9077:18;;;9070:30;9136:34;9116:18;;;9109:62;-1:-1:-1;;;9187:18:1;;;9180:31;9228:19;;43862:57:0;8856:397:1;43862:57:0;14160:10;-1:-1:-1;;;;;43954:21:0;;;;:62;;-1:-1:-1;43979:37:0;43996:5;14160:10;67580:345;:::i;43979:37::-;43932:168;;;;-1:-1:-1;;;43932:168:0;;9460:2:1;43932:168:0;;;9442:21:1;9499:2;9479:18;;;9472:30;9538:34;9518:18;;;9511:62;9609:26;9589:18;;;9582:54;9653:19;;43932:168:0;9258:420:1;43932:168:0;44113:21;44122:2;44126:7;44113:8;:21::i;:::-;43801:341;43731:411;;:::o;65948:987::-;20908:7;;;;21162:9;21154:38;;;;-1:-1:-1;;;21154:38:0;;;;;;;:::i;:::-;66053:21:::1;::::0;-1:-1:-1;;;66053:21:0;::::1;;;:29;;66078:4;66053:29;66045:58;;;::::0;-1:-1:-1;;;66045:58:0;;10230:2:1;66045:58:0::1;::::0;::::1;10212:21:1::0;10269:2;10249:18;;;10242:30;-1:-1:-1;;;10288:18:1;;;10281:46;10344:18;;66045:58:0::1;10028:340:1::0;66045:58:0::1;66119:8;66114:814;66131:19;::::0;::::1;::::0;-1:-1:-1;66114:814:0::1;;;66172:36;66211:8;;66220:1;66211:11;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;66172:50;;;:::i;:::-;;;66304:24;66312:7;:15;;;66304:7;:24::i;:::-;:33;66296:58;;;::::0;-1:-1:-1;;;66296:58:0;;11817:2:1;66296:58:0::1;::::0;::::1;11799:21:1::0;11856:2;11836:18;;;11829:30;-1:-1:-1;;;11875:18:1;;;11868:42;11927:18;;66296:58:0::1;11615:336:1::0;66296:58:0::1;66377:13:::0;;-1:-1:-1;;;;;66377:27:0::1;66394:10;66377:27;66369:51;;;::::0;-1:-1:-1;;;66369:51:0;;12158:2:1;66369:51:0::1;::::0;::::1;12140:21:1::0;12197:2;12177:18;;;12170:30;-1:-1:-1;;;12216:18:1;;;12209:41;12267:18;;66369:51:0::1;11956:335:1::0;66369:51:0::1;66464:16;66443:13;56557:10:::0;:17;;56469:113;66443:13:::1;:17;::::0;66459:1:::1;66443:17;:::i;:::-;:37;;66435:65;;;::::0;-1:-1:-1;;;66435:65:0;;12763:2:1;66435:65:0::1;::::0;::::1;12745:21:1::0;12802:2;12782:18;;;12775:30;-1:-1:-1;;;12821:18:1;;;12814:45;12876:18;;66435:65:0::1;12561:339:1::0;66435:65:0::1;66563:68;::::0;;::::1;::::0;;::::1;::::0;;66585:15;;::::1;::::0;66563:68;;;66602:13;;-1:-1:-1;;;;;66563:68:0;;::::1;;::::0;;::::1;::::0;;;66625:4:::1;66563:68:::0;;;;;;66681:28;;;;::::1;13129:32:1::0;;;;13190:24;;13290:21;;13268:20;;;13261:51;;;;13354:24;;13350:33;13328:20;;;13321:63;66563:68:0;-1:-1:-1;;13102:18:1;;66681:28:0::1;;;;;;;;;;;;66671:39;;;;;;66646:64;;66725:24;66752:41;66775:7;:17;;;66752:14;:22;;:41;;;;:::i;:::-;66836:13;::::0;66725:68;;-1:-1:-1;;;;;;66816:33:0;;::::1;66836:13;::::0;;::::1;;66816:33;66808:55;;;::::0;-1:-1:-1;;;66808:55:0;;13597:2:1;66808:55:0::1;::::0;::::1;13579:21:1::0;13636:1;13616:18;;;13609:29;-1:-1:-1;;;13654:18:1;;;13647:39;13703:18;;66808:55:0::1;13395:332:1::0;66808:55:0::1;66878:38;66888:10;66900:7;:15;;;66878:9;:38::i;:::-;66157:771;;;;66152:3;;;;;:::i;:::-;;;;66114:814;;44958:339:::0;45153:41;14160:10;45186:7;45153:18;:41::i;:::-;45145:103;;;;-1:-1:-1;;;45145:103:0;;;;;;;:::i;:::-;45261:28;45271:4;45277:2;45281:7;45261:9;:28::i;68156:199::-;68243:16;;68297:7;68340:5;68307:30;;68320:17;68307:30;:10;:30;:::i;:::-;:38;;;;:::i;:::-;68289:58;;;;68156:199;;;;;;:::o;56137:256::-;56234:7;56270:23;56287:5;56270:16;:23::i;:::-;56262:5;:31;56254:87;;;;-1:-1:-1;;;56254:87:0;;14988:2:1;56254:87:0;;;14970:21:1;15027:2;15007:18;;;15000:30;15066:34;15046:18;;;15039:62;-1:-1:-1;;;15117:18:1;;;15110:41;15168:19;;56254:87:0;14786:407:1;56254:87:0;-1:-1:-1;;;;;;56359:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;56137:256::o;63878:344::-;20908:7;;;;21162:9;21154:38;;;;-1:-1:-1;;;21154:38:0;;;;;;;:::i;:::-;19624:30:::1;19643:10;19624:18;:30::i;:::-;19616:64;;;::::0;-1:-1:-1;;;19616:64:0;;15400:2:1;19616:64:0::1;::::0;::::1;15382:21:1::0;15439:2;15419:18;;;15412:30;-1:-1:-1;;;15458:18:1;;;15451:51;15519:18;;19616:64:0::1;15198:345:1::0;19616:64:0::1;-1:-1:-1::0;;;;;64026:28:0;::::2;64018:53;;;::::0;-1:-1:-1;;;64018:53:0;;15750:2:1;64018:53:0::2;::::0;::::2;15732:21:1::0;15789:2;15769:18;;;15762:30;-1:-1:-1;;;15808:18:1;;;15801:42;15860:18;;64018:53:0::2;15548:336:1::0;64018:53:0::2;64082:13;:30:::0;;-1:-1:-1;;;;;;64123:46:0;64082:30:::2;-1:-1:-1::0;;;;;64082:30:0;;::::2;::::0;::::2;-1:-1:-1::0;;;;64123:46:0;;;;;-1:-1:-1;;;64123:46:0;::::2;;;;::::0;;;;64185:29:::2;::::0;64200:13;::::2;;738:51:1::0;;64185:29:0::2;::::0;726:2:1;711:18;64185:29:0::2;;;;;;;63878:344:::0;;:::o;68434:67::-;15429:6;;-1:-1:-1;;;;;15429:6:0;14160:10;15576:23;15568:68;;;;-1:-1:-1;;;15568:68:0;;;;;;;:::i;:::-;68483:10:::1;:8;:10::i;:::-;68434:67::o:0;45368:185::-;45506:39;45523:4;45529:2;45533:7;45506:39;;;;;;;;;;;;:16;:39::i;56659:233::-;56734:7;56770:30;56557:10;:17;;56469:113;56770:30;56762:5;:38;56754:95;;;;-1:-1:-1;;;56754:95:0;;16452:2:1;56754:95:0;;;16434:21:1;16491:2;16471:18;;;16464:30;16530:34;16510:18;;;16503:62;-1:-1:-1;;;16581:18:1;;;16574:42;16633:19;;56754:95:0;16250:408:1;56754:95:0;56867:10;56878:5;56867:17;;;;;;;;:::i;:::-;;;;;;;;;56860:24;;56659:233;;;:::o;65534:175::-;15429:6;;-1:-1:-1;;;;;15429:6:0;14160:10;15576:23;15568:68;;;;-1:-1:-1;;;15568:68:0;;;;;;;:::i;:::-;20908:7;;;;21162:9:::1;21154:38;;;;-1:-1:-1::0;;;21154:38:0::1;;;;;;;:::i;:::-;65633:11:::2;::::0;-1:-1:-1;;;65633:11:0;::::2;;;:20;65625:44;;;::::0;-1:-1:-1;;;65625:44:0;;16865:2:1;65625:44:0::2;::::0;::::2;16847:21:1::0;16904:2;16884:18;;;16877:30;-1:-1:-1;;;16923:18:1;;;16916:41;16974:18;;65625:44:0::2;16663:335:1::0;65625:44:0::2;65680:21:::0;;::::2;::::0;:7:::2;::::0;:21:::2;::::0;::::2;::::0;::::2;:::i;:::-;;65534:175:::0;:::o;42342:239::-;42414:7;42450:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42450:16:0;42485:19;42477:73;;;;-1:-1:-1;;;42477:73:0;;17205:2:1;42477:73:0;;;17187:21:1;17244:2;17224:18;;;17217:30;17283:34;17263:18;;;17256:62;-1:-1:-1;;;17334:18:1;;;17327:39;17383:19;;42477:73:0;17003:405:1;62501:21:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;42072:208::-;42144:7;-1:-1:-1;;;;;42172:19:0;;42164:74;;;;-1:-1:-1;;;42164:74:0;;17615:2:1;42164:74:0;;;17597:21:1;17654:2;17634:18;;;17627:30;17693:34;17673:18;;;17666:62;-1:-1:-1;;;17744:18:1;;;17737:40;17794:19;;42164:74:0;17413:406:1;42164:74:0;-1:-1:-1;;;;;;42256:16:0;;;;;:9;:16;;;;;;;42072:208::o;16007:103::-;15429:6;;-1:-1:-1;;;;;15429:6:0;14160:10;15576:23;15568:68;;;;-1:-1:-1;;;15568:68:0;;;;;;;:::i;:::-;16072:30:::1;16099:1;16072:18;:30::i;18098:175::-:0;15429:6;;-1:-1:-1;;;;;15429:6:0;14160:10;17364:23;;:51;;-1:-1:-1;17391:8:0;;-1:-1:-1;;;;;17391:8:0;14160:10;17391:24;17364:51;17356:76;;;;-1:-1:-1;;;17356:76:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;18186:25:0;::::1;;::::0;;;:12:::1;:25;::::0;;;;;;;18179:32;;;18227:38;;18333:51:1;;;18400:18;;;18393:50;;;;18227:38:0::1;::::0;18306:18:1;18227:38:0::1;;;;;;;;18098:175:::0;:::o;68363:63::-;15429:6;;-1:-1:-1;;;;;15429:6:0;14160:10;15576:23;15568:68;;;;-1:-1:-1;;;15568:68:0;;;;;;;:::i;:::-;68410:8:::1;:6;:8::i;65717:81::-:0;15429:6;;-1:-1:-1;;;;;15429:6:0;14160:10;15576:23;15568:68;;;;-1:-1:-1;;;15568:68:0;;;;;;;:::i;:::-;65772:11:::1;:18:::0;;-1:-1:-1;;;;65772:18:0::1;-1:-1:-1::0;;;65772:18:0::1;::::0;;65717:81::o;17460:148::-;15429:6;;-1:-1:-1;;;;;15429:6:0;14160:10;15576:23;15568:68;;;;-1:-1:-1;;;15568:68:0;;;;;;;:::i;:::-;17530:8:::1;:20:::0;;-1:-1:-1;;;;;;17530:20:0::1;-1:-1:-1::0;;;;;17530:20:0;::::1;::::0;;::::1;::::0;;;17566:34:::1;::::0;738:51:1;;;17566:34:0::1;::::0;726:2:1;711:18;17566:34:0::1;592:203:1::0;42817:104:0;42873:13;42906:7;42899:14;;;;;:::i;44501:155::-;44596:52;14160:10;44629:8;44639;44596:18;:52::i;18787:195::-;15429:6;;-1:-1:-1;;;;;15429:6:0;14160:10;17364:23;;:51;;-1:-1:-1;17391:8:0;;-1:-1:-1;;;;;17391:8:0;14160:10;17391:24;17364:51;17356:76;;;;-1:-1:-1;;;17356:76:0;;;;;;;:::i;:::-;18884:20:::1;::::0;-1:-1:-1;;;18884:20:0;::::1;;;:28;;18908:4;18884:28;18876:49;;;::::0;-1:-1:-1;;;18876:49:0;;18656:2:1;18876:49:0::1;::::0;::::1;18638:21:1::0;18695:1;18675:18;;;18668:29;-1:-1:-1;;;18713:18:1;;;18706:38;18761:18;;18876:49:0::1;18454:331:1::0;18876:49:0::1;18936:38;18962:11;18936:25;:38::i;:::-;18787:195:::0;:::o;18990:98::-;15429:6;;-1:-1:-1;;;;;15429:6:0;14160:10;17364:23;;:51;;-1:-1:-1;17391:8:0;;-1:-1:-1;;;;;17391:8:0;14160:10;17391:24;17364:51;17356:76;;;;-1:-1:-1;;;17356:76:0;;;;;;;:::i;:::-;19052:20:::1;:28:::0;;-1:-1:-1;;;;19052:28:0::1;::::0;;18990:98::o;45624:328::-;45799:41;14160:10;45832:7;45799:18;:41::i;:::-;45791:103;;;;-1:-1:-1;;;45791:103:0;;;;;;;:::i;:::-;45905:39;45919:4;45925:2;45929:7;45938:5;45905:13;:39::i;:::-;45624:328;;;;:::o;42992:334::-;43065:13;43099:16;43107:7;43099;:16::i;:::-;43091:76;;;;-1:-1:-1;;;43091:76:0;;18992:2:1;43091:76:0;;;18974:21:1;19031:2;19011:18;;;19004:30;19070:34;19050:18;;;19043:62;-1:-1:-1;;;19121:18:1;;;19114:45;19176:19;;43091:76:0;18790:411:1;43091:76:0;43180:21;43204:10;:8;:10::i;:::-;43180:34;;43256:1;43238:7;43232:21;:25;:86;;;;;;;;;;;;;;;;;43284:7;43293:18;:7;:16;:18::i;:::-;43267:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;43232:86;43225:93;42992:334;-1:-1:-1;;;42992:334:0:o;17716:312::-;15429:6;;-1:-1:-1;;;;;15429:6:0;14160:10;17364:23;;:51;;-1:-1:-1;17391:8:0;;-1:-1:-1;;;;;17391:8:0;14160:10;17391:24;17364:51;17356:76;;;;-1:-1:-1;;;17356:76:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;17802:25:0;::::1;17794:52;;;::::0;-1:-1:-1;;;17794:52:0;;19883:2:1;17794:52:0::1;::::0;::::1;19865:21:1::0;19922:2;19902:18;;;19895:30;-1:-1:-1;;;19941:18:1;;;19934:44;19995:18;;17794:52:0::1;19681:338:1::0;17794:52:0::1;-1:-1:-1::0;;;;;17865:25:0;::::1;;::::0;;;:12:::1;:25;::::0;;;;;:30;17857:56:::1;;;::::0;-1:-1:-1;;;17857:56:0;;20226:2:1;17857:56:0::1;::::0;::::1;20208:21:1::0;20265:2;20245:18;;;20238:30;-1:-1:-1;;;20284:18:1;;;20277:43;20337:18;;17857:56:0::1;20024:337:1::0;17857:56:0::1;-1:-1:-1::0;;;;;17924:25:0;::::1;;::::0;;;:12:::1;:25;::::0;;;;;;;;17952:15:::1;17924:43:::0;;17983:37;;18333:51:1;;;18015:4:0::1;18400:18:1::0;;;18393:50;17983:37:0::1;::::0;18306:18:1;17983:37:0::1;18165:284:1::0;66943:426:0;19624:30;19643:10;19624:18;:30::i;:::-;19616:64;;;;-1:-1:-1;;;19616:64:0;;15400:2:1;19616:64:0;;;15382:21:1;15439:2;15419:18;;;15412:30;-1:-1:-1;;;15458:18:1;;;15451:51;15519:18;;19616:64:0;15198:345:1;19616:64:0;67043:8:::1;67038:324;67055:19;::::0;::::1;::::0;-1:-1:-1;67038:324:0::1;;;67096:31;67130:8;;67139:1;67130:11;;;;;;;;;:::i;:::-;;;;;;67096:45;;;;;;;;;;:::i;:::-;;;67164:24;67172:7;:15;;;67164:7;:24::i;:::-;:33;67156:58;;;::::0;-1:-1:-1;;;67156:58:0;;11817:2:1;67156:58:0::1;::::0;::::1;11799:21:1::0;11856:2;11836:18;;;11829:30;-1:-1:-1;;;11875:18:1;;;11868:42;11927:18;;67156:58:0::1;11615:336:1::0;67156:58:0::1;67258:16;67237:13;56557:10:::0;:17;;56469:113;67237:13:::1;:17;::::0;67253:1:::1;67237:17;:::i;:::-;:37;;67229:65;;;::::0;-1:-1:-1;;;67229:65:0;;12763:2:1;67229:65:0::1;::::0;::::1;12745:21:1::0;12802:2;12782:18;;;12775:30;-1:-1:-1;;;12821:18:1;;;12814:45;12876:18;;67229:65:0::1;12561:339:1::0;67229:65:0::1;67309:41;67319:7;:13;;;67334:7;:15;;;67309:9;:41::i;:::-;-1:-1:-1::0;67076:3:0;::::1;::::0;::::1;:::i;:::-;;;;67038:324;;67580:345:::0;68074:20;;67691:4;;-1:-1:-1;;;;;68074:20:0;68058:70;;;;-1:-1:-1;;;68058:70:0;;21092:2:1;68058:70:0;;;21074:21:1;21131:2;21111:18;;;21104:30;-1:-1:-1;;;21150:18:1;;;21143:44;21204:18;;68058:70:0;20890:338:1;68058:70:0;67712:20:::1;::::0;:77:::1;::::0;-1:-1:-1;;;67712:77:0;;-1:-1:-1;;;;;21463:15:1;;;67712:77:0::1;::::0;::::1;21445:34:1::0;21515:15;;;21495:18;;;21488:43;67712:20:0;;::::1;::::0;:58:::1;::::0;21380:18:1;;67712:77:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:85;;67793:4;67712:85;67708:210;;;-1:-1:-1::0;67821:4:0::1;67814:11;;67708:210;-1:-1:-1::0;;;;;;44848:25:0;;;44824:4;44848:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;67858:48:::1;;16265:201:::0;15429:6;;-1:-1:-1;;;;;15429:6:0;14160:10;15576:23;15568:68;;;;-1:-1:-1;;;15568:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;16354:22:0;::::1;16346:73;;;::::0;-1:-1:-1;;;16346:73:0;;21994:2:1;16346:73:0::1;::::0;::::1;21976:21:1::0;22033:2;22013:18;;;22006:30;22072:34;22052:18;;;22045:62;-1:-1:-1;;;22123:18:1;;;22116:36;22169:19;;16346:73:0::1;21792:402:1::0;16346:73:0::1;16430:28;16449:8;16430:18;:28::i;19198:277::-:0;-1:-1:-1;;;;;19305:25:0;;19268:4;19305:25;;;:12;:25;;;;;;19345:14;19341:59;;-1:-1:-1;19383:5:0;;19198:277;-1:-1:-1;;19198:277:0:o;19341:59::-;17000:6;19417:27;19435:9;19417:15;:27;:::i;:::-;:50;;19198:277;-1:-1:-1;;;19198:277:0:o;41703:305::-;41805:4;-1:-1:-1;;;;;;41842:40:0;;-1:-1:-1;;;41842:40:0;;:105;;-1:-1:-1;;;;;;;41899:48:0;;-1:-1:-1;;;41899:48:0;41842:105;:158;;;-1:-1:-1;;;;;;;;;;33471:40:0;;;41964:36;33362:157;47462:127;47527:4;47551:16;;;:7;:16;;;;;;-1:-1:-1;;;;;47551:16:0;:30;;;47462:127::o;51608:174::-;51683:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;51683:29:0;-1:-1:-1;;;;;51683:29:0;;;;;;;;:24;;51737:23;51683:24;51737:14;:23::i;:::-;-1:-1:-1;;;;;51728:46:0;;;;;;;;;;;51608:174;;:::o;8284:231::-;8362:7;8383:17;8402:18;8424:27;8435:4;8441:9;8424:10;:27::i;:::-;8382:69;;;;8462:18;8474:5;8462:11;:18::i;:::-;-1:-1:-1;8498:9:0;8284:231;-1:-1:-1;;;8284:231:0:o;48446:110::-;48522:26;48532:2;48536:7;48522:26;;;;;;;;;;;;:9;:26::i;47756:348::-;47849:4;47874:16;47882:7;47874;:16::i;:::-;47866:73;;;;-1:-1:-1;;;47866:73:0;;22531:2:1;47866:73:0;;;22513:21:1;22570:2;22550:18;;;22543:30;22609:34;22589:18;;;22582:62;-1:-1:-1;;;22660:18:1;;;22653:42;22712:19;;47866:73:0;22329:408:1;47866:73:0;47950:13;47966:23;47981:7;47966:14;:23::i;:::-;47950:39;;48019:5;-1:-1:-1;;;;;48008:16:0;:7;-1:-1:-1;;;;;48008:16:0;;:52;;;;48028:32;48045:5;48052:7;48028:16;:32::i;:::-;48008:87;;;;48088:7;-1:-1:-1;;;;;48064:31:0;:20;48076:7;48064:11;:20::i;:::-;-1:-1:-1;;;;;48064:31:0;;48008:87;48000:96;47756:348;-1:-1:-1;;;;47756:348:0:o;50865:625::-;51024:4;-1:-1:-1;;;;;50997:31:0;:23;51012:7;50997:14;:23::i;:::-;-1:-1:-1;;;;;50997:31:0;;50989:81;;;;-1:-1:-1;;;50989:81:0;;22944:2:1;50989:81:0;;;22926:21:1;22983:2;22963:18;;;22956:30;23022:34;23002:18;;;22995:62;-1:-1:-1;;;23073:18:1;;;23066:35;23118:19;;50989:81:0;22742:401:1;50989:81:0;-1:-1:-1;;;;;51089:16:0;;51081:65;;;;-1:-1:-1;;;51081:65:0;;23350:2:1;51081:65:0;;;23332:21:1;23389:2;23369:18;;;23362:30;23428:34;23408:18;;;23401:62;-1:-1:-1;;;23479:18:1;;;23472:34;23523:19;;51081:65:0;23148:400:1;51081:65:0;51159:39;51180:4;51186:2;51190:7;51159:20;:39::i;:::-;51263:29;51280:1;51284:7;51263:8;:29::i;:::-;-1:-1:-1;;;;;51305:15:0;;;;;;:9;:15;;;;;:20;;51324:1;;51305:15;:20;;51324:1;;51305:20;:::i;:::-;;;;-1:-1:-1;;;;;;;51336:13:0;;;;;;:9;:13;;;;;:18;;51353:1;;51336:13;:18;;51353:1;;51336:18;:::i;:::-;;;;-1:-1:-1;;51365:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;51365:21:0;-1:-1:-1;;;;;51365:21:0;;;;;;;;;51404:27;;51365:16;;51404:27;;;;;;;43801:341;43731:411;;:::o;21896:120::-;20908:7;;;;21432:41;;;;-1:-1:-1;;;21432:41:0;;23755:2:1;21432:41:0;;;23737:21:1;23794:2;23774:18;;;23767:30;-1:-1:-1;;;23813:18:1;;;23806:50;23873:18;;21432:41:0;23553:344:1;21432:41:0;21955:7:::1;:15:::0;;-1:-1:-1;;21955:15:0::1;::::0;;21986:22:::1;14160:10:::0;21995:12:::1;21986:22;::::0;-1:-1:-1;;;;;756:32:1;;;738:51;;726:2;711:18;21986:22:0::1;;;;;;;21896:120::o:0;16626:191::-;16719:6;;;-1:-1:-1;;;;;16736:17:0;;;-1:-1:-1;;;;;;16736:17:0;;;;;;;16769:40;;16719:6;;;16736:17;16719:6;;16769:40;;16700:16;;16769:40;16689:128;16626:191;:::o;21637:118::-;20908:7;;;;21162:9;21154:38;;;;-1:-1:-1;;;21154:38:0;;;;;;;:::i;:::-;21697:7:::1;:14:::0;;-1:-1:-1;;21697:14:0::1;21707:4;21697:14;::::0;;21727:20:::1;21734:12;14160:10:::0;;14080:98;51924:315;52079:8;-1:-1:-1;;;;;52070:17:0;:5;-1:-1:-1;;;;;52070:17:0;;;52062:55;;;;-1:-1:-1;;;52062:55:0;;24104:2:1;52062:55:0;;;24086:21:1;24143:2;24123:18;;;24116:30;24182:27;24162:18;;;24155:55;24227:18;;52062:55:0;23902:349:1;52062:55:0;-1:-1:-1;;;;;52128:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;52128:46:0;;;;;;;;;;52190:41;;540::1;;;52190::0;;513:18:1;52190:41:0;;;;;;;51924:315;;;:::o;18427:352::-;15429:6;;-1:-1:-1;;;;;15429:6:0;14160:10;15576:23;15568:68;;;;-1:-1:-1;;;15568:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;18521:25:0;::::1;18513:45;;;::::0;-1:-1:-1;;;18513:45:0;;24458:2:1;18513:45:0::1;::::0;::::1;24440:21:1::0;24497:1;24477:18;;;24470:29;-1:-1:-1;;;24515:18:1;;;24508:37;24562:18;;18513:45:0::1;24256:330:1::0;18513:45:0::1;18717:1;18676:38;17000:6;18676:15;:38;:::i;:::-;:42;;;;:::i;:::-;-1:-1:-1::0;;;;;18648:25:0;::::1;;::::0;;;:12:::1;:25;::::0;;;;;;;;:70;;;;18734:37;;18333:51:1;;;18766:4:0::1;18400:18:1::0;;;18393:50;;;;18734:37:0::1;::::0;18306:18:1;18734:37:0::1;18165:284:1::0;46834:315:0;46991:28;47001:4;47007:2;47011:7;46991:9;:28::i;:::-;47038:48;47061:4;47067:2;47071:7;47080:5;47038:22;:48::i;:::-;47030:111;;;;-1:-1:-1;;;47030:111:0;;;;;;;:::i;65297:100::-;65349:13;65382:7;65375:14;;;;;:::i;2108:723::-;2164:13;2385:10;2381:53;;-1:-1:-1;;2412:10:0;;;;;;;;;;;;-1:-1:-1;;;2412:10:0;;;;;2108:723::o;2381:53::-;2459:5;2444:12;2500:78;2507:9;;2500:78;;2533:8;;;;:::i;:::-;;-1:-1:-1;2556:10:0;;-1:-1:-1;2564:2:0;2556:10;;:::i;:::-;;;2500:78;;;2588:19;2620:6;2610:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2610:17:0;;2588:39;;2638:154;2645:10;;2638:154;;2672:11;2682:1;2672:11;;:::i;:::-;;-1:-1:-1;2741:10:0;2749:2;2741:5;:10;:::i;:::-;2728:24;;:2;:24;:::i;:::-;2715:39;;2698:6;2705;2698:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;2698:56:0;;;;;;;;-1:-1:-1;2769:11:0;2778:2;2769:11;;:::i;:::-;;;2638:154;;6174:1308;6255:7;6264:12;6489:9;:16;6509:2;6489:22;6485:990;;;6785:4;6770:20;;6764:27;6835:4;6820:20;;6814:27;6893:4;6878:20;;6872:27;6528:9;6864:36;6936:25;6947:4;6864:36;6764:27;6814;6936:10;:25::i;:::-;6929:32;;;;;;;;;6485:990;6983:9;:16;7003:2;6983:22;6979:496;;;7258:4;7243:20;;7237:27;7309:4;7294:20;;7288:27;7351:23;7362:4;7237:27;7288;7351:10;:23::i;:::-;7344:30;;;;;;;;6979:496;-1:-1:-1;7423:1:0;;-1:-1:-1;7427:35:0;7407:56;;4445:643;4523:20;4514:5;:29;;;;;;;;:::i;:::-;;4510:571;;;4445:643;:::o;4510:571::-;4621:29;4612:5;:38;;;;;;;;:::i;:::-;;4608:473;;;4667:34;;-1:-1:-1;;;4667:34:0;;25601:2:1;4667:34:0;;;25583:21:1;25640:2;25620:18;;;25613:30;25679:26;25659:18;;;25652:54;25723:18;;4667:34:0;25399:348:1;4608:473:0;4732:35;4723:5;:44;;;;;;;;:::i;:::-;;4719:362;;;4784:41;;-1:-1:-1;;;4784:41:0;;25954:2:1;4784:41:0;;;25936:21:1;25993:2;25973:18;;;25966:30;26032:33;26012:18;;;26005:61;26083:18;;4784:41:0;25752:355:1;4719:362:0;4856:30;4847:5;:39;;;;;;;;:::i;:::-;;4843:238;;;4903:44;;-1:-1:-1;;;4903:44:0;;26314:2:1;4903:44:0;;;26296:21:1;26353:2;26333:18;;;26326:30;26392:34;26372:18;;;26365:62;-1:-1:-1;;;26443:18:1;;;26436:32;26485:19;;4903:44:0;26112:398:1;4843:238:0;4978:30;4969:5;:39;;;;;;;;:::i;:::-;;4965:116;;;5025:44;;-1:-1:-1;;;5025:44:0;;26717:2:1;5025:44:0;;;26699:21:1;26756:2;26736:18;;;26729:30;26795:34;26775:18;;;26768:62;-1:-1:-1;;;26846:18:1;;;26839:32;26888:19;;5025:44:0;26515:398:1;48783:321:0;48913:18;48919:2;48923:7;48913:5;:18::i;:::-;48964:54;48995:1;48999:2;49003:7;49012:5;48964:22;:54::i;:::-;48942:154;;;;-1:-1:-1;;;48942:154:0;;;;;;;:::i;57505:589::-;-1:-1:-1;;;;;57711:18:0;;57707:187;;57746:40;57778:7;58921:10;:17;;58894:24;;;;:15;:24;;;;;:44;;;58949:24;;;;;;;;;;;;58817:164;57746:40;57707:187;;;57816:2;-1:-1:-1;;;;;57808:10:0;:4;-1:-1:-1;;;;;57808:10:0;;57804:90;;57835:47;57868:4;57874:7;57835:32;:47::i;:::-;-1:-1:-1;;;;;57908:16:0;;57904:183;;57941:45;57978:7;57941:36;:45::i;57904:183::-;58014:4;-1:-1:-1;;;;;58008:10:0;:2;-1:-1:-1;;;;;58008:10:0;;58004:83;;58035:40;58063:2;58067:7;58035:27;:40::i;52804:799::-;52959:4;-1:-1:-1;;;;;52980:13:0;;23551:19;:23;52976:620;;53016:72;;-1:-1:-1;;;53016:72:0;;-1:-1:-1;;;;;53016:36:0;;;;;:72;;14160:10;;53067:4;;53073:7;;53082:5;;53016:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53016:72:0;;;;;;;;-1:-1:-1;;53016:72:0;;;;;;;;;;;;:::i;:::-;;;53012:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53258:13:0;;53254:272;;53301:60;;-1:-1:-1;;;53301:60:0;;;;;;;:::i;53254:272::-;53476:6;53470:13;53461:6;53457:2;53453:15;53446:38;53012:529;-1:-1:-1;;;;;;53139:51:0;-1:-1:-1;;;53139:51:0;;-1:-1:-1;53132:58:0;;52976:620;-1:-1:-1;53580:4:0;52804:799;;;;;;:::o;9736:1632::-;9867:7;;10801:66;10788:79;;10784:163;;;-1:-1:-1;10900:1:0;;-1:-1:-1;10904:30:0;10884:51;;10784:163;10961:1;:7;;10966:2;10961:7;;:18;;;;;10972:1;:7;;10977:2;10972:7;;10961:18;10957:102;;;-1:-1:-1;11012:1:0;;-1:-1:-1;11016:30:0;10996:51;;10957:102;11173:24;;;11156:14;11173:24;;;;;;;;;27893:25:1;;;27966:4;27954:17;;27934:18;;;27927:45;;;;27988:18;;;27981:34;;;28031:18;;;28024:34;;;11173:24:0;;27865:19:1;;11173:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11173:24:0;;-1:-1:-1;;11173:24:0;;;-1:-1:-1;;;;;;;11212:20:0;;11208:103;;11265:1;11269:29;11249:50;;;;;;;11208:103;11331:6;-1:-1:-1;11339:20:0;;-1:-1:-1;9736:1632:0;;;;;;;;:::o;8778:344::-;8892:7;;-1:-1:-1;;;;;8938:80:0;;8892:7;9045:25;9061:3;9046:18;;;9068:2;9045:25;:::i;:::-;9029:42;;9089:25;9100:4;9106:1;9109;9112;9089:10;:25::i;:::-;9082:32;;;;;;8778:344;;;;;;:::o;49440:439::-;-1:-1:-1;;;;;49520:16:0;;49512:61;;;;-1:-1:-1;;;49512:61:0;;28271:2:1;49512:61:0;;;28253:21:1;;;28290:18;;;28283:30;28349:34;28329:18;;;28322:62;28401:18;;49512:61:0;28069:356:1;49512:61:0;49593:16;49601:7;49593;:16::i;:::-;49592:17;49584:58;;;;-1:-1:-1;;;49584:58:0;;28632:2:1;49584:58:0;;;28614:21:1;28671:2;28651:18;;;28644:30;28710;28690:18;;;28683:58;28758:18;;49584:58:0;28430:352:1;49584:58:0;49655:45;49684:1;49688:2;49692:7;49655:20;:45::i;:::-;-1:-1:-1;;;;;49713:13:0;;;;;;:9;:13;;;;;:18;;49730:1;;49713:13;:18;;49730:1;;49713:18;:::i;:::-;;;;-1:-1:-1;;49742:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;49742:21:0;-1:-1:-1;;;;;49742:21:0;;;;;;;;49781:33;;49742:16;;;49781:33;;49742:16;;49781:33;65680:21:::2;65534:175:::0;:::o;59608:988::-;59874:22;59924:1;59899:22;59916:4;59899:16;:22::i;:::-;:26;;;;:::i;:::-;59936:18;59957:26;;;:17;:26;;;;;;59874:51;;-1:-1:-1;60090:28:0;;;60086:328;;-1:-1:-1;;;;;60157:18:0;;60135:19;60157:18;;;:12;:18;;;;;;;;:34;;;;;;;;;60208:30;;;;;;:44;;;60325:30;;:17;:30;;;;;:43;;;60086:328;-1:-1:-1;60510:26:0;;;;:17;:26;;;;;;;;60503:33;;;-1:-1:-1;;;;;60554:18:0;;;;;:12;:18;;;;;:34;;;;;;;60547:41;59608:988::o;60891:1079::-;61169:10;:17;61144:22;;61169:21;;61189:1;;61169:21;:::i;:::-;61201:18;61222:24;;;:15;:24;;;;;;61595:10;:26;;61144:46;;-1:-1:-1;61222:24:0;;61144:46;;61595:26;;;;;;:::i;:::-;;;;;;;;;61573:48;;61659:11;61634:10;61645;61634:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;61739:28;;;:15;:28;;;;;;;:41;;;61911:24;;;;;61904:31;61946:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;60962:1008;;;60891:1079;:::o;58395:221::-;58480:14;58497:20;58514:2;58497:16;:20::i;:::-;-1:-1:-1;;;;;58528:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;58573:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;58395:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;800:258::-;872:1;882:113;896:6;893:1;890:13;882:113;;;972:11;;;966:18;953:11;;;946:39;918:2;911:10;882:113;;;1013:6;1010:1;1007:13;1004:48;;;-1:-1:-1;;1048:1:1;1030:16;;1023:27;800:258::o;1063:::-;1105:3;1143:5;1137:12;1170:6;1165:3;1158:19;1186:63;1242:6;1235:4;1230:3;1226:14;1219:4;1212:5;1208:16;1186:63;:::i;:::-;1303:2;1282:15;-1:-1:-1;;1278:29:1;1269:39;;;;1310:4;1265:50;;1063:258;-1:-1:-1;;1063:258:1:o;1326:220::-;1475:2;1464:9;1457:21;1438:4;1495:45;1536:2;1525:9;1521:18;1513:6;1495:45;:::i;1551:180::-;1610:6;1663:2;1651:9;1642:7;1638:23;1634:32;1631:52;;;1679:1;1676;1669:12;1631:52;-1:-1:-1;1702:23:1;;1551:180;-1:-1:-1;1551:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:186::-;2414:6;2467:2;2455:9;2446:7;2442:23;2438:32;2435:52;;;2483:1;2480;2473:12;2435:52;2506:29;2525:9;2506:29;:::i;2546:656::-;2673:6;2681;2734:2;2722:9;2713:7;2709:23;2705:32;2702:52;;;2750:1;2747;2740:12;2702:52;2790:9;2777:23;2819:18;2860:2;2852:6;2849:14;2846:34;;;2876:1;2873;2866:12;2846:34;2914:6;2903:9;2899:22;2889:32;;2959:7;2952:4;2948:2;2944:13;2940:27;2930:55;;2981:1;2978;2971:12;2930:55;3021:2;3008:16;3047:2;3039:6;3036:14;3033:34;;;3063:1;3060;3053:12;3033:34;3116:7;3111:2;3101:6;3098:1;3094:14;3090:2;3086:23;3082:32;3079:45;3076:65;;;3137:1;3134;3127:12;3076:65;3168:2;3160:11;;;;;3190:6;;-1:-1:-1;2546:656:1;;-1:-1:-1;;;;2546:656:1:o;3207:328::-;3284:6;3292;3300;3353:2;3341:9;3332:7;3328:23;3324:32;3321:52;;;3369:1;3366;3359:12;3321:52;3392:29;3411:9;3392:29;:::i;:::-;3382:39;;3440:38;3474:2;3463:9;3459:18;3440:38;:::i;:::-;3430:48;;3525:2;3514:9;3510:18;3497:32;3487:42;;3207:328;;;;;:::o;3540:248::-;3608:6;3616;3669:2;3657:9;3648:7;3644:23;3640:32;3637:52;;;3685:1;3682;3675:12;3637:52;-1:-1:-1;;3708:23:1;;;3778:2;3763:18;;;3750:32;;-1:-1:-1;3540:248:1:o;4072:118::-;4158:5;4151:13;4144:21;4137:5;4134:32;4124:60;;4180:1;4177;4170:12;4195:315;4260:6;4268;4321:2;4309:9;4300:7;4296:23;4292:32;4289:52;;;4337:1;4334;4327:12;4289:52;4360:29;4379:9;4360:29;:::i;:::-;4350:39;;4439:2;4428:9;4424:18;4411:32;4452:28;4474:5;4452:28;:::i;:::-;4499:5;4489:15;;;4195:315;;;;;:::o;4515:127::-;4576:10;4571:3;4567:20;4564:1;4557:31;4607:4;4604:1;4597:15;4631:4;4628:1;4621:15;4647:632;4712:5;4742:18;4783:2;4775:6;4772:14;4769:40;;;4789:18;;:::i;:::-;4864:2;4858:9;4832:2;4918:15;;-1:-1:-1;;4914:24:1;;;4940:2;4910:33;4906:42;4894:55;;;4964:18;;;4984:22;;;4961:46;4958:72;;;5010:18;;:::i;:::-;5050:10;5046:2;5039:22;5079:6;5070:15;;5109:6;5101;5094:22;5149:3;5140:6;5135:3;5131:16;5128:25;5125:45;;;5166:1;5163;5156:12;5125:45;5216:6;5211:3;5204:4;5196:6;5192:17;5179:44;5271:1;5264:4;5255:6;5247;5243:19;5239:30;5232:41;;;;4647:632;;;;;:::o;5284:451::-;5353:6;5406:2;5394:9;5385:7;5381:23;5377:32;5374:52;;;5422:1;5419;5412:12;5374:52;5462:9;5449:23;5495:18;5487:6;5484:30;5481:50;;;5527:1;5524;5517:12;5481:50;5550:22;;5603:4;5595:13;;5591:27;-1:-1:-1;5581:55:1;;5632:1;5629;5622:12;5581:55;5655:74;5721:7;5716:2;5703:16;5698:2;5694;5690:11;5655:74;:::i;6180:221::-;6222:5;6275:3;6268:4;6260:6;6256:17;6252:27;6242:55;;6293:1;6290;6283:12;6242:55;6315:80;6391:3;6382:6;6369:20;6362:4;6354:6;6350:17;6315:80;:::i;6406:537::-;6501:6;6509;6517;6525;6578:3;6566:9;6557:7;6553:23;6549:33;6546:53;;;6595:1;6592;6585:12;6546:53;6618:29;6637:9;6618:29;:::i;:::-;6608:39;;6666:38;6700:2;6689:9;6685:18;6666:38;:::i;:::-;6656:48;;6751:2;6740:9;6736:18;6723:32;6713:42;;6806:2;6795:9;6791:18;6778:32;6833:18;6825:6;6822:30;6819:50;;;6865:1;6862;6855:12;6819:50;6888:49;6929:7;6920:6;6909:9;6905:22;6888:49;:::i;:::-;6878:59;;;6406:537;;;;;;;:::o;6948:651::-;7070:6;7078;7131:2;7119:9;7110:7;7106:23;7102:32;7099:52;;;7147:1;7144;7137:12;7099:52;7187:9;7174:23;7216:18;7257:2;7249:6;7246:14;7243:34;;;7273:1;7270;7263:12;7243:34;7311:6;7300:9;7296:22;7286:32;;7356:7;7349:4;7345:2;7341:13;7337:27;7327:55;;7378:1;7375;7368:12;7327:55;7418:2;7405:16;7444:2;7436:6;7433:14;7430:34;;;7460:1;7457;7450:12;7430:34;7513:7;7508:2;7498:6;7495:1;7491:14;7487:2;7483:23;7479:32;7476:45;7473:65;;;7534:1;7531;7524:12;7604:260;7672:6;7680;7733:2;7721:9;7712:7;7708:23;7704:32;7701:52;;;7749:1;7746;7739:12;7701:52;7772:29;7791:9;7772:29;:::i;:::-;7762:39;;7820:38;7854:2;7843:9;7839:18;7820:38;:::i;:::-;7810:48;;7604:260;;;;;:::o;8058:380::-;8137:1;8133:12;;;;8180;;;8201:61;;8255:4;8247:6;8243:17;8233:27;;8201:61;8308:2;8300:6;8297:14;8277:18;8274:38;8271:161;;;8354:10;8349:3;8345:20;8342:1;8335:31;8389:4;8386:1;8379:15;8417:4;8414:1;8407:15;8271:161;;8058:380;;;:::o;9683:340::-;9885:2;9867:21;;;9924:2;9904:18;;;9897:30;-1:-1:-1;;;9958:2:1;9943:18;;9936:46;10014:2;9999:18;;9683:340::o;10373:127::-;10434:10;10429:3;10425:20;10422:1;10415:31;10465:4;10462:1;10455:15;10489:4;10486:1;10479:15;10505:338;10612:4;10670:11;10657:25;10764:2;10760:7;10749:8;10733:14;10729:29;10725:43;10705:18;10701:68;10691:96;;10783:1;10780;10773:12;10691:96;10804:33;;;;;10505:338;-1:-1:-1;;10505:338:1:o;10848:762::-;10978:9;11037:4;11029:5;11013:14;11009:26;11005:37;11002:57;;;11055:1;11052;11045:12;11002:57;11088:2;11082:9;11130:4;11122:6;11118:17;11154:18;11222:6;11210:10;11207:22;11202:2;11190:10;11187:18;11184:46;11181:72;;;11233:18;;:::i;:::-;11273:10;11269:2;11262:22;11308:25;11327:5;11308:25;:::i;:::-;11300:6;11293:41;11381:2;11374:5;11370:14;11357:28;11343:42;;11408:2;11400:6;11397:14;11394:34;;;11424:1;11421;11414:12;11394:34;;11461:52;11498:14;11489:6;11482:5;11478:18;11461:52;:::i;:::-;11456:2;11444:15;;11437:77;-1:-1:-1;11571:2:1;11560:14;;;11547:28;11530:15;;;11523:53;;;;-1:-1:-1;11448:6:1;10848:762::o;12296:127::-;12357:10;12352:3;12348:20;12345:1;12338:31;12388:4;12385:1;12378:15;12412:4;12409:1;12402:15;12428:128;12468:3;12499:1;12495:6;12492:1;12489:13;12486:39;;;12505:18;;:::i;:::-;-1:-1:-1;12541:9:1;;12428:128::o;13732:201::-;13770:3;13798:10;13843:2;13836:5;13832:14;13870:2;13861:7;13858:15;13855:41;;;13876:18;;:::i;:::-;13925:1;13912:15;;13732:201;-1:-1:-1;;;13732:201:1:o;13938:413::-;14140:2;14122:21;;;14179:2;14159:18;;;14152:30;14218:34;14213:2;14198:18;;14191:62;-1:-1:-1;;;14284:2:1;14269:18;;14262:47;14341:3;14326:19;;13938:413::o;14356:168::-;14396:7;14462:1;14458;14454:6;14450:14;14447:1;14444:21;14439:1;14432:9;14425:17;14421:45;14418:71;;;14469:18;;:::i;:::-;-1:-1:-1;14509:9:1;;14356:168::o;14529:127::-;14590:10;14585:3;14581:20;14578:1;14571:31;14621:4;14618:1;14611:15;14645:4;14642:1;14635:15;14661:120;14701:1;14727;14717:35;;14732:18;;:::i;:::-;-1:-1:-1;14766:9:1;;14661:120::o;15889:356::-;16091:2;16073:21;;;16110:18;;;16103:30;16169:34;16164:2;16149:18;;16142:62;16236:2;16221:18;;15889:356::o;17824:336::-;18026:2;18008:21;;;18065:2;18045:18;;;18038:30;-1:-1:-1;;;18099:2:1;18084:18;;18077:42;18151:2;18136:18;;17824:336::o;19206:470::-;19385:3;19423:6;19417:13;19439:53;19485:6;19480:3;19473:4;19465:6;19461:17;19439:53;:::i;:::-;19555:13;;19514:16;;;;19577:57;19555:13;19514:16;19611:4;19599:17;;19577:57;:::i;:::-;19650:20;;19206:470;-1:-1:-1;;;;19206:470:1:o;20366:519::-;20459:6;20512:2;20500:9;20491:7;20487:23;20483:32;20480:52;;;20528:1;20525;20518:12;20480:52;20561:2;20555:9;20603:2;20595:6;20591:15;20672:6;20660:10;20657:22;20636:18;20624:10;20621:34;20618:62;20615:88;;;20683:18;;:::i;:::-;20719:2;20712:22;20758:29;20777:9;20758:29;:::i;:::-;20750:6;20743:45;20849:2;20838:9;20834:18;20821:32;20816:2;20808:6;20804:15;20797:57;20873:6;20863:16;;;20366:519;;;;:::o;21542:245::-;21609:6;21662:2;21650:9;21641:7;21637:23;21633:32;21630:52;;;21678:1;21675;21668:12;21630:52;21710:9;21704:16;21729:28;21751:5;21729:28;:::i;22199:125::-;22239:4;22267:1;22264;22261:8;22258:34;;;22272:18;;:::i;:::-;-1:-1:-1;22309:9:1;;22199:125::o;24591:414::-;24793:2;24775:21;;;24832:2;24812:18;;;24805:30;24871:34;24866:2;24851:18;;24844:62;-1:-1:-1;;;24937:2:1;24922:18;;24915:48;24995:3;24980:19;;24591:414::o;25010:135::-;25049:3;-1:-1:-1;;25070:17:1;;25067:43;;;25090:18;;:::i;:::-;-1:-1:-1;25137:1:1;25126:13;;25010:135::o;25150:112::-;25182:1;25208;25198:35;;25213:18;;:::i;:::-;-1:-1:-1;25247:9:1;;25150:112::o;25267:127::-;25328:10;25323:3;25319:20;25316:1;25309:31;25359:4;25356:1;25349:15;25383:4;25380:1;25373:15;26918:489;-1:-1:-1;;;;;27187:15:1;;;27169:34;;27239:15;;27234:2;27219:18;;27212:43;27286:2;27271:18;;27264:34;;;27334:3;27329:2;27314:18;;27307:31;;;27112:4;;27355:46;;27381:19;;27373:6;27355:46;:::i;:::-;27347:54;26918:489;-1:-1:-1;;;;;;26918:489:1:o;27412:249::-;27481:6;27534:2;27522:9;27513:7;27509:23;27505:32;27502:52;;;27550:1;27547;27540:12;27502:52;27582:9;27576:16;27601:30;27625:5;27601:30;:::i;28787:127::-;28848:10;28843:3;28839:20;28836:1;28829:31;28879:4;28876:1;28869:15;28903:4;28900:1;28893:15

Swarm Source

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