ETH Price: $3,340.60 (-1.28%)
Gas: 12 Gwei

Contract

0x774546D5610268a96D8338830445DeeAed8c3B81
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...162643472022-12-25 21:08:11582 days ago1672002491IN
0x774546D5...Aed8c3B81
0 ETH0.0005706312.35944412
Mint152811612022-08-05 8:15:13725 days ago1659687313IN
0x774546D5...Aed8c3B81
0 ETH0.001982019.1
Mint147311422022-05-07 17:34:06814 days ago1651944846IN
0x774546D5...Aed8c3B81
0 ETH0.0242960331.42834809
Mint147311402022-05-07 17:32:52814 days ago1651944772IN
0x774546D5...Aed8c3B81
0 ETH0.0196687425.44267847
Mint147311352022-05-07 17:32:10814 days ago1651944730IN
0x774546D5...Aed8c3B81
0 ETH0.0436196129.78796194
Mint146844102022-04-30 8:01:13822 days ago1651305673IN
0x774546D5...Aed8c3B81
0 ETH0.0065818330.61261643
Mint145982152022-04-16 19:16:31835 days ago1650136591IN
0x774546D5...Aed8c3B81
0 ETH0.0082341737.80545599
Mint145470782022-04-08 19:43:51843 days ago1649447031IN
0x774546D5...Aed8c3B81
0 ETH0.0014926344.68171403
Mint145470782022-04-08 19:43:51843 days ago1649447031IN
0x774546D5...Aed8c3B81
0 ETH0.0096067444.68171403
Mint144980752022-04-01 3:56:02851 days ago1648785362IN
0x774546D5...Aed8c3B81
0 ETH0.0134165361.59913116
Mint144980612022-04-01 3:52:23851 days ago1648785143IN
0x774546D5...Aed8c3B81
0 ETH0.0166288877.34221321
Transfer From144902812022-03-30 22:46:03852 days ago1648680363IN
0x774546D5...Aed8c3B81
0 ETH0.0038984745.0029874
Mint144902522022-03-30 22:38:33852 days ago1648679913IN
0x774546D5...Aed8c3B81
0 ETH0.0119588555.62156022
Mint144895342022-03-30 19:55:43852 days ago1648670143IN
0x774546D5...Aed8c3B81
0 ETH0.0176009680.81547337
Mint144895282022-03-30 19:54:31852 days ago1648670071IN
0x774546D5...Aed8c3B81
0 ETH0.0175565480.6115372
Mint144895032022-03-30 19:49:12852 days ago1648669752IN
0x774546D5...Aed8c3B81
0 ETH0.0198806692.47164458
Mint144671202022-03-27 8:23:37856 days ago1648369417IN
0x774546D5...Aed8c3B81
0 ETH0.0043919820.16595465
Mint144670332022-03-27 8:03:47856 days ago1648368227IN
0x774546D5...Aed8c3B81
0 ETH0.0044655620.77083995
Mint144108742022-03-18 14:03:36864 days ago1647612216IN
0x774546D5...Aed8c3B81
0 ETH0.0082380737.82333948
Mint144108542022-03-18 13:58:28864 days ago1647611908IN
0x774546D5...Aed8c3B81
0 ETH0.0058747326.97257476
Mint144100012022-03-18 11:00:21864 days ago1647601221IN
0x774546D5...Aed8c3B81
0 ETH0.0066590230.57346407
Mint143364992022-03-07 0:24:46876 days ago1646612686IN
0x774546D5...Aed8c3B81
0 ETH0.0129018360.00741796
Mint143070432022-03-02 10:30:50881 days ago1646217050IN
0x774546D5...Aed8c3B81
0 ETH0.0076750435.69722616
Mint142836852022-02-26 19:38:04884 days ago1645904284IN
0x774546D5...Aed8c3B81
0 ETH0.0104904448.79185419
Mint142768952022-02-25 18:31:30885 days ago1645813890IN
0x774546D5...Aed8c3B81
0 ETH0.008164937.48738161
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WorkshopOrigin

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-01-28
*/

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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


// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

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


// OpenZeppelin Contracts v4.4.0 (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/Context.sol


// OpenZeppelin Contracts v4.4.0 (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.0 (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: @openzeppelin/contracts/security/Pausable.sol


// OpenZeppelin Contracts v4.4.0 (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 v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;



/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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


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

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

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

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

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

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

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

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


// OpenZeppelin Contracts v4.4.1 (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 tokenId);

    /**
     * @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.0 (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 v4.4.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 overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @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 of token that is not own");
        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);
    }

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

// 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: contracts/Workshop.sol


pragma solidity ^0.8.6;







/**
 * @title The Workshop: Origin
 * @notice
 */
contract WorkshopOrigin is ERC721Enumerable, Pausable, Ownable {
  using SafeERC20 for IERC20;

  // Represents a Workshop Item, e.g., Power Glove, Shurinken
  struct Item {
    uint16 max;
    uint16 minted;
    uint96 madCost;
    uint96 erc721Cost;
  }

  // If frozen, baseTokenURI cannot be updated
  bool public frozen;

  // Tracks tokenId
  uint88 private _tokenIdTracker;

  // Workshop currency $MAD
  IERC20 public immutable madToken;

  // Address where the mint fees are deposited
  address public multiSigOwner;

  // Tracks tokenId => groupId
  mapping(uint256 => uint256) public tokenToGroup;

  // Maps eligible contracts to their respective merkle roots
  mapping(address => bytes32) public contractToMerkleRoot;

  // Wallet Address => (Contract Address => Boolean)
  // Indicates if a user has claimed workshop items
  // against an eligible contract
  mapping(address => mapping(address => bool)) public claimed;

  // Cannot be updated if contract is frozen
  string public baseTokenURI;

  // Max mint per tx
  uint256 public constant MAX_MINT_AMOUNT = 30;

  // List of all workshop items
  Item[] public items;

  event Forged(uint256 indexed id);

  /**
   * @notice Sanity checks before minting
   * @param to Address where tokens will be minted to
   * @param count Number of tokens to be minted
   * @param groupId Index of relevant workshop item in `items`
   */
  modifier validateMintParameters(
    address to,
    uint16 count,
    uint8 groupId
  ) {
    require(to != address(0), "Cannot mint to empty address");
    require(groupId < items.length, "Invalid group id");
    Item storage item = items[groupId];

    uint256 available = item.max - item.minted;

    require(count <= available, "Special Items sold out");
    require(count <= MAX_MINT_AMOUNT, "Max mint exceeded");
    _;
  }

  constructor(
    string memory baseURI,
    address _madToken,
    address cyberLootToken,
    bytes32 cyberLootMerkleRoot,
    address _multiSigOwner
  ) ERC721("WorkshopOrigin", "WSO") {
    
    setBaseURI(baseURI);

    madToken = IERC20(_madToken);
    contractToMerkleRoot[cyberLootToken] = cyberLootMerkleRoot;
    multiSigOwner = _multiSigOwner;
  }

  /**
   * @notice Mint using $MAD
   * @param to Address where tokens will be minted to
   * @param count Number of tokens to be minted
   * @param groupId Index of relevant workshop item in `items`
   */
  function mint(
    address to,
    uint16 count,
    uint8 groupId
  ) external validateMintParameters(to, count, groupId) {
    Item storage item = items[groupId];
    uint256 cost = item.madCost * count;

    require(madToken.balanceOf(msg.sender) >= cost, "Insufficient $MAD tokens");
    madToken.safeTransferFrom(msg.sender, multiSigOwner, cost);
    item.minted += count;

    for (uint256 i = 0; i < count; i++) {
      _mintOneItem(to, groupId);
    }
  }

  /**
   * @notice Mint against balanceOf a contract in `eligibleContracts`
   * @param to Address where tokens will be minted to
   * @param count Number of tokens to be minted
   * @param groupId Index of relevant workshop item in `items`
   * @param eligibleContract Should be present in `eligibleContracts`
   */
  function claim(
    address to,
    uint16 count,
    uint8 groupId,
    uint96 erc721Budget,
    address eligibleContract,
    bytes32[] calldata merkleProof
  ) external validateMintParameters(to, count, groupId) {
    require(contractToMerkleRoot[eligibleContract] != 0, "Ineligible contract");
    require(claimed[msg.sender][eligibleContract] == false, "Already claimed");

    bytes32 node = keccak256(abi.encodePacked(msg.sender, erc721Budget));
    require(
      MerkleProof.verify(
        merkleProof,
        contractToMerkleRoot[eligibleContract],
        node
      ),
      "Could not verify merkleProof"
    );

    Item storage item = items[groupId];
    require(erc721Budget >= item.erc721Cost * count, "Not enough budget");

    claimed[msg.sender][eligibleContract] = true;
    item.minted += count;

    for (uint256 i = 0; i < count; i++) {
      _mintOneItem(to, groupId);
    }
  }

  /**
   * @notice Add a contract to contractToMerkleRoot
   * @param _contract Address to be added
   */
  function addContract(address _contract, bytes32 merkleRoot)
    external
    onlyOwner
  {
    contractToMerkleRoot[_contract] = merkleRoot;
  }

  /**
   * @notice Remove a contract from contractToMerkleRoot
   * @param _contract Address to be removed
   */
  function removeContract(address _contract) external onlyOwner {
    contractToMerkleRoot[_contract] = 0;
  }

  /**
   * @notice Add special items to the workshop
   * @param _items List of items to be added
   */
  function addItems(Item[] memory _items) external onlyOwner {
    for (uint256 i = 0; i < _items.length; i++) {
      items.push(
        Item({
          max: _items[i].max,
          minted: _items[i].minted,
          erc721Cost: _items[i].erc721Cost,
          madCost: _items[i].madCost
        })
      );
    }
  }

  /**
   * @notice Modify existing item.
   * Cannot modify number of minted items
   * @param _item New parameters to be updated
   */
  function modifyItem(Item memory _item, uint256 groupId) external onlyOwner {
    require(groupId < items.length, "Invalid group id");

    Item storage item = items[groupId];

    item.max = _item.max;
    item.erc721Cost = _item.erc721Cost;
    item.madCost = _item.madCost;
  }

  function _mintOneItem(address to, uint256 groupId) private {
    _tokenIdTracker += 1;

    uint256 tokenId = _tokenIdTracker;

    tokenToGroup[tokenId] = groupId;

    _safeMint(to, tokenId);

    emit Forged(tokenId);
  }

  function tokenURI(uint256 tokenId)
    public
    view
    override
    returns (string memory)
  {
    return
      string(
        abi.encodePacked(baseTokenURI, Strings.toString(tokenId), ".json")
      );
  }

  /**
   * @notice Updates baseURI if contract is not frozen
   */
  function setBaseURI(string memory baseURI) public onlyOwner {
    require(!frozen, "Contract is frozen");
    baseTokenURI = baseURI;
  }

  /**
   * @notice Cannot be undone.
   */
  function freeze() public onlyOwner {
    frozen = true;
  }

  function pause(bool val) public onlyOwner {
    if (val) {
      _pause();
      return;
    }
    _unpause();
  }

  function setMultisigOwner(address _multiSigOwner) external onlyOwner {
    multiSigOwner = _multiSigOwner;
  }

  function _beforeTokenTransfer(
    address from,
    address to,
    uint256 tokenId
  ) internal override(ERC721Enumerable) whenNotPaused {
    super._beforeTokenTransfer(from, to, tokenId);
  }

  /**
   * @notice Rescue any $MAD sent to the contract by mistake
   *
   */
  function rescueTokens() external onlyOwner {
    uint256 balance = madToken.balanceOf(address(this));
    require(balance > 0);
    madToken.safeTransfer(multiSigOwner, balance);
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"address","name":"_madToken","type":"address"},{"internalType":"address","name":"cyberLootToken","type":"address"},{"internalType":"bytes32","name":"cyberLootMerkleRoot","type":"bytes32"},{"internalType":"address","name":"_multiSigOwner","type":"address"}],"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":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Forged","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":"MAX_MINT_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"addContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint16","name":"max","type":"uint16"},{"internalType":"uint16","name":"minted","type":"uint16"},{"internalType":"uint96","name":"madCost","type":"uint96"},{"internalType":"uint96","name":"erc721Cost","type":"uint96"}],"internalType":"struct WorkshopOrigin.Item[]","name":"_items","type":"tuple[]"}],"name":"addItems","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":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint16","name":"count","type":"uint16"},{"internalType":"uint8","name":"groupId","type":"uint8"},{"internalType":"uint96","name":"erc721Budget","type":"uint96"},{"internalType":"address","name":"eligibleContract","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"contractToMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeze","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"frozen","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"items","outputs":[{"internalType":"uint16","name":"max","type":"uint16"},{"internalType":"uint16","name":"minted","type":"uint16"},{"internalType":"uint96","name":"madCost","type":"uint96"},{"internalType":"uint96","name":"erc721Cost","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"madToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint16","name":"count","type":"uint16"},{"internalType":"uint8","name":"groupId","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint16","name":"max","type":"uint16"},{"internalType":"uint16","name":"minted","type":"uint16"},{"internalType":"uint96","name":"madCost","type":"uint96"},{"internalType":"uint96","name":"erc721Cost","type":"uint96"}],"internalType":"struct WorkshopOrigin.Item","name":"_item","type":"tuple"},{"internalType":"uint256","name":"groupId","type":"uint256"}],"name":"modifyItem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"multiSigOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"removeContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_multiSigOwner","type":"address"}],"name":"setMultisigOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"","type":"uint256"}],"name":"tokenToGroup","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":"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"}]

