ETH Price: $2,575.06 (-2.48%)
Gas: 8 Gwei

Contract

0x4BD6ea99E18C9954cbE0eF4b4af16c7254c10473
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw194519872024-03-17 3:46:35145 days ago1710647195IN
0x4BD6ea99...254c10473
0 ETH0.0006960722.91389567
Set Approval For...181617812023-09-18 8:55:23326 days ago1695027323IN
0x4BD6ea99...254c10473
0 ETH0.000200898.28049207
Set Approval For...154903462022-09-07 12:39:37702 days ago1662554377IN
0x4BD6ea99...254c10473
0 ETH0.000392514.94613262
Set Approval For...154903392022-09-07 12:37:55702 days ago1662554275IN
0x4BD6ea99...254c10473
0 ETH0.0003714515.31064696
Mint At Presale147972472022-05-18 6:23:58814 days ago1652855038IN
0x4BD6ea99...254c10473
0.03 ETH0.0006694126.87004754
Mint At Presale147972472022-05-18 6:23:58814 days ago1652855038IN
0x4BD6ea99...254c10473
0.03 ETH0.0006694126.87004754
Set Approval For...145680632022-04-12 2:28:08850 days ago1649730488IN
0x4BD6ea99...254c10473
0 ETH0.0015160432.83411579
Set Approval For...144867122022-03-30 9:07:16863 days ago1648631236IN
0x4BD6ea99...254c10473
0 ETH0.0009352935.59907993
Set Approval For...144866302022-03-30 8:52:05863 days ago1648630325IN
0x4BD6ea99...254c10473
0 ETH0.0016203435.09286599
Set Approval For...143838142022-03-14 9:13:07879 days ago1647249187IN
0x4BD6ea99...254c10473
0 ETH0.0009685620.97683276
Safe Transfer Fr...143598032022-03-10 15:05:10883 days ago1646924710IN
0x4BD6ea99...254c10473
0 ETH0.0047888237.69188575
Safe Transfer Fr...143596082022-03-10 14:22:04883 days ago1646922124IN
0x4BD6ea99...254c10473
0 ETH0.0024933321.26475272
Safe Transfer Fr...143595782022-03-10 14:16:06883 days ago1646921766IN
0x4BD6ea99...254c10473
0 ETH0.0030162725.72469288
Safe Transfer Fr...143595732022-03-10 14:15:14883 days ago1646921714IN
0x4BD6ea99...254c10473
0 ETH0.003089526.34930441
Open Blind Box143594422022-03-10 13:49:18883 days ago1646920158IN
0x4BD6ea99...254c10473
0 ETH0.0013172628.78395692
Flip Sale State143583482022-03-10 9:40:10883 days ago1646905210IN
0x4BD6ea99...254c10473
0 ETH0.0006663523.40377661
Mint At Public S...143560722022-03-10 1:12:59883 days ago1646874779IN
0x4BD6ea99...254c10473
0.03 ETH0.0048212725
Set Approval For...143184562022-03-04 5:07:10889 days ago1646370430IN
0x4BD6ea99...254c10473
0 ETH0.0006599627.20270545
Open Public Sale143015202022-03-01 13:53:16892 days ago1646142796IN
0x4BD6ea99...254c10473
0 ETH0.0021235355.07653768
Set Approval For...142683452022-02-24 10:48:39897 days ago1645699719IN
0x4BD6ea99...254c10473
0 ETH0.0024290352.60734245
Transfer From142541382022-02-22 6:05:00899 days ago1645509900IN
0x4BD6ea99...254c10473
0 ETH0.01505475121.26652456
Set Approval For...142366672022-02-19 13:04:50902 days ago1645275890IN
0x4BD6ea99...254c10473
0 ETH0.0028022260.68975943
Set Approval For...142215632022-02-17 4:50:04904 days ago1645073404IN
0x4BD6ea99...254c10473
0 ETH0.002423852.49406835
Set Approval For...142169702022-02-16 11:54:45905 days ago1645012485IN
0x4BD6ea99...254c10473
0 ETH0.0023679151.28356105
Set Approval For...142146402022-02-16 2:59:29905 days ago1644980369IN
0x4BD6ea99...254c10473
0 ETH0.0029092363.00734484
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
194519872024-03-17 3:46:35145 days ago1710647195
0x4BD6ea99...254c10473
0.05 ETH
140404102022-01-20 5:01:20932 days ago1642654880
0x4BD6ea99...254c10473
4.24 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CrazySeaFork

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// File: node_modules\@openzeppelin\contracts\GSN\Context.sol

// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;


/*
 * @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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: node_modules\@openzeppelin\contracts\introspection\IERC165.sol


pragma solidity ^0.6.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: node_modules\@openzeppelin\contracts\token\ERC721\IERC721.sol



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

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

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

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

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

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

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

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

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

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

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

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

// File: node_modules\@openzeppelin\contracts\token\ERC721\IERC721Metadata.sol



/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

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

// File: node_modules\@openzeppelin\contracts\token\ERC721\IERC721Enumerable.sol



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


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



/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () internal {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

// File: node_modules\@openzeppelin\contracts\math\SafeMath.sol


/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

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


/**
 * @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 in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: node_modules\@openzeppelin\contracts\utils\EnumerableSet.sol


/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
 * (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

// File: node_modules\@openzeppelin\contracts\utils\EnumerableMap.sol


/**
 * @dev Library for managing an enumerable variant of Solidity's
 * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]
 * type.
 *
 * Maps have the following properties:
 *
 * - Entries are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Entries are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableMap for EnumerableMap.UintToAddressMap;
 *
 *     // Declare a set state variable
 *     EnumerableMap.UintToAddressMap private myMap;
 * }
 * ```
 *
 * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are
 * supported.
 */
library EnumerableMap {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Map type with
    // bytes32 keys and values.
    // The Map implementation uses private functions, and user-facing
    // implementations (such as Uint256ToAddressMap) are just wrappers around
    // the underlying Map.
    // This means that we can only create new EnumerableMaps for types that fit
    // in bytes32.

    struct MapEntry {
        bytes32 _key;
        bytes32 _value;
    }

    struct Map {
        // Storage of map keys and values
        MapEntry[] _entries;

        // Position of the entry defined by a key in the `entries` array, plus 1
        // because index 0 means a key is not in the map.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex == 0) { // Equivalent to !contains(map, key)
            map._entries.push(MapEntry({ _key: key, _value: value }));
            // The entry is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            map._indexes[key] = map._entries.length;
            return true;
        } else {
            map._entries[keyIndex - 1]._value = value;
            return false;
        }
    }

    /**
     * @dev Removes a key-value pair from a map. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function _remove(Map storage map, bytes32 key) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex != 0) { // Equivalent to contains(map, key)
            // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one
            // in the array, and then remove the last entry (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = keyIndex - 1;
            uint256 lastIndex = map._entries.length - 1;

            // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            MapEntry storage lastEntry = map._entries[lastIndex];

            // Move the last entry to the index where the entry to delete is
            map._entries[toDeleteIndex] = lastEntry;
            // Update the index for the moved entry
            map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved entry was stored
            map._entries.pop();

            // Delete the index for the deleted slot
            delete map._indexes[key];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the key is in the map. O(1).
     */
    function _contains(Map storage map, bytes32 key) private view returns (bool) {
        return map._indexes[key] != 0;
    }

    /**
     * @dev Returns the number of key-value pairs in the map. O(1).
     */
    function _length(Map storage map) private view returns (uint256) {
        return map._entries.length;
    }

   /**
    * @dev Returns the key-value pair stored at position `index` in the map. O(1).
    *
    * Note that there are no guarantees on the ordering of entries inside the
    * array, and it may change when more entries are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {
        require(map._entries.length > index, "EnumerableMap: index out of bounds");

        MapEntry storage entry = map._entries[index];
        return (entry._key, entry._value);
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function _get(Map storage map, bytes32 key) private view returns (bytes32) {
        return _get(map, key, "EnumerableMap: nonexistent key");
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     */
    function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {
        return _set(map._inner, bytes32(key), bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {
        return _remove(map._inner, bytes32(key));
    }

    /**
     * @dev Returns true if the key is in the map. O(1).
     */
    function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {
        return _contains(map._inner, bytes32(key));
    }

    /**
     * @dev Returns the number of elements in the map. O(1).
     */
    function length(UintToAddressMap storage map) internal view returns (uint256) {
        return _length(map._inner);
    }

   /**
    * @dev Returns the element stored at position `index` in the set. O(1).
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {
        (bytes32 key, bytes32 value) = _at(map._inner, index);
        return (uint256(key), address(uint256(value)));
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     */
    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key), errorMessage)));
    }
}

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


/**
 * @dev String operations.
 */
