Contract 0x31eeb37311beb397e786f66a5fad4f5eafc20c9f

 
Ad
Ad
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xa42be2c1b14dbd777875c3e0645fbdd27191cb0a8e922c28fbbb95c2e6b0c976Mint203809042021-10-19 13:17:524 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0xe4014e9a288e54a3992b98d4ca9d3a8d01269e5381cc2fbc8a77c85fa96285d8Mint203809042021-10-19 13:17:524 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0x81b4fb9c2cb4cc076abcc5a4aeb55491992abedd879251ca5824e1de98ebf618Mint203809042021-10-19 13:17:524 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0x8cbe65157edffa6a7cd8ca9882ffc5d838f30b6b1546684065f41ae60be852d9Mint203809042021-10-19 13:17:524 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0x8b683601c0464aa4ed4d88911d9f5831e458ff967f791adeace28ab89de544afMint203809042021-10-19 13:17:524 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0x9061801a728692c878c11d7a4208826645b5194a9e166ee2cda6dc52053c7c0bMint203809042021-10-19 13:17:524 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0x23d7bf0dbb8e86978360930803f8876ca64ade28ba8a1f20ce82f509381bae60Mint203809032021-10-19 13:17:484 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0x485dcae1b1a7c4107256241d459b50ce127913be48a58eab6d0371d32368537cMint203809032021-10-19 13:17:484 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0xe8f0e411d1821fc91f63579d6d44c115ecbf527d8b1a690c1a1b52c6b684c9cbMint203809032021-10-19 13:17:484 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0x7bd8cca7549567de399c84fbaa3727f4622f7c66ce7e8991664c62f3affe64e5Mint203809032021-10-19 13:17:484 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0x6268dd9d93f4055c4aabd5404dae8a1dfb1f64687b054f13c2b06ab09610d81cMint203809032021-10-19 13:17:484 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0x0837515409a54764ae70437d03e2e55db6b491e522cd13fbe2325d3a18c79230Mint203809032021-10-19 13:17:484 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0xd58d527f96591c4255ac5388cc8dd3e1c8ac725a18d26f80ae95b6fe51a1a5a0Mint203809032021-10-19 13:17:484 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0x148e1c26d60dee34910f44a5291a058e109ab9d7bed4f6d875575e39ae620a1fMint203809032021-10-19 13:17:484 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0x7fcff8cc0260433b5fd6152abe344399d1588a5e30d2c3a86eb52f7fe17bb386Mint203809032021-10-19 13:17:484 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0x91fb333f896e705cedc17091e00edda0706a20b1e4f645e61fc9c9c8e0968a3dMint203809032021-10-19 13:17:484 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0x8d668d6639575d5d1ee55757939f3e323f26338f56dfd539b5c89a7484a18db1Mint203809032021-10-19 13:17:484 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0xaccc655b034a6d116033784944802ffde5a9dd6eda08798ee92e5042e6aa1dddMint203809032021-10-19 13:17:484 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0xf6154bb5efd158e6a0d158be75303f3335aca1e69468e80c7995e67fdb8a5ce0Mint203809032021-10-19 13:17:484 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0xe90e59ffa6489f468170bf00df939aeda5687324c9a31eddb8e3a27a8d24f17dMint203809022021-10-19 13:17:444 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0x41346c55bb8c30ab7abef817f6e5e700eabd7bb10e59132d557c95b33855abfbMint203809022021-10-19 13:17:444 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0x4ba1ea2c5d19e9ae5363856dc16cb94a4dfeb78fe9201d12a3d8410b5b77107bMint203809022021-10-19 13:17:444 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0x8684d11539c915bd9d8f58c387d87c1a0041cfbe4c8137b418ad7c8f513f6dd1Mint203809022021-10-19 13:17:444 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0xed2bd28049ddd6083593af37c62dc0be12045880cfd70ebb6afc93d0e6bd0fc2Mint203809022021-10-19 13:17:444 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
0xeef1d46e7261ff63abd79d3a39b62e4b199c510cbc2cebe37dfb8cea058a121fMint203809022021-10-19 13:17:444 hrs 21 mins ago0x4f27769c38169e402ffbb38b19f2606be60fdf97 IN  0x31eeb37311beb397e786f66a5fad4f5eafc20c9f0 MATIC0.032635015
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xaa3b33F20454598C8d5786BacEA8A8EB003d1960

Contract Name:
NFT

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-09-22
*/

// SPDX-License-Identifier: Unlicensed

// This code uses the OpenZeppelin library, which is released under the MIT license.

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



pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with 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: @openzeppelin/contracts/introspection/IERC165.sol

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

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



// pragma solidity >=0.6.2 <0.8.0;


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

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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

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



// pragma solidity >=0.6.0 <0.9.0;

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

// File: @openzeppelin/contracts/introspection/ERC165.sol



// pragma solidity >=0.6.0 <0.9.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
abstract 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 virtual 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: @openzeppelin/contracts/math/SafeMath.sol



// pragma solidity >=0.6.0 <0.9.0;

/**
 * @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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * 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);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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: @openzeppelin/contracts/utils/Address.sol



// pragma solidity >=0.6.2 <0.8.0;

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

        uint256 size;
        // 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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    //noinspection NoReturn
    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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



// pragma solidity >=0.6.0 <0.9.0;

/**
 * @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.3.0, sets of type `bytes32` (`Bytes32Set`), `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];
    }

    // Bytes32Set

    struct Bytes32Set {
        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(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, 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(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

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

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set 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(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, 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(uint160(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(uint160(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(uint160(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(uint160(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: @openzeppelin/contracts/utils/EnumerableMap.sol



// pragma solidity >=0.6.0 <0.9.0;

/**
 * @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 Tries to returns the value associated with `key`.  O(1).
     * Does not revert if `key` is not in the map.
     */
    function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {
        uint256 keyIndex = map._indexes[key];
        if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)
        return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based
    }

    /**
     * @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) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {_tryGet}.
     */
    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(uint160(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(uint160(uint256(value))));
    }

    /**
     * @dev Tries to returns the value associated with `key`.  O(1).
     * Does not revert if `key` is not in the map.
     *
     * _Available since v3.4._
     */
    function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {
        (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));
        return (success, address(uint160(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(uint160(uint256(_get(map._inner, bytes32(key)))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryGet}.
     */
    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));
    }
}

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



// pragma solidity >=0.6.0 <0.9.0;