60a06040523480156200001157600080fd5b506040516200401b3803806200401b83398101604081905262000034916200030a565b604080518082018252600e81526d2bb7b935b9b437b827b934b3b4b760911b60208083019182528351808501909452600384526257534f60e81b908401528151919291620000859160009162000247565b5080516200009b90600190602084019062000247565b5050600a805460ff1916905550620000b3336200011d565b620000be8562000177565b6001600160601b031960609490941b939093166080526001600160a01b039182166000908152600d6020526040902055600b8054919092166b01000000000000000000000002600160581b600160f81b0319909116179055506200047d565b600a80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a546001600160a01b03610100909104163314620001dd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600a54600160a81b900460ff16156200022e5760405162461bcd60e51b815260206004820152601260248201527121b7b73a3930b1ba1034b990333937bd32b760711b6044820152606401620001d4565b80516200024390600f90602084019062000247565b5050565b82805462000255906200042a565b90600052602060002090601f016020900481019282620002795760008555620002c4565b82601f106200029457805160ff1916838001178555620002c4565b82800160010185558215620002c4579182015b82811115620002c4578251825591602001919060010190620002a7565b50620002d2929150620002d6565b5090565b5b80821115620002d25760008155600101620002d7565b80516001600160a01b03811681146200030557600080fd5b919050565b600080600080600060a086880312156200032357600080fd5b85516001600160401b03808211156200033b57600080fd5b818801915088601f8301126200035057600080fd5b81518181111562000365576200036562000467565b604051601f8201601f19908116603f0116810190838211818310171562000390576200039062000467565b81604052828152602093508b84848701011115620003ad57600080fd5b600091505b82821015620003d15784820184015181830185015290830190620003b2565b82821115620003e35760008484830101525b9850620003f5915050888201620002ed565b955050506200040760408701620002ed565b9250606086015191506200041e60808701620002ed565b90509295509295909350565b600181811c908216806200043f57607f821691505b602082108114156200046157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160601c613b63620004b8600039600081816104dc0152818161196501528181611a0701528181611c410152611d1a0152613b636000f3fe608060405234801561001057600080fd5b50600436106102c85760003560e01c80636352211e1161017b578063bfb231d2116100d8578063de1255e91161008c578063f11c801c11610071578063f11c801c14610634578063f2fde38b14610647578063fa9b70181461065a57600080fd5b8063de1255e9146105d8578063e985e9c5146105f857600080fd5b8063c87b56dd116100bd578063c87b56dd146105b5578063d547cfb7146105c8578063dd8c2e0f146105d057600080fd5b8063bfb231d214610555578063c375c2ef146105a257600080fd5b80638da5cb5b1161012f578063a22cb46511610114578063a22cb4651461051c578063b7c46cd51461052f578063b88d4fde1461054257600080fd5b80638da5cb5b146104fe57806395d89b411461051457600080fd5b8063715018a611610160578063715018a6146104bc578063825e369f146104c45780638940639e146104d757600080fd5b80636352211e1461049657806370a08231146104a957600080fd5b806323b872dd116102295780634f6ccce7116101dd57806355f804b3116101c257806355f804b3146104705780635c975abb1461048357806362a5af3b1461048e57600080fd5b80634f6ccce71461044a5780634fd1f8531461045d57600080fd5b80632f745c591161020e5780632f745c591461041157806342842e0e146104245780634e1643371461043757600080fd5b806323b872dd146103eb578063278e56df146103fe57600080fd5b8063081812fc116102805780630c9cbf0e116102655780630c9cbf0e1461038b57806318160ddd146103b95780631852f41f146103cb57600080fd5b8063081812fc14610365578063095ea7b31461037857600080fd5b80630329dd62116102b15780630329dd621461030a578063054f7d9c1461033c57806306fdde031461035057600080fd5b806301ffc9a7146102cd57806302329a29146102f5575b600080fd5b6102e06102db366004613668565b610662565b60405190151581526020015b60405180910390f35b61030861030336600461362e565b6106a6565b005b600b5461032490600160581b90046001600160a01b031681565b6040516001600160a01b0390911681526020016102ec565b600a546102e090600160a81b900460ff1681565b610358610712565b6040516102ec91906138bb565b610324610373366004613716565b6107a4565b610308610386366004613441565b610839565b6102e061039936600461331f565b600e60209081526000928352604080842090915290825290205460ff1681565b6008545b6040519081526020016102ec565b6103bd6103d9366004613304565b600d6020526000908152604090205481565b6103086103f9366004613352565b61096b565b61030861040c366004613304565b6109f2565b6103bd61041f366004613441565b610a81565b610308610432366004613352565b610b29565b610308610445366004613577565b610b44565b6103bd610458366004613716565b610d21565b61030861046b3660046136eb565b610dc5565b61030861047e3660046136a2565b610f01565b600a5460ff166102e0565b610308610fbc565b6103246104a4366004613716565b61103a565b6103bd6104b7366004613304565b6110c5565b61030861115f565b6103086104d23660046134ae565b6111b9565b6103247f000000000000000000000000000000000000000000000000000000000000000081565b600a5461010090046001600160a01b0316610324565b610358611674565b61030861052a36600461340a565b611683565b61030861053d366004613441565b61168e565b61030861055036600461338e565b6116f8565b610568610563366004613716565b611786565b6040805161ffff95861681529490931660208501526bffffffffffffffffffffffff918216928401929092521660608201526080016102ec565b6103086105b0366004613304565b6117d5565b6103586105c3366004613716565b61183d565b610358611871565b6103086118ff565b6103bd6105e6366004613716565b600c6020526000908152604090205481565b6102e061060636600461331f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61030861064236600461346b565b611a37565b610308610655366004613304565b611dc0565b6103bd601e81565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806106a057506106a082611e93565b92915050565b600a546001600160a01b036101009091041633146106f95760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064015b60405180910390fd5b801561070a57610707611f2e565b50565b610707611fd3565b60606000805461072190613a11565b80601f016020809104026020016040519081016040528092919081815260200182805461074d90613a11565b801561079a5780601f1061076f5761010080835404028352916020019161079a565b820191906000526020600020905b81548152906001019060200180831161077d57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661081d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106f0565b506000908152600460205260409020546001600160a01b031690565b60006108448261103a565b9050806001600160a01b0316836001600160a01b031614156108ce5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016106f0565b336001600160a01b03821614806108ea57506108ea8133610606565b61095c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106f0565b6109668383612056565b505050565b61097533826120d1565b6109e75760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016106f0565b6109668383836121c8565b600a546001600160a01b03610100909104163314610a405760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064016106f0565b600b80546001600160a01b03909216600160581b027fff0000000000000000000000000000000000000000ffffffffffffffffffffff909216919091179055565b6000610a8c836110c5565b8210610b005760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084016106f0565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610966838383604051806020016040528060008152506116f8565b600a546001600160a01b03610100909104163314610b925760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064016106f0565b60005b8151811015610d1d5760106040518060800160405280848481518110610bbd57610bbd613abd565b60200260200101516000015161ffff168152602001848481518110610be457610be4613abd565b60200260200101516020015161ffff168152602001848481518110610c0b57610c0b613abd565b6020026020010151604001516bffffffffffffffffffffffff168152602001848481518110610c3c57610c3c613abd565b6020908102919091018101516060908101516bffffffffffffffffffffffff9081169093528454600181018655600095865294829020845195018054928501516040860151959092015161ffff96871663ffffffff1990941693909317620100009690921695909502177fffffffff000000000000000000000000000000000000000000000000ffffffff16640100000000938316939093027fffffffff000000000000000000000000ffffffffffffffffffffffffffffffff1692909217600160801b929091169190910217905580610d1581613a4c565b915050610b95565b5050565b6000610d2c60085490565b8210610da05760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016106f0565b60088281548110610db357610db3613abd565b90600052602060002001549050919050565b600a546001600160a01b03610100909104163314610e135760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064016106f0565b6010548110610e575760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a590819dc9bdd5c081a5960821b60448201526064016106f0565b600060108281548110610e6c57610e6c613abd565b60009182526020909120845191018054606086015160409096015161ffff9093167fffffffff000000000000000000000000ffffffffffffffffffffffffffff000090911617600160801b6bffffffffffffffffffffffff96871602177fffffffffffffffffffffffffffffffff000000000000000000000000ffffffff166401000000009590921694909402179092555050565b600a546001600160a01b03610100909104163314610f4f5760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064016106f0565b600a54600160a81b900460ff1615610fa95760405162461bcd60e51b815260206004820152601260248201527f436f6e74726163742069732066726f7a656e000000000000000000000000000060448201526064016106f0565b8051610d1d90600f906020840190613138565b600a546001600160a01b0361010090910416331461100a5760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064016106f0565b600a80547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16600160a81b179055565b6000818152600260205260408120546001600160a01b0316806106a05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016106f0565b60006001600160a01b0382166111435760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016106f0565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b036101009091041633146111ad5760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064016106f0565b6111b760006123ad565b565b8686866001600160a01b0383166112125760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f74206d696e7420746f20656d70747920616464726573730000000060448201526064016106f0565b60105460ff8216106112595760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a590819dc9bdd5c081a5960821b60448201526064016106f0565b600060108260ff168154811061127157611271613abd565b6000918252602082200180549092506112969061ffff620100008204811691166139ab565b61ffff169050808461ffff1611156112f05760405162461bcd60e51b815260206004820152601660248201527f5370656369616c204974656d7320736f6c64206f75740000000000000000000060448201526064016106f0565b601e8461ffff1611156113455760405162461bcd60e51b815260206004820152601160248201527f4d6178206d696e7420657863656564656400000000000000000000000000000060448201526064016106f0565b6001600160a01b0388166000908152600d60205260409020546113aa5760405162461bcd60e51b815260206004820152601360248201527f496e656c696769626c6520636f6e74726163740000000000000000000000000060448201526064016106f0565b336000908152600e602090815260408083206001600160a01b038c16845290915290205460ff161561141e5760405162461bcd60e51b815260206004820152600f60248201527f416c726561647920636c61696d6564000000000000000000000000000000000060448201526064016106f0565b604080516bffffffffffffffffffffffff193360601b16602082015273ffffffffffffffffffffffffffffffffffffffff1960a08c901b166034820152600091016040516020818303038152906040528051906020012090506114cb88888080602002602001604051908101604052809392919081815260200183836020028082843760009201829052506001600160a01b038f168152600d6020526040902054925085915061241e9050565b6115175760405162461bcd60e51b815260206004820152601c60248201527f436f756c64206e6f7420766572696679206d65726b6c6550726f6f660000000060448201526064016106f0565b600060108c60ff168154811061152f5761152f613abd565b600091825260209091200180549091506115639061ffff8f1690600160801b90046bffffffffffffffffffffffff16613977565b6bffffffffffffffffffffffff168b6bffffffffffffffffffffffff1610156115ce5760405162461bcd60e51b815260206004820152601160248201527f4e6f7420656e6f7567682062756467657400000000000000000000000000000060448201526064016106f0565b336000908152600e602090815260408083206001600160a01b038e1684529091529020805460ff1916600117905580548d90829060029061161b90849061ffff62010000909104166138ff565b92506101000a81548161ffff021916908361ffff16021790555060005b8d61ffff16811015611663576116518f8e60ff16612436565b8061165b81613a4c565b915050611638565b505050505050505050505050505050565b60606001805461072190613a11565b610d1d3383836124ce565b600a546001600160a01b036101009091041633146116dc5760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064016106f0565b6001600160a01b039091166000908152600d6020526040902055565b61170233836120d1565b6117745760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016106f0565b6117808484848461259d565b50505050565b6010818154811061179657600080fd5b60009182526020909120015461ffff808216925062010000820416906bffffffffffffffffffffffff6401000000008204811691600160801b90041684565b600a546001600160a01b036101009091041633146118235760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064016106f0565b6001600160a01b03166000908152600d6020526040812055565b6060600f61184a8361261b565b60405160200161185b9291906137ac565b6040516020818303038152906040529050919050565b600f805461187e90613a11565b80601f01602080910402602001604051908101604052809291908181526020018280546118aa90613a11565b80156118f75780601f106118cc576101008083540402835291602001916118f7565b820191906000526020600020905b8154815290600101906020018083116118da57829003601f168201915b505050505081565b600a546001600160a01b0361010090910416331461194d5760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064016106f0565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b1580156119af57600080fd5b505afa1580156119c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e7919061372f565b9050600081116119f657600080fd5b600b54610707906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811691600160581b9004168361274d565b8282826001600160a01b038316611a905760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f74206d696e7420746f20656d70747920616464726573730000000060448201526064016106f0565b60105460ff821610611ad75760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a590819dc9bdd5c081a5960821b60448201526064016106f0565b600060108260ff1681548110611aef57611aef613abd565b600091825260208220018054909250611b149061ffff620100008204811691166139ab565b61ffff169050808461ffff161115611b6e5760405162461bcd60e51b815260206004820152601660248201527f5370656369616c204974656d7320736f6c64206f75740000000000000000000060448201526064016106f0565b601e8461ffff161115611bc35760405162461bcd60e51b815260206004820152601160248201527f4d6178206d696e7420657863656564656400000000000000000000000000000060448201526064016106f0565b600060108760ff1681548110611bdb57611bdb613abd565b600091825260208220018054909250611c0f9061ffff8b169064010000000090046bffffffffffffffffffffffff16613977565b6040516370a0823160e01b81523360048201526bffffffffffffffffffffffff91909116915081906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a082319060240160206040518083038186803b158015611c8357600080fd5b505afa158015611c97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cbb919061372f565b1015611d095760405162461bcd60e51b815260206004820152601860248201527f496e73756666696369656e7420244d414420746f6b656e73000000000000000060448201526064016106f0565b600b54611d4d906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116913391600160581b90910416846127de565b815489908390600290611d6b90849062010000900461ffff166138ff565b92506101000a81548161ffff021916908361ffff16021790555060005b8961ffff16811015611db357611da18b8a60ff16612436565b80611dab81613a4c565b915050611d88565b5050505050505050505050565b600a546001600160a01b03610100909104163314611e0e5760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064016106f0565b6001600160a01b038116611e8a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106f0565b610707816123ad565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611ef657506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806106a057507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146106a0565b600a5460ff1615611f815760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016106f0565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611fb63390565b6040516001600160a01b03909116815260200160405180910390a1565b600a5460ff166120255760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016106f0565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33611fb6565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03841690811790915581906120988261103a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661214a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106f0565b60006121558361103a565b9050806001600160a01b0316846001600160a01b031614806121905750836001600160a01b0316612185846107a4565b6001600160a01b0316145b806121c057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166121db8261103a565b6001600160a01b0316146122575760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016106f0565b6001600160a01b0382166122d25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106f0565b6122dd83838361282f565b6122e8600082612056565b6001600160a01b03831660009081526003602052604081208054600192906123119084906139ce565b90915550506001600160a01b038216600090815260036020526040812080546001929061233f908490613925565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008261242b858461288d565b1490505b9392505050565b600b8054600191906000906124599084906affffffffffffffffffffff1661393d565b82546101009290920a6affffffffffffffffffffff818102199093169183160217909155600b54166000818152600c60205260409020839055905061249e8382612939565b60405181907fa22a31dd1a00f78bee760c51c0ef685aca8f4bec18943fe176e64d80379cc15e90600090a2505050565b816001600160a01b0316836001600160a01b031614156125305760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106f0565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6125a88484846121c8565b6125b484848484612953565b6117805760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106f0565b60608161265b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612685578061266f81613a4c565b915061267e9050600a83613963565b915061265f565b60008167ffffffffffffffff8111156126a0576126a0613ad3565b6040519080825280601f01601f1916602001820160405280156126ca576020820181803683370190505b5090505b84156121c0576126df6001836139ce565b91506126ec600a86613a67565b6126f7906030613925565b60f81b81838151811061270c5761270c613abd565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612746600a86613963565b94506126ce565b6040516001600160a01b0383166024820152604481018290526109669084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166001600160e01b031990931692909217909152612aab565b6040516001600160a01b03808516602483015283166044820152606481018290526117809085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401612792565b600a5460ff16156128825760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016106f0565b610966838383612b90565b600081815b84518110156129315760008582815181106128af576128af613abd565b602002602001015190508083116128f157604080516020810185905290810182905260600160405160208183030381529060405280519060200120925061291e565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061292981613a4c565b915050612892565b509392505050565b610d1d828260405180602001604052806000815250612c48565b60006001600160a01b0384163b15612aa057604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061299790339089908890889060040161387f565b602060405180830381600087803b1580156129b157600080fd5b505af19250505080156129e1575060408051601f3d908101601f191682019092526129de91810190613685565b60015b612a86573d808015612a0f576040519150601f19603f3d011682016040523d82523d6000602084013e612a14565b606091505b508051612a7e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106f0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506121c0565b506001949350505050565b6000612b00826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612cc69092919063ffffffff16565b8051909150156109665780806020019051810190612b1e919061364b565b6109665760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016106f0565b6001600160a01b038316612beb57612be681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612c0e565b816001600160a01b0316836001600160a01b031614612c0e57612c0e8382612cd5565b6001600160a01b038216612c255761096681612d72565b826001600160a01b0316826001600160a01b031614610966576109668282612e21565b612c528383612e65565b612c5f6000848484612953565b6109665760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106f0565b60606121c08484600085612fc0565b60006001612ce2846110c5565b612cec91906139ce565b600083815260076020526040902054909150808214612d3f576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612d84906001906139ce565b60008381526009602052604081205460088054939450909284908110612dac57612dac613abd565b906000526020600020015490508060088381548110612dcd57612dcd613abd565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612e0557612e05613aa7565b6001900381819060005260206000200160009055905550505050565b6000612e2c836110c5565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216612ebb5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106f0565b6000818152600260205260409020546001600160a01b031615612f205760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106f0565b612f2c6000838361282f565b6001600160a01b0382166000908152600360205260408120805460019290612f55908490613925565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060824710156130385760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016106f0565b843b6130865760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016106f0565b600080866001600160a01b031685876040516130a29190613790565b60006040518083038185875af1925050503d80600081146130df576040519150601f19603f3d011682016040523d82523d6000602084013e6130e4565b606091505b50915091506130f48282866130ff565b979650505050505050565b6060831561310e57508161242f565b82511561311e5782518084602001fd5b8160405162461bcd60e51b81526004016106f091906138bb565b82805461314490613a11565b90600052602060002090601f01602090048101928261316657600085556131ac565b82601f1061317f57805160ff19168380011785556131ac565b828001600101855582156131ac579182015b828111156131ac578251825591602001919060010190613191565b506131b89291506131bc565b5090565b5b808211156131b857600081556001016131bd565b600067ffffffffffffffff8311156131eb576131eb613ad3565b6131fe601f8401601f19166020016138ce565b905082815283838301111561321257600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461324057600080fd5b919050565b60006080828403121561325757600080fd5b6040516080810181811067ffffffffffffffff8211171561327a5761327a613ad3565b604052905080613289836132c5565b8152613297602084016132c5565b60208201526132a8604084016132e8565b60408201526132b9606084016132e8565b60608201525092915050565b803561ffff8116811461324057600080fd5b803560ff8116811461324057600080fd5b80356bffffffffffffffffffffffff8116811461324057600080fd5b60006020828403121561331657600080fd5b61242f82613229565b6000806040838503121561333257600080fd5b61333b83613229565b915061334960208401613229565b90509250929050565b60008060006060848603121561336757600080fd5b61337084613229565b925061337e60208501613229565b9150604084013590509250925092565b600080600080608085870312156133a457600080fd5b6133ad85613229565b93506133bb60208601613229565b925060408501359150606085013567ffffffffffffffff8111156133de57600080fd5b8501601f810187136133ef57600080fd5b6133fe878235602084016131d1565b91505092959194509250565b6000806040838503121561341d57600080fd5b61342683613229565b9150602083013561343681613ae9565b809150509250929050565b6000806040838503121561345457600080fd5b61345d83613229565b946020939093013593505050565b60008060006060848603121561348057600080fd5b61348984613229565b9250613497602085016132c5565b91506134a5604085016132d7565b90509250925092565b600080600080600080600060c0888a0312156134c957600080fd5b6134d288613229565b96506134e0602089016132c5565b95506134ee604089016132d7565b94506134fc606089016132e8565b935061350a60808901613229565b925060a088013567ffffffffffffffff8082111561352757600080fd5b818a0191508a601f83011261353b57600080fd5b81358181111561354a57600080fd5b8b60208260051b850101111561355f57600080fd5b60208301945080935050505092959891949750929550565b6000602080838503121561358a57600080fd5b823567ffffffffffffffff808211156135a257600080fd5b818501915085601f8301126135b657600080fd5b8135818111156135c8576135c8613ad3565b6135d6848260051b016138ce565b8181528481019250838501600783901b850186018910156135f657600080fd5b600094505b828510156136225761360d8982613245565b845260019490940193928501926080016135fb565b50979650505050505050565b60006020828403121561364057600080fd5b813561242f81613ae9565b60006020828403121561365d57600080fd5b815161242f81613ae9565b60006020828403121561367a57600080fd5b813561242f81613af7565b60006020828403121561369757600080fd5b815161242f81613af7565b6000602082840312156136b457600080fd5b813567ffffffffffffffff8111156136cb57600080fd5b8201601f810184136136dc57600080fd5b6121c0848235602084016131d1565b60008060a083850312156136fe57600080fd5b6137088484613245565b946080939093013593505050565b60006020828403121561372857600080fd5b5035919050565b60006020828403121561374157600080fd5b5051919050565b600081518084526137608160208601602086016139e5565b601f01601f19169290920160200192915050565b600081516137868185602086016139e5565b9290920192915050565b600082516137a28184602087016139e5565b9190910192915050565b600080845481600182811c9150808316806137c857607f831692505b60208084108214156137e857634e487b7160e01b86526022600452602486fd5b8180156137fc576001811461380d5761383a565b60ff1986168952848901965061383a565b60008b81526020902060005b868110156138325781548b820152908501908301613819565b505084890196505b50505050505061387661384d8286613774565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526138b16080830184613748565b9695505050505050565b60208152600061242f6020830184613748565b604051601f8201601f1916810167ffffffffffffffff811182821017156138f7576138f7613ad3565b604052919050565b600061ffff80831681851680830382111561391c5761391c613a7b565b01949350505050565b6000821982111561393857613938613a7b565b500190565b60006affffffffffffffffffffff80831681851680830382111561391c5761391c613a7b565b60008261397257613972613a91565b500490565b60006bffffffffffffffffffffffff808316818516818304811182151516156139a2576139a2613a7b565b02949350505050565b600061ffff838116908316818110156139c6576139c6613a7b565b039392505050565b6000828210156139e0576139e0613a7b565b500390565b60005b83811015613a005781810151838201526020016139e8565b838111156117805750506000910152565b600181811c90821680613a2557607f821691505b60208210811415613a4657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613a6057613a60613a7b565b5060010190565b600082613a7657613a76613a91565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b801515811461070757600080fd5b6001600160e01b03198116811461070757600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212206518e65a11888bad4a3576671a6e768c93fbcecc1dfdd5759a5a647251157bd164736f6c6343000806003300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000ab7bc1769857f1f3d4d34fe41b7f997be8c64a8200000000000000000000000013a48f723f4ad29b6da6e7215fe53172c027d98f544369224b027ebcb254a5a5d6117dd24b4cc7579ba2c54026ae5ad6c840b58500000000000000000000000032c4ab222d67968cadbc8d402248fc9699e51b5b000000000000000000000000000000000000000000000000000000000000003068747470733a2f2f776f726b73686f702d736572766963652e6865726f6b756170702e636f6d2f6d657461646174612f00000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102c85760003560e01c80636352211e1161017b578063bfb231d2116100d8578063de1255e91161008c578063f11c801c11610071578063f11c801c14610634578063f2fde38b14610647578063fa9b70181461065a57600080fd5b8063de1255e9146105d8578063e985e9c5146105f857600080fd5b8063c87b56dd116100bd578063c87b56dd146105b5578063d547cfb7146105c8578063dd8c2e0f146105d057600080fd5b8063bfb231d214610555578063c375c2ef146105a257600080fd5b80638da5cb5b1161012f578063a22cb46511610114578063a22cb4651461051c578063b7c46cd51461052f578063b88d4fde1461054257600080fd5b80638da5cb5b146104fe57806395d89b411461051457600080fd5b8063715018a611610160578063715018a6146104bc578063825e369f146104c45780638940639e146104d757600080fd5b80636352211e1461049657806370a08231146104a957600080fd5b806323b872dd116102295780634f6ccce7116101dd57806355f804b3116101c257806355f804b3146104705780635c975abb1461048357806362a5af3b1461048e57600080fd5b80634f6ccce71461044a5780634fd1f8531461045d57600080fd5b80632f745c591161020e5780632f745c591461041157806342842e0e146104245780634e1643371461043757600080fd5b806323b872dd146103eb578063278e56df146103fe57600080fd5b8063081812fc116102805780630c9cbf0e116102655780630c9cbf0e1461038b57806318160ddd146103b95780631852f41f146103cb57600080fd5b8063081812fc14610365578063095ea7b31461037857600080fd5b80630329dd62116102b15780630329dd621461030a578063054f7d9c1461033c57806306fdde031461035057600080fd5b806301ffc9a7146102cd57806302329a29146102f5575b600080fd5b6102e06102db366004613668565b610662565b60405190151581526020015b60405180910390f35b61030861030336600461362e565b6106a6565b005b600b5461032490600160581b90046001600160a01b031681565b6040516001600160a01b0390911681526020016102ec565b600a546102e090600160a81b900460ff1681565b610358610712565b6040516102ec91906138bb565b610324610373366004613716565b6107a4565b610308610386366004613441565b610839565b6102e061039936600461331f565b600e60209081526000928352604080842090915290825290205460ff1681565b6008545b6040519081526020016102ec565b6103bd6103d9366004613304565b600d6020526000908152604090205481565b6103086103f9366004613352565b61096b565b61030861040c366004613304565b6109f2565b6103bd61041f366004613441565b610a81565b610308610432366004613352565b610b29565b610308610445366004613577565b610b44565b6103bd610458366004613716565b610d21565b61030861046b3660046136eb565b610dc5565b61030861047e3660046136a2565b610f01565b600a5460ff166102e0565b610308610fbc565b6103246104a4366004613716565b61103a565b6103bd6104b7366004613304565b6110c5565b61030861115f565b6103086104d23660046134ae565b6111b9565b6103247f000000000000000000000000ab7bc1769857f1f3d4d34fe41b7f997be8c64a8281565b600a5461010090046001600160a01b0316610324565b610358611674565b61030861052a36600461340a565b611683565b61030861053d366004613441565b61168e565b61030861055036600461338e565b6116f8565b610568610563366004613716565b611786565b6040805161ffff95861681529490931660208501526bffffffffffffffffffffffff918216928401929092521660608201526080016102ec565b6103086105b0366004613304565b6117d5565b6103586105c3366004613716565b61183d565b610358611871565b6103086118ff565b6103bd6105e6366004613716565b600c6020526000908152604090205481565b6102e061060636600461331f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61030861064236600461346b565b611a37565b610308610655366004613304565b611dc0565b6103bd601e81565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806106a057506106a082611e93565b92915050565b600a546001600160a01b036101009091041633146106f95760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064015b60405180910390fd5b801561070a57610707611f2e565b50565b610707611fd3565b60606000805461072190613a11565b80601f016020809104026020016040519081016040528092919081815260200182805461074d90613a11565b801561079a5780601f1061076f5761010080835404028352916020019161079a565b820191906000526020600020905b81548152906001019060200180831161077d57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661081d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106f0565b506000908152600460205260409020546001600160a01b031690565b60006108448261103a565b9050806001600160a01b0316836001600160a01b031614156108ce5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016106f0565b336001600160a01b03821614806108ea57506108ea8133610606565b61095c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106f0565b6109668383612056565b505050565b61097533826120d1565b6109e75760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016106f0565b6109668383836121c8565b600a546001600160a01b03610100909104163314610a405760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064016106f0565b600b80546001600160a01b03909216600160581b027fff0000000000000000000000000000000000000000ffffffffffffffffffffff909216919091179055565b6000610a8c836110c5565b8210610b005760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084016106f0565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610966838383604051806020016040528060008152506116f8565b600a546001600160a01b03610100909104163314610b925760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064016106f0565b60005b8151811015610d1d5760106040518060800160405280848481518110610bbd57610bbd613abd565b60200260200101516000015161ffff168152602001848481518110610be457610be4613abd565b60200260200101516020015161ffff168152602001848481518110610c0b57610c0b613abd565b6020026020010151604001516bffffffffffffffffffffffff168152602001848481518110610c3c57610c3c613abd565b6020908102919091018101516060908101516bffffffffffffffffffffffff9081169093528454600181018655600095865294829020845195018054928501516040860151959092015161ffff96871663ffffffff1990941693909317620100009690921695909502177fffffffff000000000000000000000000000000000000000000000000ffffffff16640100000000938316939093027fffffffff000000000000000000000000ffffffffffffffffffffffffffffffff1692909217600160801b929091169190910217905580610d1581613a4c565b915050610b95565b5050565b6000610d2c60085490565b8210610da05760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016106f0565b60088281548110610db357610db3613abd565b90600052602060002001549050919050565b600a546001600160a01b03610100909104163314610e135760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064016106f0565b6010548110610e575760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a590819dc9bdd5c081a5960821b60448201526064016106f0565b600060108281548110610e6c57610e6c613abd565b60009182526020909120845191018054606086015160409096015161ffff9093167fffffffff000000000000000000000000ffffffffffffffffffffffffffff000090911617600160801b6bffffffffffffffffffffffff96871602177fffffffffffffffffffffffffffffffff000000000000000000000000ffffffff166401000000009590921694909402179092555050565b600a546001600160a01b03610100909104163314610f4f5760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064016106f0565b600a54600160a81b900460ff1615610fa95760405162461bcd60e51b815260206004820152601260248201527f436f6e74726163742069732066726f7a656e000000000000000000000000000060448201526064016106f0565b8051610d1d90600f906020840190613138565b600a546001600160a01b0361010090910416331461100a5760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064016106f0565b600a80547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16600160a81b179055565b6000818152600260205260408120546001600160a01b0316806106a05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016106f0565b60006001600160a01b0382166111435760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016106f0565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b036101009091041633146111ad5760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064016106f0565b6111b760006123ad565b565b8686866001600160a01b0383166112125760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f74206d696e7420746f20656d70747920616464726573730000000060448201526064016106f0565b60105460ff8216106112595760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a590819dc9bdd5c081a5960821b60448201526064016106f0565b600060108260ff168154811061127157611271613abd565b6000918252602082200180549092506112969061ffff620100008204811691166139ab565b61ffff169050808461ffff1611156112f05760405162461bcd60e51b815260206004820152601660248201527f5370656369616c204974656d7320736f6c64206f75740000000000000000000060448201526064016106f0565b601e8461ffff1611156113455760405162461bcd60e51b815260206004820152601160248201527f4d6178206d696e7420657863656564656400000000000000000000000000000060448201526064016106f0565b6001600160a01b0388166000908152600d60205260409020546113aa5760405162461bcd60e51b815260206004820152601360248201527f496e656c696769626c6520636f6e74726163740000000000000000000000000060448201526064016106f0565b336000908152600e602090815260408083206001600160a01b038c16845290915290205460ff161561141e5760405162461bcd60e51b815260206004820152600f60248201527f416c726561647920636c61696d6564000000000000000000000000000000000060448201526064016106f0565b604080516bffffffffffffffffffffffff193360601b16602082015273ffffffffffffffffffffffffffffffffffffffff1960a08c901b166034820152600091016040516020818303038152906040528051906020012090506114cb88888080602002602001604051908101604052809392919081815260200183836020028082843760009201829052506001600160a01b038f168152600d6020526040902054925085915061241e9050565b6115175760405162461bcd60e51b815260206004820152601c60248201527f436f756c64206e6f7420766572696679206d65726b6c6550726f6f660000000060448201526064016106f0565b600060108c60ff168154811061152f5761152f613abd565b600091825260209091200180549091506115639061ffff8f1690600160801b90046bffffffffffffffffffffffff16613977565b6bffffffffffffffffffffffff168b6bffffffffffffffffffffffff1610156115ce5760405162461bcd60e51b815260206004820152601160248201527f4e6f7420656e6f7567682062756467657400000000000000000000000000000060448201526064016106f0565b336000908152600e602090815260408083206001600160a01b038e1684529091529020805460ff1916600117905580548d90829060029061161b90849061ffff62010000909104166138ff565b92506101000a81548161ffff021916908361ffff16021790555060005b8d61ffff16811015611663576116518f8e60ff16612436565b8061165b81613a4c565b915050611638565b505050505050505050505050505050565b60606001805461072190613a11565b610d1d3383836124ce565b600a546001600160a01b036101009091041633146116dc5760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064016106f0565b6001600160a01b039091166000908152600d6020526040902055565b61170233836120d1565b6117745760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016106f0565b6117808484848461259d565b50505050565b6010818154811061179657600080fd5b60009182526020909120015461ffff808216925062010000820416906bffffffffffffffffffffffff6401000000008204811691600160801b90041684565b600a546001600160a01b036101009091041633146118235760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064016106f0565b6001600160a01b03166000908152600d6020526040812055565b6060600f61184a8361261b565b60405160200161185b9291906137ac565b6040516020818303038152906040529050919050565b600f805461187e90613a11565b80601f01602080910402602001604051908101604052809291908181526020018280546118aa90613a11565b80156118f75780601f106118cc576101008083540402835291602001916118f7565b820191906000526020600020905b8154815290600101906020018083116118da57829003601f168201915b505050505081565b600a546001600160a01b0361010090910416331461194d5760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064016106f0565b6040516370a0823160e01b81523060048201526000907f000000000000000000000000ab7bc1769857f1f3d4d34fe41b7f997be8c64a826001600160a01b0316906370a082319060240160206040518083038186803b1580156119af57600080fd5b505afa1580156119c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e7919061372f565b9050600081116119f657600080fd5b600b54610707906001600160a01b037f000000000000000000000000ab7bc1769857f1f3d4d34fe41b7f997be8c64a82811691600160581b9004168361274d565b8282826001600160a01b038316611a905760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f74206d696e7420746f20656d70747920616464726573730000000060448201526064016106f0565b60105460ff821610611ad75760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a590819dc9bdd5c081a5960821b60448201526064016106f0565b600060108260ff1681548110611aef57611aef613abd565b600091825260208220018054909250611b149061ffff620100008204811691166139ab565b61ffff169050808461ffff161115611b6e5760405162461bcd60e51b815260206004820152601660248201527f5370656369616c204974656d7320736f6c64206f75740000000000000000000060448201526064016106f0565b601e8461ffff161115611bc35760405162461bcd60e51b815260206004820152601160248201527f4d6178206d696e7420657863656564656400000000000000000000000000000060448201526064016106f0565b600060108760ff1681548110611bdb57611bdb613abd565b600091825260208220018054909250611c0f9061ffff8b169064010000000090046bffffffffffffffffffffffff16613977565b6040516370a0823160e01b81523360048201526bffffffffffffffffffffffff91909116915081906001600160a01b037f000000000000000000000000ab7bc1769857f1f3d4d34fe41b7f997be8c64a8216906370a082319060240160206040518083038186803b158015611c8357600080fd5b505afa158015611c97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cbb919061372f565b1015611d095760405162461bcd60e51b815260206004820152601860248201527f496e73756666696369656e7420244d414420746f6b656e73000000000000000060448201526064016106f0565b600b54611d4d906001600160a01b037f000000000000000000000000ab7bc1769857f1f3d4d34fe41b7f997be8c64a828116913391600160581b90910416846127de565b815489908390600290611d6b90849062010000900461ffff166138ff565b92506101000a81548161ffff021916908361ffff16021790555060005b8961ffff16811015611db357611da18b8a60ff16612436565b80611dab81613a4c565b915050611d88565b5050505050505050505050565b600a546001600160a01b03610100909104163314611e0e5760405162461bcd60e51b81526020600482018190526024820152600080516020613b0e83398151915260448201526064016106f0565b6001600160a01b038116611e8a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106f0565b610707816123ad565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611ef657506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806106a057507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146106a0565b600a5460ff1615611f815760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016106f0565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611fb63390565b6040516001600160a01b03909116815260200160405180910390a1565b600a5460ff166120255760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016106f0565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33611fb6565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03841690811790915581906120988261103a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661214a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106f0565b60006121558361103a565b9050806001600160a01b0316846001600160a01b031614806121905750836001600160a01b0316612185846107a4565b6001600160a01b0316145b806121c057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166121db8261103a565b6001600160a01b0316146122575760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016106f0565b6001600160a01b0382166122d25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106f0565b6122dd83838361282f565b6122e8600082612056565b6001600160a01b03831660009081526003602052604081208054600192906123119084906139ce565b90915550506001600160a01b038216600090815260036020526040812080546001929061233f908490613925565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008261242b858461288d565b1490505b9392505050565b600b8054600191906000906124599084906affffffffffffffffffffff1661393d565b82546101009290920a6affffffffffffffffffffff818102199093169183160217909155600b54166000818152600c60205260409020839055905061249e8382612939565b60405181907fa22a31dd1a00f78bee760c51c0ef685aca8f4bec18943fe176e64d80379cc15e90600090a2505050565b816001600160a01b0316836001600160a01b031614156125305760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106f0565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6125a88484846121c8565b6125b484848484612953565b6117805760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106f0565b60608161265b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612685578061266f81613a4c565b915061267e9050600a83613963565b915061265f565b60008167ffffffffffffffff8111156126a0576126a0613ad3565b6040519080825280601f01601f1916602001820160405280156126ca576020820181803683370190505b5090505b84156121c0576126df6001836139ce565b91506126ec600a86613a67565b6126f7906030613925565b60f81b81838151811061270c5761270c613abd565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612746600a86613963565b94506126ce565b6040516001600160a01b0383166024820152604481018290526109669084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166001600160e01b031990931692909217909152612aab565b6040516001600160a01b03808516602483015283166044820152606481018290526117809085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401612792565b600a5460ff16156128825760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016106f0565b610966838383612b90565b600081815b84518110156129315760008582815181106128af576128af613abd565b602002602001015190508083116128f157604080516020810185905290810182905260600160405160208183030381529060405280519060200120925061291e565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061292981613a4c565b915050612892565b509392505050565b610d1d828260405180602001604052806000815250612c48565b60006001600160a01b0384163b15612aa057604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061299790339089908890889060040161387f565b602060405180830381600087803b1580156129b157600080fd5b505af19250505080156129e1575060408051601f3d908101601f191682019092526129de91810190613685565b60015b612a86573d808015612a0f576040519150601f19603f3d011682016040523d82523d6000602084013e612a14565b606091505b508051612a7e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106f0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506121c0565b506001949350505050565b6000612b00826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612cc69092919063ffffffff16565b8051909150156109665780806020019051810190612b1e919061364b565b6109665760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016106f0565b6001600160a01b038316612beb57612be681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612c0e565b816001600160a01b0316836001600160a01b031614612c0e57612c0e8382612cd5565b6001600160a01b038216612c255761096681612d72565b826001600160a01b0316826001600160a01b031614610966576109668282612e21565b612c528383612e65565b612c5f6000848484612953565b6109665760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106f0565b60606121c08484600085612fc0565b60006001612ce2846110c5565b612cec91906139ce565b600083815260076020526040902054909150808214612d3f576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612d84906001906139ce565b60008381526009602052604081205460088054939450909284908110612dac57612dac613abd565b906000526020600020015490508060088381548110612dcd57612dcd613abd565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612e0557612e05613aa7565b6001900381819060005260206000200160009055905550505050565b6000612e2c836110c5565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216612ebb5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106f0565b6000818152600260205260409020546001600160a01b031615612f205760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106f0565b612f2c6000838361282f565b6001600160a01b0382166000908152600360205260408120805460019290612f55908490613925565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060824710156130385760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016106f0565b843b6130865760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016106f0565b600080866001600160a01b031685876040516130a29190613790565b60006040518083038185875af1925050503d80600081146130df576040519150601f19603f3d011682016040523d82523d6000602084013e6130e4565b606091505b50915091506130f48282866130ff565b979650505050505050565b6060831561310e57508161242f565b82511561311e5782518084602001fd5b8160405162461bcd60e51b81526004016106f091906138bb565b82805461314490613a11565b90600052602060002090601f01602090048101928261316657600085556131ac565b82601f1061317f57805160ff19168380011785556131ac565b828001600101855582156131ac579182015b828111156131ac578251825591602001919060010190613191565b506131b89291506131bc565b5090565b5b808211156131b857600081556001016131bd565b600067ffffffffffffffff8311156131eb576131eb613ad3565b6131fe601f8401601f19166020016138ce565b905082815283838301111561321257600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461324057600080fd5b919050565b60006080828403121561325757600080fd5b6040516080810181811067ffffffffffffffff8211171561327a5761327a613ad3565b604052905080613289836132c5565b8152613297602084016132c5565b60208201526132a8604084016132e8565b60408201526132b9606084016132e8565b60608201525092915050565b803561ffff8116811461324057600080fd5b803560ff8116811461324057600080fd5b80356bffffffffffffffffffffffff8116811461324057600080fd5b60006020828403121561331657600080fd5b61242f82613229565b6000806040838503121561333257600080fd5b61333b83613229565b915061334960208401613229565b90509250929050565b60008060006060848603121561336757600080fd5b61337084613229565b925061337e60208501613229565b9150604084013590509250925092565b600080600080608085870312156133a457600080fd5b6133ad85613229565b93506133bb60208601613229565b925060408501359150606085013567ffffffffffffffff8111156133de57600080fd5b8501601f810187136133ef57600080fd5b6133fe878235602084016131d1565b91505092959194509250565b6000806040838503121561341d57600080fd5b61342683613229565b9150602083013561343681613ae9565b809150509250929050565b6000806040838503121561345457600080fd5b61345d83613229565b946020939093013593505050565b60008060006060848603121561348057600080fd5b61348984613229565b9250613497602085016132c5565b91506134a5604085016132d7565b90509250925092565b600080600080600080600060c0888a0312156134c957600080fd5b6134d288613229565b96506134e0602089016132c5565b95506134ee604089016132d7565b94506134fc606089016132e8565b935061350a60808901613229565b925060a088013567ffffffffffffffff8082111561352757600080fd5b818a0191508a601f83011261353b57600080fd5b81358181111561354a57600080fd5b8b60208260051b850101111561355f57600080fd5b60208301945080935050505092959891949750929550565b6000602080838503121561358a57600080fd5b823567ffffffffffffffff808211156135a257600080fd5b818501915085601f8301126135b657600080fd5b8135818111156135c8576135c8613ad3565b6135d6848260051b016138ce565b8181528481019250838501600783901b850186018910156135f657600080fd5b600094505b828510156136225761360d8982613245565b845260019490940193928501926080016135fb565b50979650505050505050565b60006020828403121561364057600080fd5b813561242f81613ae9565b60006020828403121561365d57600080fd5b815161242f81613ae9565b60006020828403121561367a57600080fd5b813561242f81613af7565b60006020828403121561369757600080fd5b815161242f81613af7565b6000602082840312156136b457600080fd5b813567ffffffffffffffff8111156136cb57600080fd5b8201601f810184136136dc57600080fd5b6121c0848235602084016131d1565b60008060a083850312156136fe57600080fd5b6137088484613245565b946080939093013593505050565b60006020828403121561372857600080fd5b5035919050565b60006020828403121561374157600080fd5b5051919050565b600081518084526137608160208601602086016139e5565b601f01601f19169290920160200192915050565b600081516137868185602086016139e5565b9290920192915050565b600082516137a28184602087016139e5565b9190910192915050565b600080845481600182811c9150808316806137c857607f831692505b60208084108214156137e857634e487b7160e01b86526022600452602486fd5b8180156137fc576001811461380d5761383a565b60ff1986168952848901965061383a565b60008b81526020902060005b868110156138325781548b820152908501908301613819565b505084890196505b50505050505061387661384d8286613774565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526138b16080830184613748565b9695505050505050565b60208152600061242f6020830184613748565b604051601f8201601f1916810167ffffffffffffffff811182821017156138f7576138f7613ad3565b604052919050565b600061ffff80831681851680830382111561391c5761391c613a7b565b01949350505050565b6000821982111561393857613938613a7b565b500190565b60006affffffffffffffffffffff80831681851680830382111561391c5761391c613a7b565b60008261397257613972613a91565b500490565b60006bffffffffffffffffffffffff808316818516818304811182151516156139a2576139a2613a7b565b02949350505050565b600061ffff838116908316818110156139c6576139c6613a7b565b039392505050565b6000828210156139e0576139e0613a7b565b500390565b60005b83811015613a005781810151838201526020016139e8565b838111156117805750506000910152565b600181811c90821680613a2557607f821691505b60208210811415613a4657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613a6057613a60613a7b565b5060010190565b600082613a7657613a76613a91565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b801515811461070757600080fd5b6001600160e01b03198116811461070757600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212206518e65a11888bad4a3576671a6e768c93fbcecc1dfdd5759a5a647251157bd164736f6c63430008060033

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