library Strings {
    /**
     * @dev Converts a `uint256` to its ASCII `string` 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);
        uint256 index = digits - 1;
        temp = value;
        while (temp != 0) {
            buffer[index--] = byte(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }
}

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


/**
 * @title ERC721 Non-Fungible Token Standard basic implementation
 * @dev see https://eips.ethereum.org/EIPS/eip-721
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using SafeMath for uint256;
    using Address for address;
    using EnumerableSet for EnumerableSet.UintSet;
    using EnumerableMap for EnumerableMap.UintToAddressMap;
    using Strings for uint256;

    // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
    // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`
    bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;

    // Mapping from holder address to their (enumerable) set of owned tokens
    mapping (address => EnumerableSet.UintSet) private _holderTokens;

    // Enumerable mapping from token ids to their owners
    EnumerableMap.UintToAddressMap private _tokenOwners;

    // 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;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Optional mapping for token URIs
    mapping (uint256 => string) private _tokenURIs;

    // Base URI
    string private _baseURI;

    /*
     *     bytes4(keccak256('balanceOf(address)')) == 0x70a08231
     *     bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e
     *     bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3
     *     bytes4(keccak256('getApproved(uint256)')) == 0x081812fc
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde
     *
     *     => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^
     *        0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
     */
    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

    /*
     *     bytes4(keccak256('name()')) == 0x06fdde03
     *     bytes4(keccak256('symbol()')) == 0x95d89b41
     *     bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd
     *
     *     => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f
     */
    bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;

    /*
     *     bytes4(keccak256('totalSupply()')) == 0x18160ddd
     *     bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59
     *     bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7
     *
     *     => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63
     */
    bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;

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

        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721);
        _registerInterface(_INTERFACE_ID_ERC721_METADATA);
        _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
    }

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

        return _holderTokens[owner].length();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

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

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view 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 _tokenURI = _tokenURIs[tokenId];

        // If there is no base URI, return the token URI.
        if (bytes(_baseURI).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(_baseURI, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(_baseURI, tokenId.toString()));
    }

    /**
    * @dev Returns the base URI set via {_setBaseURI}. This will be
    * automatically added as a prefix in {tokenURI} to each token's URI, or
    * to the token ID if no specific URI is set for that token ID.
    */
    function baseURI() public view returns (string memory) {
        return _baseURI;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        return _holderTokens[owner].at(index);
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds
        return _tokenOwners.length();
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        (uint256 tokenId, ) = _tokenOwners.at(index);
        return tokenId;
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = 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 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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view 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 returns (bool) {
        return _tokenOwners.contains(tokenId);
    }

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

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     d*
     * - `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);

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(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 = ownerOf(tokenId);

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

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

        // Clear metadata (if any)
        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(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(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);

        _holderTokens[from].remove(tokenId);
        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Internal function to set the base URI for all token IDs. It is
     * automatically added as a prefix to the value returned in {tokenURI},
     * or to the token ID if {tokenURI} is empty.
     */
    function _setBaseURI(string memory baseURI_) internal virtual {
        _baseURI = baseURI_;
    }

    /**
     * @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()) {
            return true;
        }
        bytes memory returndata = to.functionCall(abi.encodeWithSelector(
            IERC721Receiver(to).onERC721Received.selector,
            _msgSender(),
            from,
            tokenId,
            _data
        ), "ERC721: transfer to non ERC721Receiver implementer");
        bytes4 retval = abi.decode(returndata, (bytes4));
        return (retval == _ERC721_RECEIVED);
    }

    function _approve(address to, uint256 tokenId) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(ownerOf(tokenId), to, tokenId);
    }

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

// File: @openzeppelin\contracts\access\Ownable.sol


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: contracts\CrazySeaForkNft.sol

pragma solidity 0.6.12;



/**
 * @title CrazySea Fork contract
 * @dev Extends ERC721 Non-Fungible Token Standard basic implementation
 */
contract CrazySeaFork is ERC721, Ownable {
    using SafeMath for uint256;

    string public Fork_PROVENANCE = "";

    uint256 public forkPrice = 10000000000000000; //0.01 ETH

    uint public constant maxForkPurchase = 10;

    uint256 public MAX_Fork;

    bool public saleIsActive = false;

    bool public IsPublicSale = false;

    bool private _IsBlindBox = true;

    address public cSigner = 0xab521122331412E21592EB048F9F86e045507A91;

    mapping(address => uint256) private _mintedNum;

    bytes32 constant public MINT_CALL_HASH_TYPE = keccak256("mint(address receiver,uint256 maxamount)");


    constructor() ERC721("crazyseafork", "CrazySeaFork") public{
        MAX_Fork = 0;
    }

    function changeSigner(address signer) public onlyOwner {
        cSigner = signer;
    }

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

    /**
     * Set some fork aside
     */
    function reserveFork(uint numFork) public onlyOwner {        
        uint supply = totalSupply();
        uint i;
        for (i = 0; i < numFork; i++) {
            _safeMint(msg.sender, supply + i);
        }
    }

    /*     
    * Set provenance once it's calculated
    */
    function setProvenanceHash(string memory provenanceHash) public onlyOwner {
        Fork_PROVENANCE = provenanceHash;
    }

    function setBaseURI(string memory baseURI) public onlyOwner {
        _setBaseURI(baseURI);
    }

    function OpenBlindBox(string memory baseURI) public onlyOwner {
        _IsBlindBox = false;
        setBaseURI(baseURI);
    }

    function openPreSale() public onlyOwner {
        require(MAX_Fork < 3043, "only MAX_Fork < 3043");
        MAX_Fork = 3043;
        forkPrice = 10000000000000000; //0.01 ETH
        saleIsActive = true;
    }

    function openPublicSale() public onlyOwner {
        require(MAX_Fork < 3543, "only MAX_Fork < 3543");
        MAX_Fork = 3543;
        forkPrice = 30000000000000000; //0.03 ETH
        saleIsActive = true;
        IsPublicSale = true;
    }


    /*
    * Pause sale if active, make active if paused
    */
    function flipSaleState() public onlyOwner {
        saleIsActive = !saleIsActive;
    }

    /**
    * Mint Fork at prsale
    */
    function mintAtPresale(uint numberOfTokens,uint256 amountV, bytes32 r, bytes32 s) public payable {
        require(!IsPublicSale, "must be at presale to mint Fork");
        uint256 maxAmount = uint248(amountV);
        uint8 v = uint8(amountV >> 248);
        uint256 mintedNum = _mintedNum[msg.sender];
        require(maxAmount >= mintedNum+numberOfTokens, "minted nft numbers >= max amount at presale");
         bytes32 digest = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", 
                keccak256(abi.encode(MINT_CALL_HASH_TYPE, msg.sender, maxAmount))
        ));
        require(ecrecover(digest, v, r, s) == cSigner, "CrazySea: Invalid signer");
        mintFork(numberOfTokens);
    }

    function checkDigest(uint256 maxAmount) public view returns(bytes32 ,bytes32 ){
        bytes32 digest =  keccak256(abi.encode(MINT_CALL_HASH_TYPE, msg.sender, maxAmount));
        bytes32 digestlast = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", digest));
        return (digest,digestlast);
    }

    /**
    * Mint Fork at public sale
    */
    function mintAtPublicSale(uint numberOfTokens) public payable {
        require(IsPublicSale, "must be at public sale to mint Fork");
        mintFork(numberOfTokens);
    }

    /**
    * Mints Fork
    */
    function mintFork(uint numberOfTokens) private {
        require(saleIsActive, "Sale must be active to mint Fork");
        require(numberOfTokens <= maxForkPurchase, "Can only mint 10 tokens at a time");
        require(totalSupply().add(numberOfTokens) <= MAX_Fork, "Purchase would exceed max supply of Fork");
        require(forkPrice.mul(numberOfTokens) <= msg.value, "Ether value sent is not correct");
        mintNumberOfTokens(numberOfTokens);
    }

    function mintNumberOfTokens(uint numberOfTokens) private{
        for(uint i = 0; i < numberOfTokens; i++) {
            uint mintIndex = totalSupply();
            if (totalSupply() < MAX_Fork) {
                _safeMint(msg.sender, mintIndex);
                _mintedNum[msg.sender] += uint256(1);
            }
        }
    }


  function burn(uint256 tokenId) public{
    require(_isApprovedOrOwner(msg.sender, tokenId));
    require(_exists(tokenId));
    require(ERC721.ownerOf(tokenId) == msg.sender, string(abi.encodePacked("ERC721: Sender does not own TokenId: ", tokenId)));
    _burn(tokenId);
  }

  function getTokenURI(uint256 tokenId) public view returns(string memory){
      if (!_IsBlindBox)
        return ERC721.tokenURI(tokenId);
      return ERC721.baseURI();
  }

  function tokenURI(uint256 tokenId) public view override returns (string memory) {
      return getTokenURI(tokenId);
  }

  function mintedNum(address owner) public view returns(uint256){
      require(owner != address(0), "minted query for the zero address");
      
      return _mintedNum[owner];
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"Fork_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IsPublicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_Fork","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_CALL_HASH_TYPE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"OpenBlindBox","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"changeSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"checkDigest","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forkPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxForkPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"uint256","name":"amountV","type":"uint256"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"mintAtPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintAtPublicSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"mintedNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"openPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numFork","type":"uint256"}],"name":"reserveFork","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","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":"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"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040819052600060808190526200001b91600b9162000223565b50662386f26fc10000600c55600e80546201000062ffffff19909116176301000000600160b81b03191676ab521122331412e21592eb048f9f86e045507a910000001790553480156200006d57600080fd5b506040518060400160405280600c81526020016b6372617a79736561666f726b60a01b8152506040518060400160405280600c81526020016b4372617a79536561466f726b60a01b815250620000d06301ffc9a760e01b6200019a60201b60201c565b8151620000e590600690602085019062000223565b508051620000fb90600790602084019062000223565b506200010e6380ac58cd60e01b6200019a565b62000120635b5e139f60e01b6200019a565b6200013263780e9d6360e01b6200019a565b5060009050620001416200021f565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000600d55620002bf565b6001600160e01b03198082161415620001fa576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200026657805160ff191683800117855562000296565b8280016001018555821562000296579182015b828111156200029657825182559160200191906001019062000279565b50620002a4929150620002a8565b5090565b5b80821115620002a45760008155600101620002a9565b61346080620002cf6000396000f3fe60806040526004361061025c5760003560e01c80635937d8cd11610144578063a22cb465116100b6578063c87b56dd1161007a578063c87b56dd14610a0e578063c96f1b9214610a38578063d261645e14610ae9578063e985e9c514610b18578063eb8d244414610b53578063f2fde38b14610b685761025c565b8063a22cb465146108a5578063aad2b723146108e0578063b585209b14610913578063b88d4fde14610928578063c688387f146109f95761025c565b806370a082311161010857806370a08231146107e3578063715018a6146108165780638ab02ca71461082b5780638da5cb5b1461085e57806395d89b41146108735780639e1d2661146108885761025c565b80635937d8cd146107225780636352211e14610765578063696ee35e1461078f57806369bf4d34146107b95780636c0360eb146107ce5761025c565b806334918dfd116101dd5780634db636c6116101a15780634db636c6146105f35780634e7e696b146106085780634f6ccce71461061d5780635239a03c1461064757806355f804b31461065c5780635760cc5d1461070d5761025c565b806334918dfd146105325780633bb3a24d146105475780633ccfd60b1461057157806342842e0e1461058657806342966c68146105c95761025c565b806318160ddd1161022457806318160ddd1461046557806323b872dd1461048c5780632f745c59146104cf578063317be1d21461050857806333bffccc1461051d5761025c565b806301ffc9a71461026157806306fdde03146102a9578063081812fc14610333578063095ea7b31461037957806310969523146103b4575b600080fd5b34801561026d57600080fd5b506102956004803603602081101561028457600080fd5b50356001600160e01b031916610b9b565b604080519115158252519081900360200190f35b3480156102b557600080fd5b506102be610bbe565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102f85781810151838201526020016102e0565b50505050905090810190601f1680156103255780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561033f57600080fd5b5061035d6004803603602081101561035657600080fd5b5035610c54565b604080516001600160a01b039092168252519081900360200190f35b34801561038557600080fd5b506103b26004803603604081101561039c57600080fd5b506001600160a01b038135169060200135610cb6565b005b3480156103c057600080fd5b506103b2600480360360208110156103d757600080fd5b810190602081018135600160201b8111156103f157600080fd5b82018360208201111561040357600080fd5b803590602001918460018302840111600160201b8311171561042457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610d91945050505050565b34801561047157600080fd5b5061047a610e00565b60408051918252519081900360200190f35b34801561049857600080fd5b506103b2600480360360608110156104af57600080fd5b506001600160a01b03813581169160208101359091169060400135610e11565b3480156104db57600080fd5b5061047a600480360360408110156104f257600080fd5b506001600160a01b038135169060200135610e68565b34801561051457600080fd5b506102be610e93565b34801561052957600080fd5b506103b2610f21565b34801561053e57600080fd5b506103b2610fe8565b34801561055357600080fd5b506102be6004803603602081101561056a57600080fd5b5035611054565b34801561057d57600080fd5b506103b261107f565b34801561059257600080fd5b506103b2600480360360608110156105a957600080fd5b506001600160a01b03813581169160208101359091169060400135611106565b3480156105d557600080fd5b506103b2600480360360208110156105ec57600080fd5b5035611121565b3480156105ff57600080fd5b5061047a61121b565b34801561061457600080fd5b50610295611221565b34801561062957600080fd5b5061047a6004803603602081101561064057600080fd5b503561122f565b34801561065357600080fd5b5061047a611245565b34801561066857600080fd5b506103b26004803603602081101561067f57600080fd5b810190602081018135600160201b81111561069957600080fd5b8201836020820111156106ab57600080fd5b803590602001918460018302840111600160201b831117156106cc57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061124b945050505050565b34801561071957600080fd5b5061035d6112ac565b34801561072e57600080fd5b5061074c6004803603602081101561074557600080fd5b50356112c2565b6040805192835260208301919091528051918290030190f35b34801561077157600080fd5b5061035d6004803603602081101561078857600080fd5b503561135d565b34801561079b57600080fd5b506103b2600480360360208110156107b257600080fd5b5035611385565b3480156107c557600080fd5b5061047a611408565b3480156107da57600080fd5b506102be61140d565b3480156107ef57600080fd5b5061047a6004803603602081101561080657600080fd5b50356001600160a01b031661146e565b34801561082257600080fd5b506103b26114d6565b34801561083757600080fd5b5061047a6004803603602081101561084e57600080fd5b50356001600160a01b0316611578565b34801561086a57600080fd5b5061035d6115db565b34801561087f57600080fd5b506102be6115ea565b6103b26004803603602081101561089e57600080fd5b503561164b565b3480156108b157600080fd5b506103b2600480360360408110156108c857600080fd5b506001600160a01b038135169060200135151561169a565b3480156108ec57600080fd5b506103b26004803603602081101561090357600080fd5b50356001600160a01b031661179f565b34801561091f57600080fd5b506103b2611823565b34801561093457600080fd5b506103b26004803603608081101561094b57600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561098557600080fd5b82018360208201111561099757600080fd5b803590602001918460018302840111600160201b831117156109b857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506118f5945050505050565b348015610a0557600080fd5b5061047a611953565b348015610a1a57600080fd5b506102be60048036036020811015610a3157600080fd5b5035611977565b348015610a4457600080fd5b506103b260048036036020811015610a5b57600080fd5b810190602081018135600160201b811115610a7557600080fd5b820183602082011115610a8757600080fd5b803590602001918460018302840111600160201b83111715610aa857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611982945050505050565b6103b260048036036080811015610aff57600080fd5b50803590602081013590604081013590606001356119ef565b348015610b2457600080fd5b5061029560048036036040811015610b3b57600080fd5b506001600160a01b0381358116916020013516611c2e565b348015610b5f57600080fd5b50610295611c5c565b348015610b7457600080fd5b506103b260048036036020811015610b8b57600080fd5b50356001600160a01b0316611c65565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c4a5780601f10610c1f57610100808354040283529160200191610c4a565b820191906000526020600020905b815481529060010190602001808311610c2d57829003601f168201915b5050505050905090565b6000610c5f82611d5e565b610c9a5760405162461bcd60e51b815260040180806020018281038252602c8152602001806132c6602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610cc18261135d565b9050806001600160a01b0316836001600160a01b03161415610d145760405162461bcd60e51b81526004018080602001828103825260218152602001806133956021913960400191505060405180910390fd5b806001600160a01b0316610d26611d6b565b6001600160a01b03161480610d475750610d4781610d42611d6b565b611c2e565b610d825760405162461bcd60e51b81526004018080602001828103825260388152602001806131d06038913960400191505060405180910390fd5b610d8c8383611d6f565b505050565b610d99611d6b565b600a546001600160a01b03908116911614610de9576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b8051610dfc90600b906020840190612fec565b5050565b6000610e0c6002611ddd565b905090565b610e22610e1c611d6b565b82611de8565b610e5d5760405162461bcd60e51b81526004018080602001828103825260318152602001806133d96031913960400191505060405180910390fd5b610d8c838383611e8c565b6001600160a01b0382166000908152600160205260408120610e8a9083611fd8565b90505b92915050565b600b805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610f195780601f10610eee57610100808354040283529160200191610f19565b820191906000526020600020905b815481529060010190602001808311610efc57829003601f168201915b505050505081565b610f29611d6b565b600a546001600160a01b03908116911614610f79576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b610be3600d5410610fc8576040805162461bcd60e51b81526020600482015260146024820152736f6e6c79204d41585f466f726b203c203330343360601b604482015290519081900360640190fd5b610be3600d55662386f26fc10000600c55600e805460ff19166001179055565b610ff0611d6b565b600a546001600160a01b03908116911614611040576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b600e805460ff19811660ff90911615179055565b600e5460609062010000900460ff166110775761107082611fe4565b9050610bb9565b610e8d61140d565b611087611d6b565b600a546001600160a01b039081169116146110d7576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b6040514790339082156108fc029083906000818181858888f19350505050158015610dfc573d6000803e3d6000fd5b610d8c838383604051806020016040528060008152506118f5565b61112b3382611de8565b61113457600080fd5b61113d81611d5e565b61114657600080fd5b336111508261135d565b6001600160a01b031614816040516020018080613135602591396025018281526020019150506040516020818303038152906040529061120e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156111d35781810151838201526020016111bb565b50505050905090810190601f1680156112005780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506112188161228b565b50565b600c5481565b600e54610100900460ff1681565b60008061123d600284612358565b509392505050565b600d5481565b611253611d6b565b600a546001600160a01b039081169116146112a3576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b61121881612374565b600e54630100000090046001600160a01b031681565b604080517feccb9e03043213ae5ad7671b128a43a96d19900fb02ad6acdd2dd42a79547f8a60208083019190915233828401526060808301859052835180840390910181526080830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000060a084015260bc8084018290528451808503909101815260dc9093019093528151910120915091565b6000610e8d826040518060600160405280602981526020016132326029913960029190612387565b61138d611d6b565b600a546001600160a01b039081169116146113dd576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b60006113e7610e00565b905060005b82811015610d8c576114003382840161239e565b6001016113ec565b600a81565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c4a5780601f10610c1f57610100808354040283529160200191610c4a565b60006001600160a01b0382166114b55760405162461bcd60e51b815260040180806020018281038252602a815260200180613208602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600160205260409020610e8d90611ddd565b6114de611d6b565b600a546001600160a01b0390811691161461152e576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b60006001600160a01b0382166115bf5760405162461bcd60e51b81526004018080602001828103825260218152602001806130e26021913960400191505060405180910390fd5b506001600160a01b03166000908152600f602052604090205490565b600a546001600160a01b031690565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c4a5780601f10610c1f57610100808354040283529160200191610c4a565b600e54610100900460ff166116915760405162461bcd60e51b81526004018080602001828103825260238152602001806133b66023913960400191505060405180910390fd5b611218816123b8565b6116a2611d6b565b6001600160a01b0316826001600160a01b03161415611708576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000611715611d6b565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611759611d6b565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6117a7611d6b565b600a546001600160a01b039081169116146117f7576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b600e80546001600160a01b039092166301000000026301000000600160b81b0319909216919091179055565b61182b611d6b565b600a546001600160a01b0390811691161461187b576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b610dd7600d54106118ca576040805162461bcd60e51b81526020600482015260146024820152736f6e6c79204d41585f466f726b203c203335343360601b604482015290519081900360640190fd5b610dd7600d55666a94d74f430000600c55600e805461ff001960ff1990911660011716610100179055565b611906611900611d6b565b83611de8565b6119415760405162461bcd60e51b81526004018080602001828103825260318152602001806133d96031913960400191505060405180910390fd5b61194d8484848461250c565b50505050565b7feccb9e03043213ae5ad7671b128a43a96d19900fb02ad6acdd2dd42a79547f8a81565b6060610e8d82611054565b61198a611d6b565b600a546001600160a01b039081169116146119da576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b600e805462ff0000191690556112188161124b565b600e54610100900460ff1615611a4c576040805162461bcd60e51b815260206004820152601f60248201527f6d7573742062652061742070726573616c6520746f206d696e7420466f726b00604482015290519081900360640190fd5b336000908152600f60205260409020546001600160f81b0384169060f885901c90868101831015611aae5760405162461bcd60e51b815260040180806020018281038252602b8152602001806132f2602b913960400191505060405180910390fd5b604080517feccb9e03043213ae5ad7671b128a43a96d19900fb02ad6acdd2dd42a79547f8a60208083019190915233828401526060808301879052835180840390910181526080830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000060a084015260bc808401919091528351808403909101815260dc8301808552815191830191909120600e54600090925260fc840180865281905260ff871661011c85015261013c84018a905261015c8401899052935163010000009091046001600160a01b03169260019261017c808301939192601f198301929081900390910190855afa158015611bb6573d6000803e3d6000fd5b505050602060405103516001600160a01b031614611c1b576040805162461bcd60e51b815260206004820152601860248201527f4372617a795365613a20496e76616c6964207369676e65720000000000000000604482015290519081900360640190fd5b611c24886123b8565b5050505050505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600e5460ff1681565b611c6d611d6b565b600a546001600160a01b03908116911614611cbd576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b6001600160a01b038116611d025760405162461bcd60e51b815260040180806020018281038252602681526020018061315a6026913960400191505060405180910390fd5b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610e8d60028361255e565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611da48261135d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610e8d8261256a565b6000611df382611d5e565b611e2e5760405162461bcd60e51b815260040180806020018281038252602c8152602001806131a4602c913960400191505060405180910390fd5b6000611e398361135d565b9050806001600160a01b0316846001600160a01b03161480611e745750836001600160a01b0316611e6984610c54565b6001600160a01b0316145b80611e845750611e848185611c2e565b949350505050565b826001600160a01b0316611e9f8261135d565b6001600160a01b031614611ee45760405162461bcd60e51b815260040180806020018281038252602981526020018061333d6029913960400191505060405180910390fd5b6001600160a01b038216611f295760405162461bcd60e51b81526004018080602001828103825260248152602001806131806024913960400191505060405180910390fd5b611f34838383610d8c565b611f3f600082611d6f565b6001600160a01b0383166000908152600160205260409020611f61908261256e565b506001600160a01b0382166000908152600160205260409020611f84908261257a565b50611f9160028284612586565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610e8a838361259c565b6060611fef82611d5e565b61202a5760405162461bcd60e51b815260040180806020018281038252602f815260200180613366602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156120bf5780601f10612094576101008083540402835291602001916120bf565b820191906000526020600020905b8154815290600101906020018083116120a257829003601f168201915b5050600954939450505050600260001961010060018416150201909116046120e8579050610bb9565b8051156121b95760098160405160200180838054600181600116156101000203166002900480156121505780601f1061212e576101008083540402835291820191612150565b820191906000526020600020905b81548152906001019060200180831161213c575b5050825160208401908083835b6020831061217c5780518252601f19909201916020918201910161215d565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050610bb9565b60096121c484612600565b60405160200180838054600181600116156101000203166002900480156122225780601f10612200576101008083540402835291820191612222565b820191906000526020600020905b81548152906001019060200180831161220e575b5050825160208401908083835b6020831061224e5780518252601f19909201916020918201910161222f565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b60006122968261135d565b90506122a481600084610d8c565b6122af600083611d6f565b60008281526008602052604090205460026000196101006001841615020190911604156122ed5760008281526008602052604081206122ed9161306a565b6001600160a01b038116600090815260016020526040902061230f908361256e565b5061231b6002836126db565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080808061236786866126e7565b9097909650945050505050565b8051610dfc906009906020840190612fec565b6000612394848484612762565b90505b9392505050565b610dfc8282604051806020016040528060008152506127ef565b600e5460ff1661240f576040805162461bcd60e51b815260206004820181905260248201527f53616c65206d7573742062652061637469766520746f206d696e7420466f726b604482015290519081900360640190fd5b600a81111561244f5760405162461bcd60e51b815260040180806020018281038252602181526020018061340a6021913960400191505060405180910390fd5b600d546124648261245e610e00565b90612841565b11156124a15760405162461bcd60e51b815260040180806020018281038252602881526020018061325b6028913960400191505060405180910390fd5b600c5434906124b0908361289b565b1115612503576040805162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015290519081900360640190fd5b611218816128f4565b612517848484611e8c565b61252384848484612946565b61194d5760405162461bcd60e51b81526004018080602001828103825260328152602001806131036032913960400191505060405180910390fd5b6000610e8a8383612aae565b5490565b6000610e8a8383612ac6565b6000610e8a8383612b8c565b600061239484846001600160a01b038516612bd6565b815460009082106125de5760405162461bcd60e51b81526004018080602001828103825260228152602001806130c06022913960400191505060405180910390fd5b8260000182815481106125ed57fe5b9060005260206000200154905092915050565b60608161262557506040805180820190915260018152600360fc1b6020820152610bb9565b8160005b811561263d57600101600a82049150612629565b60608167ffffffffffffffff8111801561265657600080fd5b506040519080825280601f01601f191660200182016040528015612681576020820181803683370190505b50859350905060001982015b83156126d257600a840660300160f81b828280600190039350815181106126b057fe5b60200101906001600160f81b031916908160001a905350600a8404935061268d565b50949350505050565b6000610e8a8383612c6d565b81546000908190831061272b5760405162461bcd60e51b81526004018080602001828103825260228152602001806132836022913960400191505060405180910390fd5b600084600001848154811061273c57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816127c05760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156111d35781810151838201526020016111bb565b508460000160018203815481106127d357fe5b9060005260206000209060020201600101549150509392505050565b6127f98383612d41565b6128066000848484612946565b610d8c5760405162461bcd60e51b81526004018080602001828103825260328152602001806131036032913960400191505060405180910390fd5b600082820183811015610e8a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000826128aa57506000610e8d565b828202828482816128b757fe5b0414610e8a5760405162461bcd60e51b81526004018080602001828103825260218152602001806132a56021913960400191505060405180910390fd5b60005b81811015610dfc576000612909610e00565b9050600d54612916610e00565b101561293d57612926338261239e565b336000908152600f60205260409020805460010190555b506001016128f7565b600061295a846001600160a01b0316612e6f565b61296657506001611e84565b6060612a74630a85bd0160e11b61297b611d6b565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156129e25781810151838201526020016129ca565b50505050905090810190601f168015612a0f5780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001613103603291396001600160a01b0388169190612e75565b90506000818060200190516020811015612a8d57600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b60008181526001830160205260408120548015612b825783546000198083019190810190600090879083908110612af957fe5b9060005260206000200154905080876000018481548110612b1657fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080612b4657fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610e8d565b6000915050610e8d565b6000612b988383612aae565b612bce57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610e8d565b506000610e8d565b600082815260018401602052604081205480612c3b575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055612397565b82856000016001830381548110612c4e57fe5b9060005260206000209060020201600101819055506000915050612397565b60008181526001830160205260408120548015612b825783546000198083019190810190600090879083908110612ca057fe5b9060005260206000209060020201905080876000018481548110612cc057fe5b600091825260208083208454600290930201918255600193840154918401919091558354825289830190526040902090840190558654879080612cff57fe5b6000828152602080822060026000199094019384020182815560019081018390559290935588815289820190925260408220919091559450610e8d9350505050565b6001600160a01b038216612d9c576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b612da581611d5e565b15612df7576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b612e0360008383610d8c565b6001600160a01b0382166000908152600160205260409020612e25908261257a565b50612e3260028284612586565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b606061239484846000856060612e8a85612e6f565b612edb576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612f1a5780518252601f199092019160209182019101612efb565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612f7c576040519150601f19603f3d011682016040523d82523d6000602084013e612f81565b606091505b50915091508115612f95579150611e849050565b805115612fa55780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156111d35781810151838201526020016111bb565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061302d57805160ff191683800117855561305a565b8280016001018555821561305a579182015b8281111561305a57825182559160200191906001019061303f565b506130669291506130aa565b5090565b50805460018160011615610100020316600290046000825580601f106130905750611218565b601f01602090049060005260206000209081019061121891905b5b8082111561306657600081556001016130ab56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64736d696e74656420717565727920666f7220746865207a65726f20616464726573734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a2053656e64657220646f6573206e6f74206f776e20546f6b656e49643a204f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e507572636861736520776f756c6420657863656564206d617820737570706c79206f6620466f726b456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e6d696e746564206e6674206e756d62657273203e3d206d617820616d6f756e742061742070726573616c654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65726d757374206265206174207075626c69632073616c6520746f206d696e7420466f726b4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656443616e206f6e6c79206d696e7420313020746f6b656e7320617420612074696d65a2646970667358221220b6c550358e73f85b0257a6ac3744b309ab47a182c251a505615062f4b2636cea64736f6c634300060c0033

Deployed Bytecode

0x60806040526004361061025c5760003560e01c80635937d8cd11610144578063a22cb465116100b6578063c87b56dd1161007a578063c87b56dd14610a0e578063c96f1b9214610a38578063d261645e14610ae9578063e985e9c514610b18578063eb8d244414610b53578063f2fde38b14610b685761025c565b8063a22cb465146108a5578063aad2b723146108e0578063b585209b14610913578063b88d4fde14610928578063c688387f146109f95761025c565b806370a082311161010857806370a08231146107e3578063715018a6146108165780638ab02ca71461082b5780638da5cb5b1461085e57806395d89b41146108735780639e1d2661146108885761025c565b80635937d8cd146107225780636352211e14610765578063696ee35e1461078f57806369bf4d34146107b95780636c0360eb146107ce5761025c565b806334918dfd116101dd5780634db636c6116101a15780634db636c6146105f35780634e7e696b146106085780634f6ccce71461061d5780635239a03c1461064757806355f804b31461065c5780635760cc5d1461070d5761025c565b806334918dfd146105325780633bb3a24d146105475780633ccfd60b1461057157806342842e0e1461058657806342966c68146105c95761025c565b806318160ddd1161022457806318160ddd1461046557806323b872dd1461048c5780632f745c59146104cf578063317be1d21461050857806333bffccc1461051d5761025c565b806301ffc9a71461026157806306fdde03146102a9578063081812fc14610333578063095ea7b31461037957806310969523146103b4575b600080fd5b34801561026d57600080fd5b506102956004803603602081101561028457600080fd5b50356001600160e01b031916610b9b565b604080519115158252519081900360200190f35b3480156102b557600080fd5b506102be610bbe565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102f85781810151838201526020016102e0565b50505050905090810190601f1680156103255780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561033f57600080fd5b5061035d6004803603602081101561035657600080fd5b5035610c54565b604080516001600160a01b039092168252519081900360200190f35b34801561038557600080fd5b506103b26004803603604081101561039c57600080fd5b506001600160a01b038135169060200135610cb6565b005b3480156103c057600080fd5b506103b2600480360360208110156103d757600080fd5b810190602081018135600160201b8111156103f157600080fd5b82018360208201111561040357600080fd5b803590602001918460018302840111600160201b8311171561042457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610d91945050505050565b34801561047157600080fd5b5061047a610e00565b60408051918252519081900360200190f35b34801561049857600080fd5b506103b2600480360360608110156104af57600080fd5b506001600160a01b03813581169160208101359091169060400135610e11565b3480156104db57600080fd5b5061047a600480360360408110156104f257600080fd5b506001600160a01b038135169060200135610e68565b34801561051457600080fd5b506102be610e93565b34801561052957600080fd5b506103b2610f21565b34801561053e57600080fd5b506103b2610fe8565b34801561055357600080fd5b506102be6004803603602081101561056a57600080fd5b5035611054565b34801561057d57600080fd5b506103b261107f565b34801561059257600080fd5b506103b2600480360360608110156105a957600080fd5b506001600160a01b03813581169160208101359091169060400135611106565b3480156105d557600080fd5b506103b2600480360360208110156105ec57600080fd5b5035611121565b3480156105ff57600080fd5b5061047a61121b565b34801561061457600080fd5b50610295611221565b34801561062957600080fd5b5061047a6004803603602081101561064057600080fd5b503561122f565b34801561065357600080fd5b5061047a611245565b34801561066857600080fd5b506103b26004803603602081101561067f57600080fd5b810190602081018135600160201b81111561069957600080fd5b8201836020820111156106ab57600080fd5b803590602001918460018302840111600160201b831117156106cc57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061124b945050505050565b34801561071957600080fd5b5061035d6112ac565b34801561072e57600080fd5b5061074c6004803603602081101561074557600080fd5b50356112c2565b6040805192835260208301919091528051918290030190f35b34801561077157600080fd5b5061035d6004803603602081101561078857600080fd5b503561135d565b34801561079b57600080fd5b506103b2600480360360208110156107b257600080fd5b5035611385565b3480156107c557600080fd5b5061047a611408565b3480156107da57600080fd5b506102be61140d565b3480156107ef57600080fd5b5061047a6004803603602081101561080657600080fd5b50356001600160a01b031661146e565b34801561082257600080fd5b506103b26114d6565b34801561083757600080fd5b5061047a6004803603602081101561084e57600080fd5b50356001600160a01b0316611578565b34801561086a57600080fd5b5061035d6115db565b34801561087f57600080fd5b506102be6115ea565b6103b26004803603602081101561089e57600080fd5b503561164b565b3480156108b157600080fd5b506103b2600480360360408110156108c857600080fd5b506001600160a01b038135169060200135151561169a565b3480156108ec57600080fd5b506103b26004803603602081101561090357600080fd5b50356001600160a01b031661179f565b34801561091f57600080fd5b506103b2611823565b34801561093457600080fd5b506103b26004803603608081101561094b57600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561098557600080fd5b82018360208201111561099757600080fd5b803590602001918460018302840111600160201b831117156109b857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506118f5945050505050565b348015610a0557600080fd5b5061047a611953565b348015610a1a57600080fd5b506102be60048036036020811015610a3157600080fd5b5035611977565b348015610a4457600080fd5b506103b260048036036020811015610a5b57600080fd5b810190602081018135600160201b811115610a7557600080fd5b820183602082011115610a8757600080fd5b803590602001918460018302840111600160201b83111715610aa857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611982945050505050565b6103b260048036036080811015610aff57600080fd5b50803590602081013590604081013590606001356119ef565b348015610b2457600080fd5b5061029560048036036040811015610b3b57600080fd5b506001600160a01b0381358116916020013516611c2e565b348015610b5f57600080fd5b50610295611c5c565b348015610b7457600080fd5b506103b260048036036020811015610b8b57600080fd5b50356001600160a01b0316611c65565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c4a5780601f10610c1f57610100808354040283529160200191610c4a565b820191906000526020600020905b815481529060010190602001808311610c2d57829003601f168201915b5050505050905090565b6000610c5f82611d5e565b610c9a5760405162461bcd60e51b815260040180806020018281038252602c8152602001806132c6602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610cc18261135d565b9050806001600160a01b0316836001600160a01b03161415610d145760405162461bcd60e51b81526004018080602001828103825260218152602001806133956021913960400191505060405180910390fd5b806001600160a01b0316610d26611d6b565b6001600160a01b03161480610d475750610d4781610d42611d6b565b611c2e565b610d825760405162461bcd60e51b81526004018080602001828103825260388152602001806131d06038913960400191505060405180910390fd5b610d8c8383611d6f565b505050565b610d99611d6b565b600a546001600160a01b03908116911614610de9576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b8051610dfc90600b906020840190612fec565b5050565b6000610e0c6002611ddd565b905090565b610e22610e1c611d6b565b82611de8565b610e5d5760405162461bcd60e51b81526004018080602001828103825260318152602001806133d96031913960400191505060405180910390fd5b610d8c838383611e8c565b6001600160a01b0382166000908152600160205260408120610e8a9083611fd8565b90505b92915050565b600b805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610f195780601f10610eee57610100808354040283529160200191610f19565b820191906000526020600020905b815481529060010190602001808311610efc57829003601f168201915b505050505081565b610f29611d6b565b600a546001600160a01b03908116911614610f79576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b610be3600d5410610fc8576040805162461bcd60e51b81526020600482015260146024820152736f6e6c79204d41585f466f726b203c203330343360601b604482015290519081900360640190fd5b610be3600d55662386f26fc10000600c55600e805460ff19166001179055565b610ff0611d6b565b600a546001600160a01b03908116911614611040576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b600e805460ff19811660ff90911615179055565b600e5460609062010000900460ff166110775761107082611fe4565b9050610bb9565b610e8d61140d565b611087611d6b565b600a546001600160a01b039081169116146110d7576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b6040514790339082156108fc029083906000818181858888f19350505050158015610dfc573d6000803e3d6000fd5b610d8c838383604051806020016040528060008152506118f5565b61112b3382611de8565b61113457600080fd5b61113d81611d5e565b61114657600080fd5b336111508261135d565b6001600160a01b031614816040516020018080613135602591396025018281526020019150506040516020818303038152906040529061120e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156111d35781810151838201526020016111bb565b50505050905090810190601f1680156112005780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506112188161228b565b50565b600c5481565b600e54610100900460ff1681565b60008061123d600284612358565b509392505050565b600d5481565b611253611d6b565b600a546001600160a01b039081169116146112a3576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b61121881612374565b600e54630100000090046001600160a01b031681565b604080517feccb9e03043213ae5ad7671b128a43a96d19900fb02ad6acdd2dd42a79547f8a60208083019190915233828401526060808301859052835180840390910181526080830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000060a084015260bc8084018290528451808503909101815260dc9093019093528151910120915091565b6000610e8d826040518060600160405280602981526020016132326029913960029190612387565b61138d611d6b565b600a546001600160a01b039081169116146113dd576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b60006113e7610e00565b905060005b82811015610d8c576114003382840161239e565b6001016113ec565b600a81565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c4a5780601f10610c1f57610100808354040283529160200191610c4a565b60006001600160a01b0382166114b55760405162461bcd60e51b815260040180806020018281038252602a815260200180613208602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600160205260409020610e8d90611ddd565b6114de611d6b565b600a546001600160a01b0390811691161461152e576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b60006001600160a01b0382166115bf5760405162461bcd60e51b81526004018080602001828103825260218152602001806130e26021913960400191505060405180910390fd5b506001600160a01b03166000908152600f602052604090205490565b600a546001600160a01b031690565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c4a5780601f10610c1f57610100808354040283529160200191610c4a565b600e54610100900460ff166116915760405162461bcd60e51b81526004018080602001828103825260238152602001806133b66023913960400191505060405180910390fd5b611218816123b8565b6116a2611d6b565b6001600160a01b0316826001600160a01b03161415611708576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000611715611d6b565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611759611d6b565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6117a7611d6b565b600a546001600160a01b039081169116146117f7576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b600e80546001600160a01b039092166301000000026301000000600160b81b0319909216919091179055565b61182b611d6b565b600a546001600160a01b0390811691161461187b576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b610dd7600d54106118ca576040805162461bcd60e51b81526020600482015260146024820152736f6e6c79204d41585f466f726b203c203335343360601b604482015290519081900360640190fd5b610dd7600d55666a94d74f430000600c55600e805461ff001960ff1990911660011716610100179055565b611906611900611d6b565b83611de8565b6119415760405162461bcd60e51b81526004018080602001828103825260318152602001806133d96031913960400191505060405180910390fd5b61194d8484848461250c565b50505050565b7feccb9e03043213ae5ad7671b128a43a96d19900fb02ad6acdd2dd42a79547f8a81565b6060610e8d82611054565b61198a611d6b565b600a546001600160a01b039081169116146119da576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b600e805462ff0000191690556112188161124b565b600e54610100900460ff1615611a4c576040805162461bcd60e51b815260206004820152601f60248201527f6d7573742062652061742070726573616c6520746f206d696e7420466f726b00604482015290519081900360640190fd5b336000908152600f60205260409020546001600160f81b0384169060f885901c90868101831015611aae5760405162461bcd60e51b815260040180806020018281038252602b8152602001806132f2602b913960400191505060405180910390fd5b604080517feccb9e03043213ae5ad7671b128a43a96d19900fb02ad6acdd2dd42a79547f8a60208083019190915233828401526060808301879052835180840390910181526080830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000060a084015260bc808401919091528351808403909101815260dc8301808552815191830191909120600e54600090925260fc840180865281905260ff871661011c85015261013c84018a905261015c8401899052935163010000009091046001600160a01b03169260019261017c808301939192601f198301929081900390910190855afa158015611bb6573d6000803e3d6000fd5b505050602060405103516001600160a01b031614611c1b576040805162461bcd60e51b815260206004820152601860248201527f4372617a795365613a20496e76616c6964207369676e65720000000000000000604482015290519081900360640190fd5b611c24886123b8565b5050505050505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600e5460ff1681565b611c6d611d6b565b600a546001600160a01b03908116911614611cbd576040805162461bcd60e51b8152602060048201819052602482015260008051602061331d833981519152604482015290519081900360640190fd5b6001600160a01b038116611d025760405162461bcd60e51b815260040180806020018281038252602681526020018061315a6026913960400191505060405180910390fd5b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610e8d60028361255e565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611da48261135d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610e8d8261256a565b6000611df382611d5e565b611e2e5760405162461bcd60e51b815260040180806020018281038252602c8152602001806131a4602c913960400191505060405180910390fd5b6000611e398361135d565b9050806001600160a01b0316846001600160a01b03161480611e745750836001600160a01b0316611e6984610c54565b6001600160a01b0316145b80611e845750611e848185611c2e565b949350505050565b826001600160a01b0316611e9f8261135d565b6001600160a01b031614611ee45760405162461bcd60e51b815260040180806020018281038252602981526020018061333d6029913960400191505060405180910390fd5b6001600160a01b038216611f295760405162461bcd60e51b81526004018080602001828103825260248152602001806131806024913960400191505060405180910390fd5b611f34838383610d8c565b611f3f600082611d6f565b6001600160a01b0383166000908152600160205260409020611f61908261256e565b506001600160a01b0382166000908152600160205260409020611f84908261257a565b50611f9160028284612586565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610e8a838361259c565b6060611fef82611d5e565b61202a5760405162461bcd60e51b815260040180806020018281038252602f815260200180613366602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156120bf5780601f10612094576101008083540402835291602001916120bf565b820191906000526020600020905b8154815290600101906020018083116120a257829003601f168201915b5050600954939450505050600260001961010060018416150201909116046120e8579050610bb9565b8051156121b95760098160405160200180838054600181600116156101000203166002900480156121505780601f1061212e576101008083540402835291820191612150565b820191906000526020600020905b81548152906001019060200180831161213c575b5050825160208401908083835b6020831061217c5780518252601f19909201916020918201910161215d565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050610bb9565b60096121c484612600565b60405160200180838054600181600116156101000203166002900480156122225780601f10612200576101008083540402835291820191612222565b820191906000526020600020905b81548152906001019060200180831161220e575b5050825160208401908083835b6020831061224e5780518252601f19909201916020918201910161222f565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b60006122968261135d565b90506122a481600084610d8c565b6122af600083611d6f565b60008281526008602052604090205460026000196101006001841615020190911604156122ed5760008281526008602052604081206122ed9161306a565b6001600160a01b038116600090815260016020526040902061230f908361256e565b5061231b6002836126db565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080808061236786866126e7565b9097909650945050505050565b8051610dfc906009906020840190612fec565b6000612394848484612762565b90505b9392505050565b610dfc8282604051806020016040528060008152506127ef565b600e5460ff1661240f576040805162461bcd60e51b815260206004820181905260248201527f53616c65206d7573742062652061637469766520746f206d696e7420466f726b604482015290519081900360640190fd5b600a81111561244f5760405162461bcd60e51b815260040180806020018281038252602181526020018061340a6021913960400191505060405180910390fd5b600d546124648261245e610e00565b90612841565b11156124a15760405162461bcd60e51b815260040180806020018281038252602881526020018061325b6028913960400191505060405180910390fd5b600c5434906124b0908361289b565b1115612503576040805162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015290519081900360640190fd5b611218816128f4565b612517848484611e8c565b61252384848484612946565b61194d5760405162461bcd60e51b81526004018080602001828103825260328152602001806131036032913960400191505060405180910390fd5b6000610e8a8383612aae565b5490565b6000610e8a8383612ac6565b6000610e8a8383612b8c565b600061239484846001600160a01b038516612bd6565b815460009082106125de5760405162461bcd60e51b81526004018080602001828103825260228152602001806130c06022913960400191505060405180910390fd5b8260000182815481106125ed57fe5b9060005260206000200154905092915050565b60608161262557506040805180820190915260018152600360fc1b6020820152610bb9565b8160005b811561263d57600101600a82049150612629565b60608167ffffffffffffffff8111801561265657600080fd5b506040519080825280601f01601f191660200182016040528015612681576020820181803683370190505b50859350905060001982015b83156126d257600a840660300160f81b828280600190039350815181106126b057fe5b60200101906001600160f81b031916908160001a905350600a8404935061268d565b50949350505050565b6000610e8a8383612c6d565b81546000908190831061272b5760405162461bcd60e51b81526004018080602001828103825260228152602001806132836022913960400191505060405180910390fd5b600084600001848154811061273c57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816127c05760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156111d35781810151838201526020016111bb565b508460000160018203815481106127d357fe5b9060005260206000209060020201600101549150509392505050565b6127f98383612d41565b6128066000848484612946565b610d8c5760405162461bcd60e51b81526004018080602001828103825260328152602001806131036032913960400191505060405180910390fd5b600082820183811015610e8a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000826128aa57506000610e8d565b828202828482816128b757fe5b0414610e8a5760405162461bcd60e51b81526004018080602001828103825260218152602001806132a56021913960400191505060405180910390fd5b60005b81811015610dfc576000612909610e00565b9050600d54612916610e00565b101561293d57612926338261239e565b336000908152600f60205260409020805460010190555b506001016128f7565b600061295a846001600160a01b0316612e6f565b61296657506001611e84565b6060612a74630a85bd0160e11b61297b611d6b565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156129e25781810151838201526020016129ca565b50505050905090810190601f168015612a0f5780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001613103603291396001600160a01b0388169190612e75565b90506000818060200190516020811015612a8d57600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b60008181526001830160205260408120548015612b825783546000198083019190810190600090879083908110612af957fe5b9060005260206000200154905080876000018481548110612b1657fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080612b4657fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610e8d565b6000915050610e8d565b6000612b988383612aae565b612bce57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610e8d565b506000610e8d565b600082815260018401602052604081205480612c3b575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055612397565b82856000016001830381548110612c4e57fe5b9060005260206000209060020201600101819055506000915050612397565b60008181526001830160205260408120548015612b825783546000198083019190810190600090879083908110612ca057fe5b9060005260206000209060020201905080876000018481548110612cc057fe5b600091825260208083208454600290930201918255600193840154918401919091558354825289830190526040902090840190558654879080612cff57fe5b6000828152602080822060026000199094019384020182815560019081018390559290935588815289820190925260408220919091559450610e8d9350505050565b6001600160a01b038216612d9c576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b612da581611d5e565b15612df7576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b612e0360008383610d8c565b6001600160a01b0382166000908152600160205260409020612e25908261257a565b50612e3260028284612586565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b606061239484846000856060612e8a85612e6f565b612edb576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612f1a5780518252601f199092019160209182019101612efb565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612f7c576040519150601f19603f3d011682016040523d82523d6000602084013e612f81565b606091505b50915091508115612f95579150611e849050565b805115612fa55780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156111d35781810151838201526020016111bb565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061302d57805160ff191683800117855561305a565b8280016001018555821561305a579182015b8281111561305a57825182559160200191906001019061303f565b506130669291506130aa565b5090565b50805460018160011615610100020316600290046000825580601f106130905750611218565b601f01602090049060005260206000209081019061121891905b5b8082111561306657600081556001016130ab56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64736d696e74656420717565727920666f7220746865207a65726f20616464726573734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a2053656e64657220646f6573206e6f74206f776e20546f6b656e49643a204f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e507572636861736520776f756c6420657863656564206d617820737570706c79206f6620466f726b456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e6d696e746564206e6674206e756d62657273203e3d206d617820616d6f756e742061742070726573616c654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65726d757374206265206174207075626c69632073616c6520746f206d696e7420466f726b4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656443616e206f6e6c79206d696e7420313020746f6b656e7320617420612074696d65a2646970667358221220b6c550358e73f85b0257a6ac3744b309ab47a182c251a505615062f4b2636cea64736f6c634300060c0033

Deployed Bytecode Sourcemap

59149:5307:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10117:142;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10117:142:0;-1:-1:-1;;;;;;10117:142:0;;:::i;:::-;;;;;;;;;;;;;;;;;;44081:92;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46776:213;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46776:213:0;;:::i;:::-;;;;-1:-1:-1;;;;;46776:213:0;;;;;;;;;;;;;;46320:390;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;46320:390:0;;;;;;;;:::i;:::-;;60460:125;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;60460:125:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;60460:125:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60460:125:0;;-1:-1:-1;60460:125:0;;-1:-1:-1;;;;;60460:125:0:i;45814:203::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;47650:305;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;47650:305:0;;;;;;;;;;;;;;;;;:::i;45584:154::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;45584:154:0;;;;;;;;:::i;59232:34::-;;;;;;;;;;;;;:::i;60838:214::-;;;;;;;;;;;;;:::i;61384:89::-;;;;;;;;;;;;;:::i;63959:177::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63959:177:0;;:::i;59980:131::-;;;;;;;;;;;;;:::i;48026:151::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;48026:151:0;;;;;;;;;;;;;;;;;:::i;63673:280::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63673:280:0;;:::i;59275:44::-;;;;;;;;;;;;;:::i;59462:32::-;;;;;;;;;;;;;:::i;46094:164::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46094:164:0;;:::i;59389:23::-;;;;;;;;;;;;;:::i;60593:99::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;60593:99:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;60593:99:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60593:99:0;;-1:-1:-1;60593:99:0;;-1:-1:-1;;;;;60593:99:0:i;59543:67::-;;;;;;;;;;;;;:::i;62259:320::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62259:320:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;43845:169;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43845:169:0;;:::i;60165:223::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60165:223:0;;:::i;59339:41::-;;;;;;;;;;;;;:::i;45411:89::-;;;;;;;;;;;;;:::i;43568:215::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43568:215:0;-1:-1:-1;;;;;43568:215:0;;:::i;58405:148::-;;;;;;;;;;;;;:::i;64270:183::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64270:183:0;-1:-1:-1;;;;;64270:183:0;;:::i;57763:79::-;;;;;;;;;;;;;:::i;44242:96::-;;;;;;;;;;;;;:::i;62636:176::-;;;;;;;;;;;;;;;;-1:-1:-1;62636:176:0;;:::i;47061:295::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;47061:295:0;;;;;;;;;;:::i;59882:90::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59882:90:0;-1:-1:-1;;;;;59882:90:0;;:::i;61060:247::-;;;;;;;;;;;;;:::i;48248:285::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;48248:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;48248:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;48248:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48248:285:0;;-1:-1:-1;48248:285:0;;-1:-1:-1;;;;;48248:285:0:i;59674:99::-;;;;;;;;;;;;;:::i;64142:122::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64142:122:0;;:::i;60700:130::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;60700:130:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;60700:130:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60700:130:0;;-1:-1:-1;60700:130:0;;-1:-1:-1;;;;;60700:130:0:i;61525:726::-;;;;;;;;;;;;;;;;-1:-1:-1;61525:726:0;;;;;;;;;;;;;;;;;:::i;47427:156::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;47427:156:0;;;;;;;;;;:::i;59421:32::-;;;;;;;;;;;;;:::i;58708:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58708:244:0;-1:-1:-1;;;;;58708:244:0;;:::i;10117:142::-;-1:-1:-1;;;;;;10218:33:0;;10194:4;10218:33;;;;;;;;;;;;;10117:142;;;;:::o;44081:92::-;44160:5;44153:12;;;;;;;;-1:-1:-1;;44153:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44127:13;;44153:12;;44160:5;;44153:12;;44160:5;44153:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44081:92;:::o;46776:213::-;46844:7;46872:16;46880:7;46872;:16::i;:::-;46864:73;;;;-1:-1:-1;;;46864:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46957:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;46957:24:0;;46776:213::o;46320:390::-;46401:13;46417:16;46425:7;46417;:16::i;:::-;46401:32;;46458:5;-1:-1:-1;;;;;46452:11:0;:2;-1:-1:-1;;;;;46452:11:0;;;46444:57;;;;-1:-1:-1;;;46444:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46538:5;-1:-1:-1;;;;;46522:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;46522:21:0;;:62;;;;46547:37;46564:5;46571:12;:10;:12::i;:::-;46547:16;:37::i;:::-;46514:154;;;;-1:-1:-1;;;46514:154:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46681:21;46690:2;46694:7;46681:8;:21::i;:::-;46320:390;;;:::o;60460:125::-;57985:12;:10;:12::i;:::-;57975:6;;-1:-1:-1;;;;;57975:6:0;;;:22;;;57967:67;;;;;-1:-1:-1;;;57967:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;57967:67:0;;;;;;;;;;;;;;;60545:32;;::::1;::::0;:15:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;:::-;;60460:125:::0;:::o;45814:203::-;45867:7;45988:21;:12;:19;:21::i;:::-;45981:28;;45814:203;:::o;47650:305::-;47811:41;47830:12;:10;:12::i;:::-;47844:7;47811:18;:41::i;:::-;47803:103;;;;-1:-1:-1;;;47803:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47919:28;47929:4;47935:2;47939:7;47919:9;:28::i;45584:154::-;-1:-1:-1;;;;;45700:20:0;;45673:7;45700:20;;;:13;:20;;;;;:30;;45724:5;45700:23;:30::i;:::-;45693:37;;45584:154;;;;;:::o;59232:34::-;;;;;;;;;;;;;;;-1:-1:-1;;59232:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;60838:214::-;57985:12;:10;:12::i;:::-;57975:6;;-1:-1:-1;;;;;57975:6:0;;;:22;;;57967:67;;;;;-1:-1:-1;;;57967:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;57967:67:0;;;;;;;;;;;;;;;60908:4:::1;60897:8;;:15;60889:48;;;::::0;;-1:-1:-1;;;60889:48:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;60889:48:0;;;;;;;;;;;;;::::1;;60959:4;60948:8;:15:::0;60986:17:::1;60974:9;:29:::0;61025:12:::1;:19:::0;;-1:-1:-1;;61025:19:0::1;-1:-1:-1::0;61025:19:0::1;::::0;;60838:214::o;61384:89::-;57985:12;:10;:12::i;:::-;57975:6;;-1:-1:-1;;;;;57975:6:0;;;:22;;;57967:67;;;;;-1:-1:-1;;;57967:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;57967:67:0;;;;;;;;;;;;;;;61453:12:::1;::::0;;-1:-1:-1;;61437:28:0;::::1;61453:12;::::0;;::::1;61452:13;61437:28;::::0;;61384:89::o;63959:177::-;64045:11;;64017:13;;64045:11;;;;;64040:58;;64074:24;64090:7;64074:15;:24::i;:::-;64067:31;;;;64040:58;64114:16;:14;:16::i;59980:131::-;57985:12;:10;:12::i;:::-;57975:6;;-1:-1:-1;;;;;57975:6:0;;;:22;;;57967:67;;;;;-1:-1:-1;;;57967:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;57967:67:0;;;;;;;;;;;;;;;60075:28:::1;::::0;60043:21:::1;::::0;60075:10:::1;::::0;:28;::::1;;;::::0;60043:21;;60028:12:::1;60075:28:::0;60028:12;60075:28;60043:21;60075:10;:28;::::1;;;;;;;;;;;;;::::0;::::1;;;;48026:151:::0;48130:39;48147:4;48153:2;48157:7;48130:39;;;;;;;;;;;;:16;:39::i;63673:280::-;63725:39;63744:10;63756:7;63725:18;:39::i;:::-;63717:48;;;;;;63780:16;63788:7;63780;:16::i;:::-;63772:25;;;;;;63839:10;63812:23;63827:7;63812:14;:23::i;:::-;-1:-1:-1;;;;;63812:37:0;;63916:7;63858:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63804:122;;;;;-1:-1:-1;;;63804:122:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63933:14;63939:7;63933:5;:14::i;:::-;63673:280;:::o;59275:44::-;;;;:::o;59462:32::-;;;;;;;;;:::o;46094:164::-;46161:7;;46203:22;:12;46219:5;46203:15;:22::i;:::-;-1:-1:-1;46181:44:0;46094:164;-1:-1:-1;;;46094:164:0:o;59389:23::-;;;;:::o;60593:99::-;57985:12;:10;:12::i;:::-;57975:6;;-1:-1:-1;;;;;57975:6:0;;;:22;;;57967:67;;;;;-1:-1:-1;;;57967:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;57967:67:0;;;;;;;;;;;;;;;60664:20:::1;60676:7;60664:11;:20::i;59543:67::-:0;;;;;;-1:-1:-1;;;;;59543:67:0;;:::o;62259:320::-;62376:54;;;59720:53;62376:54;;;;;;;;62408:10;62376:54;;;;;;;;;;;;;;;;;;;;;;;;;;62366:65;;;;;;62473:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62463:71;;;;;62259:320;;;:::o;43845:169::-;43909:7;43936:70;43953:7;43936:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;60165:223::-;57985:12;:10;:12::i;:::-;57975:6;;-1:-1:-1;;;;;57975:6:0;;;:22;;;57967:67;;;;;-1:-1:-1;;;57967:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;57967:67:0;;;;;;;;;;;;;;;60236:11:::1;60250:13;:11;:13::i;:::-;60236:27;;60274:6;60291:90;60307:7;60303:1;:11;60291:90;;;60336:33;60346:10;60367:1;60358:6;:10;60336:9;:33::i;:::-;60316:3;;60291:90;;59339:41:::0;59378:2;59339:41;:::o;45411:89::-;45484:8;45477:15;;;;;;;;-1:-1:-1;;45477:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45451:13;;45477:15;;45484:8;;45477:15;;45484:8;45477:15;;;;;;;;;;;;;;;;;;;;;;;;43568:215;43632:7;-1:-1:-1;;;;;43660:19:0;;43652:74;;;;-1:-1:-1;;;43652:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43746:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;58405:148::-;57985:12;:10;:12::i;:::-;57975:6;;-1:-1:-1;;;;;57975:6:0;;;:22;;;57967:67;;;;;-1:-1:-1;;;57967:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;57967:67:0;;;;;;;;;;;;;;;58496:6:::1;::::0;58475:40:::1;::::0;58512:1:::1;::::0;-1:-1:-1;;;;;58496:6:0::1;::::0;58475:40:::1;::::0;58512:1;;58475:40:::1;58526:6;:19:::0;;-1:-1:-1;;;;;;58526:19:0::1;::::0;;58405:148::o;64270:183::-;64324:7;-1:-1:-1;;;;;64349:19:0;;64341:65;;;;-1:-1:-1;;;64341:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;64430:17:0;;;;;:10;:17;;;;;;;64270:183::o;57763:79::-;57828:6;;-1:-1:-1;;;;;57828:6:0;57763:79;:::o;44242:96::-;44323:7;44316:14;;;;;;;;-1:-1:-1;;44316:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44290:13;;44316:14;;44323:7;;44316:14;;44323:7;44316:14;;;;;;;;;;;;;;;;;;;;;;;;62636:176;62717:12;;;;;;;62709:60;;;;-1:-1:-1;;;62709:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62780:24;62789:14;62780:8;:24::i;47061:295::-;47176:12;:10;:12::i;:::-;-1:-1:-1;;;;;47164:24:0;:8;-1:-1:-1;;;;;47164:24:0;;;47156:62;;;;;-1:-1:-1;;;47156:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;47276:8;47231:18;:32;47250:12;:10;:12::i;:::-;-1:-1:-1;;;;;47231:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;47231:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;47231:53:0;;;;;;;;;;;47315:12;:10;:12::i;:::-;-1:-1:-1;;;;;47300:48:0;;47339:8;47300:48;;;;;;;;;;;;;;;;;;;;47061:295;;:::o;59882:90::-;57985:12;:10;:12::i;:::-;57975:6;;-1:-1:-1;;;;;57975:6:0;;;:22;;;57967:67;;;;;-1:-1:-1;;;57967:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;57967:67:0;;;;;;;;;;;;;;;59948:7:::1;:16:::0;;-1:-1:-1;;;;;59948:16:0;;::::1;::::0;::::1;-1:-1:-1::0;;;;;;59948:16:0;;::::1;::::0;;;::::1;::::0;;59882:90::o;61060:247::-;57985:12;:10;:12::i;:::-;57975:6;;-1:-1:-1;;;;;57975:6:0;;;:22;;;57967:67;;;;;-1:-1:-1;;;57967:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;57967:67:0;;;;;;;;;;;;;;;61133:4:::1;61122:8;;:15;61114:48;;;::::0;;-1:-1:-1;;;61114:48:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;61114:48:0;;;;;;;;;;;;;::::1;;61184:4;61173:8;:15:::0;61211:17:::1;61199:9;:29:::0;61250:12:::1;:19:::0;;-1:-1:-1;;;;61250:19:0;;::::1;-1:-1:-1::0;61250:19:0::1;61280;61250;61280;::::0;;61060:247::o;48248:285::-;48380:41;48399:12;:10;:12::i;:::-;48413:7;48380:18;:41::i;:::-;48372:103;;;;-1:-1:-1;;;48372:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48486:39;48500:4;48506:2;48510:7;48519:5;48486:13;:39::i;:::-;48248:285;;;;:::o;59674:99::-;59720:53;59674:99;:::o;64142:122::-;64207:13;64238:20;64250:7;64238:11;:20::i;60700:130::-;57985:12;:10;:12::i;:::-;57975:6;;-1:-1:-1;;;;;57975:6:0;;;:22;;;57967:67;;;;;-1:-1:-1;;;57967:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;57967:67:0;;;;;;;;;;;;;;;60773:11:::1;:19:::0;;-1:-1:-1;;60773:19:0::1;::::0;;60803::::1;60814:7:::0;60803:10:::1;:19::i;61525:726::-:0;61642:12;;;;;;;61641:13;61633:57;;;;;-1:-1:-1;;;61633:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;61821:10;61701:17;61810:22;;;:10;:22;;;;;;-1:-1:-1;;;;;61701:36:0;;;61775:3;61764:14;;;;61864:24;;;61851:37;;;61843:93;;;;-1:-1:-1;;;61843:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62056:54;;;59720:53;62056:54;;;;;;;;62088:10;62056:54;;;;;;;;;;;;;;;;;;;;;;;;;;62046:65;;;;;;61975:147;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61965:158;;;;;;;;;62172:7;;61948:14;62142:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62172:7;;;;-1:-1:-1;;;;;62172:7:0;;62142:26;;;;;;;62056:54;;-1:-1:-1;;62142:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;62142:37:0;;62134:74;;;;;-1:-1:-1;;;62134:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;62219:24;62228:14;62219:8;:24::i;:::-;61525:726;;;;;;;;:::o;47427:156::-;-1:-1:-1;;;;;47540:25:0;;;47516:4;47540:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;47427:156::o;59421:32::-;;;;;;:::o;58708:244::-;57985:12;:10;:12::i;:::-;57975:6;;-1:-1:-1;;;;;57975:6:0;;;:22;;;57967:67;;;;;-1:-1:-1;;;57967:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;57967:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;58797:22:0;::::1;58789:73;;;;-1:-1:-1::0;;;58789:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58899:6;::::0;58878:38:::1;::::0;-1:-1:-1;;;;;58878:38:0;;::::1;::::0;58899:6:::1;::::0;58878:38:::1;::::0;58899:6:::1;::::0;58878:38:::1;58927:6;:17:::0;;-1:-1:-1;;;;;;58927:17:0::1;-1:-1:-1::0;;;;;58927:17:0;;;::::1;::::0;;;::::1;::::0;;58708:244::o;50000:119::-;50057:4;50081:30;:12;50103:7;50081:21;:30::i;672:106::-;760:10;672:106;:::o;55827:158::-;55893:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;55893:29:0;-1:-1:-1;;;;;55893:29:0;;;;;;;;:24;;55947:16;55893:24;55947:7;:16::i;:::-;-1:-1:-1;;;;;55938:39:0;;;;;;;;;;;55827:158;;:::o;37556:123::-;37625:7;37652:19;37660:3;37652:7;:19::i;50286:333::-;50371:4;50396:16;50404:7;50396;:16::i;:::-;50388:73;;;;-1:-1:-1;;;50388:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50472:13;50488:16;50496:7;50488;:16::i;:::-;50472:32;;50534:5;-1:-1:-1;;;;;50523:16:0;:7;-1:-1:-1;;;;;50523:16:0;;:51;;;;50567:7;-1:-1:-1;;;;;50543:31:0;:20;50555:7;50543:11;:20::i;:::-;-1:-1:-1;;;;;50543:31:0;;50523:51;:87;;;;50578:32;50595:5;50602:7;50578:16;:32::i;:::-;50515:96;50286:333;-1:-1:-1;;;;50286:333:0:o;53375:574::-;53493:4;-1:-1:-1;;;;;53473:24:0;:16;53481:7;53473;:16::i;:::-;-1:-1:-1;;;;;53473:24:0;;53465:78;;;;-1:-1:-1;;;53465:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53562:16:0;;53554:65;;;;-1:-1:-1;;;53554:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53632:39;53653:4;53659:2;53663:7;53632:20;:39::i;:::-;53736:29;53753:1;53757:7;53736:8;:29::i;:::-;-1:-1:-1;;;;;53778:19:0;;;;;;:13;:19;;;;;:35;;53805:7;53778:26;:35::i;:::-;-1:-1:-1;;;;;;53824:17:0;;;;;;:13;:17;;;;;:30;;53846:7;53824:21;:30::i;:::-;-1:-1:-1;53867:29:0;:12;53884:7;53893:2;53867:16;:29::i;:::-;;53933:7;53929:2;-1:-1:-1;;;;;53914:27:0;53923:4;-1:-1:-1;;;;;53914:27:0;;;;;;;;;;;53375:574;;;:::o;30175:137::-;30246:7;30281:22;30285:3;30297:5;30281:3;:22::i;44409:763::-;44482:13;44516:16;44524:7;44516;:16::i;:::-;44508:76;;;;-1:-1:-1;;;44508:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44623:19;;;;:10;:19;;;;;;;;;44597:45;;;;;;-1:-1:-1;;44597:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;44623:19;44597:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;44724:8:0;44718:22;44597:45;;-1:-1:-1;;;;44718:22:0;-1:-1:-1;;44718:22:0;;;;;;;;;;;44714:76;;44769:9;-1:-1:-1;44762:16:0;;44714:76;44894:23;;:27;44890:112;;44969:8;44979:9;44952:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;44952:37:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;44952:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44938:52;;;;;44890:112;45134:8;45144:18;:7;:16;:18::i;:::-;45117:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;45117:46:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;45117:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45103:61;;;44409:763;;;:::o;52518:520::-;52578:13;52594:16;52602:7;52594;:16::i;:::-;52578:32;;52623:48;52644:5;52659:1;52663:7;52623:20;:48::i;:::-;52712:29;52729:1;52733:7;52712:8;:29::i;:::-;52800:19;;;;:10;:19;;;;;52794:33;;-1:-1:-1;;52794:33:0;;;;;;;;;;;:38;52790:97;;52856:19;;;;:10;:19;;;;;52849:26;;;:::i;:::-;-1:-1:-1;;;;;52899:20:0;;;;;;:13;:20;;;;;:36;;52927:7;52899:27;:36::i;:::-;-1:-1:-1;52948:28:0;:12;52968:7;52948:19;:28::i;:::-;-1:-1:-1;52994:36:0;;53022:7;;53018:1;;-1:-1:-1;;;;;52994:36:0;;;;;53018:1;;52994:36;52518:520;;:::o;38018:227::-;38098:7;;;;38158:22;38162:3;38174:5;38158:3;:22::i;:::-;38127:53;;;;-1:-1:-1;38018:227:0;-1:-1:-1;;;;;38018:227:0:o;54550:100::-;54623:19;;;;:8;;:19;;;;;:::i;38680:204::-;38787:7;38830:44;38835:3;38855;38861:12;38830:4;:44::i;:::-;38822:53;-1:-1:-1;38680:204:0;;;;;;:::o;50962:110::-;51038:26;51048:2;51052:7;51038:26;;;;;;;;;;;;:9;:26::i;62855:464::-;62921:12;;;;62913:57;;;;;-1:-1:-1;;;62913:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59378:2;62989:14;:33;;62981:79;;;;-1:-1:-1;;;62981:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63116:8;;63079:33;63097:14;63079:13;:11;:13::i;:::-;:17;;:33::i;:::-;:45;;63071:98;;;;-1:-1:-1;;;63071:98:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63188:9;;63221;;63188:29;;63202:14;63188:13;:29::i;:::-;:42;;63180:86;;;;;-1:-1:-1;;;63180:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;63277:34;63296:14;63277:18;:34::i;49415:272::-;49529:28;49539:4;49545:2;49549:7;49529:9;:28::i;:::-;49576:48;49599:4;49605:2;49609:7;49618:5;49576:22;:48::i;:::-;49568:111;;;;-1:-1:-1;;;49568:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37317:151;37401:4;37425:35;37435:3;37455;37425:9;:35::i;34939:110::-;35022:19;;34939:110::o;29262:137::-;29332:4;29356:35;29364:3;29384:5;29356:7;:35::i;28955:131::-;29022:4;29046:32;29051:3;29071:5;29046:4;:32::i;36749:176::-;36838:4;36862:55;36867:3;36887;-1:-1:-1;;;;;36901:14:0;;36862:4;:55::i;26839:204::-;26934:18;;26906:7;;26934:26;-1:-1:-1;26926:73:0;;;;-1:-1:-1;;;26926:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27017:3;:11;;27029:5;27017:18;;;;;;;;;;;;;;;;27010:25;;26839:204;;;;:::o;39111:744::-;39167:13;39388:10;39384:53;;-1:-1:-1;39415:10:0;;;;;;;;;;;;-1:-1:-1;;;39415:10:0;;;;;;39384:53;39462:5;39447:12;39503:78;39510:9;;39503:78;;39536:8;;39567:2;39559:10;;;;39503:78;;;39591:19;39623:6;39613:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39613:17:0;-1:-1:-1;39685:5:0;;-1:-1:-1;39591:39:0;-1:-1:-1;;;39657:10:0;;39701:115;39708:9;;39701:115;;39775:2;39768:4;:9;39763:2;:14;39752:27;;39734:6;39741:7;;;;;;;39734:15;;;;;;;;;;;:45;-1:-1:-1;;;;;39734:45:0;;;;;;;;-1:-1:-1;39802:2:0;39794:10;;;;39701:115;;;-1:-1:-1;39840:6:0;39111:744;-1:-1:-1;;;;39111:744:0:o;37091:142::-;37168:4;37192:33;37200:3;37220;37192:7;:33::i;35404:279::-;35508:19;;35471:7;;;;35508:27;-1:-1:-1;35500:74:0;;;;-1:-1:-1;;;35500:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35587:22;35612:3;:12;;35625:5;35612:19;;;;;;;;;;;;;;;;;;35587:44;;35650:5;:10;;;35662:5;:12;;;35642:33;;;;;35404:279;;;;;:::o;36106:319::-;36200:7;36239:17;;;:12;;;:17;;;;;;36290:12;36275:13;36267:36;;;;-1:-1:-1;;;36267:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36357:3;:12;;36381:1;36370:8;:12;36357:26;;;;;;;;;;;;;;;;;;:33;;;36350:40;;;36106:319;;;;;:::o;51299:250::-;51395:18;51401:2;51405:7;51395:5;:18::i;:::-;51432:54;51463:1;51467:2;51471:7;51480:5;51432:22;:54::i;:::-;51424:117;;;;-1:-1:-1;;;51424:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11783:181;11841:7;11873:5;;;11897:6;;;;11889:46;;;;;-1:-1:-1;;;11889:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;13137:471;13195:7;13440:6;13436:47;;-1:-1:-1;13470:1:0;13463:8;;13436:47;13507:5;;;13511:1;13507;:5;:1;13531:5;;;;;:10;13523:56;;;;-1:-1:-1;;;13523:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63327:338;63398:6;63394:264;63414:14;63410:1;:18;63394:264;;;63450:14;63467:13;:11;:13::i;:::-;63450:30;;63515:8;;63499:13;:11;:13::i;:::-;:24;63495:152;;;63544:32;63554:10;63566:9;63544;:32::i;:::-;63606:10;63595:22;;;;:10;:22;;;;;:36;;63629:1;63595:36;;;63495:152;-1:-1:-1;63430:3:0;;63394:264;;55215:604;55336:4;55363:15;:2;-1:-1:-1;;;;;55363:13:0;;:15::i;:::-;55358:60;;-1:-1:-1;55402:4:0;55395:11;;55358:60;55428:23;55454:252;-1:-1:-1;;;55567:12:0;:10;:12::i;:::-;55594:4;55613:7;55635:5;55470:181;;;;;;-1:-1:-1;;;;;55470:181:0;;;;;;-1:-1:-1;;;;;55470:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;55470:181:0;;;;;;;-1:-1:-1;;;;;55470:181:0;;;;;;;;;;;55454:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;55454:15:0;;;:252;:15;:252::i;:::-;55428:278;;55717:13;55744:10;55733:32;;;;;;;;;;;;;;;-1:-1:-1;55733:32:0;-1:-1:-1;;;;;;55784:26:0;-1:-1:-1;;;55784:26:0;;-1:-1:-1;;;55215:604:0;;;;;;:::o;34719:125::-;34790:4;34814:17;;;:12;;;;;:17;;;;;;:22;;;34719:125::o;24541:1544::-;24607:4;24746:19;;;:12;;;:19;;;;;;24782:15;;24778:1300;;25217:18;;-1:-1:-1;;25168:14:0;;;;25217:22;;;;25144:21;;25217:3;;:22;;25504;;;;;;;;;;;;;;25484:42;;25650:9;25621:3;:11;;25633:13;25621:26;;;;;;;;;;;;;;;;;;;:38;;;;25727:23;;;25769:1;25727:12;;;:23;;;;;;25753:17;;;25727:43;;25879:17;;25727:3;;25879:17;;;;;;;;;;;;;;;;;;;;;;25974:3;:12;;:19;25987:5;25974:19;;;;;;;;;;;25967:26;;;26017:4;26010:11;;;;;;;;24778:1300;26061:5;26054:12;;;;;23951:414;24014:4;24036:21;24046:3;24051:5;24036:9;:21::i;:::-;24031:327;;-1:-1:-1;24074:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;24257:18;;24235:19;;;:12;;;:19;;;;;;:40;;;;24290:11;;24031:327;-1:-1:-1;24341:5:0;24334:12;;32219:692;32295:4;32430:17;;;:12;;;:17;;;;;;32464:13;32460:444;;-1:-1:-1;;32549:38:0;;;;;;;;;;;;;;;;;;32531:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;32746:19;;32726:17;;;:12;;;:17;;;;;;;:39;32780:11;;32460:444;32860:5;32824:3;:12;;32848:1;32837:8;:12;32824:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;32887:5;32880:12;;;;;33086:1549;33150:4;33285:17;;;:12;;;:17;;;;;;33319:13;;33315:1313;;33751:19;;-1:-1:-1;;33704:12:0;;;;33751:23;;;;33680:21;;33751:3;;:23;;34048;;;;;;;;;;;;;;;;34019:52;;34196:9;34166:3;:12;;34179:13;34166:27;;;;;;;;;;;;;;;;:39;;:27;;;;;:39;;;;;;;;;;;;;;;34286:14;;34273:28;;:12;;;:28;;;;;34304:17;;;34273:48;;34430:18;;34273:3;;34430:18;;;;;;;;;;;;;;-1:-1:-1;;34430:18:0;;;;;;;;;;;;;;;;;;;;;34526:17;;;:12;;;:17;;;;;;34519:24;;;;34430:18;-1:-1:-1;34560:11:0;;-1:-1:-1;;;;34560:11:0;51885:404;-1:-1:-1;;;;;51965:16:0;;51957:61;;;;;-1:-1:-1;;;51957:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52038:16;52046:7;52038;:16::i;:::-;52037:17;52029:58;;;;;-1:-1:-1;;;52029:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;52100:45;52129:1;52133:2;52137:7;52100:20;:45::i;:::-;-1:-1:-1;;;;;52158:17:0;;;;;;:13;:17;;;;;:30;;52180:7;52158:21;:30::i;:::-;-1:-1:-1;52201:29:0;:12;52218:7;52227:2;52201:16;:29::i;:::-;-1:-1:-1;52248:33:0;;52273:7;;-1:-1:-1;;;;;52248:33:0;;;52265:1;;52248:33;;52265:1;;52248:33;51885:404;;:::o;16993:422::-;17360:20;17399:8;;;16993:422::o;19911:196::-;20014:12;20046:53;20069:6;20077:4;20083:1;20086:12;21418;21451:18;21462:6;21451:10;:18::i;:::-;21443:60;;;;;-1:-1:-1;;;21443:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21577:12;21591:23;21618:6;-1:-1:-1;;;;;21618:11:0;21638:8;21649:4;21618:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;21618:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21576:78;;;;21669:7;21665:595;;;21700:10;-1:-1:-1;21693:17:0;;-1:-1:-1;21693:17:0;21665:595;21814:17;;:21;21810:439;;22077:10;22071:17;22138:15;22125:10;22121:2;22117:19;22110:44;22025:148;22213:20;;-1:-1:-1;;;22213:20:0;;;;;;;;;;;;;;;;;22220:12;;22213:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://b6c550358e73f85b0257a6ac3744b309ab47a182c251a505615062f4b2636cea

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  ]
[ 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.