/**
 * @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--] = bytes1(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }
}

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



// pragma solidity >=0.6.0 <0.9.0;


/**
 * @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 virtual 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 virtual override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

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

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

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).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(base, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(base, 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 virtual returns (string memory) {
        return _baseURI;
    }

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

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual 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 virtual 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 = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        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 virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

        _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(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); // internal owner
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _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(ERC721.ownerOf(tokenId), to, tokenId); // internal owner
    }

    /**
     * @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: contracts/NFT.sol

// contracts/NFT.sol
// License-Identifier: UNLICENSED

contract NFT is ERC721 {
    string constant settings_error = 'You do not have permission to update contract settings.';

    // Batch-level data
    struct batch_info {
        uint32 batch;
        string name;
        string created;
        uint64 time;
        uint32 limit;
        uint32 minted;
        address controller;
        bool manageable;
        bool mintable;
    }

    // Token-level data
    struct token_info {
        uint32 batch;
        uint32 sequence;
        uint32 limit;
        string name;
        string page;
        string description;
        string link;
        string content;
        string created;
    }

    // Public data
    mapping(uint256 => string) public annotations;
    mapping(uint256 => token_info) public contents;
    mapping(uint256 => bool) public redeemed;
    mapping(uint32 => batch_info) public batches;

    // Default manager addresses
    // These are to be filled in by the deployment process
    address[4] managers = [0x4f27769c38169E402FFbB38B19F2606Be60FDF97,
                           0x11D5554a6D558f1c51E5053d79B6A27eFE767190,
                           0x63a6A62AefC8DA4A96544ADE0276E9a5f0840b10,
                           0x4f27769c38169E402FFbB38B19F2606Be60FDF97];

    constructor(string memory name, string memory symbol, address manager0) public ERC721(name, symbol) {
        managers[0] = manager0;
    }

    // The Managers list is currently a very simple mechanism to have multiple controllers
    // It's not very flexible and doesn't have any additional access controls over assigning /
    // reassigning managers
    function isManager() private view returns (bool) {
        return (msg.sender == managers[0] ||
                msg.sender == managers[1] ||
                msg.sender == managers[2] ||
                msg.sender == managers[3]
        );
    }

    // There are three access control mechanisms granting minting permission within batches
    // 1. The wallet currently holding the batch token if mintable is true
    // 2. The designated controller if mintable is true
    // 3. Any manager account if manageable is true

    // On new batches by default manageable is true and mintable is false
    // mintable must be specifically set in allowMinting() to delegate minting to a controller
    function isController(uint256 tokenId) private view returns (bool) {
        uint32 batch;

        batch = batchId(tokenId);

        return (
            isBatchOwner(batch) ||
            msg.sender == batches[batch].controller
        );
    }

    // Given a batchId, is the sender the owner of the batch containing that token
    function isBatchOwner(uint32 batchId) private view returns (bool) {
        return msg.sender == ownerOf(batchTokenFromId(batchId));
    }

    // Allow an existing manager to reassign another manager address
    // This would benefit from some additional authentication method
    // An earlier version of this code contained an attempt at such a method,
    // but on review provided no additional security benefits and was removed.
    function setManager(uint8 _id, address _address) public {
        require(
            isManager() && _id >= 0 && _id <=3,
            'You do not have permission to manage this contract.'
        );

        managers[_id] = _address;
    }

    // Check that the current user can mint the desired token
    function checkMintToken(uint32 batch, uint32 limit, uint32 sequence) private view {
        uint256 batchToken;

        batchToken = batchTokenFromId(batch);

        require(_exists(batchToken), 'No matching batch token.');
        require(0 < sequence && sequence <= batchLimitFromId(batch), 'Sequence number is outside defined batch limit.');
        require(limit == batchLimitFromId(batch), 'Limit does not match batch token.');
    }

    // Update token data
    // Note: This function is at the Solidity variable count limit
    function setTokenData(
        uint32 batch,
        uint32 sequence,
        uint32 limit,
        string memory name,
        string memory page,
        string memory description,
        string memory link,
        string memory content,
        string memory created
    ) private {
        token_info memory info;
        uint256 tokenId;

        tokenId = generateId(batch, limit, sequence);

        batches[batch].minted += 1;

        info = token_info(
            batch,
            sequence,
            limit,
            name,
            page,
            description,
            link,
            content,
            created
        );

        contents[tokenId] = info;
    }

    // Mint a batch token
    // The batch token has sequence 0 within a batch and must be minted before any NFTs.

    // You must be operating from a manager wallet to mint a new batch
    function mint(
        address to,
        uint32 batch,
        uint32 limit,
        string memory name,
        string memory created,
        uint64 time
    ) public {
        uint256 batchTokenId;
        batch_info memory info;

        // Redundant but included to avert accidents
        require(isManager(), 'You do not have permission to create token batches.');

        batchTokenId = _generateId(batch, limit, 0);

        require(!_exists(batchTokenId), 'Batch already exists.');
        require(limit > 0, 'Limit must be greater than zero.');

        info = batch_info(batch, name, created, time, limit, 0, address(0), true, false);
        batches[batch] = info;

        _safeMint(to, batchTokenId);
    }

    // Mint an NFT within a batch with content attached

    // 1. Individual NFTs can only be minted if the batch NFT already exists
    // 2. The sequence number must be in the range (1, limit)
    // 3. The limit must match the limit specified on the batch NFT
    // These rules are enforced by checkMintToken()

    // batch is the batchID
    // sequence is the number of the token within the batch - e.g. 1 of 100.  It can not be repeated
    //   within a batch
    // limit is the limit of the number of tokens within a batch

    // Together these form a 96-bit (or potentially large if batches exceed 4 billion) token ID
    //   using generateId()

    // There is potential for the batch number to exceed 4 billion - we might want to extend it to 64 bits

    // name is the name of the batch or individual token; it is not checked here but should always be supplied
    // page is the page number - optional
    // description is a long, plain-text description.  Supports Unicode but not HTML or other formatting
    // link is a primary link relating to the NFT
    // content os a JSON-encoded object of customer-specified information
    // created is an ISO-formatted datetime string (or other human-readable format as required)

    // These six string fields are not mandatory and minting should work if any or all of them are missing

    function mint(
        address to,
        uint32 batch,
        uint32 sequence,
        uint32 limit,
        string memory name,
        string memory page,
        string memory description,
        string memory link,
        string memory content,
        string memory created
    ) public {
        uint256 tokenId;
        checkMintToken(batch, limit, sequence);

        tokenId = generateId(batch, limit, sequence);

        require(canMint(tokenId), 'You do not have permission to mint tokens in this batch.');
        setTokenData(batch, sequence, limit, name, page, description, link, content, created);

        _safeMint(to, tokenId);
    }

    // Expose the standard setBaseURI method to the contract managers
    function setBaseURI(string memory URI) public {
        require(isManager(), settings_error);
        _setBaseURI(URI);
    }

    // Verify that the current address is permitted to mint tokens into this batch
    // Either a contract manager or the controller of this specific batch
    function canMint(uint256 tokenId) public view returns (bool) {
        uint256 batchTokenId;
        uint32 batch;
        batch_info memory b;

        batchTokenId = batchTokenOf(tokenId);
        batch = batchId(tokenId);
        b = batches[batch];

        // To mint a token
        // 1. The respective batch must exist
        // 2. If the owner is minting, the batch must have the mintable flag or
        // 3. If the manager is minting, the batch must have the manageable flag set

        // Test assertions - ONLY enable for testing, these WILL break production operations

        // require(_exists(batchTokenId), 'No batch token');
        // require(!_exists(tokenId), 'Token exists');
        // require((isController(batchTokenId) && b.mintable) ||
        //         (isManager() && b.manageable), 'Not manager + managable OR not controller + mintable.');

        return (_exists(batchTokenId) &&
                !_exists(tokenId) &&
                (
                 (isController(batchTokenId) && b.mintable) ||
                 (isManager() && b.manageable)
                )
        );
    }

    // Redeem a specific NFT
    // All NFTs start life unredeemed and can only be redeemed once
    function redeem(uint256 tokenId) public {
        assertTokenIdInRange(tokenId);
        require(getSequence(tokenId) > 0, 'Cannot redeem this token.');
        require(_exists(tokenId), 'Token does not exist.');
        require(isManager(), 'You do not have permission to redeem tokens.');
        require(!redeemed[tokenId], 'Token has already been redeemed.');

        redeemed[tokenId] = true;
    }

    function isRedeemed(uint256 tokenId) public view returns (bool){
        return redeemed[tokenId];
    }

    // Enable and disable further minting for a specific batch
    function allowMinting(uint32 batch) public {
        require(isManager(), settings_error);
        batches[batch].mintable = true;
    }

    function denyMinting(uint32 batch) public {
        require(isManager(), settings_error);
        batches[batch].mintable = false;
    }

    // Enable or disable manager-level overrides on a specific batch
    function allowManaged(uint32 batch) public {
        require(isBatchOwner(batch), settings_error);
        batches[batch].manageable = true;
    }

    function denyManaged(uint32 batch) public {
        require(isBatchOwner(batch) && batches[batch].mintable, settings_error);
        batches[batch].manageable = false;
    }

    // Generate a unique 96-bit tokenId out of three 32-bit values
    function _generateId(
        uint32 _batchId,
        uint32 _batchLimit,
        uint32 _sequence
    ) private pure returns (uint256) {
        uint256 _tokenId;
        _tokenId = uint256(_batchId) << 64 | uint256(_batchLimit) << 32 | uint256(_sequence);
        return _tokenId;
    }

    // Public interface for generating tokenIds
    function generateId(
        uint32 _batchId,
        uint32 _batchLimit,
        uint32 _sequence
    ) public pure returns (uint256) {
        return _generateId(_batchId, _batchLimit, _sequence);
    }

    function assertTokenIdInRange(uint256 tokenId) internal pure {
        require((tokenId >> 96) == 0, 'TokenId out of range.');
    }

    // Extract the 32-bit batchId from the 96-bit tokenId
    function batchId(uint256 tokenId) public pure returns (uint32) {
        uint256 _batch;
        assertTokenIdInRange(tokenId);

        _batch = tokenId >> 64;
        return uint32(_batch);
    }

    // Extract the 32-bit batch limit from the 96-bit tokenId
    function batchLimit(uint256 tokenId) public pure returns (uint32) {
        uint256 _batchLimit;
        assertTokenIdInRange(tokenId);

        _batchLimit = tokenId >> 32;
        return uint32(_batchLimit);
    }

    // Look up and return the batch limit given a batchId
    function batchLimitFromId(uint32 batch) public view returns (uint32) {
        return batches[batch].limit;
    }

    // Get the 32-bit sequence number from a 96-bit tokenId
    function getSequence(uint256 tokenId) public pure returns (uint32) {
        uint256 _sequence;
        assertTokenIdInRange(tokenId);

        _sequence = tokenId;
        return uint32(_sequence);
    }

    // Split a tokenId into its three 32-bit components
    function parseId(uint256 tokenId) public pure returns (uint32, uint32, uint32) {
        return (batchId(tokenId), batchLimit(tokenId), getSequence(tokenId));
    }

    // Return the tokenId of the batch token for an given tokenID
    // Does not check that the tokenId exists or is valid
    function batchTokenOf(uint256 tokenId) public pure returns (uint256) {
        return generateId(batchId(tokenId), batchLimit(tokenId), 0);
    }

    // Lookup and return the batch tokenId given just the batchId
    function batchTokenFromId(uint32 _batchId) public view returns (uint256) {
        return generateId(_batchId, batches[_batchId].limit, 0);
    }

    // Return the owner of the batch containing the specified tokenId
    function batchOwner(uint256 tokenId) public view returns (address) {
        return ownerOf(batchTokenOf(tokenId));
    }

    // Return the owner of the batch given the batchId
    function batchOwnerFromId(uint32 _batchId) public view returns (address) {
        return ownerOf(batchTokenFromId(_batchId));
    }

    // Return the controller of the batch containing a given tokenId
    function getTokenController(uint256 tokenId) public view returns (address) {
        return getController(batchId(tokenId));
    }

    // Return the controller of a batch given the batchId
    function getController(uint32 batch) public view returns (address) {
        return batches[batch].controller;
    }

    // Reassigns the the controller of a batch
    // Only allowed to current controller
    function setController(uint32 batch, address controller) public {
        uint256 batchTokenId;

        batchTokenId = batchTokenFromId(batch);

        require(isManager() || isController(batchTokenId));
        batches[batch].controller = controller;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"manager0","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint32","name":"batch","type":"uint32"}],"name":"allowManaged","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"batch","type":"uint32"}],"name":"allowMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"annotations","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"batchId","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"batchLimit","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint32","name":"batch","type":"uint32"}],"name":"batchLimitFromId","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"batchOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_batchId","type":"uint32"}],"name":"batchOwnerFromId","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_batchId","type":"uint32"}],"name":"batchTokenFromId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"batchTokenOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint32","name":"","type":"uint32"}],"name":"batches","outputs":[{"internalType":"uint32","name":"batch","type":"uint32"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"created","type":"string"},{"internalType":"uint64","name":"time","type":"uint64"},{"internalType":"uint32","name":"limit","type":"uint32"},{"internalType":"uint32","name":"minted","type":"uint32"},{"internalType":"address","name":"controller","type":"address"},{"internalType":"bool","name":"manageable","type":"bool"},{"internalType":"bool","name":"mintable","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"canMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"contents","outputs":[{"internalType":"uint32","name":"batch","type":"uint32"},{"internalType":"uint32","name":"sequence","type":"uint32"},{"internalType":"uint32","name":"limit","type":"uint32"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"page","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"link","type":"string"},{"internalType":"string","name":"content","type":"string"},{"internalType":"string","name":"created","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"batch","type":"uint32"}],"name":"denyManaged","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"batch","type":"uint32"}],"name":"denyMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_batchId","type":"uint32"},{"internalType":"uint32","name":"_batchLimit","type":"uint32"},{"internalType":"uint32","name":"_sequence","type":"uint32"}],"name":"generateId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"batch","type":"uint32"}],"name":"getController","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSequence","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenController","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isRedeemed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint32","name":"batch","type":"uint32"},{"internalType":"uint32","name":"sequence","type":"uint32"},{"internalType":"uint32","name":"limit","type":"uint32"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"page","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"link","type":"string"},{"internalType":"string","name":"content","type":"string"},{"internalType":"string","name":"created","type":"string"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint32","name":"batch","type":"uint32"},{"internalType":"uint32","name":"limit","type":"uint32"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"created","type":"string"},{"internalType":"uint64","name":"time","type":"uint64"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"parseId","outputs":[{"internalType":"uint32","name":"","type":"uint32"},{"internalType":"uint32","name":"","type":"uint32"},{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"redeemed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"batch","type":"uint32"},{"internalType":"address","name":"controller","type":"address"}],"name":"setController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_id","type":"uint8"},{"internalType":"address","name":"_address","type":"address"}],"name":"setManager","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"}]

60806040526040518060800160405280734f27769c38169e402ffbb38b19f2606be60fdf9773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020017311d5554a6d558f1c51e5053d79b6a27efe76719073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020017363a6a62aefc8da4a96544ade0276e9a5f0840b1073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001734f27769c38169e402ffbb38b19f2606be60fdf9773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250600e90600462000137929190620004ed565b503480156200014557600080fd5b50604051620065a4380380620065a4833981810160405260608110156200016b57600080fd5b81019080805160405193929190846401000000008211156200018c57600080fd5b83820191506020820185811115620001a357600080fd5b8251866001820283011164010000000082111715620001c157600080fd5b8083526020830192505050908051906020019080838360005b83811015620001f7578082015181840152602081019050620001da565b50505050905090810190601f168015620002255780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200024957600080fd5b838201915060208201858111156200026057600080fd5b82518660018202830111640100000000821117156200027e57600080fd5b8083526020830192505050908051906020019080838360005b83811015620002b457808201518184015260208101905062000297565b50505050905090810190601f168015620002e25780820380516001836020036101000a031916815260200191505b50604052602001805190602001909291905050508282620003106301ffc9a760e01b620003e460201b60201c565b8160069080519060200190620003289291906200056f565b508060079080519060200190620003419291906200056f565b506200035a6380ac58cd60e01b620003e460201b60201c565b62000372635b5e139f60e01b620003e460201b60201c565b6200038a63780e9d6360e01b620003e460201b60201c565b505080600e6000600481106200039c57fe5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505062000652565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141562000481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433136353a20696e76616c696420696e746572666163652069640000000081525060200191505060405180910390fd5b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b82600481019282156200055c579160200282015b828111156200055b5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062000501565b5b5090506200056b9190620005f6565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620005b257805160ff1916838001178555620005e3565b82800160010185558215620005e3579182015b82811115620005e2578251825591602001919060010190620005c5565b5b509050620005f2919062000633565b5090565b5b808211156200062f57600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550600101620005f7565b5090565b5b808211156200064e57600081600090555060010162000634565b5090565b615f4280620006626000396000f3fe608060405234801561001057600080fd5b506004361061027f5760003560e01c806370a082311161015c578063b701e045116100ce578063c8dd7e5111610087578063c8dd7e5114611998578063cd00f34914611a3f578063ce92d1ee14611a73578063db006a7514611aa7578063e985e9c514611ad5578063f7a7a75c14611b4f5761027f565b8063b701e045146116aa578063b75ba98c14611708578063b88d4fde14611760578063bf0acece14611865578063c2c6f58a146118bd578063c87b56dd146118f15761027f565b8063a22cb46511610120578063a22cb46514610d19578063a67f534d14610d69578063ab2a6d7714610dc7578063aebbd49a146111c6578063b5cdffa81461121a578063b5ecf912146113c05761027f565b806370a0823114610b705780637ed0f1c114610bc8578063863c879614610c0c57806395d89b4114610c4e578063a037cd5014610cd15761027f565b806332d33cd0116101f55780635863115e116101b95780635863115e146109395780635dd871a31461099b5780636352211e146109df578063649af01414610a375780636c0360eb14610a855780636ee15d6614610b085761027f565b806332d33cd01461060a5780633fef78cb1461064e57806342842e0e146107ce5780634f6ccce71461083c57806355f804b31461087e5761027f565b80631597148a116102475780631597148a1461045857806318160ddd146104a057806323b872dd146104be57806326ef96251461052c5780632c3e4cb3146105605780632f745c59146105a85761027f565b806301ffc9a71461028457806306fdde03146102e7578063081812fc1461036a578063095ea7b3146103c25780631572901414610410575b600080fd5b6102cf6004803603602081101561029a57600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050611ba0565b60405180821515815260200191505060405180910390f35b6102ef611c07565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561032f578082015181840152602081019050610314565b50505050905090810190601f16801561035c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103966004803603602081101561038057600080fd5b8101908080359060200190929190505050611ca9565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61040e600480360360408110156103d857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611d44565b005b6104426004803603602081101561042657600080fd5b81019080803563ffffffff169060200190929190505050611e88565b6040518082815260200191505060405180910390f35b6104846004803603602081101561046e57600080fd5b8101908080359060200190929190505050611ecf565b604051808263ffffffff16815260200191505060405180910390f35b6104a8611ee7565b6040518082815260200191505060405180910390f35b61052a600480360360608110156104d457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611ef8565b005b61055e6004803603602081101561054257600080fd5b81019080803563ffffffff169060200190929190505050611f6e565b005b61058c6004803603602081101561057657600080fd5b8101908080359060200190929190505050612074565b604051808263ffffffff16815260200191505060405180910390f35b6105f4600480360360408110156105be57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612090565b6040518082815260200191505060405180910390f35b6106366004803603602081101561062057600080fd5b81019080803590602001909291905050506120eb565b60405180821515815260200191505060405180910390f35b6106806004803603602081101561066457600080fd5b81019080803563ffffffff169060200190929190505050612115565b604051808a63ffffffff16815260200180602001806020018967ffffffffffffffff1681526020018863ffffffff1681526020018763ffffffff1681526020018673ffffffffffffffffffffffffffffffffffffffff1681526020018515158152602001841515815260200183810383528b818151815260200191508051906020019080838360005b83811015610724578082015181840152602081019050610709565b50505050905090810190601f1680156107515780820380516001836020036101000a031916815260200191505b5083810382528a818151815260200191508051906020019080838360005b8381101561078a57808201518184015260208101905061076f565b50505050905090810190601f1680156107b75780820380516001836020036101000a031916815260200191505b509b50505050505050505050505060405180910390f35b61083a600480360360608110156107e457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612311565b005b6108686004803603602081101561085257600080fd5b8101908080359060200190929190505050612331565b6040518082815260200191505060405180910390f35b6109376004803603602081101561089457600080fd5b81019080803590602001906401000000008111156108b157600080fd5b8201836020820111156108c357600080fd5b803590602001918460018302840111640100000000831117156108e557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050612354565b005b6109656004803603602081101561094f57600080fd5b8101908080359060200190929190505050612428565b604051808463ffffffff1681526020018363ffffffff1681526020018263ffffffff168152602001935050505060405180910390f35b6109c7600480360360208110156109b157600080fd5b8101908080359060200190929190505050612455565b60405180821515815260200191505060405180910390f35b610a0b600480360360208110156109f557600080fd5b8101908080359060200190929190505050612779565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610a6960048036036020811015610a4d57600080fd5b81019080803563ffffffff1690602001909291905050506127b0565b604051808263ffffffff16815260200191505060405180910390f35b610a8d6127ec565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610acd578082015181840152602081019050610ab2565b50505050905090810190601f168015610afa5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610b5a60048036036060811015610b1e57600080fd5b81019080803563ffffffff169060200190929190803563ffffffff169060200190929190803563ffffffff16906020019092919050505061288e565b6040518082815260200191505060405180910390f35b610bb260048036036020811015610b8657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506128a4565b6040518082815260200191505060405180910390f35b610bf460048036036020811015610bde57600080fd5b8101908080359060200190929190505050612979565b60405180821515815260200191505060405180910390f35b610c3860048036036020811015610c2257600080fd5b8101908080359060200190929190505050612999565b6040518082815260200191505060405180910390f35b610c566129be565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610c96578082015181840152602081019050610c7b565b50505050905090810190601f168015610cc35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610cfd60048036036020811015610ce757600080fd5b8101908080359060200190929190505050612a60565b604051808263ffffffff16815260200191505060405180910390f35b610d6760048036036040811015610d2f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050612a7c565b005b610d9b60048036036020811015610d7f57600080fd5b81019080803563ffffffff169060200190929190505050612c32565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6111c46004803603610140811015610dde57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803563ffffffff169060200190929190803563ffffffff169060200190929190803563ffffffff16906020019092919080359060200190640100000000811115610e4b57600080fd5b820183602082011115610e5d57600080fd5b80359060200191846001830284011164010000000083111715610e7f57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929080359060200190640100000000811115610ee257600080fd5b820183602082011115610ef457600080fd5b80359060200191846001830284011164010000000083111715610f1657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929080359060200190640100000000811115610f7957600080fd5b820183602082011115610f8b57600080fd5b80359060200191846001830284011164010000000083111715610fad57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561101057600080fd5b82018360208201111561102257600080fd5b8035906020019184600183028401116401000000008311171561104457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290803590602001906401000000008111156110a757600080fd5b8201836020820111156110b957600080fd5b803590602001918460018302840111640100000000831117156110db57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561113e57600080fd5b82018360208201111561115057600080fd5b8035906020019184600183028401116401000000008311171561117257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050612c7e565b005b611218600480360360408110156111dc57600080fd5b81019080803563ffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612d1e565b005b6113be600480360360c081101561123057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803563ffffffff169060200190929190803563ffffffff1690602001909291908035906020019064010000000081111561128d57600080fd5b82018360208201111561129f57600080fd5b803590602001918460018302840111640100000000831117156112c157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561132457600080fd5b82018360208201111561133657600080fd5b8035906020019184600183028401116401000000008311171561135857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290803567ffffffffffffffff169060200190929190505050612db2565b005b6113ec600480360360208110156113d657600080fd5b8101908080359060200190929190505050613138565b604051808a63ffffffff1681526020018963ffffffff1681526020018863ffffffff16815260200180602001806020018060200180602001806020018060200187810387528d818151815260200191508051906020019080838360005b83811015611464578082015181840152602081019050611449565b50505050905090810190601f1680156114915780820380516001836020036101000a031916815260200191505b5087810386528c818151815260200191508051906020019080838360005b838110156114ca5780820151818401526020810190506114af565b50505050905090810190601f1680156114f75780820380516001836020036101000a031916815260200191505b5087810385528b818151815260200191508051906020019080838360005b83811015611530578082015181840152602081019050611515565b50505050905090810190601f16801561155d5780820380516001836020036101000a031916815260200191505b5087810384528a818151815260200191508051906020019080838360005b8381101561159657808201518184015260208101905061157b565b50505050905090810190601f1680156115c35780820380516001836020036101000a031916815260200191505b50878103835289818151815260200191508051906020019080838360005b838110156115fc5780820151818401526020810190506115e1565b50505050905090810190601f1680156116295780820380516001836020036101000a031916815260200191505b50878103825288818151815260200191508051906020019080838360005b83811015611662578082015181840152602081019050611647565b50505050905090810190601f16801561168f5780820380516001836020036101000a031916815260200191505b509f5050505050505050505050505050505060405180910390f35b6116dc600480360360208110156116c057600080fd5b81019080803563ffffffff169060200190929190505050613546565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6117346004803603602081101561171e57600080fd5b8101908080359060200190929190505050613560565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6118636004803603608081101561177657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001906401000000008111156117dd57600080fd5b8201836020820111156117ef57600080fd5b8035906020019184600183028401116401000000008311171561181157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929050505061357a565b005b6118916004803603602081101561187b57600080fd5b81019080803590602001909291905050506135f2565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6118ef600480360360208110156118d357600080fd5b81019080803563ffffffff16906020019092919050505061360c565b005b61191d6004803603602081101561190757600080fd5b8101908080359060200190929190505050613712565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561195d578082015181840152602081019050611942565b50505050905090810190601f16801561198a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6119c4600480360360208110156119ae57600080fd5b81019080803590602001909291905050506139e3565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015611a045780820151818401526020810190506119e9565b50505050905090810190601f168015611a315780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b611a7160048036036020811015611a5557600080fd5b81019080803563ffffffff169060200190929190505050613a93565b005b611aa560048036036020811015611a8957600080fd5b81019080803563ffffffff169060200190929190505050613b9a565b005b611ad360048036036020811015611abd57600080fd5b8101908080359060200190929190505050613cd9565b005b611b3760048036036040811015611aeb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613f01565b60405180821515815260200191505060405180910390f35b611b9e60048036036040811015611b6557600080fd5b81019080803560ff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613f95565b005b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060068054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611c9f5780601f10611c7457610100808354040283529160200191611c9f565b820191906000526020600020905b815481529060010190602001808311611c8257829003601f168201915b5050505050905090565b6000611cb482614066565b611d09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180615da5602c913960400191505060405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000611d4f82612779565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180615e5c6021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611df5614083565b73ffffffffffffffffffffffffffffffffffffffff161480611e245750611e2381611e1e614083565b613f01565b5b611e79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526038815260200180615c916038913960400191505060405180910390fd5b611e83838361408b565b505050565b6000611ec882600d60008563ffffffff1663ffffffff16815260200190815260200160002060030160089054906101000a900463ffffffff16600061288e565b9050919050565b600080611edb83614144565b82905080915050919050565b6000611ef360026141c1565b905090565b611f09611f03614083565b826141d6565b611f5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180615e7d6031913960400191505060405180910390fd5b611f698383836142ca565b505050565b611f7661450d565b604051806060016040528060378152602001615bc36037913990612035576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ffa578082015181840152602081019050611fdf565b50505050905090810190601f1680156120275780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506001600d60008363ffffffff1663ffffffff16815260200190815260200160002060040160156101000a81548160ff02191690831515021790555050565b60008061208083614144565b604083901c905080915050919050565b60006120e382600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206146a190919063ffffffff16565b905092915050565b6000600c600083815260200190815260200160002060009054906101000a900460ff169050919050565b600d6020528060005260406000206000915090508060000160009054906101000a900463ffffffff1690806001018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156121d75780601f106121ac576101008083540402835291602001916121d7565b820191906000526020600020905b8154815290600101906020018083116121ba57829003601f168201915b505050505090806002018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156122755780601f1061224a57610100808354040283529160200191612275565b820191906000526020600020905b81548152906001019060200180831161225857829003601f168201915b5050505050908060030160009054906101000a900467ffffffffffffffff16908060030160089054906101000a900463ffffffff169080600301600c9054906101000a900463ffffffff16908060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060040160149054906101000a900460ff16908060040160159054906101000a900460ff16905089565b61232c8383836040518060200160405280600081525061357a565b505050565b6000806123488360026146bb90919063ffffffff16565b50905080915050919050565b61235c61450d565b604051806060016040528060378152602001615bc3603791399061241b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156123e05780820151818401526020810190506123c5565b50505050905090810190601f16801561240d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50612425816146e7565b50565b600080600061243684612074565b61243f85612a60565b61244886611ecf565b9250925092509193909250565b60008060006124626159f1565b61246b85612999565b925061247685612074565b9150600d60008363ffffffff1663ffffffff168152602001908152602001600020604051806101200160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff168152602001600182018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156125625780601f1061253757610100808354040283529160200191612562565b820191906000526020600020905b81548152906001019060200180831161254557829003601f168201915b50505050508152602001600282018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156126045780601f106125d957610100808354040283529160200191612604565b820191906000526020600020905b8154815290600101906020018083116125e757829003601f168201915b505050505081526020016003820160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016003820160089054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160038201600c9054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160149054906101000a900460ff161515151581526020016004820160159054906101000a900460ff161515151581525050905061272283614066565b8015612734575061273285614066565b155b801561276f575061274483614701565b801561275257508061010001515b8061276e575061276061450d565b801561276d57508060e001515b5b5b9350505050919050565b60006127a982604051806060016040528060298152602001615cf36029913960026147989092919063ffffffff16565b9050919050565b6000600d60008363ffffffff1663ffffffff16815260200190815260200160002060030160089054906101000a900463ffffffff169050919050565b606060098054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156128845780601f1061285957610100808354040283529160200191612884565b820191906000526020600020905b81548152906001019060200180831161286757829003601f168201915b5050505050905090565b600061289b8484846147b7565b90509392505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561292b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180615cc9602a913960400191505060405180910390fd5b612972600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206147e6565b9050919050565b600c6020528060005260406000206000915054906101000a900460ff1681565b60006129b76129a783612074565b6129b084612a60565b600061288e565b9050919050565b606060078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612a565780601f10612a2b57610100808354040283529160200191612a56565b820191906000526020600020905b815481529060010190602001808311612a3957829003601f168201915b5050505050905090565b600080612a6c83614144565b602083901c905080915050919050565b612a84614083565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b25576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b8060056000612b32614083565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612bdf614083565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6000600d60008363ffffffff1663ffffffff16815260200190815260200160002060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000612c8b8a898b6147fb565b612c968a898b61288e565b9050612ca181612455565b612cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526038815260200180615d3e6038913960400191505060405180910390fd5b612d078a8a8a8a8a8a8a8a8a614974565b612d118b82614b7e565b5050505050505050505050565b6000612d2983611e88565b9050612d3361450d565b80612d435750612d4281614701565b5b612d4c57600080fd5b81600d60008563ffffffff1663ffffffff16815260200190815260200160002060040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b6000612dbc6159f1565b612dc461450d565b612e19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526033815260200180615eae6033913960400191505060405180910390fd5b612e25878760006147b7565b9150612e3082614066565b15612ea3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f426174636820616c7265616479206578697374732e000000000000000000000081525060200191505060405180910390fd5b60008663ffffffff1611612f1f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4c696d6974206d7573742062652067726561746572207468616e207a65726f2e81525060200191505060405180910390fd5b6040518061012001604052808863ffffffff1681526020018681526020018581526020018467ffffffffffffffff1681526020018763ffffffff168152602001600063ffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160011515815260200160001515815250905080600d60008963ffffffff1663ffffffff16815260200190815260200160002060008201518160000160006101000a81548163ffffffff021916908363ffffffff1602179055506020820151816001019080519060200190612ffe929190615a73565b50604082015181600201908051906020019061301b929190615a73565b5060608201518160030160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060808201518160030160086101000a81548163ffffffff021916908363ffffffff16021790555060a082015181600301600c6101000a81548163ffffffff021916908363ffffffff16021790555060c08201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060e08201518160040160146101000a81548160ff0219169083151502179055506101008201518160040160156101000a81548160ff02191690831515021790555090505061312e8883614b7e565b5050505050505050565b600b6020528060005260406000206000915090508060000160009054906101000a900463ffffffff16908060000160049054906101000a900463ffffffff16908060000160089054906101000a900463ffffffff1690806001018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156132265780601f106131fb57610100808354040283529160200191613226565b820191906000526020600020905b81548152906001019060200180831161320957829003601f168201915b505050505090806002018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156132c45780601f10613299576101008083540402835291602001916132c4565b820191906000526020600020905b8154815290600101906020018083116132a757829003601f168201915b505050505090806003018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156133625780601f1061333757610100808354040283529160200191613362565b820191906000526020600020905b81548152906001019060200180831161334557829003601f168201915b505050505090806004018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156134005780601f106133d557610100808354040283529160200191613400565b820191906000526020600020905b8154815290600101906020018083116133e357829003601f168201915b505050505090806005018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561349e5780601f106134735761010080835404028352916020019161349e565b820191906000526020600020905b81548152906001019060200180831161348157829003601f168201915b505050505090806006018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561353c5780601f106135115761010080835404028352916020019161353c565b820191906000526020600020905b81548152906001019060200180831161351f57829003601f168201915b5050505050905089565b600061355961355483611e88565b612779565b9050919050565b600061357361356e83612999565b612779565b9050919050565b61358b613585614083565b836141d6565b6135e0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180615e7d6031913960400191505060405180910390fd5b6135ec84848484614b9c565b50505050565b600061360561360083612074565b612c32565b9050919050565b61361461450d565b604051806060016040528060378152602001615bc360379139906136d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561369857808201518184015260208101905061367d565b50505050905090810190601f1680156136c55780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000600d60008363ffffffff1663ffffffff16815260200190815260200160002060040160156101000a81548160ff02191690831515021790555050565b606061371d82614066565b613772576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180615e2d602f913960400191505060405180910390fd5b6060600860008481526020019081526020016000208054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561381b5780601f106137f05761010080835404028352916020019161381b565b820191906000526020600020905b8154815290600101906020018083116137fe57829003601f168201915b50505050509050606061382c6127ec565b90506000815114156138425781925050506139de565b6000825111156139135780826040516020018083805190602001908083835b602083106138845780518252602082019150602081019050602083039250613861565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106138d557805182526020820191506020810190506020830392506138b2565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052925050506139de565b8061391d85614c0e565b6040516020018083805190602001908083835b602083106139535780518252602082019150602081019050602083039250613930565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106139a45780518252602082019150602081019050602083039250613981565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052925050505b919050565b600a6020528060005260406000206000915090508054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015613a8b5780601f10613a6057610100808354040283529160200191613a8b565b820191906000526020600020905b815481529060010190602001808311613a6e57829003601f168201915b505050505081565b613a9c81614d55565b604051806060016040528060378152602001615bc36037913990613b5b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613b20578082015181840152602081019050613b05565b50505050905090810190601f168015613b4d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506001600d60008363ffffffff1663ffffffff16815260200190815260200160002060040160146101000a81548160ff02191690831515021790555050565b613ba381614d55565b8015613bdb5750600d60008263ffffffff1663ffffffff16815260200190815260200160002060040160159054906101000a900460ff165b604051806060016040528060378152602001615bc36037913990613c9a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613c5f578082015181840152602081019050613c44565b50505050905090810190601f168015613c8c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000600d60008363ffffffff1663ffffffff16815260200190815260200160002060040160146101000a81548160ff02191690831515021790555050565b613ce281614144565b6000613ced82611ecf565b63ffffffff1611613d66576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f43616e6e6f742072656465656d207468697320746f6b656e2e0000000000000081525060200191505060405180910390fd5b613d6f81614066565b613de1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f546f6b656e20646f6573206e6f742065786973742e000000000000000000000081525060200191505060405180910390fd5b613de961450d565b613e3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180615ee1602c913960400191505060405180910390fd5b600c600082815260200190815260200160002060009054906101000a900460ff1615613ed2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f546f6b656e2068617320616c7265616479206265656e2072656465656d65642e81525060200191505060405180910390fd5b6001600c600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b613f9d61450d565b8015613fad575060008260ff1610155b8015613fbd575060038260ff1611155b614012576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526033815260200180615dd16033913960400191505060405180910390fd5b80600e8360ff166004811061402357fe5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600061407c826002614d9d90919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166140fe83612779565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000606082901c146141be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f546f6b656e4964206f7574206f662072616e67652e000000000000000000000081525060200191505060405180910390fd5b50565b60006141cf82600001614db7565b9050919050565b60006141e182614066565b614236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180615c44602c913960400191505060405180910390fd5b600061424183612779565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806142b057508373ffffffffffffffffffffffffffffffffffffffff1661429884611ca9565b73ffffffffffffffffffffffffffffffffffffffff16145b806142c157506142c08185613f01565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166142ea82612779565b73ffffffffffffffffffffffffffffffffffffffff1614614356576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180615e046029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156143dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180615bfa6024913960400191505060405180910390fd5b6143e7838383614dc8565b6143f260008261408b565b61444381600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020614dcd90919063ffffffff16565b5061449581600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020614de790919063ffffffff16565b506144ac81836002614e019092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600e60006004811061451d57fe5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806145d25750600e60016004811061458157fe5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b806146375750600e6002600481106145e657fe5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b8061469c5750600e60036004811061464b57fe5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b905090565b60006146b08360000183614e36565b60001c905092915050565b6000806000806146ce8660000186614eb9565b915091508160001c8160001c9350935050509250929050565b80600990805190602001906146fd929190615a73565b5050565b60008061470d83612074565b905061471881614d55565b806147905750600d60008263ffffffff1663ffffffff16815260200190815260200160002060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b915050919050565b60006147ab846000018460001b84614f52565b60001c90509392505050565b6000808263ffffffff1660208563ffffffff16901b60408763ffffffff16901b17179050809150509392505050565b60006147f482600001615048565b9050919050565b600061480684611e88565b905061481181614066565b614883576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f4e6f206d61746368696e6720626174636820746f6b656e2e000000000000000081525060200191505060405180910390fd5b8163ffffffff1660001080156148ad575061489d846127b0565b63ffffffff168263ffffffff1611155b614902576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180615d76602f913960400191505060405180910390fd5b61490b846127b0565b63ffffffff168363ffffffff161461496e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180615c706021913960400191505060405180910390fd5b50505050565b61497c615af3565b60006149898b8a8c61288e565b90506001600d60008d63ffffffff1663ffffffff168152602001908152602001600020600301600c8282829054906101000a900463ffffffff160192506101000a81548163ffffffff021916908363ffffffff1602179055506040518061012001604052808c63ffffffff1681526020018b63ffffffff1681526020018a63ffffffff16815260200189815260200188815260200187815260200186815260200185815260200184815250915081600b600083815260200190815260200160002060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548163ffffffff021916908363ffffffff16021790555060408201518160000160086101000a81548163ffffffff021916908363ffffffff1602179055506060820151816001019080519060200190614adb929190615a73565b506080820151816002019080519060200190614af8929190615a73565b5060a0820151816003019080519060200190614b15929190615a73565b5060c0820151816004019080519060200190614b32929190615a73565b5060e0820151816005019080519060200190614b4f929190615a73565b50610100820151816006019080519060200190614b6d929190615a73565b509050505050505050505050505050565b614b98828260405180602001604052806000815250615059565b5050565b614ba78484846142ca565b614bb3848484846150ca565b614c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526032815260200180615b916032913960400191505060405180910390fd5b50505050565b60606000821415614c56576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050614d50565b600082905060005b60008214614c80578080600101915050600a8281614c7857fe5b049150614c5e565b60608167ffffffffffffffff81118015614c9957600080fd5b506040519080825280601f01601f191660200182016040528015614ccc5781602001600182028036833780820191505090505b50905060006001830390508593505b60008414614d4857600a8481614ced57fe5b0660300160f81b82828060019003935081518110614d0757fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8481614d4057fe5b049350614cdb565b819450505050505b919050565b6000614d68614d6383611e88565b612779565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16149050919050565b6000614daf836000018360001b6152e3565b905092915050565b600081600001805490509050919050565b505050565b6000614ddf836000018360001b615306565b905092915050565b6000614df9836000018360001b6153ee565b905092915050565b6000614e2d846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b61545e565b90509392505050565b600081836000018054905011614e97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180615b6f6022913960400191505060405180910390fd5b826000018281548110614ea657fe5b9060005260206000200154905092915050565b60008082846000018054905011614f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180615d1c6022913960400191505060405180910390fd5b6000846000018481548110614f2c57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390615019576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614fde578082015181840152602081019050614fc3565b50505050905090810190601f16801561500b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600001600182038154811061502c57fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b615063838361553a565b61507060008484846150ca565b6150c5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526032815260200180615b916032913960400191505060405180910390fd5b505050565b60006150eb8473ffffffffffffffffffffffffffffffffffffffff1661572e565b6150f857600190506152db565b606061526263150b7a0260e01b61510d614083565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015615191578082015181840152602081019050615176565b50505050905090810190601f1680156151be5780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051806060016040528060328152602001615b91603291398773ffffffffffffffffffffffffffffffffffffffff166157419092919063ffffffff16565b9050600081806020019051602081101561527b57600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b600080836001016000848152602001908152602001600020549050600081146153e2576000600182039050600060018660000180549050039050600086600001828154811061535157fe5b906000526020600020015490508087600001848154811061536e57fe5b90600052602060002001819055506001830187600101600083815260200190815260200160002081905550866000018054806153a657fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506153e8565b60009150505b92915050565b60006153fa8383615759565b615453578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050615458565b600090505b92915050565b600080846001016000858152602001908152602001600020549050600081141561550557846000016040518060400160405280868152602001858152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508460000180549050856001016000868152602001908152602001600020819055506001915050615533565b8285600001600183038154811061551857fe5b90600052602060002090600202016001018190555060009150505b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156155dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b6155e681614066565b15615659576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b61566560008383614dc8565b6156b681600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020614de790919063ffffffff16565b506156cd81836002614e019092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b6060615750848460008561577c565b90509392505050565b600080836001016000848152602001908152602001600020541415905092915050565b6060824710156157d7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180615c1e6026913960400191505060405180910390fd5b6157e08561572e565b615852576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106158a2578051825260208201915060208101905060208303925061587f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114615904576040519150601f19603f3d011682016040523d82523d6000602084013e615909565b606091505b5091509150615919828286615925565b92505050949350505050565b60608315615935578290506159ea565b6000835111156159485782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156159af578082015181840152602081019050615994565b50505050905090810190601f1680156159dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b604051806101200160405280600063ffffffff1681526020016060815260200160608152602001600067ffffffffffffffff168152602001600063ffffffff168152602001600063ffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000151581526020016000151581525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10615ab457805160ff1916838001178555615ae2565b82800160010185558215615ae2579182015b82811115615ae1578251825591602001919060010190615ac6565b5b509050615aef9190615b51565b5090565b604051806101200160405280600063ffffffff168152602001600063ffffffff168152602001600063ffffffff1681526020016060815260200160608152602001606081526020016060815260200160608152602001606081525090565b5b80821115615b6a576000816000905550600101615b52565b509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572596f7520646f206e6f742068617665207065726d697373696f6e20746f2075706461746520636f6e74726163742073657474696e67732e4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4c696d697420646f6573206e6f74206d6174636820626174636820746f6b656e2e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473596f7520646f206e6f742068617665207065726d697373696f6e20746f206d696e7420746f6b656e7320696e20746869732062617463682e53657175656e6365206e756d626572206973206f75747369646520646566696e6564206261746368206c696d69742e4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e596f7520646f206e6f742068617665207065726d697373696f6e20746f206d616e616765207468697320636f6e74726163742e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564596f7520646f206e6f742068617665207065726d697373696f6e20746f2063726561746520746f6b656e20626174636865732e596f7520646f206e6f742068617665207065726d697373696f6e20746f2072656465656d20746f6b656e732ea264697066735822122020543299e6b707c59e849eb8201173ae6ac5f852b26eb77bf9e426250fb75a7464736f6c634300060c0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000636b71dc542227518a4df1822f42ed9fcd6c67da0000000000000000000000000000000000000000000000000000000000000007474f5642414c4c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e476f7665726e6f72732042616c6c000000000000000000000000000000000000

Deployed ByteCode Sourcemap

64476:14394:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10224:150;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;51554:100;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54340:221;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;53870:404;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;77560:147;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;76763:210;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;53348:211;;;:::i;:::-;;;;;;;;;;;;;;;;;;;55230:305;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;74471:139;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;76017:203;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;53110:162;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;74293:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;65330:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55606:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;53636:172;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;72326:128;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;77038:166;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72621:1145;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;51310:177;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;76579:115;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;52929:97;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75598:210;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;51027:221;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;65283:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;77338:147;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;51723:104;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76291:221;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;54633:295;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;78384:118;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;71570:677;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;78601:266;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;69433:747;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;65230:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77973:134;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;77786:123;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;55828:285;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;78185:132;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;74618:139;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;51898:792;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65178:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74835:149;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;74992:176;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;73873:412;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;54999:164;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;67639:247;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;10224:150;10309:4;10333:20;:33;10354:11;10333:33;;;;;;;;;;;;;;;;;;;;;;;;;;;10326:40;;10224:150;;;:::o;51554:100::-;51608:13;51641:5;51634:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51554:100;:::o;54340:221::-;54416:7;54444:16;54452:7;54444;:16::i;:::-;54436:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54529:15;:24;54545:7;54529:24;;;;;;;;;;;;;;;;;;;;;54522:31;;54340:221;;;:::o;53870:404::-;53951:13;53967:23;53982:7;53967:14;:23::i;:::-;53951:39;;54015:5;54009:11;;:2;:11;;;;54001:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54095:5;54079:21;;:12;:10;:12::i;:::-;:21;;;:69;;;;54104:44;54128:5;54135:12;:10;:12::i;:::-;54104:23;:44::i;:::-;54079:69;54071:161;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54245:21;54254:2;54258:7;54245:8;:21::i;:::-;53870:404;;;:::o;77560:147::-;77624:7;77651:48;77662:8;77672:7;:17;77680:8;77672:17;;;;;;;;;;;;;;;:23;;;;;;;;;;;;77697:1;77651:10;:48::i;:::-;77644:55;;77560:147;;;:::o;76763:210::-;76822:6;76841:17;76869:29;76890:7;76869:20;:29::i;:::-;76923:7;76911:19;;76955:9;76941:24;;;76763:210;;;:::o;53348:211::-;53409:7;53530:21;:12;:19;:21::i;:::-;53523:28;;53348:211;:::o;55230:305::-;55391:41;55410:12;:10;:12::i;:::-;55424:7;55391:18;:41::i;:::-;55383:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55499:28;55509:4;55515:2;55519:7;55499:9;:28::i;:::-;55230:305;;;:::o;74471:139::-;74533:11;:9;:11::i;:::-;74546:14;;;;;;;;;;;;;;;;;74525:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74598:4;74572:7;:14;74580:5;74572:14;;;;;;;;;;;;;;;:23;;;:30;;;;;;;;;;;;;;;;;;74471:139;:::o;76017:203::-;76072:6;76091:14;76116:29;76137:7;76116:20;:29::i;:::-;76178:2;76167:7;:13;;76158:22;;76205:6;76191:21;;;76017:203;;;:::o;53110:162::-;53207:7;53234:30;53258:5;53234:13;:20;53248:5;53234:20;;;;;;;;;;;;;;;:23;;:30;;;;:::i;:::-;53227:37;;53110:162;;;;:::o;74293:106::-;74351:4;74374:8;:17;74383:7;74374:17;;;;;;;;;;;;;;;;;;;;;74367:24;;74293:106;;;:::o;65330:44::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;55606:151::-;55710:39;55727:4;55733:2;55737:7;55710:39;;;;;;;;;;;;:16;:39::i;:::-;55606:151;;;:::o;53636:172::-;53711:7;53732:15;53753:22;53769:5;53753:12;:15;;:22;;;;:::i;:::-;53731:44;;;53793:7;53786:14;;;53636:172;;;:::o;72326:128::-;72391:11;:9;:11::i;:::-;72404:14;;;;;;;;;;;;;;;;;72383:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72430:16;72442:3;72430:11;:16::i;:::-;72326:128;:::o;77038:166::-;77093:6;77101;77109;77136:16;77144:7;77136;:16::i;:::-;77154:19;77165:7;77154:10;:19::i;:::-;77175:20;77187:7;77175:11;:20::i;:::-;77128:68;;;;;;77038:166;;;;;:::o;72621:1145::-;72676:4;72693:20;72724:12;72747:19;;:::i;:::-;72794:21;72807:7;72794:12;:21::i;:::-;72779:36;;72834:16;72842:7;72834;:16::i;:::-;72826:24;;72865:7;:14;72873:5;72865:14;;;;;;;;;;;;;;;72861:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73535:21;73543:12;73535:7;:21::i;:::-;:59;;;;;73578:16;73586:7;73578;:16::i;:::-;73577:17;73535:59;:212;;;;;73636:26;73649:12;73636;:26::i;:::-;:40;;;;;73666:1;:10;;;73636:40;73635:93;;;;73700:11;:9;:11::i;:::-;:27;;;;;73715:1;:12;;;73700:27;73635:93;73535:212;73527:231;;;;;72621:1145;;;:::o;51310:177::-;51382:7;51409:70;51426:7;51409:70;;;;;;;;;;;;;;;;;:12;:16;;:70;;;;;:::i;:::-;51402:77;;51310:177;;;:::o;76579:115::-;76640:6;76666:7;:14;76674:5;76666:14;;;;;;;;;;;;;;;:20;;;;;;;;;;;;76659:27;;76579:115;;;:::o;52929:97::-;52977:13;53010:8;53003:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52929:97;:::o;75598:210::-;75728:7;75755:45;75767:8;75777:11;75790:9;75755:11;:45::i;:::-;75748:52;;75598:210;;;;;:::o;51027:221::-;51099:7;51144:1;51127:19;;:5;:19;;;;51119:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51211:29;:13;:20;51225:5;51211:20;;;;;;;;;;;;;;;:27;:29::i;:::-;51204:36;;51027:221;;;:::o;65283:40::-;;;;;;;;;;;;;;;;;;;;;;:::o;77338:147::-;77398:7;77425:52;77436:16;77444:7;77436;:16::i;:::-;77454:19;77465:7;77454:10;:19::i;:::-;77475:1;77425:10;:52::i;:::-;77418:59;;77338:147;;;:::o;51723:104::-;51779:13;51812:7;51805:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51723:104;:::o;76291:221::-;76349:6;76368:19;76398:29;76419:7;76398:20;:29::i;:::-;76465:2;76454:7;:13;;76440:27;;76492:11;76478:26;;;76291:221;;;:::o;54633:295::-;54748:12;:10;:12::i;:::-;54736:24;;:8;:24;;;;54728:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54848:8;54803:18;:32;54822:12;:10;:12::i;:::-;54803:32;;;;;;;;;;;;;;;:42;54836:8;54803:42;;;;;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;54901:8;54872:48;;54887:12;:10;:12::i;:::-;54872:48;;;54911:8;54872:48;;;;;;;;;;;;;;;;;;;;54633:295;;:::o;78384:118::-;78442:7;78469;:14;78477:5;78469:14;;;;;;;;;;;;;;;:25;;;;;;;;;;;;78462:32;;78384:118;;;:::o;71570:677::-;71889:15;71915:38;71930:5;71937;71944:8;71915:14;:38::i;:::-;71976:34;71987:5;71994;72001:8;71976:10;:34::i;:::-;71966:44;;72031:16;72039:7;72031;:16::i;:::-;72023:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72119;72132:5;72139:8;72149:5;72156:4;72162;72168:11;72181:4;72187:7;72196;72119:12;:85::i;:::-;72217:22;72227:2;72231:7;72217:9;:22::i;:::-;71570:677;;;;;;;;;;;:::o;78601:266::-;78676:20;78724:23;78741:5;78724:16;:23::i;:::-;78709:38;;78768:11;:9;:11::i;:::-;:41;;;;78783:26;78796:12;78783;:26::i;:::-;78768:41;78760:50;;;;;;78849:10;78821:7;:14;78829:5;78821:14;;;;;;;;;;;;;;;:25;;;:38;;;;;;;;;;;;;;;;;;78601:266;;;:::o;69433:747::-;69622:20;69653:22;;:::i;:::-;69750:11;:9;:11::i;:::-;69742:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69845:28;69857:5;69864;69871:1;69845:11;:28::i;:::-;69830:43;;69895:21;69903:12;69895:7;:21::i;:::-;69894:22;69886:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69969:1;69961:5;:9;;;69953:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70027:73;;;;;;;;70038:5;70027:73;;;;;;70045:4;70027:73;;;;70051:7;70027:73;;;;70060:4;70027:73;;;;;;70066:5;70027:73;;;;;;70073:1;70027:73;;;;;;70084:1;70027:73;;;;;;70088:4;70027:73;;;;;;70094:5;70027:73;;;;;70020:80;;70128:4;70111:7;:14;70119:5;70111:14;;;;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70145:27;70155:2;70159:12;70145:9;:27::i;:::-;69433:747;;;;;;;;:::o;65230:46::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;77973:134::-;78037:7;78064:35;78072:26;78089:8;78072:16;:26::i;:::-;78064:7;:35::i;:::-;78057:42;;77973:134;;;:::o;77786:123::-;77844:7;77871:30;77879:21;77892:7;77879:12;:21::i;:::-;77871:7;:30::i;:::-;77864:37;;77786:123;;;:::o;55828:285::-;55960:41;55979:12;:10;:12::i;:::-;55993:7;55960:18;:41::i;:::-;55952:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56066:39;56080:4;56086:2;56090:7;56099:5;56066:13;:39::i;:::-;55828:285;;;;:::o;78185:132::-;78251:7;78278:31;78292:16;78300:7;78292;:16::i;:::-;78278:13;:31::i;:::-;78271:38;;78185:132;;;:::o;74618:139::-;74679:11;:9;:11::i;:::-;74692:14;;;;;;;;;;;;;;;;;74671:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74744:5;74718:7;:14;74726:5;74718:14;;;;;;;;;;;;;;;:23;;;:31;;;;;;;;;;;;;;;;;;74618:139;:::o;51898:792::-;51971:13;52005:16;52013:7;52005;:16::i;:::-;51997:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52086:23;52112:10;:19;52123:7;52112:19;;;;;;;;;;;52086:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52142:18;52163:9;:7;:9::i;:::-;52142:30;;52270:1;52254:4;52248:18;:23;52244:72;;;52295:9;52288:16;;;;;;52244:72;52446:1;52426:9;52420:23;:27;52416:108;;;52495:4;52501:9;52478:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52464:48;;;;;;52416:108;52656:4;52662:18;:7;:16;:18::i;:::-;52639:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52625:57;;;;51898:792;;;;:::o;65178:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;74835:149::-;74897:19;74910:5;74897:12;:19::i;:::-;74918:14;;;;;;;;;;;;;;;;;74889:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74972:4;74944:7;:14;74952:5;74944:14;;;;;;;;;;;;;;;:25;;;:32;;;;;;;;;;;;;;;;;;74835:149;:::o;74992:176::-;75053:19;75066:5;75053:12;:19::i;:::-;:46;;;;;75076:7;:14;75084:5;75076:14;;;;;;;;;;;;;;;:23;;;;;;;;;;;;75053:46;75101:14;;;;;;;;;;;;;;;;;75045:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75155:5;75127:7;:14;75135:5;75127:14;;;;;;;;;;;;;;;:25;;;:33;;;;;;;;;;;;;;;;;;74992:176;:::o;73873:412::-;73924:29;73945:7;73924:20;:29::i;:::-;73995:1;73972:20;73984:7;73972:11;:20::i;:::-;:24;;;73964:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74045:16;74053:7;74045;:16::i;:::-;74037:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74106:11;:9;:11::i;:::-;74098:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74186:8;:17;74195:7;74186:17;;;;;;;;;;;;;;;;;;;;;74185:18;74177:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74273:4;74253:8;:17;74262:7;74253:17;;;;;;;;;;;;:24;;;;;;;;;;;;;;;;;;73873:412;:::o;54999:164::-;55096:4;55120:18;:25;55139:5;55120:25;;;;;;;;;;;;;;;:35;55146:8;55120:35;;;;;;;;;;;;;;;;;;;;;;;;;55113:42;;54999:164;;;;:::o;67639:247::-;67728:11;:9;:11::i;:::-;:23;;;;;67750:1;67743:3;:8;;;;67728:23;:34;;;;;67761:1;67755:3;:7;;;;67728:34;67706:135;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67870:8;67854;67863:3;67854:13;;;;;;;;;;;:24;;;;;;;;;;;;;;;;;;67639:247;;:::o;57580:127::-;57645:4;57669:30;57691:7;57669:12;:21;;:30;;;;:::i;:::-;57662:37;;57580:127;;;:::o;766:106::-;819:15;854:10;847:17;;766:106;:::o;63487:183::-;63580:2;63553:15;:24;63569:7;63553:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;63636:7;63632:2;63598:46;;63607:23;63622:7;63607:14;:23::i;:::-;63598:46;;;;;;;;;;;;63487:183;;:::o;75816:134::-;75915:1;75908:2;75897:7;:13;;75896:20;75888:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75816:134;:::o;44307:123::-;44376:7;44403:19;44411:3;:10;;44403:7;:19::i;:::-;44396:26;;44307:123;;;:::o;57874:355::-;57967:4;57992:16;58000:7;57992;:16::i;:::-;57984:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58068:13;58084:23;58099:7;58084:14;:23::i;:::-;58068:39;;58137:5;58126:16;;:7;:16;;;:51;;;;58170:7;58146:31;;:20;58158:7;58146:11;:20::i;:::-;:31;;;58126:51;:94;;;;58181:39;58205:5;58212:7;58181:23;:39::i;:::-;58126:94;58118:103;;;57874:355;;;;:::o;61010:599::-;61135:4;61108:31;;:23;61123:7;61108:14;:23::i;:::-;:31;;;61100:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61236:1;61222:16;;:2;:16;;;;61214:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61292:39;61313:4;61319:2;61323:7;61292:20;:39::i;:::-;61396:29;61413:1;61417:7;61396:8;:29::i;:::-;61438:35;61465:7;61438:13;:19;61452:4;61438:19;;;;;;;;;;;;;;;:26;;:35;;;;:::i;:::-;;61484:30;61506:7;61484:13;:17;61498:2;61484:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;61527:29;61544:7;61553:2;61527:12;:16;;:29;;;;;:::i;:::-;;61593:7;61589:2;61574:27;;61583:4;61574:27;;;;;;;;;;;;61010:599;;;:::o;66134:250::-;66177:4;66216:8;66225:1;66216:11;;;;;;;;;;;;;;;;;;66202:25;;:10;:25;;;:71;;;;66262:8;66271:1;66262:11;;;;;;;;;;;;;;;;;;66248:25;;:10;:25;;;66202:71;:117;;;;66308:8;66317:1;66308:11;;;;;;;;;;;;;;;;;;66294:25;;:10;:25;;;66202:117;:163;;;;66354:8;66363:1;66354:11;;;;;;;;;;;;;;;;;;66340:25;;:10;:25;;;66202:163;66194:182;;66134:250;:::o;36095:137::-;36166:7;36201:22;36205:3;:10;;36217:5;36201:3;:22::i;:::-;36193:31;;36186:38;;36095:137;;;;:::o;44769:236::-;44849:7;44858;44879:11;44892:13;44909:22;44913:3;:10;;44925:5;44909:3;:22::i;:::-;44878:53;;;;44958:3;44950:12;;44988:5;44980:14;;44942:55;;;;;;44769:236;;;;;:::o;62210:100::-;62294:8;62283;:19;;;;;;;;;;;;:::i;:::-;;62210:100;:::o;66844:256::-;66905:4;66922:12;66955:16;66963:7;66955;:16::i;:::-;66947:24;;67006:19;67019:5;67006:12;:19::i;:::-;:75;;;;67056:7;:14;67064:5;67056:14;;;;;;;;;;;;;;;:25;;;;;;;;;;;;67042:39;;:10;:39;;;67006:75;66984:108;;;66844:256;;;:::o;46055:213::-;46162:7;46213:44;46218:3;:10;;46238:3;46230:12;;46244;46213:4;:44::i;:::-;46205:53;;46182:78;;46055:213;;;;;:::o;75244:297::-;75376:7;75396:16;75497:9;75489:18;;75484:2;75468:11;75460:20;;:26;;75455:2;75442:8;75434:17;;:23;;:52;:73;75423:84;;75525:8;75518:15;;;75244:297;;;;;:::o;35637:114::-;35697:7;35724:19;35732:3;:10;;35724:7;:19::i;:::-;35717:26;;35637:114;;;:::o;67957:448::-;68050:18;68094:23;68111:5;68094:16;:23::i;:::-;68081:36;;68138:19;68146:10;68138:7;:19::i;:::-;68130:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68209:8;68205:12;;:1;:12;:51;;;;;68233:23;68250:5;68233:16;:23::i;:::-;68221:35;;:8;:35;;;;68205:51;68197:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68336:23;68353:5;68336:16;:23::i;:::-;68327:32;;:5;:32;;;68319:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67957:448;;;;:::o;68507:727::-;68814:22;;:::i;:::-;68847:15;68885:34;68896:5;68903;68910:8;68885:10;:34::i;:::-;68875:44;;68957:1;68932:7;:14;68940:5;68932:14;;;;;;;;;;;;;;;:21;;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68978:211;;;;;;;;69003:5;68978:211;;;;;;69023:8;68978:211;;;;;;69046:5;68978:211;;;;;;69066:4;68978:211;;;;69085:4;68978:211;;;;69104:11;68978:211;;;;69130:4;68978:211;;;;69149:7;68978:211;;;;69171:7;68978:211;;;68971:218;;69222:4;69202:8;:17;69211:7;69202:17;;;;;;;;;;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;68507:727;;;;;;;;;;;:::o;58572:110::-;58648:26;58658:2;58662:7;58648:26;;;;;;;;;;;;:9;:26::i;:::-;58572:110;;:::o;56995:272::-;57109:28;57119:4;57125:2;57129:7;57109:9;:28::i;:::-;57156:48;57179:4;57185:2;57189:7;57198:5;57156:22;:48::i;:::-;57148:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56995:272;;;;:::o;46522:746::-;46578:13;46808:1;46799:5;:10;46795:53;;;46826:10;;;;;;;;;;;;;;;;;;;;;46795:53;46858:12;46873:5;46858:20;;46889:14;46914:78;46929:1;46921:4;:9;46914:78;;46947:8;;;;;;;46978:2;46970:10;;;;;;;;;46914:78;;;47002:19;47034:6;47024:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47002:39;;47052:13;47077:1;47068:6;:10;47052:26;;47096:5;47089:12;;47112:117;47127:1;47119:4;:9;47112:117;;47188:2;47181:4;:9;;;;;;47176:2;:14;47163:29;;47145:6;47152:7;;;;;;;47145:15;;;;;;;;;;;:47;;;;;;;;;;;47215:2;47207:10;;;;;;;;;47112:117;;;47253:6;47239:21;;;;;;46522:746;;;;:::o;67192:140::-;67252:4;67290:34;67298:25;67315:7;67298:16;:25::i;:::-;67290:7;:34::i;:::-;67276:48;;:10;:48;;;67269:55;;67192:140;;;:::o;44068:151::-;44152:4;44176:35;44186:3;:10;;44206:3;44198:12;;44176:9;:35::i;:::-;44169:42;;44068:151;;;;:::o;40886:110::-;40942:7;40969:3;:12;;:19;;;;40962:26;;40886:110;;;:::o;64283:93::-;;;;:::o;35182:137::-;35252:4;35276:35;35284:3;:10;;35304:5;35296:14;;35276:7;:35::i;:::-;35269:42;;35182:137;;;;:::o;34875:131::-;34942:4;34966:32;34971:3;:10;;34991:5;34983:14;;34966:4;:32::i;:::-;34959:39;;34875:131;;;;:::o;43491:185::-;43580:4;43604:64;43609:3;:10;;43629:3;43621:12;;43659:5;43643:23;;43635:32;;43604:4;:64::i;:::-;43597:71;;43491:185;;;;;:::o;31133:204::-;31200:7;31249:5;31228:3;:11;;:18;;;;:26;31220:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31311:3;:11;;31323:5;31311:18;;;;;;;;;;;;;;;;31304:25;;31133:204;;;;:::o;41351:279::-;41418:7;41427;41477:5;41455:3;:12;;:19;;;;:27;41447:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41534:22;41559:3;:12;;41572:5;41559:19;;;;;;;;;;;;;;;;;;41534:44;;41597:5;:10;;;41609:5;:12;;;41589:33;;;;;41351:279;;;;;:::o;42848:319::-;42942:7;42962:16;42981:3;:12;;:17;42994:3;42981:17;;;;;;;;;;;;42962:36;;43029:1;43017:8;:13;;43032:12;43009:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43099:3;:12;;43123:1;43112:8;:12;43099:26;;;;;;;;;;;;;;;;;;:33;;;43092:40;;;42848:319;;;;;:::o;30680:109::-;30736:7;30763:3;:11;;:18;;;;30756:25;;30680:109;;;:::o;58909:250::-;59005:18;59011:2;59015:7;59005:5;:18::i;:::-;59042:54;59073:1;59077:2;59081:7;59090:5;59042:22;:54::i;:::-;59034:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58909:250;;;:::o;62875:604::-;62996:4;63023:15;:2;:13;;;:15::i;:::-;63018:60;;63062:4;63055:11;;;;63018:60;63088:23;63114:252;63167:45;;;63227:12;:10;:12::i;:::-;63254:4;63273:7;63295:5;63130:181;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63114:252;;;;;;;;;;;;;;;;;:2;:15;;;;:252;;;;;:::i;:::-;63088:278;;63377:13;63404:10;63393:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63377:48;;48024:10;63454:16;;63444:26;;;:6;:26;;;;63436:35;;;;62875:604;;;;;;;:::o;40666:125::-;40737:4;40782:1;40761:3;:12;;:17;40774:3;40761:17;;;;;;;;;;;;:22;;40754:29;;40666:125;;;;:::o;28835:1544::-;28901:4;29019:18;29040:3;:12;;:19;29053:5;29040:19;;;;;;;;;;;;29019:40;;29090:1;29076:10;:15;29072:1300;;29438:21;29475:1;29462:10;:14;29438:38;;29491:17;29532:1;29511:3;:11;;:18;;;;:22;29491:42;;29778:17;29798:3;:11;;29810:9;29798:22;;;;;;;;;;;;;;;;29778:42;;29944:9;29915:3;:11;;29927:13;29915:26;;;;;;;;;;;;;;;:38;;;;30063:1;30047:13;:17;30021:3;:12;;:23;30034:9;30021:23;;;;;;;;;;;:43;;;;30173:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;30268:3;:12;;:19;30281:5;30268:19;;;;;;;;;;;30261:26;;;30311:4;30304:11;;;;;;;;29072:1300;30355:5;30348:12;;;28835:1544;;;;;:::o;28245:414::-;28308:4;28330:21;28340:3;28345:5;28330:9;:21::i;:::-;28325:327;;28368:3;:11;;28385:5;28368:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28551:3;:11;;:18;;;;28529:3;:12;;:19;28542:5;28529:19;;;;;;;;;;;:40;;;;28591:4;28584:11;;;;28325:327;28635:5;28628:12;;28245:414;;;;;:::o;38166:692::-;38242:4;38358:16;38377:3;:12;;:17;38390:3;38377:17;;;;;;;;;;;;38358:36;;38423:1;38411:8;:13;38407:444;;;38478:3;:12;;38496:38;;;;;;;;38513:3;38496:38;;;;38526:5;38496:38;;;38478:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38693:3;:12;;:19;;;;38673:3;:12;;:17;38686:3;38673:17;;;;;;;;;;;:39;;;;38734:4;38727:11;;;;;38407:444;38807:5;38771:3;:12;;38795:1;38784:8;:12;38771:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;38834:5;38827:12;;;38166:692;;;;;;:::o;59495:404::-;59589:1;59575:16;;:2;:16;;;;59567:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59648:16;59656:7;59648;:16::i;:::-;59647:17;59639:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59710:45;59739:1;59743:2;59747:7;59710:20;:45::i;:::-;59768:30;59790:7;59768:13;:17;59782:2;59768:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;59811:29;59828:7;59837:2;59811:12;:16;;:29;;;;;:::i;:::-;;59883:7;59879:2;59858:33;;59875:1;59858:33;;;;;;;;;;;;59495:404;;:::o;19232:422::-;19292:4;19500:12;19611:7;19599:20;19591:28;;19645:1;19638:4;:8;19631:15;;;19232:422;;;:::o;22150:195::-;22253:12;22285:52;22307:6;22315:4;22321:1;22324:12;22285:21;:52::i;:::-;22278:59;;22150:195;;;;;:::o;30465:129::-;30538:4;30585:1;30562:3;:12;;:19;30575:5;30562:19;;;;;;;;;;;;:24;;30555:31;;30465:129;;;;:::o;23202:530::-;23329:12;23387:5;23362:21;:30;;23354:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23454:18;23465:6;23454:10;:18::i;:::-;23446:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23580:12;23594:23;23621:6;:11;;23641:5;23649:4;23621:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23579:75;;;;23672:52;23690:7;23699:10;23711:12;23672:17;:52::i;:::-;23665:59;;;;23202:530;;;;;;:::o;25771:742::-;25886:12;25915:7;25911:595;;;25946:10;25939:17;;;;25911:595;26080:1;26060:10;:17;:21;26056:439;;;26323:10;26317:17;26384:15;26371:10;26367:2;26363:19;26356:44;26271:148;26466:12;26459:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25771:742;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://20543299e6b707c59e849eb8201173ae6ac5f852b26eb77bf9e426250fb75a74
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.