00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000ab7bc1769857f1f3d4d34fe41b7f997be8c64a8200000000000000000000000013a48f723f4ad29b6da6e7215fe53172c027d98f544369224b027ebcb254a5a5d6117dd24b4cc7579ba2c54026ae5ad6c840b58500000000000000000000000032c4ab222d67968cadbc8d402248fc9699e51b5b000000000000000000000000000000000000000000000000000000000000003068747470733a2f2f776f726b73686f702d736572766963652e6865726f6b756170702e636f6d2f6d657461646174612f00000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://workshop-service.herokuapp.com/metadata/
Arg [1] : _madToken (address): 0xAb7Bc1769857F1f3D4d34FE41B7f997Be8c64a82
Arg [2] : cyberLootToken (address): 0x13a48f723f4AD29b6da6e7215Fe53172C027d98f
Arg [3] : cyberLootMerkleRoot (bytes32): 0x544369224b027ebcb254a5a5d6117dd24b4cc7579ba2c54026ae5ad6c840b585
Arg [4] : _multiSigOwner (address): 0x32c4AB222d67968cADBC8d402248fc9699E51b5b

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 000000000000000000000000ab7bc1769857f1f3d4d34fe41b7f997be8c64a82
Arg [2] : 00000000000000000000000013a48f723f4ad29b6da6e7215fe53172c027d98f
Arg [3] : 544369224b027ebcb254a5a5d6117dd24b4cc7579ba2c54026ae5ad6c840b585
Arg [4] : 00000000000000000000000032c4ab222d67968cadbc8d402248fc9699e51b5b
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000030
Arg [6] : 68747470733a2f2f776f726b73686f702d736572766963652e6865726f6b7561
Arg [7] : 70702e636f6d2f6d657461646174612f00000000000000000000000000000000


Deployed Bytecode Sourcemap

55919:7129:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49641:224;;;;;;:::i;:::-;;:::i;:::-;;;12975:14:1;;12968:22;12950:41;;12938:2;12923:18;49641:224:0;;;;;;;;62326:120;;;;;;:::i;:::-;;:::i;:::-;;56436:28;;;;;-1:-1:-1;;;56436:28:0;;-1:-1:-1;;;;;56436:28:0;;;;;;-1:-1:-1;;;;;11511:55:1;;;11493:74;;11481:2;11466:18;56436:28:0;11448:125:1;56237:18:0;;;;;-1:-1:-1;;;56237:18:0;;;;;;37135:100;;;:::i;:::-;;;;;;;:::i;38694:221::-;;;;;;:::i;:::-;;:::i;38217:411::-;;;;;;:::i;:::-;;:::i;56824:59::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;50281:113;50369:10;:17;50281:113;;;13148:25:1;;;13136:2;13121:18;50281:113:0;13103:76:1;56620:55:0;;;;;;:::i;:::-;;;;;;;;;;;;;;39444:339;;;;;;:::i;:::-;;:::i;62452:112::-;;;;;;:::i;:::-;;:::i;49949:256::-;;;;;;:::i;:::-;;:::i;39854:185::-;;;;;;:::i;:::-;;:::i;60758:331::-;;;;;;:::i;:::-;;:::i;50471:233::-;;;;;;:::i;:::-;;:::i;61236:287::-;;;;;;:::i;:::-;;:::i;62067:140::-;;;;;;:::i;:::-;;:::i;11743:86::-;11814:7;;;;11743:86;;62259:61;;;:::i;36829:239::-;;;;;;:::i;:::-;;:::i;36559:208::-;;;;;;:::i;:::-;;:::i;9794:103::-;;;:::i;59211:935::-;;;;;;:::i;:::-;;:::i;56349:32::-;;;;;9143:87;9216:6;;;;;-1:-1:-1;;;;;9216:6:0;9143:87;;37304:104;;;:::i;38987:155::-;;;;;;:::i;:::-;;:::i;60262:149::-;;;;;;:::i;:::-;;:::i;40110:328::-;;;;;;:::i;:::-;;:::i;57075:19::-;;;;;;:::i;:::-;;:::i;:::-;;;;26051:6:1;26084:15;;;26066:34;;26136:15;;;;26131:2;26116:18;;26109:43;26171:26;26233:15;;;26213:18;;;26206:43;;;;26285:15;26280:2;26265:18;;26258:43;26028:3;26013:19;57075::0;25995:312:1;60534:110:0;;;;;;:::i;:::-;;:::i;61769:222::-;;;;;;:::i;:::-;;:::i;56936:26::-;;;:::i;62859:186::-;;;:::i;56503:47::-;;;;;;:::i;:::-;;;;;;;;;;;;;;39213:164;;;;;;:::i;:::-;-1:-1:-1;;;;;39334:25:0;;;39310:4;39334:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;39213:164;58403:478;;;;;;:::i;:::-;;:::i;10052:201::-;;;;;;:::i;:::-;;:::i;56991:44::-;;57033:2;56991:44;;49641:224;49743:4;-1:-1:-1;;;;;;49767:50:0;;49782:35;49767:50;;:90;;;49821:36;49845:11;49821:23;:36::i;:::-;49760:97;49641:224;-1:-1:-1;;49641:224:0:o;62326:120::-;9216:6;;-1:-1:-1;;;;;9216:6:0;;;;;7947:10;9363:23;9355:68;;;;-1:-1:-1;;;9355:68:0;;22537:2:1;9355:68:0;;;22519:21:1;;;22556:18;;;22549:30;-1:-1:-1;;;;;;;;;;;22595:18:1;;;22588:62;22667:18;;9355:68:0;;;;;;;;;62379:3:::1;62375:49;;;62393:8;:6;:8::i;:::-;62326:120:::0;:::o;62375:49::-:1;62430:10;:8;:10::i;37135:100::-:0;37189:13;37222:5;37215:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37135:100;:::o;38694:221::-;38770:7;42037:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42037:16:0;38790:73;;;;-1:-1:-1;;;38790:73:0;;22124:2:1;38790:73:0;;;22106:21:1;22163:2;22143:18;;;22136:30;22202:34;22182:18;;;22175:62;-1:-1:-1;;;22253:18:1;;;22246:42;22305:19;;38790:73:0;22096:234:1;38790:73:0;-1:-1:-1;38883:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;38883:24:0;;38694:221::o;38217:411::-;38298:13;38314:23;38329:7;38314:14;:23::i;:::-;38298:39;;38362:5;-1:-1:-1;;;;;38356:11:0;:2;-1:-1:-1;;;;;38356:11:0;;;38348:57;;;;-1:-1:-1;;;38348:57:0;;23308:2:1;38348:57:0;;;23290:21:1;23347:2;23327:18;;;23320:30;23386:34;23366:18;;;23359:62;23457:3;23437:18;;;23430:31;23478:19;;38348:57:0;23280:223:1;38348:57:0;7947:10;-1:-1:-1;;;;;38440:21:0;;;;:62;;-1:-1:-1;38465:37:0;38482:5;7947:10;39213:164;:::i;38465:37::-;38418:168;;;;-1:-1:-1;;;38418:168:0;;19826:2:1;38418:168:0;;;19808:21:1;19865:2;19845:18;;;19838:30;19904:34;19884:18;;;19877:62;19975:26;19955:18;;;19948:54;20019:19;;38418:168:0;19798:246:1;38418:168:0;38599:21;38608:2;38612:7;38599:8;:21::i;:::-;38287:341;38217:411;;:::o;39444:339::-;39639:41;7947:10;39672:7;39639:18;:41::i;:::-;39631:103;;;;-1:-1:-1;;;39631:103:0;;24067:2:1;39631:103:0;;;24049:21:1;24106:2;24086:18;;;24079:30;24145:34;24125:18;;;24118:62;24216:19;24196:18;;;24189:47;24253:19;;39631:103:0;24039:239:1;39631:103:0;39747:28;39757:4;39763:2;39767:7;39747:9;:28::i;62452:112::-;9216:6;;-1:-1:-1;;;;;9216:6:0;;;;;7947:10;9363:23;9355:68;;;;-1:-1:-1;;;9355:68:0;;22537:2:1;9355:68:0;;;22519:21:1;;;22556:18;;;22549:30;-1:-1:-1;;;;;;;;;;;22595:18:1;;;22588:62;22667:18;;9355:68:0;22509:182:1;9355:68:0;62528:13:::1;:30:::0;;-1:-1:-1;;;;;62528:30:0;;::::1;-1:-1:-1::0;;;62528:30:0::1;::::0;;;::::1;::::0;;;::::1;::::0;;62452:112::o;49949:256::-;50046:7;50082:23;50099:5;50082:16;:23::i;:::-;50074:5;:31;50066:87;;;;-1:-1:-1;;;50066:87:0;;14571:2:1;50066:87:0;;;14553:21:1;14610:2;14590:18;;;14583:30;14649:34;14629:18;;;14622:62;14720:13;14700:18;;;14693:41;14751:19;;50066:87:0;14543:233:1;50066:87:0;-1:-1:-1;;;;;;50171:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;49949:256::o;39854:185::-;39992:39;40009:4;40015:2;40019:7;39992:39;;;;;;;;;;;;:16;:39::i;60758:331::-;9216:6;;-1:-1:-1;;;;;9216:6:0;;;;;7947:10;9363:23;9355:68;;;;-1:-1:-1;;;9355:68:0;;22537:2:1;9355:68:0;;;22519:21:1;;;22556:18;;;22549:30;-1:-1:-1;;;;;;;;;;;22595:18:1;;;22588:62;22667:18;;9355:68:0;22509:182:1;9355:68:0;60829:9:::1;60824:260;60848:6;:13;60844:1;:17;60824:260;;;60877:5;60898:169;;;;;;;;60921:6;60928:1;60921:9;;;;;;;;:::i;:::-;;;;;;;:13;;;60898:169;;;;;;60955:6;60962:1;60955:9;;;;;;;;:::i;:::-;;;;;;;:16;;;60898:169;;;;;;61038:6;61045:1;61038:9;;;;;;;;:::i;:::-;;;;;;;:17;;;60898:169;;;;;;60996:6;61003:1;60996:9;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;:20:::1;::::0;;::::1;::::0;60898:169:::1;::::0;;::::1;::::0;;;60877:199;;::::1;::::0;::::1;::::0;;-1:-1:-1;60877:199:0;;;;;;;;;;::::1;::::0;;;;::::1;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;::::1;::::0;;::::1;-1:-1:-1::0;;60877:199:0;;;;;;;;;;;::::1;::::0;;;::::1;;::::0;;;;;::::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;;;60877:199:0;;;::::1;::::0;;;::::1;;::::0;;60863:3;::::1;::::0;::::1;:::i;:::-;;;;60824:260;;;;60758:331:::0;:::o;50471:233::-;50546:7;50582:30;50369:10;:17;;50281:113;50582:30;50574:5;:38;50566:95;;;;-1:-1:-1;;;50566:95:0;;24843:2:1;50566:95:0;;;24825:21:1;24882:2;24862:18;;;24855:30;24921:34;24901:18;;;24894:62;24992:14;24972:18;;;24965:42;25024:19;;50566:95:0;24815:234:1;50566:95:0;50679:10;50690:5;50679:17;;;;;;;;:::i;:::-;;;;;;;;;50672:24;;50471:233;;;:::o;61236:287::-;9216:6;;-1:-1:-1;;;;;9216:6:0;;;;;7947:10;9363:23;9355:68;;;;-1:-1:-1;;;9355:68:0;;22537:2:1;9355:68:0;;;22519:21:1;;;22556:18;;;22549:30;-1:-1:-1;;;;;;;;;;;22595:18:1;;;22588:62;22667:18;;9355:68:0;22509:182:1;9355:68:0;61336:5:::1;:12:::0;61326:22;::::1;61318:51;;;::::0;-1:-1:-1;;;61318:51:0;;18790:2:1;61318:51:0::1;::::0;::::1;18772:21:1::0;18829:2;18809:18;;;18802:30;-1:-1:-1;;;18848:18:1;;;18841:46;18904:18;;61318:51:0::1;18762:166:1::0;61318:51:0::1;61378:17;61398:5;61404:7;61398:14;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;61432:9;;61398:14;::::1;61421:20:::0;;61466:16:::1;::::0;::::1;::::0;61504:13:::1;::::0;;::::1;::::0;61421:20:::1;::::0;;::::1;61448:34:::0;;;;;-1:-1:-1;;;61448:34:0::1;::::0;;::::1;;;61489:28:::0;::::1;::::0;;;;::::1;::::0;;;::::1;;::::0;;;-1:-1:-1;;61236:287:0:o;62067:140::-;9216:6;;-1:-1:-1;;;;;9216:6:0;;;;;7947:10;9363:23;9355:68;;;;-1:-1:-1;;;9355:68:0;;22537:2:1;9355:68:0;;;22519:21:1;;;22556:18;;;22549:30;-1:-1:-1;;;;;;;;;;;22595:18:1;;;22588:62;22667:18;;9355:68:0;22509:182:1;9355:68:0;62143:6:::1;::::0;-1:-1:-1;;;62143:6:0;::::1;;;62142:7;62134:38;;;::::0;-1:-1:-1;;;62134:38:0;;20251:2:1;62134:38:0::1;::::0;::::1;20233:21:1::0;20290:2;20270:18;;;20263:30;20329:20;20309:18;;;20302:48;20367:18;;62134:38:0::1;20223:168:1::0;62134:38:0::1;62179:22:::0;;::::1;::::0;:12:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;62259:61::-:0;9216:6;;-1:-1:-1;;;;;9216:6:0;;;;;7947:10;9363:23;9355:68;;;;-1:-1:-1;;;9355:68:0;;22537:2:1;9355:68:0;;;22519:21:1;;;22556:18;;;22549:30;-1:-1:-1;;;;;;;;;;;22595:18:1;;;22588:62;22667:18;;9355:68:0;22509:182:1;9355:68:0;62301:6:::1;:13:::0;;;::::1;-1:-1:-1::0;;;62301:13:0::1;::::0;;62259:61::o;36829:239::-;36901:7;36937:16;;;:7;:16;;;;;;-1:-1:-1;;;;;36937:16:0;36972:19;36964:73;;;;-1:-1:-1;;;36964:73:0;;21009:2:1;36964:73:0;;;20991:21:1;21048:2;21028:18;;;21021:30;21087:34;21067:18;;;21060:62;21158:11;21138:18;;;21131:39;21187:19;;36964:73:0;20981:231:1;36559:208:0;36631:7;-1:-1:-1;;;;;36659:19:0;;36651:74;;;;-1:-1:-1;;;36651:74:0;;20598:2:1;36651:74:0;;;20580:21:1;20637:2;20617:18;;;20610:30;20676:34;20656:18;;;20649:62;20747:12;20727:18;;;20720:40;20777:19;;36651:74:0;20570:232:1;36651:74:0;-1:-1:-1;;;;;;36743:16:0;;;;;:9;:16;;;;;;;36559:208::o;9794:103::-;9216:6;;-1:-1:-1;;;;;9216:6:0;;;;;7947:10;9363:23;9355:68;;;;-1:-1:-1;;;9355:68:0;;22537:2:1;9355:68:0;;;22519:21:1;;;22556:18;;;22549:30;-1:-1:-1;;;;;;;;;;;22595:18:1;;;22588:62;22667:18;;9355:68:0;22509:182:1;9355:68:0;9859:30:::1;9886:1;9859:18;:30::i;:::-;9794:103::o:0;59211:935::-;59413:2;59417:5;59424:7;-1:-1:-1;;;;;57473:16:0;;57465:57;;;;-1:-1:-1;;;57465:57:0;;14214:2:1;57465:57:0;;;14196:21:1;14253:2;14233:18;;;14226:30;14292;14272:18;;;14265:58;14340:18;;57465:57:0;14186:178:1;57465:57:0;57547:5;:12;57537:22;;;;57529:51;;;;-1:-1:-1;;;57529:51:0;;18790:2:1;57529:51:0;;;18772:21:1;18829:2;18809:18;;;18802:30;-1:-1:-1;;;18848:18:1;;;18841:46;18904:18;;57529:51:0;18762:166:1;57529:51:0;57587:17;57607:5;57613:7;57607:14;;;;;;;;;;:::i;:::-;;;;;;;;;57661:11;;57607:14;;-1:-1:-1;57650:22:0;;57661:11;;;;;;;57650:8;:22;:::i;:::-;57630:42;;;;57698:9;57689:5;:18;;;;57681:53;;;;-1:-1:-1;;;57681:53:0;;18439:2:1;57681:53:0;;;18421:21:1;18478:2;18458:18;;;18451:30;18517:24;18497:18;;;18490:52;18559:18;;57681:53:0;18411:172:1;57681:53:0;57033:2;57749:5;:24;;;;57741:54;;;;-1:-1:-1;;;57741:54:0;;16166:2:1;57741:54:0;;;16148:21:1;16205:2;16185:18;;;16178:30;16244:19;16224:18;;;16217:47;16281:18;;57741:54:0;16138:167:1;57741:54:0;-1:-1:-1;;;;;59448:38:0;::::1;;::::0;;;:20:::1;:38;::::0;;;;;59440:75:::1;;;::::0;-1:-1:-1;;;59440:75:0;;17271:2:1;59440:75:0::1;::::0;::::1;17253:21:1::0;17310:2;17290:18;;;17283:30;17349:21;17329:18;;;17322:49;17388:18;;59440:75:0::1;17243:169:1::0;59440:75:0::1;59538:10;59530:19;::::0;;;:7:::1;:19;::::0;;;;;;;-1:-1:-1;;;;;59530:37:0;::::1;::::0;;;;;;;;::::1;;:46;59522:74;;;::::0;-1:-1:-1;;;59522:74:0;;21780:2:1;59522:74:0::1;::::0;::::1;21762:21:1::0;21819:2;21799:18;;;21792:30;21858:17;21838:18;;;21831:45;21893:18;;59522:74:0::1;21752:165:1::0;59522:74:0::1;59630:42;::::0;;-1:-1:-1;;59647:10:0::1;9249:2:1::0;9245:15;9241:53;59630:42:0::1;::::0;::::1;9229:66:1::0;-1:-1:-1;;9333:3:1;9329:16;;;9325:89;9311:12;;;9304:111;59605:12:0::1;::::0;9431::1;59630:42:0::1;;;;;;;;;;;;59620:53;;;;;;59605:68;;59696:113;59725:11;;59696:113;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;-1:-1:-1;;;;;;59747:38:0;::::1;::::0;;:20:::1;:38;::::0;;;;;;-1:-1:-1;59796:4:0;;-1:-1:-1;59696:18:0::1;::::0;-1:-1:-1;59696:113:0:i:1;:::-;59680:175;;;::::0;-1:-1:-1;;;59680:175:0;;23710:2:1;59680:175:0::1;::::0;::::1;23692:21:1::0;23749:2;23729:18;;;23722:30;23788;23768:18;;;23761:58;23836:18;;59680:175:0::1;23682:178:1::0;59680:175:0::1;59864:17;59884:5;59890:7;59884:14;;;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;59929:15:::0;;59884:14;;-1:-1:-1;59929:23:0::1;::::0;::::1;::::0;::::1;::::0;-1:-1:-1;;;59929:15:0;::::1;;;:23;:::i;:::-;59913:39;;:12;:39;;;;59905:69;;;::::0;-1:-1:-1;;;59905:69:0;;19135:2:1;59905:69:0::1;::::0;::::1;19117:21:1::0;19174:2;19154:18;;;19147:30;19213:19;19193:18;;;19186:47;19250:18;;59905:69:0::1;19107:167:1::0;59905:69:0::1;59991:10;59983:19;::::0;;;:7:::1;:19;::::0;;;;;;;-1:-1:-1;;;;;59983:37:0;::::1;::::0;;;;;;;:44;;-1:-1:-1;;59983:44:0::1;60023:4;59983:44;::::0;;60034:20;;60049:5;;60034:4;;:11:::1;::::0;:20:::1;::::0;60049:5;;60034:20:::1;::::0;;;::::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;60068:9;60063:78;60087:5;60083:9;;:1;:9;60063:78;;;60108:25;60121:2;60125:7;60108:25;;:12;:25::i;:::-;60094:3:::0;::::1;::::0;::::1;:::i;:::-;;;;60063:78;;;;59433:713;;57458:351:::0;;59211:935;;;;;;;;;;:::o;37304:104::-;37360:13;37393:7;37386:14;;;;;:::i;38987:155::-;39082:52;7947:10;39115:8;39125;39082:18;:52::i;60262:149::-;9216:6;;-1:-1:-1;;;;;9216:6:0;;;;;7947:10;9363:23;9355:68;;;;-1:-1:-1;;;9355:68:0;;22537:2:1;9355:68:0;;;22519:21:1;;;22556:18;;;22549:30;-1:-1:-1;;;;;;;;;;;22595:18:1;;;22588:62;22667:18;;9355:68:0;22509:182:1;9355:68:0;-1:-1:-1;;;;;60361:31:0;;::::1;;::::0;;;:20:::1;:31;::::0;;;;:44;60262:149::o;40110:328::-;40285:41;7947:10;40318:7;40285:18;:41::i;:::-;40277:103;;;;-1:-1:-1;;;40277:103:0;;24067:2:1;40277:103:0;;;24049:21:1;24106:2;24086:18;;;24079:30;24145:34;24125:18;;;24118:62;24216:19;24196:18;;;24189:47;24253:19;;40277:103:0;24039:239:1;40277:103:0;40391:39;40405:4;40411:2;40415:7;40424:5;40391:13;:39::i;:::-;40110:328;;;;:::o;57075:19::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57075:19:0;;;;;;;;;;;;-1:-1:-1;;;57075:19:0;;;;:::o;60534:110::-;9216:6;;-1:-1:-1;;;;;9216:6:0;;;;;7947:10;9363:23;9355:68;;;;-1:-1:-1;;;9355:68:0;;22537:2:1;9355:68:0;;;22519:21:1;;;22556:18;;;22549:30;-1:-1:-1;;;;;;;;;;;22595:18:1;;;22588:62;22667:18;;9355:68:0;22509:182:1;9355:68:0;-1:-1:-1;;;;;60603:31:0::1;60637:1;60603:31:::0;;;:20:::1;:31;::::0;;;;:35;60534:110::o;61769:222::-;61854:13;61927:12;61941:25;61958:7;61941:16;:25::i;:::-;61910:66;;;;;;;;;:::i;:::-;;;;;;;;;;;;;61879:106;;61769:222;;;:::o;56936:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;62859:186::-;9216:6;;-1:-1:-1;;;;;9216:6:0;;;;;7947:10;9363:23;9355:68;;;;-1:-1:-1;;;9355:68:0;;22537:2:1;9355:68:0;;;22519:21:1;;;22556:18;;;22549:30;-1:-1:-1;;;;;;;;;;;22595:18:1;;;22588:62;22667:18;;9355:68:0;22509:182:1;9355:68:0;62927:33:::1;::::0;-1:-1:-1;;;62927:33:0;;62954:4:::1;62927:33;::::0;::::1;11493:74:1::0;62909:15:0::1;::::0;62927:8:::1;-1:-1:-1::0;;;;;62927:18:0::1;::::0;::::1;::::0;11466::1;;62927:33:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;62909:51;;62985:1;62975:7;:11;62967:20;;;::::0;::::1;;63016:13;::::0;62994:45:::1;::::0;-1:-1:-1;;;;;62994:8:0::1;:21:::0;::::1;::::0;-1:-1:-1;;;63016:13:0;::::1;;63031:7:::0;62994:21:::1;:45::i;58403:478::-:0;58510:2;58514:5;58521:7;-1:-1:-1;;;;;57473:16:0;;57465:57;;;;-1:-1:-1;;;57465:57:0;;14214:2:1;57465:57:0;;;14196:21:1;14253:2;14233:18;;;14226:30;14292;14272:18;;;14265:58;14340:18;;57465:57:0;14186:178:1;57465:57:0;57547:5;:12;57537:22;;;;57529:51;;;;-1:-1:-1;;;57529:51:0;;18790:2:1;57529:51:0;;;18772:21:1;18829:2;18809:18;;;18802:30;-1:-1:-1;;;18848:18:1;;;18841:46;18904:18;;57529:51:0;18762:166:1;57529:51:0;57587:17;57607:5;57613:7;57607:14;;;;;;;;;;:::i;:::-;;;;;;;;;57661:11;;57607:14;;-1:-1:-1;57650:22:0;;57661:11;;;;;;;57650:8;:22;:::i;:::-;57630:42;;;;57698:9;57689:5;:18;;;;57681:53;;;;-1:-1:-1;;;57681:53:0;;18439:2:1;57681:53:0;;;18421:21:1;18478:2;18458:18;;;18451:30;18517:24;18497:18;;;18490:52;18559:18;;57681:53:0;18411:172:1;57681:53:0;57033:2;57749:5;:24;;;;57741:54;;;;-1:-1:-1;;;57741:54:0;;16166:2:1;57741:54:0;;;16148:21:1;16205:2;16185:18;;;16178:30;16244:19;16224:18;;;16217:47;16281:18;;57741:54:0;16138:167:1;57741:54:0;58537:17:::1;58557:5;58563:7;58557:14;;;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;58593:12:::0;;58557:14;;-1:-1:-1;58593:20:0::1;::::0;::::1;::::0;::::1;::::0;:12;;::::1;;;:20;:::i;:::-;58630:30;::::0;-1:-1:-1;;;58630:30:0;;58649:10:::1;58630:30;::::0;::::1;11493:74:1::0;58578:35:0::1;::::0;;;::::1;::::0;-1:-1:-1;58578:35:0;;-1:-1:-1;;;;;58630:8:0::1;:18;::::0;::::1;::::0;11466::1;;58630:30:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:38;;58622:75;;;::::0;-1:-1:-1;;;58622:75:0;;25667:2:1;58622:75:0::1;::::0;::::1;25649:21:1::0;25706:2;25686:18;;;25679:30;25745:26;25725:18;;;25718:54;25789:18;;58622:75:0::1;25639:174:1::0;58622:75:0::1;58742:13;::::0;58704:58:::1;::::0;-1:-1:-1;;;;;58704:8:0::1;:25:::0;::::1;::::0;58730:10:::1;::::0;-1:-1:-1;;;58742:13:0;;::::1;;58757:4:::0;58704:25:::1;:58::i;:::-;58769:20:::0;;58784:5;;58769:20;;:11:::1;::::0;:20:::1;::::0;58784:5;;58769:20;;::::1;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;58803:9;58798:78;58822:5;58818:9;;:1;:9;58798:78;;;58843:25;58856:2;58860:7;58843:25;;:12;:25::i;:::-;58829:3:::0;::::1;::::0;::::1;:::i;:::-;;;;58798:78;;;;58530:351;;57458::::0;;58403:478;;;;;;:::o;10052:201::-;9216:6;;-1:-1:-1;;;;;9216:6:0;;;;;7947:10;9363:23;9355:68;;;;-1:-1:-1;;;9355:68:0;;22537:2:1;9355:68:0;;;22519:21:1;;;22556:18;;;22549:30;-1:-1:-1;;;;;;;;;;;22595:18:1;;;22588:62;22667:18;;9355:68:0;22509:182:1;9355:68:0;-1:-1:-1;;;;;10141:22:0;::::1;10133:73;;;::::0;-1:-1:-1;;;10133:73:0;;15402:2:1;10133:73:0::1;::::0;::::1;15384:21:1::0;15441:2;15421:18;;;15414:30;15480:34;15460:18;;;15453:62;15551:8;15531:18;;;15524:36;15577:19;;10133:73:0::1;15374:228:1::0;10133:73:0::1;10217:28;10236:8;10217:18;:28::i;36190:305::-:0;36292:4;-1:-1:-1;;;;;;36329:40:0;;36344:25;36329:40;;:105;;-1:-1:-1;;;;;;;36386:48:0;;36401:33;36386:48;36329:105;:158;;;-1:-1:-1;28010:25:0;-1:-1:-1;;;;;;27995:40:0;;;36451:36;27886:157;12543:118;11814:7;;;;12068:9;12060:38;;;;-1:-1:-1;;;12060:38:0;;19481:2:1;12060:38:0;;;19463:21:1;19520:2;19500:18;;;19493:30;19559:18;19539;;;19532:46;19595:18;;12060:38:0;19453:166:1;12060:38:0;12603:7:::1;:14:::0;;-1:-1:-1;;12603:14:0::1;12613:4;12603:14;::::0;;12633:20:::1;12640:12;7947:10:::0;;7867:98;12640:12:::1;12633:20;::::0;-1:-1:-1;;;;;11511:55:1;;;11493:74;;11481:2;11466:18;12633:20:0::1;;;;;;;12543:118::o:0;12802:120::-;11814:7;;;;12338:41;;;;-1:-1:-1;;;12338:41:0;;13865:2:1;12338:41:0;;;13847:21:1;13904:2;13884:18;;;13877:30;13943:22;13923:18;;;13916:50;13983:18;;12338:41:0;13837:170:1;12338:41:0;12861:7:::1;:15:::0;;-1:-1:-1;;12861:15:0::1;::::0;;12892:22:::1;7947:10:::0;12901:12:::1;7867:98:::0;45930:174;46005:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;46005:29:0;-1:-1:-1;;;;;46005:29:0;;;;;;;;:24;;46059:23;46005:24;46059:14;:23::i;:::-;-1:-1:-1;;;;;46050:46:0;;;;;;;;;;;45930:174;;:::o;42242:348::-;42335:4;42037:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42037:16:0;42352:73;;;;-1:-1:-1;;;42352:73:0;;18026:2:1;42352:73:0;;;18008:21:1;18065:2;18045:18;;;18038:30;18104:34;18084:18;;;18077:62;-1:-1:-1;;;18155:18:1;;;18148:42;18207:19;;42352:73:0;17998:234:1;42352:73:0;42436:13;42452:23;42467:7;42452:14;:23::i;:::-;42436:39;;42505:5;-1:-1:-1;;;;;42494:16:0;:7;-1:-1:-1;;;;;42494:16:0;;:51;;;;42538:7;-1:-1:-1;;;;;42514:31:0;:20;42526:7;42514:11;:20::i;:::-;-1:-1:-1;;;;;42514:31:0;;42494:51;:87;;;-1:-1:-1;;;;;;39334:25:0;;;39310:4;39334:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;42549:32;42486:96;42242:348;-1:-1:-1;;;;42242:348:0:o;45234:578::-;45393:4;-1:-1:-1;;;;;45366:31:0;:23;45381:7;45366:14;:23::i;:::-;-1:-1:-1;;;;;45366:31:0;;45358:85;;;;-1:-1:-1;;;45358:85:0;;22898:2:1;45358:85:0;;;22880:21:1;22937:2;22917:18;;;22910:30;22976:34;22956:18;;;22949:62;23047:11;23027:18;;;23020:39;23076:19;;45358:85:0;22870:231:1;45358:85:0;-1:-1:-1;;;;;45462:16:0;;45454:65;;;;-1:-1:-1;;;45454:65:0;;16512:2:1;45454:65:0;;;16494:21:1;16551:2;16531:18;;;16524:30;16590:34;16570:18;;;16563:62;16661:6;16641:18;;;16634:34;16685:19;;45454:65:0;16484:226:1;45454:65:0;45532:39;45553:4;45559:2;45563:7;45532:20;:39::i;:::-;45636:29;45653:1;45657:7;45636:8;:29::i;:::-;-1:-1:-1;;;;;45678:15:0;;;;;;:9;:15;;;;;:20;;45697:1;;45678:15;:20;;45697:1;;45678:20;:::i;:::-;;;;-1:-1:-1;;;;;;;45709:13:0;;;;;;:9;:13;;;;;:18;;45726:1;;45709:13;:18;;45726:1;;45709:18;:::i;:::-;;;;-1:-1:-1;;45738:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;45738:21:0;-1:-1:-1;;;;;45738:21:0;;;;;;;;;45777:27;;45738:16;;45777:27;;;;;;;45234:578;;;:::o;10413:191::-;10506:6;;;-1:-1:-1;;;;;10523:17:0;;;10506:6;10523:17;;;;;;;;;;10556:40;;10506:6;;;;;;;;10556:40;;10487:16;;10556:40;10476:128;10413:191;:::o;3804:190::-;3929:4;3982;3953:25;3966:5;3973:4;3953:12;:25::i;:::-;:33;3946:40;;3804:190;;;;;;:::o;61529:234::-;61595:15;:20;;61614:1;;61595:15;;;:20;;61614:1;;61595:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;61642:15;;;-1:-1:-1;61666:21:0;;;:12;:21;;;;;:31;;;61642:15;-1:-1:-1;61706:22:0;61716:2;61642:15;61706:9;:22::i;:::-;61742:15;;61749:7;;61742:15;;;;;61588:175;61529:234;;:::o;46246:315::-;46401:8;-1:-1:-1;;;;;46392:17:0;:5;-1:-1:-1;;;;;46392:17:0;;;46384:55;;;;-1:-1:-1;;;46384:55:0;;16917:2:1;46384:55:0;;;16899:21:1;16956:2;16936:18;;;16929:30;16995:27;16975:18;;;16968:55;17040:18;;46384:55:0;16889:175:1;46384:55:0;-1:-1:-1;;;;;46450:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;46450:46:0;;;;;;;;;;46512:41;;12950::1;;;46512::0;;12923:18:1;46512:41:0;;;;;;;46246:315;;;:::o;41320:::-;41477:28;41487:4;41493:2;41497:7;41477:9;:28::i;:::-;41524:48;41547:4;41553:2;41557:7;41566:5;41524:22;:48::i;:::-;41516:111;;;;-1:-1:-1;;;41516:111:0;;14983:2:1;41516:111:0;;;14965:21:1;15022:2;15002:18;;;14995:30;15061:34;15041:18;;;15034:62;-1:-1:-1;;;15112:18:1;;;15105:48;15170:19;;41516:111:0;14955:240:1;5429:723:0;5485:13;5706:10;5702:53;;-1:-1:-1;;5733:10:0;;;;;;;;;;;;;;;;;;5429:723::o;5702:53::-;5780:5;5765:12;5821:78;5828:9;;5821:78;;5854:8;;;;:::i;:::-;;-1:-1:-1;5877:10:0;;-1:-1:-1;5885:2:0;5877:10;;:::i;:::-;;;5821:78;;;5909:19;5941:6;5931:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5931:17:0;;5909:39;;5959:154;5966:10;;5959:154;;5993:11;6003:1;5993:11;;:::i;:::-;;-1:-1:-1;6062:10:0;6070:2;6062:5;:10;:::i;:::-;6049:24;;:2;:24;:::i;:::-;6036:39;;6019:6;6026;6019:14;;;;;;;;:::i;:::-;;;;:56;;;;;;;;;;-1:-1:-1;6090:11:0;6099:2;6090:11;;:::i;:::-;;;5959:154;;21777:211;21921:58;;-1:-1:-1;;;;;12700:55:1;;21921:58:0;;;12682:74:1;12772:18;;;12765:34;;;21894:86:0;;21914:5;;21944:23;;12655:18:1;;21921:58:0;;;;-1:-1:-1;;21921:58:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21921:58:0;;;;;;;;;;21894:19;:86::i;21996:248::-;22167:68;;-1:-1:-1;;;;;11859:15:1;;;22167:68:0;;;11841:34:1;11911:15;;11891:18;;;11884:43;11943:18;;;11936:34;;;22140:96:0;;22160:5;;22190:27;;11753:18:1;;22167:68:0;11735:241:1;62570:201:0;11814:7;;;;12068:9;12060:38;;;;-1:-1:-1;;;12060:38:0;;19481:2:1;12060:38:0;;;19463:21:1;19520:2;19500:18;;;19493:30;19559:18;19539;;;19532:46;19595:18;;12060:38:0;19453:166:1;12060:38:0;62720:45:::1;62747:4;62753:2;62757:7;62720:26;:45::i;4356:701::-:0;4439:7;4482:4;4439:7;4497:523;4521:5;:12;4517:1;:16;4497:523;;;4555:20;4578:5;4584:1;4578:8;;;;;;;;:::i;:::-;;;;;;;4555:31;;4621:12;4605;:28;4601:408;;4758:44;;;;;;9611:19:1;;;9646:12;;;9639:28;;;9683:12;;4758:44:0;;;;;;;;;;;;4748:55;;;;;;4733:70;;4601:408;;;4948:44;;;;;;9611:19:1;;;9646:12;;;9639:28;;;9683:12;;4948:44:0;;;;;;;;;;;;4938:55;;;;;;4923:70;;4601:408;-1:-1:-1;4535:3:0;;;;:::i;:::-;;;;4497:523;;;-1:-1:-1;5037:12:0;4356:701;-1:-1:-1;;;4356:701:0:o;42932:110::-;43008:26;43018:2;43022:7;43008:26;;;;;;;;;;;;:9;:26::i;47126:799::-;47281:4;-1:-1:-1;;;;;47302:13:0;;14072:20;14120:8;47298:620;;47338:72;;-1:-1:-1;;;47338:72:0;;-1:-1:-1;;;;;47338:36:0;;;;;:72;;7947:10;;47389:4;;47395:7;;47404:5;;47338:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47338:72:0;;;;;;;;-1:-1:-1;;47338:72:0;;;;;;;;;;;;:::i;:::-;;;47334:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47580:13:0;;47576:272;;47623:60;;-1:-1:-1;;;47623:60:0;;14983:2:1;47623:60:0;;;14965:21:1;15022:2;15002:18;;;14995:30;15061:34;15041:18;;;15034:62;-1:-1:-1;;;15112:18:1;;;15105:48;15170:19;;47623:60:0;14955:240:1;47576:272:0;47798:6;47792:13;47783:6;47779:2;47775:15;47768:38;47334:529;-1:-1:-1;;;;;;47461:51:0;-1:-1:-1;;;47461:51:0;;-1:-1:-1;47454:58:0;;47298:620;-1:-1:-1;47902:4:0;47126:799;;;;;;:::o;24350:716::-;24774:23;24800:69;24828:4;24800:69;;;;;;;;;;;;;;;;;24808:5;-1:-1:-1;;;;;24800:27:0;;;:69;;;;;:::i;:::-;24884:17;;24774:95;;-1:-1:-1;24884:21:0;24880:179;;24981:10;24970:30;;;;;;;;;;;;:::i;:::-;24962:85;;;;-1:-1:-1;;;24962:85:0;;25256:2:1;24962:85:0;;;25238:21:1;25295:2;25275:18;;;25268:30;25334:34;25314:18;;;25307:62;25405:12;25385:18;;;25378:40;25435:19;;24962:85:0;25228:232:1;51317:589:0;-1:-1:-1;;;;;51523:18:0;;51519:187;;51558:40;51590:7;52733:10;:17;;52706:24;;;;:15;:24;;;;;:44;;;52761:24;;;;;;;;;;;;52629:164;51558:40;51519:187;;;51628:2;-1:-1:-1;;;;;51620:10:0;:4;-1:-1:-1;;;;;51620:10:0;;51616:90;;51647:47;51680:4;51686:7;51647:32;:47::i;:::-;-1:-1:-1;;;;;51720:16:0;;51716:183;;51753:45;51790:7;51753:36;:45::i;51716:183::-;51826:4;-1:-1:-1;;;;;51820:10:0;:2;-1:-1:-1;;;;;51820:10:0;;51816:83;;51847:40;51875:2;51879:7;51847:27;:40::i;43269:321::-;43399:18;43405:2;43409:7;43399:5;:18::i;:::-;43450:54;43481:1;43485:2;43489:7;43498:5;43450:22;:54::i;:::-;43428:154;;;;-1:-1:-1;;;43428:154:0;;14983:2:1;43428:154:0;;;14965:21:1;15022:2;15002:18;;;14995:30;15061:34;15041:18;;;15034:62;-1:-1:-1;;;15112:18:1;;;15105:48;15170:19;;43428:154:0;14955:240:1;16555:229:0;16692:12;16724:52;16746:6;16754:4;16760:1;16763:12;16724:21;:52::i;53420:988::-;53686:22;53736:1;53711:22;53728:4;53711:16;:22::i;:::-;:26;;;;:::i;:::-;53748:18;53769:26;;;:17;:26;;;;;;53686:51;;-1:-1:-1;53902:28:0;;;53898:328;;-1:-1:-1;;;;;53969:18:0;;53947:19;53969:18;;;:12;:18;;;;;;;;:34;;;;;;;;;54020:30;;;;;;:44;;;54137:30;;:17;:30;;;;;:43;;;53898:328;-1:-1:-1;54322:26:0;;;;:17;:26;;;;;;;;54315:33;;;-1:-1:-1;;;;;54366:18:0;;;;;:12;:18;;;;;:34;;;;;;;54359:41;53420:988::o;54703:1079::-;54981:10;:17;54956:22;;54981:21;;55001:1;;54981:21;:::i;:::-;55013:18;55034:24;;;:15;:24;;;;;;55407:10;:26;;54956:46;;-1:-1:-1;55034:24:0;;54956:46;;55407:26;;;;;;:::i;:::-;;;;;;;;;55385:48;;55471:11;55446:10;55457;55446:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;55551:28;;;:15;:28;;;;;;;:41;;;55723:24;;;;;55716:31;55758:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;54774:1008;;;54703:1079;:::o;52207:221::-;52292:14;52309:20;52326:2;52309:16;:20::i;:::-;-1:-1:-1;;;;;52340:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;52385:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;52207:221:0:o;43926:382::-;-1:-1:-1;;;;;44006:16:0;;43998:61;;;;-1:-1:-1;;;43998:61:0;;21419:2:1;43998:61:0;;;21401:21:1;;;21438:18;;;21431:30;21497:34;21477:18;;;21470:62;21549:18;;43998:61:0;21391:182:1;43998:61:0;42013:4;42037:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42037:16:0;:30;44070:58;;;;-1:-1:-1;;;44070:58:0;;15809:2:1;44070:58:0;;;15791:21:1;15848:2;15828:18;;;15821:30;15887;15867:18;;;15860:58;15935:18;;44070:58:0;15781:178:1;44070:58:0;44141:45;44170:1;44174:2;44178:7;44141:20;:45::i;:::-;-1:-1:-1;;;;;44199:13:0;;;;;;:9;:13;;;;;:18;;44216:1;;44199:13;:18;;44216:1;;44199:18;:::i;:::-;;;;-1:-1:-1;;44228:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;44228:21:0;-1:-1:-1;;;;;44228:21:0;;;;;;;;44267:33;;44228:16;;;44267:33;;44228:16;;44267:33;43926:382;;:::o;17675:510::-;17845:12;17903:5;17878:21;:30;;17870:81;;;;-1:-1:-1;;;17870:81:0;;17619:2:1;17870:81:0;;;17601:21:1;17658:2;17638:18;;;17631:30;17697:34;17677:18;;;17670:62;17768:8;17748:18;;;17741:36;17794:19;;17870:81:0;17591:228:1;17870:81:0;14072:20;;17962:60;;;;-1:-1:-1;;;17962:60:0;;24485:2:1;17962:60:0;;;24467:21:1;24524:2;24504:18;;;24497:30;24563:31;24543:18;;;24536:59;24612:18;;17962:60:0;24457:179:1;17962:60:0;18036:12;18050:23;18077:6;-1:-1:-1;;;;;18077:11:0;18096:5;18103:4;18077:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18035:73;;;;18126:51;18143:7;18152:10;18164:12;18126:16;:51::i;:::-;18119:58;17675:510;-1:-1:-1;;;;;;;17675:510:0:o;20361:712::-;20511:12;20540:7;20536:530;;;-1:-1:-1;20571:10:0;20564:17;;20536:530;20685:17;;:21;20681:374;;20883:10;20877:17;20944:15;20931:10;20927:2;20923:19;20916:44;20681:374;21026:12;21019:20;;-1:-1:-1;;;21019:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:2;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:2;;;309:1;306;299:12;268:2;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;88:332;;;;;:::o;425:196::-;493:20;;-1:-1:-1;;;;;542:54:1;;532:65;;522:2;;611:1;608;601:12;522:2;474:147;;;:::o;626:621::-;677:5;725:4;713:9;708:3;704:19;700:30;697:2;;;743:1;740;733:12;697:2;776;770:9;818:4;810:6;806:17;889:6;877:10;874:22;853:18;841:10;838:34;835:62;832:2;;;900:18;;:::i;:::-;936:2;929:22;969:6;-1:-1:-1;969:6:1;999:28;1017:9;999:28;:::i;:::-;991:6;984:44;1061:37;1094:2;1083:9;1079:18;1061:37;:::i;:::-;1056:2;1048:6;1044:15;1037:62;1132:37;1165:2;1154:9;1150:18;1132:37;:::i;:::-;1127:2;1119:6;1115:15;1108:62;1203:37;1236:2;1225:9;1221:18;1203:37;:::i;:::-;1198:2;1190:6;1186:15;1179:62;;687:560;;;;:::o;1252:159::-;1319:20;;1379:6;1368:18;;1358:29;;1348:2;;1401:1;1398;1391:12;1416:156;1482:20;;1542:4;1531:16;;1521:27;;1511:2;;1562:1;1559;1552:12;1577:179;1644:20;;1704:26;1693:38;;1683:49;;1673:2;;1746:1;1743;1736:12;1761:186;1820:6;1873:2;1861:9;1852:7;1848:23;1844:32;1841:2;;;1889:1;1886;1879:12;1841:2;1912:29;1931:9;1912:29;:::i;1952:260::-;2020:6;2028;2081:2;2069:9;2060:7;2056:23;2052:32;2049:2;;;2097:1;2094;2087:12;2049:2;2120:29;2139:9;2120:29;:::i;:::-;2110:39;;2168:38;2202:2;2191:9;2187:18;2168:38;:::i;:::-;2158:48;;2039:173;;;;;:::o;2217:328::-;2294:6;2302;2310;2363:2;2351:9;2342:7;2338:23;2334:32;2331:2;;;2379:1;2376;2369:12;2331:2;2402:29;2421:9;2402:29;:::i;:::-;2392:39;;2450:38;2484:2;2473:9;2469:18;2450:38;:::i;:::-;2440:48;;2535:2;2524:9;2520:18;2507:32;2497:42;;2321:224;;;;;:::o;2550:666::-;2645:6;2653;2661;2669;2722:3;2710:9;2701:7;2697:23;2693:33;2690:2;;;2739:1;2736;2729:12;2690:2;2762:29;2781:9;2762:29;:::i;:::-;2752:39;;2810:38;2844:2;2833:9;2829:18;2810:38;:::i;:::-;2800:48;;2895:2;2884:9;2880:18;2867:32;2857:42;;2950:2;2939:9;2935:18;2922:32;2977:18;2969:6;2966:30;2963:2;;;3009:1;3006;2999:12;2963:2;3032:22;;3085:4;3077:13;;3073:27;-1:-1:-1;3063:2:1;;3114:1;3111;3104:12;3063:2;3137:73;3202:7;3197:2;3184:16;3179:2;3175;3171:11;3137:73;:::i;:::-;3127:83;;;2680:536;;;;;;;:::o;3221:315::-;3286:6;3294;3347:2;3335:9;3326:7;3322:23;3318:32;3315:2;;;3363:1;3360;3353:12;3315:2;3386:29;3405:9;3386:29;:::i;:::-;3376:39;;3465:2;3454:9;3450:18;3437:32;3478:28;3500:5;3478:28;:::i;:::-;3525:5;3515:15;;;3305:231;;;;;:::o;3541:254::-;3609:6;3617;3670:2;3658:9;3649:7;3645:23;3641:32;3638:2;;;3686:1;3683;3676:12;3638:2;3709:29;3728:9;3709:29;:::i;:::-;3699:39;3785:2;3770:18;;;;3757:32;;-1:-1:-1;;;3628:167:1:o;3800:328::-;3874:6;3882;3890;3943:2;3931:9;3922:7;3918:23;3914:32;3911:2;;;3959:1;3956;3949:12;3911:2;3982:29;4001:9;3982:29;:::i;:::-;3972:39;;4030:37;4063:2;4052:9;4048:18;4030:37;:::i;:::-;4020:47;;4086:36;4118:2;4107:9;4103:18;4086:36;:::i;:::-;4076:46;;3901:227;;;;;:::o;4133:980::-;4260:6;4268;4276;4284;4292;4300;4308;4361:3;4349:9;4340:7;4336:23;4332:33;4329:2;;;4378:1;4375;4368:12;4329:2;4401:29;4420:9;4401:29;:::i;:::-;4391:39;;4449:37;4482:2;4471:9;4467:18;4449:37;:::i;:::-;4439:47;;4505:36;4537:2;4526:9;4522:18;4505:36;:::i;:::-;4495:46;;4560:37;4593:2;4582:9;4578:18;4560:37;:::i;:::-;4550:47;;4616:39;4650:3;4639:9;4635:19;4616:39;:::i;:::-;4606:49;;4706:3;4695:9;4691:19;4678:33;4730:18;4771:2;4763:6;4760:14;4757:2;;;4787:1;4784;4777:12;4757:2;4825:6;4814:9;4810:22;4800:32;;4870:7;4863:4;4859:2;4855:13;4851:27;4841:2;;4892:1;4889;4882:12;4841:2;4932;4919:16;4958:2;4950:6;4947:14;4944:2;;;4974:1;4971;4964:12;4944:2;5027:7;5022:2;5012:6;5009:1;5005:14;5001:2;4997:23;4993:32;4990:45;4987:2;;;5048:1;5045;5038:12;4987:2;5079;5075;5071:11;5061:21;;5101:6;5091:16;;;;;4319:794;;;;;;;;;;:::o;5377:987::-;5483:6;5514:2;5557;5545:9;5536:7;5532:23;5528:32;5525:2;;;5573:1;5570;5563:12;5525:2;5613:9;5600:23;5642:18;5683:2;5675:6;5672:14;5669:2;;;5699:1;5696;5689:12;5669:2;5737:6;5726:9;5722:22;5712:32;;5782:7;5775:4;5771:2;5767:13;5763:27;5753:2;;5804:1;5801;5794:12;5753:2;5840;5827:16;5862:2;5858;5855:10;5852:2;;;5868:18;;:::i;:::-;5908:36;5940:2;5935;5932:1;5928:10;5924:19;5908:36;:::i;:::-;5978:15;;;6009:12;;;;-1:-1:-1;6041:11:1;;;6083:1;6079:10;;;6071:19;;6067:28;;6064:41;-1:-1:-1;6061:2:1;;;6118:1;6115;6108:12;6061:2;6140:1;6131:10;;6150:184;6164:2;6161:1;6158:9;6150:184;;;6221:36;6249:7;6244:3;6221:36;:::i;:::-;6209:49;;6182:1;6175:9;;;;;6278:12;;;;6319:4;6310:14;6150:184;;;-1:-1:-1;6353:5:1;5494:870;-1:-1:-1;;;;;;;5494:870:1:o;6369:241::-;6425:6;6478:2;6466:9;6457:7;6453:23;6449:32;6446:2;;;6494:1;6491;6484:12;6446:2;6533:9;6520:23;6552:28;6574:5;6552:28;:::i;6615:245::-;6682:6;6735:2;6723:9;6714:7;6710:23;6706:32;6703:2;;;6751:1;6748;6741:12;6703:2;6783:9;6777:16;6802:28;6824:5;6802:28;:::i;6865:245::-;6923:6;6976:2;6964:9;6955:7;6951:23;6947:32;6944:2;;;6992:1;6989;6982:12;6944:2;7031:9;7018:23;7050:30;7074:5;7050:30;:::i;7115:249::-;7184:6;7237:2;7225:9;7216:7;7212:23;7208:32;7205:2;;;7253:1;7250;7243:12;7205:2;7285:9;7279:16;7304:30;7328:5;7304:30;:::i;7369:450::-;7438:6;7491:2;7479:9;7470:7;7466:23;7462:32;7459:2;;;7507:1;7504;7497:12;7459:2;7547:9;7534:23;7580:18;7572:6;7569:30;7566:2;;;7612:1;7609;7602:12;7566:2;7635:22;;7688:4;7680:13;;7676:27;-1:-1:-1;7666:2:1;;7717:1;7714;7707:12;7666:2;7740:73;7805:7;7800:2;7787:16;7782:2;7778;7774:11;7740:73;:::i;7824:291::-;7914:6;7922;7975:3;7963:9;7954:7;7950:23;7946:33;7943:2;;;7992:1;7989;7982:12;7943:2;8015:42;8049:7;8038:9;8015:42;:::i;:::-;8005:52;8104:3;8089:19;;;;8076:33;;-1:-1:-1;;;7933:182:1:o;8120:180::-;8179:6;8232:2;8220:9;8211:7;8207:23;8203:32;8200:2;;;8248:1;8245;8238:12;8200:2;-1:-1:-1;8271:23:1;;8190:110;-1:-1:-1;8190:110:1:o;8305:184::-;8375:6;8428:2;8416:9;8407:7;8403:23;8399:32;8396:2;;;8444:1;8441;8434:12;8396:2;-1:-1:-1;8467:16:1;;8386:103;-1:-1:-1;8386:103:1:o;8494:268::-;8546:3;8584:5;8578:12;8611:6;8606:3;8599:19;8627:63;8683:6;8676:4;8671:3;8667:14;8660:4;8653:5;8649:16;8627:63;:::i;:::-;8744:2;8723:15;-1:-1:-1;;8719:29:1;8710:39;;;;8751:4;8706:50;;8554:208;-1:-1:-1;;8554:208:1:o;8767:184::-;8808:3;8846:5;8840:12;8861:52;8906:6;8901:3;8894:4;8887:5;8883:16;8861:52;:::i;:::-;8929:16;;;;;8816:135;-1:-1:-1;;8816:135:1:o;9706:274::-;9835:3;9873:6;9867:13;9889:53;9935:6;9930:3;9923:4;9915:6;9911:17;9889:53;:::i;:::-;9958:16;;;;;9843:137;-1:-1:-1;;9843:137:1:o;9985:1357::-;10262:3;10291:1;10324:6;10318:13;10354:3;10376:1;10404:9;10400:2;10396:18;10386:28;;10464:2;10453:9;10449:18;10486;10476:2;;10530:4;10522:6;10518:17;10508:27;;10476:2;10556;10604;10596:6;10593:14;10573:18;10570:38;10567:2;;;-1:-1:-1;;;10638:3:1;10631:90;10744:4;10741:1;10734:15;10774:4;10769:3;10762:17;10567:2;10805:18;10832:104;;;;10950:1;10945:320;;;;10798:467;;10832:104;-1:-1:-1;;10865:24:1;;10853:37;;10910:16;;;;-1:-1:-1;10832:104:1;;10945:320;26847:1;26840:14;;;26884:4;26871:18;;11040:1;11054:165;11068:6;11065:1;11062:13;11054:165;;;11146:14;;11133:11;;;11126:35;11189:16;;;;11083:10;;11054:165;;;11058:3;;11248:6;11243:3;11239:16;11232:23;;10798:467;;;;;;;11281:55;11306:29;11331:3;11323:6;11306:29;:::i;:::-;9028:7;9016:20;;9061:1;9052:11;;9006:63;11281:55;11274:62;10270:1072;-1:-1:-1;;;;;10270:1072:1:o;11981:522::-;12175:4;-1:-1:-1;;;;;12285:2:1;12277:6;12273:15;12262:9;12255:34;12337:2;12329:6;12325:15;12320:2;12309:9;12305:18;12298:43;;12377:6;12372:2;12361:9;12357:18;12350:34;12420:3;12415:2;12404:9;12400:18;12393:31;12441:56;12492:3;12481:9;12477:19;12469:6;12441:56;:::i;:::-;12433:64;12184:319;-1:-1:-1;;;;;;12184:319:1:o;13428:230::-;13577:2;13566:9;13559:21;13540:4;13597:55;13648:2;13637:9;13633:18;13625:6;13597:55;:::i;26494:275::-;26565:2;26559:9;26630:2;26611:13;;-1:-1:-1;;26607:27:1;26595:40;;26665:18;26650:34;;26686:22;;;26647:62;26644:2;;;26712:18;;:::i;:::-;26748:2;26741:22;26539:230;;-1:-1:-1;26539:230:1:o;26900:224::-;26939:3;26967:6;27000:2;26997:1;26993:10;27030:2;27027:1;27023:10;27061:3;27057:2;27053:12;27048:3;27045:21;27042:2;;;27069:18;;:::i;:::-;27105:13;;26947:177;-1:-1:-1;;;;26947:177:1:o;27129:128::-;27169:3;27200:1;27196:6;27193:1;27190:13;27187:2;;;27206:18;;:::i;:::-;-1:-1:-1;27242:9:1;;27177:80::o;27262:242::-;27301:3;27329:24;27380:2;27377:1;27373:10;27410:2;27407:1;27403:10;27441:3;27437:2;27433:12;27428:3;27425:21;27422:2;;;27449:18;;:::i;27509:120::-;27549:1;27575;27565:2;;27580:18;;:::i;:::-;-1:-1:-1;27614:9:1;;27555:74::o;27634:278::-;27673:7;27705:26;27758:2;27755:1;27751:10;27788:2;27785:1;27781:10;27844:3;27840:2;27836:12;27831:3;27828:21;27821:3;27814:11;27807:19;27803:47;27800:2;;;27853:18;;:::i;:::-;27893:13;;27685:227;-1:-1:-1;;;;27685:227:1:o;27917:217::-;27956:4;27985:6;28041:10;;;;28011;;28063:12;;;28060:2;;;28078:18;;:::i;:::-;28115:13;;27965:169;-1:-1:-1;;;27965:169:1:o;28139:125::-;28179:4;28207:1;28204;28201:8;28198:2;;;28212:18;;:::i;:::-;-1:-1:-1;28249:9:1;;28188:76::o;28269:258::-;28341:1;28351:113;28365:6;28362:1;28359:13;28351:113;;;28441:11;;;28435:18;28422:11;;;28415:39;28387:2;28380:10;28351:113;;;28482:6;28479:1;28476:13;28473:2;;;-1:-1:-1;;28517:1:1;28499:16;;28492:27;28322:205::o;28532:437::-;28611:1;28607:12;;;;28654;;;28675:2;;28729:4;28721:6;28717:17;28707:27;;28675:2;28782;28774:6;28771:14;28751:18;28748:38;28745:2;;;-1:-1:-1;;;28816:1:1;28809:88;28920:4;28917:1;28910:15;28948:4;28945:1;28938:15;28745:2;;28587:382;;;:::o;28974:135::-;29013:3;-1:-1:-1;;29034:17:1;;29031:2;;;29054:18;;:::i;:::-;-1:-1:-1;29101:1:1;29090:13;;29021:88::o;29114:112::-;29146:1;29172;29162:2;;29177:18;;:::i;:::-;-1:-1:-1;29211:9:1;;29152:74::o;29231:184::-;-1:-1:-1;;;29280:1:1;29273:88;29380:4;29377:1;29370:15;29404:4;29401:1;29394:15;29420:184;-1:-1:-1;;;29469:1:1;29462:88;29569:4;29566:1;29559:15;29593:4;29590:1;29583:15;29609:184;-1:-1:-1;;;29658:1:1;29651:88;29758:4;29755:1;29748:15;29782:4;29779:1;29772:15;29798:184;-1:-1:-1;;;29847:1:1;29840:88;29947:4;29944:1;29937:15;29971:4;29968:1;29961:15;29987:184;-1:-1:-1;;;30036:1:1;30029:88;30136:4;30133:1;30126:15;30160:4;30157:1;30150:15;30176:118;30262:5;30255:13;30248:21;30241:5;30238:32;30228:2;;30284:1;30281;30274:12;30299:177;-1:-1:-1;;;;;;30377:5:1;30373:78;30366:5;30363:89;30353:2;;30466:1;30463;30456:12

Swarm Source

ipfs://6518e65a11888bad4a3576671a6e768c93fbcecc1dfdd5759a5a647251157bd1

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.