ETH Price: $3,095.79 (-0.50%)
Gas: 3 Gwei

Token

DigitalaxNFT (DTX)
 

Overview

Max Total Supply

215 DTX

Holders

35

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The DIGITALAX ERC-721 NFTs are the master garments and accessories on the DIGITALAX marketplace and are each designed exclusively by our 30+ Global Designer Network — a group of uber talented 3D digital fashion designers from Europe, US, Asia, Afria, Australia! DIGITALAX is the first dedicated Digital-Only Fashion Auction Exchange Platform and Open Source Digital Fashion Toolkit. We are bringing new industry standards around digital goods, Open Digital licenses, digital fashion pricing transparency, digital supply chain automation and addressing core problems around NFT liquidity and stability. We are positioning as THE first digital fashion NFT engine built on the Ethereum network for all gaming, VR and metaverses. Check out more of our exclusive and amazing digital fashion designs at www.digitalax.xyz

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
DigitalaxGarmentNFT

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-11-24
*/

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.12;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

// File: @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






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





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






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

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

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

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

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

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





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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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





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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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





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

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

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

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

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

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

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

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

            bytes32 lastvalue = set._values[lastIndex];

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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


    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

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





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

    struct MapEntry {
        bytes32 _key;
        bytes32 _value;
    }

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

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

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

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

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

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

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

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

            MapEntry storage lastEntry = map._entries[lastIndex];

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

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

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

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

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

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

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

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

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

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

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

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

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





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

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

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
















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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

    // Base URI
    string private _baseURI;

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

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

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

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

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

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

        return _holderTokens[owner].length();
    }

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

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

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

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

        string memory _tokenURI = _tokenURIs[tokenId];

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

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

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

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

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

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

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(tokenId);

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol






/**
 * _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {

    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    )
        external
        returns(bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    )
        external
        returns(bytes4);
}

// File: @openzeppelin/contracts/token/ERC1155/ERC1155Receiver.sol







/**
 * @dev _Available since v3.1._
 */
abstract contract ERC1155Receiver is ERC165, IERC1155Receiver {
    constructor() public {
        _registerInterface(
            ERC1155Receiver(0).onERC1155Received.selector ^
            ERC1155Receiver(0).onERC1155BatchReceived.selector
        );
    }
}

// File: @openzeppelin/contracts/token/ERC1155/IERC1155.sol






/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values);

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data) external;
}

// File: @openzeppelin/contracts/token/ERC1155/IERC1155MetadataURI.sol






/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

// File: contracts/ERC1155/ERC1155.sol

// Contract based from the following:
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/aaa5ef81cf75454d1c337dc3de03d12480849ad1/contracts/token/ERC1155/ERC1155.sol



pragma solidity 0.6.12;







/**
 *
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 *
 * @notice Modifications to uri logic made by BlockRocket.tech
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using SafeMath for uint256;
    using Address for address;

    // Mapping from token ID to account balances
    mapping (uint256 => mapping(address => uint256)) private _balances;

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

    // Token ID to its URI
    mapping (uint256 => string) internal tokenUris;

    // Token ID to its total supply
    mapping(uint256 => uint256) public tokenTotalSupply;

    /*
     *     bytes4(keccak256('balanceOf(address,uint256)')) == 0x00fdd58e
     *     bytes4(keccak256('balanceOfBatch(address[],uint256[])')) == 0x4e1273f4
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,uint256,bytes)')) == 0xf242432a
     *     bytes4(keccak256('safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)')) == 0x2eb2c2d6
     *
     *     => 0x00fdd58e ^ 0x4e1273f4 ^ 0xa22cb465 ^
     *        0xe985e9c5 ^ 0xf242432a ^ 0x2eb2c2d6 == 0xd9b67a26
     */
    bytes4 private constant _INTERFACE_ID_ERC1155 = 0xd9b67a26;

    /*
     *     bytes4(keccak256('uri(uint256)')) == 0x0e89341c
     */
    bytes4 private constant _INTERFACE_ID_ERC1155_METADATA_URI = 0x0e89341c;

    constructor () public {
        // register the supported interfaces to conform to ERC1155 via ERC165
        _registerInterface(_INTERFACE_ID_ERC1155);

        // register the supported interfaces to conform to ERC1155MetadataURI via ERC165
        _registerInterface(_INTERFACE_ID_ERC1155_METADATA_URI);
    }

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     */
    function uri(uint256 tokenId) external view override returns (string memory) {
        return tokenUris[tokenId];
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(
        address[] memory accounts,
        uint256[] memory ids
    )
    public
    view
    override
    returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            require(accounts[i] != address(0), "ERC1155: batch balance query for the zero address");
            batchBalances[i] = _balances[ids[i]][accounts[i]];
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) external virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    )
    external
    virtual
    override
    {
        require(to != address(0), "ERC1155: transfer to the zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][from] = _balances[id][from].sub(amount, "ERC1155: insufficient balance for transfer");
        _balances[id][to] = _balances[id][to].add(amount);

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
    external
    virtual
    override
    {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            _balances[id][from] = _balances[id][from].sub(
                amount,
                "ERC1155: insufficient balance for transfer"
            );
            _balances[id][to] = _balances[id][to].add(amount);
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for a given token ID
     */
    function _setURI(uint256 tokenId, string memory newuri) internal virtual {
        tokenUris[tokenId] = newuri;
        emit URI(newuri, tokenId);
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][account] = _balances[id][account].add(amount);
        tokenTotalSupply[id] = tokenTotalSupply[id].add(amount);
        emit TransferSingle(operator, address(0), account, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];
            _balances[id][to] = amount.add(_balances[id][to]);
            tokenTotalSupply[id] = tokenTotalSupply[id].add(amount);
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `account`
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens of token type `id`.
     */
    function _burn(address account, uint256 id, uint256 amount) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        _balances[id][account] = _balances[id][account].sub(
            amount,
            "ERC1155: burn amount exceeds balance"
        );

        tokenTotalSupply[id] = tokenTotalSupply[id].sub(amount);

        emit TransferSingle(operator, account, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(address account, uint256[] memory ids, uint256[] memory amounts) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), ids, amounts, "");

        for (uint i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];
            _balances[id][account] = _balances[id][account].sub(
                amount,
                "ERC1155: burn amount exceeds balance"
            );

            tokenTotalSupply[id] = tokenTotalSupply[id].sub(amount);
        }

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
    internal virtual
    { }

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    )
    private
    {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver(to).onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
    private
    {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (bytes4 response) {
                if (response != IERC1155Receiver(to).onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

// File: @openzeppelin/contracts/access/AccessControl.sol








/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context {
    using EnumerableSet for EnumerableSet.AddressSet;
    using Address for address;

    struct RoleData {
        EnumerableSet.AddressSet members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view returns (bool) {
        return _roles[role].members.contains(account);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view returns (uint256) {
        return _roles[role].members.length();
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view returns (address) {
        return _roles[role].members.at(index);
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (_roles[role].members.add(account)) {
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (_roles[role].members.remove(account)) {
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

// File: contracts/DigitalaxAccessControls.sol



pragma solidity 0.6.12;


/**
 * @notice Access Controls contract for the Digitalax Platform
 * @author BlockRocket.tech
 */
contract DigitalaxAccessControls is AccessControl {
    /// @notice Role definitions
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant SMART_CONTRACT_ROLE = keccak256("SMART_CONTRACT_ROLE");

    /// @notice Events for adding and removing various roles
    event AdminRoleGranted(
        address indexed beneficiary,
        address indexed caller
    );

    event AdminRoleRemoved(
        address indexed beneficiary,
        address indexed caller
    );

    event MinterRoleGranted(
        address indexed beneficiary,
        address indexed caller
    );

    event MinterRoleRemoved(
        address indexed beneficiary,
        address indexed caller
    );

    event SmartContractRoleGranted(
        address indexed beneficiary,
        address indexed caller
    );

    event SmartContractRoleRemoved(
        address indexed beneficiary,
        address indexed caller
    );

    /**
     * @notice The deployer is automatically given the admin role which will allow them to then grant roles to other addresses
     */
    constructor() public {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
    }

    /////////////
    // Lookups //
    /////////////

    /**
     * @notice Used to check whether an address has the admin role
     * @param _address EOA or contract being checked
     * @return bool True if the account has the role or false if it does not
     */
    function hasAdminRole(address _address) external view returns (bool) {
        return hasRole(DEFAULT_ADMIN_ROLE, _address);
    }

    /**
     * @notice Used to check whether an address has the minter role
     * @param _address EOA or contract being checked
     * @return bool True if the account has the role or false if it does not
     */
    function hasMinterRole(address _address) external view returns (bool) {
        return hasRole(MINTER_ROLE, _address);
    }

    /**
     * @notice Used to check whether an address has the smart contract role
     * @param _address EOA or contract being checked
     * @return bool True if the account has the role or false if it does not
     */
    function hasSmartContractRole(address _address) external view returns (bool) {
        return hasRole(SMART_CONTRACT_ROLE, _address);
    }

    ///////////////
    // Modifiers //
    ///////////////

    /**
     * @notice Grants the admin role to an address
     * @dev The sender must have the admin role
     * @param _address EOA or contract receiving the new role
     */
    function addAdminRole(address _address) external {
        grantRole(DEFAULT_ADMIN_ROLE, _address);
        emit AdminRoleGranted(_address, _msgSender());
    }

    /**
     * @notice Removes the admin role from an address
     * @dev The sender must have the admin role
     * @param _address EOA or contract affected
     */
    function removeAdminRole(address _address) external {
        revokeRole(DEFAULT_ADMIN_ROLE, _address);
        emit AdminRoleRemoved(_address, _msgSender());
    }

    /**
     * @notice Grants the minter role to an address
     * @dev The sender must have the admin role
     * @param _address EOA or contract receiving the new role
     */
    function addMinterRole(address _address) external {
        grantRole(MINTER_ROLE, _address);
        emit MinterRoleGranted(_address, _msgSender());
    }

    /**
     * @notice Removes the minter role from an address
     * @dev The sender must have the admin role
     * @param _address EOA or contract affected
     */
    function removeMinterRole(address _address) external {
        revokeRole(MINTER_ROLE, _address);
        emit MinterRoleRemoved(_address, _msgSender());
    }

    /**
     * @notice Grants the smart contract role to an address
     * @dev The sender must have the admin role
     * @param _address EOA or contract receiving the new role
     */
    function addSmartContractRole(address _address) external {
        grantRole(SMART_CONTRACT_ROLE, _address);
        emit SmartContractRoleGranted(_address, _msgSender());
    }

    /**
     * @notice Removes the smart contract role from an address
     * @dev The sender must have the admin role
     * @param _address EOA or contract affected
     */
    function removeSmartContractRole(address _address) external {
        revokeRole(SMART_CONTRACT_ROLE, _address);
        emit SmartContractRoleRemoved(_address, _msgSender());
    }
}

// File: contracts/ERC998/IERC998ERC1155TopDown.sol



pragma solidity 0.6.12;


// Based on: https://github.com/rocksideio/ERC998-ERC1155-TopDown/blob/695963195606304374015c49d166ab2fbeb42ea9/contracts/IERC998ERC1155TopDown.sol
interface IERC998ERC1155TopDown is IERC1155Receiver {

    event ReceivedChild(address indexed from, uint256 indexed toTokenId, address indexed childContract, uint256 childTokenId, uint256 amount);
    event TransferBatchChild(uint256 indexed fromTokenId, address indexed to, address indexed childContract, uint256[] childTokenIds, uint256[] amounts);

    function childContractsFor(uint256 tokenId) external view returns (address[] memory childContracts);
    function childIdsForOn(uint256 tokenId, address childContract) external view returns (uint256[] memory childIds);
    function childBalance(uint256 tokenId, address childContract, uint256 childTokenId) external view returns (uint256);
}

// File: contracts/garment/DigitalaxGarmentNFT.sol



pragma solidity 0.6.12;







/**
 * @title Digitalax Garment NFT a.k.a. parent NFTs
 * @dev Issues ERC-721 tokens as well as being able to hold child 1155 tokens
 */
contract DigitalaxGarmentNFT is ERC721("DigitalaxNFT", "DTX"), ERC1155Receiver, IERC998ERC1155TopDown {

    // @notice event emitted upon construction of this contract, used to bootstrap external indexers
    event DigitalaxGarmentNFTContractDeployed();

    // @notice event emitted when token URI is updated
    event DigitalaxGarmentTokenUriUpdate(
        uint256 indexed _tokenId,
        string _tokenUri
    );

    // @notice event emitted when a tokens primary sale occurs
    event TokenPrimarySalePriceSet(
        uint256 indexed _tokenId,
        uint256 _salePrice
    );

    /// @dev Required to govern who can call certain functions
    DigitalaxAccessControls public accessControls;

    /// @dev Child ERC1155 contract address
    ERC1155 public childContract;

    /// @dev current max tokenId
    uint256 public tokenIdPointer;

    /// @dev TokenID -> Designer address
    mapping(uint256 => address) public garmentDesigners;

    /// @dev TokenID -> Primary Ether Sale Price in Wei
    mapping(uint256 => uint256) public primarySalePrice;

    /// @dev ERC721 Token ID -> ERC1155 ID -> Balance
    mapping(uint256 => mapping(uint256 => uint256)) private balances;

    /// @dev ERC1155 ID -> ERC721 Token IDs that have a balance
    mapping(uint256 => EnumerableSet.UintSet) private childToParentMapping;

    /// @dev ERC721 Token ID -> ERC1155 child IDs owned by the token ID
    mapping(uint256 => EnumerableSet.UintSet) private parentToChildMapping;

    /// @dev max children NFTs a single 721 can hold
    uint256 public maxChildrenPerToken = 10;

    /**
     @param _accessControls Address of the Digitalax access control contract
     @param _childContract ERC1155 the Digitalax child NFT contract
     */
    constructor(DigitalaxAccessControls _accessControls, ERC1155 _childContract) public {
        accessControls = _accessControls;
        childContract = _childContract;
        emit DigitalaxGarmentNFTContractDeployed();
    }

    /**
     @notice Mints a DigitalaxGarmentNFT AND when minting to a contract checks if the beneficiary is a 721 compatible
     @dev Only senders with either the minter or smart contract role can invoke this method
     @param _beneficiary Recipient of the NFT
     @param _tokenUri URI for the token being minted
     @param _designer Garment designer - will be required for issuing royalties from secondary sales
     @return uint256 The token ID of the token that was minted
     */
    function mint(address _beneficiary, string calldata _tokenUri, address _designer) external returns (uint256) {
        require(
            accessControls.hasSmartContractRole(_msgSender()) || accessControls.hasMinterRole(_msgSender()),
            "DigitalaxGarmentNFT.mint: Sender must have the minter or contract role"
        );

        // Valid args
        _assertMintingParamsValid(_tokenUri, _designer);

        tokenIdPointer = tokenIdPointer.add(1);
        uint256 tokenId = tokenIdPointer;

        // Mint token and set token URI
        _safeMint(_beneficiary, tokenId);
        _setTokenURI(tokenId, _tokenUri);

        // Associate garment designer
        garmentDesigners[tokenId] = _designer;

        return tokenId;
    }

    /**
     @notice Burns a DigitalaxGarmentNFT, releasing any composed 1155 tokens held by the token itseld
     @dev Only the owner or an approved sender can call this method
     @param _tokenId the token ID to burn
     */
    function burn(uint256 _tokenId) external {
        address operator = _msgSender();
        require(
            ownerOf(_tokenId) == operator || isApproved(_tokenId, operator),
            "DigitalaxGarmentNFT.burn: Only garment owner or approved"
        );

        // If there are any children tokens then send them as part of the burn
        if (parentToChildMapping[_tokenId].length() > 0) {
            // Transfer children to the burner
            _extractAndTransferChildrenFromParent(_tokenId, _msgSender());
        }

        // Destroy token mappings
        _burn(_tokenId);

        // Clean up designer mapping
        delete garmentDesigners[_tokenId];
        delete primarySalePrice[_tokenId];
    }

    /**
     @notice Single ERC1155 receiver callback hook, used to enforce children token binding to a given parent token
     */
    function onERC1155Received(address _operator, address _from, uint256 _id, uint256 _amount, bytes memory _data)
    virtual
    external
    override
    returns (bytes4) {
        require(_data.length == 32, "ERC998: data must contain the unique uint256 tokenId to transfer the child token to");

        uint256 _receiverTokenId = _extractIncomingTokenId();
        _validateReceiverParams(_receiverTokenId, _operator, _from);

        _receiveChild(_receiverTokenId, _msgSender(), _id, _amount);

        emit ReceivedChild(_from, _receiverTokenId, _msgSender(), _id, _amount);

        // Check total tokens do not exceed maximum
        require(
            parentToChildMapping[_receiverTokenId].length() <= maxChildrenPerToken,
            "Cannot exceed max child token allocation"
        );

        return this.onERC1155Received.selector;
    }

    /**
     @notice Batch ERC1155 receiver callback hook, used to enforce child token bindings to a given parent token ID
     */
    function onERC1155BatchReceived(address _operator, address _from, uint256[] memory _ids, uint256[] memory _values, bytes memory _data)
    virtual
    external
    override
    returns (bytes4) {
        require(_data.length == 32, "ERC998: data must contain the unique uint256 tokenId to transfer the child token to");

        uint256 _receiverTokenId = _extractIncomingTokenId();
        _validateReceiverParams(_receiverTokenId, _operator, _from);

        // Note: be mindful of GAS limits
        for (uint256 i = 0; i < _ids.length; i++) {
            _receiveChild(_receiverTokenId, _msgSender(), _ids[i], _values[i]);
            emit ReceivedChild(_from, _receiverTokenId, _msgSender(), _ids[i], _values[i]);
        }

        // Check total tokens do not exceed maximum
        require(
            parentToChildMapping[_receiverTokenId].length() <= maxChildrenPerToken,
            "Cannot exceed max child token allocation"
        );

        return this.onERC1155BatchReceived.selector;
    }

    function _extractIncomingTokenId() internal pure returns (uint256) {
        // Extract out the embedded token ID from the sender
        uint256 _receiverTokenId;
        uint256 _index = msg.data.length - 32;
        assembly {_receiverTokenId := calldataload(_index)}
        return _receiverTokenId;
    }

    function _validateReceiverParams(uint256 _receiverTokenId, address _operator, address _from) internal view {
        require(_exists(_receiverTokenId), "Token does not exist");

        // We only accept children from the Digitalax child contract
        require(_msgSender() == address(childContract), "Invalid child token contract");

        // check the sender is the owner of the token or its just been birthed to this token
        if (_from != address(0)) {
            require(
                ownerOf(_receiverTokenId) == _from,
                "Cannot add children to tokens you dont own"
            );

            // Check the operator is also the owner, preventing an approved address adding tokens on the holders behalf
            require(_operator == _from, "Operator is not owner");
        }
    }

    //////////
    // Admin /
    //////////

    /**
     @notice Updates the token URI of a given token
     @dev Only admin or smart contract
     @param _tokenId The ID of the token being updated
     @param _tokenUri The new URI
     */
    function setTokenURI(uint256 _tokenId, string calldata _tokenUri) external {
        require(
            accessControls.hasSmartContractRole(_msgSender()) || accessControls.hasAdminRole(_msgSender()),
            "DigitalaxGarmentNFT.setTokenURI: Sender must be an authorised contract or admin"
        );
        _setTokenURI(_tokenId, _tokenUri);
        emit DigitalaxGarmentTokenUriUpdate(_tokenId, _tokenUri);
    }

    /**
     @notice Records the Ether price that a given token was sold for (in WEI)
     @dev Only admin or a smart contract can call this method
     @param _tokenId The ID of the token being updated
     @param _salePrice The primary Ether sale price in WEI
     */
    function setPrimarySalePrice(uint256 _tokenId, uint256 _salePrice) external {
        require(
            accessControls.hasSmartContractRole(_msgSender()) || accessControls.hasAdminRole(_msgSender()),
            "DigitalaxGarmentNFT.setPrimarySalePrice: Sender must be an authorised contract or admin"
        );
        require(_exists(_tokenId), "DigitalaxGarmentNFT.setPrimarySalePrice: Token does not exist");
        require(_salePrice > 0, "DigitalaxGarmentNFT.setPrimarySalePrice: Invalid sale price");

        // Only set it once
        if (primarySalePrice[_tokenId] == 0) {
            primarySalePrice[_tokenId] = _salePrice;
            emit TokenPrimarySalePriceSet(_tokenId, _salePrice);
        }
    }

    /**
     @notice Method for updating the access controls contract used by the NFT
     @dev Only admin
     @param _accessControls Address of the new access controls contract
     */
    function updateAccessControls(DigitalaxAccessControls _accessControls) external {
        require(accessControls.hasAdminRole(_msgSender()), "DigitalaxGarmentNFT.updateAccessControls: Sender must be admin");
        accessControls = _accessControls;
    }

    /**
     @notice Method for updating max children a token can hold
     @dev Only admin
     @param _maxChildrenPerToken uint256 the max children a token can hold
     */
    function updateMaxChildrenPerToken(uint256 _maxChildrenPerToken) external {
        require(accessControls.hasAdminRole(_msgSender()), "DigitalaxGarmentNFT.updateMaxChildrenPerToken: Sender must be admin");
        maxChildrenPerToken = _maxChildrenPerToken;
    }

    /////////////////
    // View Methods /
    /////////////////

    /**
     @notice View method for checking whether a token has been minted
     @param _tokenId ID of the token being checked
     */
    function exists(uint256 _tokenId) external view returns (bool) {
        return _exists(_tokenId);
    }

    /**
     @dev Get the child token balances held by the contract, assumes caller knows the correct child contract
     */
    function childBalance(uint256 _tokenId, address _childContract, uint256 _childTokenId)
    public
    view
    override
    returns (uint256) {
        return _childContract == address(childContract) ? balances[_tokenId][_childTokenId] : 0;
    }

    /**
     @dev Get list of supported child contracts, always a list of 0 or 1 in our case
     */
    function childContractsFor(uint256 _tokenId) override external view returns (address[] memory) {
        if (!_exists(_tokenId)) {
            return new address[](0);
        }

        address[] memory childContracts = new address[](1);
        childContracts[0] = address(childContract);
        return childContracts;
    }

    /**
     @dev Gets mapped IDs for child tokens
     */
    function childIdsForOn(uint256 _tokenId, address _childContract) override public view returns (uint256[] memory) {
        if (!_exists(_tokenId) || _childContract != address(childContract)) {
            return new uint256[](0);
        }

        uint256[] memory childTokenIds = new uint256[](parentToChildMapping[_tokenId].length());

        for (uint256 i = 0; i < parentToChildMapping[_tokenId].length(); i++) {
            childTokenIds[i] = parentToChildMapping[_tokenId].at(i);
        }

        return childTokenIds;
    }

    /**
     @dev Get total number of children mapped to the token
     */
    function totalChildrenMapped(uint256 _tokenId) external view returns (uint256) {
        return parentToChildMapping[_tokenId].length();
    }

    /**
     * @dev checks the given token ID is approved either for all or the single token ID
     */
    function isApproved(uint256 _tokenId, address _operator) public view returns (bool) {
        return isApprovedForAll(ownerOf(_tokenId), _operator) || getApproved(_tokenId) == _operator;
    }

    /////////////////////////
    // Internal and Private /
    /////////////////////////

    function _extractAndTransferChildrenFromParent(uint256 _fromTokenId, address _to) internal {
        uint256[] memory _childTokenIds = childIdsForOn(_fromTokenId, address(childContract));
        uint256[] memory _amounts = new uint256[](_childTokenIds.length);

        for (uint256 i = 0; i < _childTokenIds.length; ++i) {
            uint256 _childTokenId = _childTokenIds[i];
            uint256 amount = childBalance(_fromTokenId, address(childContract), _childTokenId);

            _amounts[i] = amount;

            _removeChild(_fromTokenId, address(childContract), _childTokenId, amount);
        }

        childContract.safeBatchTransferFrom(address(this), _to, _childTokenIds, _amounts, abi.encodePacked(""));

        emit TransferBatchChild(_fromTokenId, _to, address(childContract), _childTokenIds, _amounts);
    }

    function _receiveChild(uint256 _tokenId, address, uint256 _childTokenId, uint256 _amount) private {
        if (balances[_tokenId][_childTokenId] == 0) {
           parentToChildMapping[_tokenId].add(_childTokenId);
        }
        balances[_tokenId][_childTokenId] = balances[_tokenId][_childTokenId].add(_amount);
    }

    function _removeChild(uint256 _tokenId, address, uint256 _childTokenId, uint256 _amount) private {
        require(_amount != 0 || balances[_tokenId][_childTokenId] >= _amount, "ERC998: insufficient child balance for transfer");
        balances[_tokenId][_childTokenId] = balances[_tokenId][_childTokenId].sub(_amount);
        if (balances[_tokenId][_childTokenId] == 0) {
            childToParentMapping[_childTokenId].remove(_tokenId);
            parentToChildMapping[_tokenId].remove(_childTokenId);
        }
    }

    /**
     @notice Checks that the URI is not empty and the designer is a real address
     @param _tokenUri URI supplied on minting
     @param _designer Address supplied on minting
     */
    function _assertMintingParamsValid(string calldata _tokenUri, address _designer) pure internal {
        require(bytes(_tokenUri).length > 0, "DigitalaxGarmentNFT._assertMintingParamsValid: Token URI is empty");
        require(_designer != address(0), "DigitalaxGarmentNFT._assertMintingParamsValid: Designer is zero address");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract DigitalaxAccessControls","name":"_accessControls","type":"address"},{"internalType":"contract ERC1155","name":"_childContract","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":[],"name":"DigitalaxGarmentNFTContractDeployed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"_tokenUri","type":"string"}],"name":"DigitalaxGarmentTokenUriUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"childContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"childTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ReceivedChild","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"TokenPrimarySalePriceSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"address","name":"childContract","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"childTokenIds","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"TransferBatchChild","type":"event"},{"inputs":[],"name":"accessControls","outputs":[{"internalType":"contract DigitalaxAccessControls","name":"","type":"address"}],"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":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_childContract","type":"address"},{"internalType":"uint256","name":"_childTokenId","type":"uint256"}],"name":"childBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"childContract","outputs":[{"internalType":"contract ERC1155","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"childContractsFor","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_childContract","type":"address"}],"name":"childIdsForOn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"garmentDesigners","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApproved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxChildrenPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"string","name":"_tokenUri","type":"string"},{"internalType":"address","name":"_designer","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_values","type":"uint256[]"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","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":"","type":"uint256"}],"name":"primarySalePrice","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":"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":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"setPrimarySalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_tokenUri","type":"string"}],"name":"setTokenURI","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":[],"name":"tokenIdPointer","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":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"totalChildrenMapped","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract DigitalaxAccessControls","name":"_accessControls","type":"address"}],"name":"updateAccessControls","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxChildrenPerToken","type":"uint256"}],"name":"updateMaxChildrenPerToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600a6012553480156200001657600080fd5b506040516200407838038062004078833981810160405260408110156200003c57600080fd5b508051602091820151604080518082018252600c81526b111a59da5d185b185e13919560a21b8186015281518083019092526003825262088a8b60eb1b9482019490945291929091620000966301ffc9a760e01b6200016e565b8151620000ab906006906020850190620001f3565b508051620000c1906007906020840190620001f3565b50620000d46380ac58cd60e01b6200016e565b620000e6635b5e139f60e01b6200016e565b620000f863780e9d6360e01b6200016e565b506200010d9050630271189760e51b6200016e565b600a80546001600160a01b038085166001600160a01b031992831617909255600b8054928416929091169190911790556040517fb2e858926558f32572ed6d1dd0614a2617251a5ebe86a92e4ebf98d3cee9822a90600090a150506200028f565b6001600160e01b03198082161415620001ce576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200023657805160ff191683800117855562000266565b8280016001018555821562000266579182015b828111156200026657825182559160200191906001019062000249565b506200027492915062000278565b5090565b5b8082111562000274576000815560010162000279565b613dd9806200029f6000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c80636c0360eb11610130578063b88d4fde116100b8578063e3845cf41161007c578063e3845cf4146109b8578063e626223a146109d5578063e985e9c5146109dd578063f23a6e6114610a0b578063fa8509c814610ad457610227565b8063b88d4fde146106bf578063bc197c8114610783578063c87b56dd14610961578063c9f2e86a1461097e578063cd0269451461099b57610227565b806389e7e2f2116100ff57806389e7e2f21461062c57806391c978d61461064957806395d89b41146106665780639920fae31461066e578063a22cb4651461069157610227565b80636c0360eb146105d05780636ef3da94146105d857806370a08231146105fe578063748365ef1461062457610227565b80632f745c59116101b35780634f558e79116101825780634f558e791461051b5780634f6ccce71461053857806356c316371461055557806360d4d23a146105815780636352211e146105b357610227565b80632f745c59146104945780633b3a1a7a146104c057806342842e0e146104c857806342966c68146104fe57610227565b8063162094c4116101fa578063162094c41461034b57806318160ddd146103c057806320adfad1146103da57806323b872dd146103e25780632676608c1461041857610227565b806301ffc9a71461022c57806306fdde0314610267578063081812fc146102e4578063095ea7b31461031d575b600080fd5b6102536004803603602081101561024257600080fd5b50356001600160e01b031916610b5b565b604080519115158252519081900360200190f35b61026f610b7e565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102a9578181015183820152602001610291565b50505050905090810190601f1680156102d65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610301600480360360208110156102fa57600080fd5b5035610c14565b604080516001600160a01b039092168252519081900360200190f35b6103496004803603604081101561033357600080fd5b506001600160a01b038135169060200135610c76565b005b6103496004803603604081101561036157600080fd5b81359190810190604081016020820135600160201b81111561038257600080fd5b82018360208201111561039457600080fd5b803590602001918460018302840111600160201b831117156103b557600080fd5b509092509050610d51565b6103c8610f3d565b60408051918252519081900360200190f35b6103c8610f4e565b610349600480360360608110156103f857600080fd5b506001600160a01b03813581169160208101359091169060400135610f54565b6104446004803603604081101561042e57600080fd5b50803590602001356001600160a01b0316610fab565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610480578181015183820152602001610468565b505050509050019250505060405180910390f35b6103c8600480360360408110156104aa57600080fd5b506001600160a01b0381351690602001356110a9565b6103c86110d2565b610349600480360360608110156104de57600080fd5b506001600160a01b038135811691602081013590911690604001356110d8565b6103496004803603602081101561051457600080fd5b50356110f3565b6102536004803603602081101561053157600080fd5b50356111c8565b6103c86004803603602081101561054e57600080fd5b50356111d3565b6102536004803603604081101561056b57600080fd5b50803590602001356001600160a01b03166111e9565b6103c86004803603606081101561059757600080fd5b508035906001600160a01b036020820135169060400135611227565b610301600480360360208110156105c957600080fd5b5035611269565b61026f611291565b610349600480360360208110156105ee57600080fd5b50356001600160a01b03166112f2565b6103c86004803603602081101561061457600080fd5b50356001600160a01b03166113d1565b610301611439565b6104446004803603602081101561064257600080fd5b5035611448565b6103496004803603602081101561065f57600080fd5b50356114c7565b61026f611589565b6103496004803603604081101561068457600080fd5b50803590602001356115ea565b610349600480360360408110156106a757600080fd5b506001600160a01b0381351690602001351515611812565b610349600480360360808110156106d557600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561070f57600080fd5b82018360208201111561072157600080fd5b803590602001918460018302840111600160201b8311171561074257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611917945050505050565b610944600480360360a081101561079957600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b8111156107cc57600080fd5b8201836020820111156107de57600080fd5b803590602001918460208302840111600160201b831117156107ff57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561084e57600080fd5b82018360208201111561086057600080fd5b803590602001918460208302840111600160201b8311171561088157600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156108d057600080fd5b8201836020820111156108e257600080fd5b803590602001918460018302840111600160201b8311171561090357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611975945050505050565b604080516001600160e01b03199092168252519081900360200190f35b61026f6004803603602081101561097757600080fd5b5035611b07565b6103c86004803603602081101561099457600080fd5b5035611dae565b6103c8600480360360208110156109b157600080fd5b5035611dc0565b610301600480360360208110156109ce57600080fd5b5035611dd7565b610301611df2565b610253600480360360408110156109f357600080fd5b506001600160a01b0381358116916020013516611e01565b610944600480360360a0811015610a2157600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b811115610a6057600080fd5b820183602082011115610a7257600080fd5b803590602001918460018302840111600160201b83111715610a9357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611e2f945050505050565b6103c860048036036060811015610aea57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b811115610b1457600080fd5b820183602082011115610b2657600080fd5b803590602001918460018302840111600160201b83111715610b4757600080fd5b9193509150356001600160a01b0316611f60565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c0a5780601f10610bdf57610100808354040283529160200191610c0a565b820191906000526020600020905b815481529060010190602001808311610bed57829003601f168201915b5050505050905090565b6000610c1f82612142565b610c5a5760405162461bcd60e51b815260040180806020018281038252602c815260200180613a86602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610c8182611269565b9050806001600160a01b0316836001600160a01b03161415610cd45760405162461bcd60e51b8152600401808060200182810382526021815260200180613c356021913960400191505060405180910390fd5b806001600160a01b0316610ce661214f565b6001600160a01b03161480610d075750610d0781610d0261214f565b611e01565b610d425760405162461bcd60e51b81526004018080602001828103825260388152602001806139d96038913960400191505060405180910390fd5b610d4c8383612153565b505050565b600a546001600160a01b031663113b0ab2610d6a61214f565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610da757600080fd5b505afa158015610dbb573d6000803e3d6000fd5b505050506040513d6020811015610dd157600080fd5b505180610e5c5750600a546001600160a01b031663c395fcb3610df261214f565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610e2f57600080fd5b505afa158015610e43573d6000803e3d6000fd5b505050506040513d6020811015610e5957600080fd5b50515b610e975760405162461bcd60e51b815260040180806020018281038252604f815260200180613ade604f913960600191505060405180910390fd5b610ed78383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506121c192505050565b827fa4df0960b5858898d86c7940315bc2191a4f8b07071854ab761425f2e35d9442838360405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2505050565b6000610f496002612224565b905090565b60125481565b610f65610f5f61214f565b8261222f565b610fa05760405162461bcd60e51b8152600401808060200182810382526031815260200180613d056031913960400191505060405180910390fd5b610d4c8383836122cb565b6060610fb683612142565b1580610fd05750600b546001600160a01b03838116911614155b15610fea57506040805160008152602081019091526110a3565b600083815260116020526040902060609061100490612224565b67ffffffffffffffff8111801561101a57600080fd5b50604051908082528060200260200182016040528015611044578160200160208202803683370190505b50905060005b600085815260116020526040902061106190612224565b81101561109f5760008581526011602052604090206110809082612417565b82828151811061108c57fe5b602090810291909101015260010161104a565b5090505b92915050565b6001600160a01b03821660009081526001602052604081206110cb9083612417565b9392505050565b600c5481565b610d4c83838360405180602001604052806000815250611917565b60006110fd61214f565b9050806001600160a01b031661111283611269565b6001600160a01b0316148061112c575061112c82826111e9565b6111675760405162461bcd60e51b8152600401808060200182810382526038815260200180613bfd6038913960400191505060405180910390fd5b600082815260116020526040812061117e90612224565b1115611195576111958261119061214f565b612423565b61119e82612771565b506000908152600d6020908152604080832080546001600160a01b0319169055600e909152812055565b60006110a382612142565b6000806111e160028461283e565b509392505050565b60006111fd6111f784611269565b83611e01565b806110cb5750816001600160a01b031661121684610c14565b6001600160a01b0316149392505050565b600b546000906001600160a01b03848116911614611246576000611261565b6000848152600f602090815260408083208584529091529020545b949350505050565b60006110a382604051806060016040528060298152602001613a3b602991396002919061285a565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c0a5780601f10610bdf57610100808354040283529160200191610c0a565b600a546001600160a01b031663c395fcb361130b61214f565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561134857600080fd5b505afa15801561135c573d6000803e3d6000fd5b505050506040513d602081101561137257600080fd5b50516113af5760405162461bcd60e51b815260040180806020018281038252603e815260200180613c56603e913960400191505060405180910390fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b0382166114185760405162461bcd60e51b815260040180806020018281038252602a815260200180613a11602a913960400191505060405180910390fd5b6001600160a01b03821660009081526001602052604090206110a390612224565b600a546001600160a01b031681565b606061145382612142565b61146c5750604080516000815260208101909152610b79565b604080516001808252818301909252606091602080830190803683375050600b5482519293506001600160a01b0316918391506000906114a857fe5b6001600160a01b03909216602092830291909101909101529050919050565b600a546001600160a01b031663c395fcb36114e061214f565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561151d57600080fd5b505afa158015611531573d6000803e3d6000fd5b505050506040513d602081101561154757600080fd5b50516115845760405162461bcd60e51b81526004018080602001828103825260438152602001806138b26043913960600191505060405180910390fd5b601255565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c0a5780601f10610bdf57610100808354040283529160200191610c0a565b600a546001600160a01b031663113b0ab261160361214f565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561164057600080fd5b505afa158015611654573d6000803e3d6000fd5b505050506040513d602081101561166a57600080fd5b5051806116f55750600a546001600160a01b031663c395fcb361168b61214f565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156116c857600080fd5b505afa1580156116dc573d6000803e3d6000fd5b505050506040513d60208110156116f257600080fd5b50515b6117305760405162461bcd60e51b815260040180806020018281038252605781526020018061385b6057913960600191505060405180910390fd5b61173982612142565b6117745760405162461bcd60e51b815260040180806020018281038252603d815260200180613b2d603d913960400191505060405180910390fd5b600081116117b35760405162461bcd60e51b815260040180806020018281038252603b815260200180613b93603b913960400191505060405180910390fd5b6000828152600e602052604090205461180e576000828152600e60209081526040918290208390558151838152915184927f11bca5f024ebf5e6af6f261fba2b68f29967d11017cd0a17767db1e07419692a92908290030190a25b5050565b61181a61214f565b6001600160a01b0316826001600160a01b03161415611880576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b806005600061188d61214f565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556118d161214f565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b61192861192261214f565b8361222f565b6119635760405162461bcd60e51b8152600401808060200182810382526031815260200180613d056031913960400191505060405180910390fd5b61196f84848484612867565b50505050565b600081516020146119b75760405162461bcd60e51b81526004018080602001828103825260538152602001806139366053913960600191505060405180910390fd5b60006119c16128b9565b90506119ce8188886128c2565b60005b8551811015611a9c57611a13826119e661214f565b8884815181106119f257fe5b6020026020010151888581518110611a0657fe5b6020026020010151612a47565b611a1b61214f565b6001600160a01b031682886001600160a01b03167fa18753b0660a8be2cdae03468c860b47c2926433ab16917f323544652803032d898581518110611a5c57fe5b6020026020010151898681518110611a7057fe5b6020026020010151604051808381526020018281526020019250505060405180910390a46001016119d1565b506012546000828152601160205260409020611ab790612224565b1115611af45760405162461bcd60e51b8152600401808060200182810382526028815260200180613d7c6028913960400191505060405180910390fd5b5063bc197c8160e01b9695505050505050565b6060611b1282612142565b611b4d5760405162461bcd60e51b815260040180806020018281038252602f815260200180613bce602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015611be25780601f10611bb757610100808354040283529160200191611be2565b820191906000526020600020905b815481529060010190602001808311611bc557829003601f168201915b505060095493945050505060026000196101006001841615020190911604611c0b579050610b79565b805115611cdc576009816040516020018083805460018160011615610100020316600290048015611c735780601f10611c51576101008083540402835291820191611c73565b820191906000526020600020905b815481529060010190602001808311611c5f575b5050825160208401908083835b60208310611c9f5780518252601f199092019160209182019101611c80565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050610b79565b6009611ce784612ac3565b6040516020018083805460018160011615610100020316600290048015611d455780601f10611d23576101008083540402835291820191611d45565b820191906000526020600020905b815481529060010190602001808311611d31575b5050825160208401908083835b60208310611d715780518252601f199092019160209182019101611d52565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b600e6020526000908152604090205481565b60008181526011602052604081206110a390612224565b600d602052600090815260409020546001600160a01b031681565b600b546001600160a01b031681565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60008151602014611e715760405162461bcd60e51b81526004018080602001828103825260538152602001806139366053913960600191505060405180910390fd5b6000611e7b6128b9565b9050611e888188886128c2565b611e9b81611e9461214f565b8787612a47565b611ea361214f565b6001600160a01b031681876001600160a01b03167fa18753b0660a8be2cdae03468c860b47c2926433ab16917f323544652803032d8888604051808381526020018281526020019250505060405180910390a46012546000828152601160205260409020611f1090612224565b1115611f4d5760405162461bcd60e51b8152600401808060200182810382526028815260200180613d7c6028913960400191505060405180910390fd5b5063f23a6e6160e01b9695505050505050565b600a546000906001600160a01b031663113b0ab2611f7c61214f565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611fb957600080fd5b505afa158015611fcd573d6000803e3d6000fd5b505050506040513d6020811015611fe357600080fd5b50518061206e5750600a546001600160a01b031663099db01761200461214f565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561204157600080fd5b505afa158015612055573d6000803e3d6000fd5b505050506040513d602081101561206b57600080fd5b50515b6120a95760405162461bcd60e51b8152600401808060200182810382526046815260200180613d366046913960600191505060405180910390fd5b6120b4848484612b9e565b600c546120c2906001612c1f565b600c8190556120d18682612c79565b6121118186868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506121c192505050565b6000818152600d6020526040902080546001600160a01b0319166001600160a01b0385161790559050949350505050565b60006110a3600283612c93565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061218882611269565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6121ca82612142565b6122055760405162461bcd60e51b815260040180806020018281038252602c815260200180613ab2602c913960400191505060405180910390fd5b60008281526008602090815260409091208251610d4c928401906136fd565b60006110a382612c9f565b600061223a82612142565b6122755760405162461bcd60e51b815260040180806020018281038252602c8152602001806139ad602c913960400191505060405180910390fd5b600061228083611269565b9050806001600160a01b0316846001600160a01b031614806122bb5750836001600160a01b03166122b084610c14565b6001600160a01b0316145b8061126157506112618185611e01565b826001600160a01b03166122de82611269565b6001600160a01b0316146123235760405162461bcd60e51b8152600401808060200182810382526029815260200180613b6a6029913960400191505060405180910390fd5b6001600160a01b0382166123685760405162461bcd60e51b81526004018080602001828103825260248152602001806139896024913960400191505060405180910390fd5b612373838383610d4c565b61237e600082612153565b6001600160a01b03831660009081526001602052604090206123a09082612ca3565b506001600160a01b03821660009081526001602052604090206123c39082612caf565b506123d060028284612cbb565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006110cb8383612cd1565b600b5460609061243d9084906001600160a01b0316610fab565b90506060815167ffffffffffffffff8111801561245957600080fd5b50604051908082528060200260200182016040528015612483578160200160208202803683370190505b50905060005b82518110156125095760008382815181106124a057fe5b6020026020010151905060006124cc87600b60009054906101000a90046001600160a01b031684611227565b9050808484815181106124db57fe5b6020908102919091010152600b546124ff9088906001600160a01b03168484612d35565b5050600101612489565b50600b54604080516000808252602080830193849052631759616b60e11b90935230602483018181526001600160a01b03898116604486015260a060648601908152895160c487015289519190971696632eb2c2d69693958b958b958b959294929392608486019260a487019260e4880192818b01929102908190849084905b838110156125a1578181015183820152602001612589565b50505050905001848103835286818151815260200191508051906020019060200280838360005b838110156125e05781810151838201526020016125c8565b50505050905001848103825285818151815260200191508051906020019080838360005b8381101561261c578181015183820152602001612604565b50505050905090810190601f1680156126495780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b15801561266e57600080fd5b505af1158015612682573d6000803e3d6000fd5b50505050600b60009054906101000a90046001600160a01b03166001600160a01b0316836001600160a01b0316857f5572be9c1bc39e4e277a34f64ccd0e84456dac3f33b0b1c458c12c402c6326a98585604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156127175781810151838201526020016126ff565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561275657818101518382015260200161273e565b5050505090500194505050505060405180910390a450505050565b600061277c82611269565b905061278a81600084610d4c565b612795600083612153565b60008281526008602052604090205460026000196101006001841615020190911604156127d35760008281526008602052604081206127d39161377b565b6001600160a01b03811660009081526001602052604090206127f59083612ca3565b50612801600283612e13565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080808061284d8686612e1f565b9097909650945050505050565b6000611261848484612e9a565b6128728484846122cb565b61287e84848484612f64565b61196f5760405162461bcd60e51b81526004018080602001828103825260328152602001806137fa6032913960400191505060405180910390fd5b601f1936013590565b6128cb83612142565b612913576040805162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b604482015290519081900360640190fd5b600b546001600160a01b031661292761214f565b6001600160a01b031614612982576040805162461bcd60e51b815260206004820152601c60248201527f496e76616c6964206368696c6420746f6b656e20636f6e747261637400000000604482015290519081900360640190fd5b6001600160a01b03811615610d4c57806001600160a01b03166129a484611269565b6001600160a01b0316146129e95760405162461bcd60e51b815260040180806020018281038252602a815260200180613c94602a913960400191505060405180910390fd5b806001600160a01b0316826001600160a01b031614610d4c576040805162461bcd60e51b815260206004820152601560248201527427b832b930ba37b91034b9903737ba1037bbb732b960591b604482015290519081900360640190fd5b6000848152600f60209081526040808320858452909152902054612a7f576000848152601160205260409020612a7d9083612caf565b505b6000848152600f60209081526040808320858452909152902054612aa39082612c1f565b6000948552600f6020908152604080872094875293905291909320555050565b606081612ae857506040805180820190915260018152600360fc1b6020820152610b79565b8160005b8115612b0057600101600a82049150612aec565b60608167ffffffffffffffff81118015612b1957600080fd5b506040519080825280601f01601f191660200182016040528015612b44576020820181803683370190505b50859350905060001982015b8315612b9557600a840660300160f81b82828060019003935081518110612b7357fe5b60200101906001600160f81b031916908160001a905350600a84049350612b50565b50949350505050565b81612bda5760405162461bcd60e51b81526004018080602001828103825260418152602001806138f56041913960600191505060405180910390fd5b6001600160a01b038116610d4c5760405162461bcd60e51b8152600401808060200182810382526047815260200180613cbe6047913960600191505060405180910390fd5b6000828201838110156110cb576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b61180e8282604051806020016040528060008152506130cc565b60006110cb838361311e565b5490565b60006110cb8383613136565b60006110cb83836131fc565b600061126184846001600160a01b038516613246565b81546000908210612d135760405162461bcd60e51b81526004018080602001828103825260228152602001806137d86022913960400191505060405180910390fd5b826000018281548110612d2257fe5b9060005260206000200154905092915050565b80151580612d5c57506000848152600f602090815260408083208584529091529020548111155b612d975760405162461bcd60e51b815260040180806020018281038252602f81526020018061382c602f913960400191505060405180910390fd5b6000848152600f60209081526040808320858452909152902054612dbb90826132dd565b6000858152600f60209081526040808320868452909152902081905561196f576000828152601060205260409020612df39085612ca3565b506000848152601160205260409020612e0c9083612ca3565b5050505050565b60006110cb838361331f565b815460009081908310612e635760405162461bcd60e51b8152600401808060200182810382526022815260200180613a646022913960400191505060405180910390fd5b6000846000018481548110612e7457fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281612f355760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612efa578181015183820152602001612ee2565b50505050905090810190601f168015612f275780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110612f4857fe5b9060005260206000209060020201600101549150509392505050565b6000612f78846001600160a01b03166133f3565b612f8457506001611261565b6060613092630a85bd0160e11b612f9961214f565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015613000578181015183820152602001612fe8565b50505050905090810190601f16801561302d5780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016137fa603291396001600160a01b03881691906133f9565b905060008180602001905160208110156130ab57600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b6130d68383613408565b6130e36000848484612f64565b610d4c5760405162461bcd60e51b81526004018080602001828103825260328152602001806137fa6032913960400191505060405180910390fd5b60009081526001919091016020526040902054151590565b600081815260018301602052604081205480156131f2578354600019808301919081019060009087908390811061316957fe5b906000526020600020015490508087600001848154811061318657fe5b6000918252602080832090910192909255828152600189810190925260409020908401905586548790806131b657fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506110a3565b60009150506110a3565b6000613208838361311e565b61323e575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556110a3565b5060006110a3565b6000828152600184016020526040812054806132ab5750506040805180820182528381526020808201848152865460018181018955600089815284812095516002909302909501918255915190820155865486845281880190925292909120556110cb565b828560000160018303815481106132be57fe5b90600052602060002090600202016001018190555060009150506110cb565b60006110cb83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613536565b600081815260018301602052604081205480156131f2578354600019808301919081019060009087908390811061335257fe5b906000526020600020906002020190508087600001848154811061337257fe5b6000918252602080832084546002909302019182556001938401549184019190915583548252898301905260409020908401905586548790806133b157fe5b60008281526020808220600260001990940193840201828155600190810183905592909355888152898201909252604082209190915594506110a39350505050565b3b151590565b60606112618484600085613590565b6001600160a01b038216613463576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61346c81612142565b156134be576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b6134ca60008383610d4c565b6001600160a01b03821660009081526001602052604090206134ec9082612caf565b506134f960028284612cbb565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600081848411156135885760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612efa578181015183820152602001612ee2565b505050900390565b606061359b856133f3565b6135ec576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061362b5780518252601f19909201916020918201910161360c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461368d576040519150601f19603f3d011682016040523d82523d6000602084013e613692565b606091505b509150915081156136a65791506112619050565b8051156136b65780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315612efa578181015183820152602001612ee2565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061373e57805160ff191683800117855561376b565b8280016001018555821561376b579182015b8281111561376b578251825591602001919060010190613750565b506137779291506137c2565b5090565b50805460018160011615610100020316600290046000825580601f106137a157506137bf565b601f0160209004906000526020600020908101906137bf91906137c2565b50565b5b8082111561377757600081556001016137c356fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433939383a20696e73756666696369656e74206368696c642062616c616e636520666f72207472616e736665724469676974616c61784761726d656e744e46542e7365745072696d61727953616c6550726963653a2053656e646572206d75737420626520616e20617574686f726973656420636f6e7472616374206f722061646d696e4469676974616c61784761726d656e744e46542e7570646174654d61784368696c6472656e506572546f6b656e3a2053656e646572206d7573742062652061646d696e4469676974616c61784761726d656e744e46542e5f6173736572744d696e74696e67506172616d7356616c69643a20546f6b656e2055524920697320656d7074794552433939383a2064617461206d75737420636f6e7461696e2074686520756e697175652075696e7432353620746f6b656e496420746f207472616e7366657220746865206368696c6420746f6b656e20746f4552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4469676974616c61784761726d656e744e46542e736574546f6b656e5552493a2053656e646572206d75737420626520616e20617574686f726973656420636f6e7472616374206f722061646d696e4469676974616c61784761726d656e744e46542e7365745072696d61727953616c6550726963653a20546f6b656e20646f6573206e6f742065786973744552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4469676974616c61784761726d656e744e46542e7365745072696d61727953616c6550726963653a20496e76616c69642073616c652070726963654552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4469676974616c61784761726d656e744e46542e6275726e3a204f6e6c79206761726d656e74206f776e6572206f7220617070726f7665644552433732313a20617070726f76616c20746f2063757272656e74206f776e65724469676974616c61784761726d656e744e46542e757064617465416363657373436f6e74726f6c733a2053656e646572206d7573742062652061646d696e43616e6e6f7420616464206368696c6472656e20746f20746f6b656e7320796f7520646f6e74206f776e4469676974616c61784761726d656e744e46542e5f6173736572744d696e74696e67506172616d7356616c69643a2044657369676e6572206973207a65726f20616464726573734552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665644469676974616c61784761726d656e744e46542e6d696e743a2053656e646572206d757374206861766520746865206d696e746572206f7220636f6e747261637420726f6c6543616e6e6f7420657863656564206d6178206368696c6420746f6b656e20616c6c6f636174696f6ea2646970667358221220c9888caa4d8c1b92ec59a3690ee79aeabf27e12d2af9b1bb8767d226bf4f39d264736f6c634300060c0033000000000000000000000000165eec91620b7bb96d02890d8a3f8cb79a29195c000000000000000000000000e6822e8b4d91b85f9ca00cca79bf92bab14bc221

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102275760003560e01c80636c0360eb11610130578063b88d4fde116100b8578063e3845cf41161007c578063e3845cf4146109b8578063e626223a146109d5578063e985e9c5146109dd578063f23a6e6114610a0b578063fa8509c814610ad457610227565b8063b88d4fde146106bf578063bc197c8114610783578063c87b56dd14610961578063c9f2e86a1461097e578063cd0269451461099b57610227565b806389e7e2f2116100ff57806389e7e2f21461062c57806391c978d61461064957806395d89b41146106665780639920fae31461066e578063a22cb4651461069157610227565b80636c0360eb146105d05780636ef3da94146105d857806370a08231146105fe578063748365ef1461062457610227565b80632f745c59116101b35780634f558e79116101825780634f558e791461051b5780634f6ccce71461053857806356c316371461055557806360d4d23a146105815780636352211e146105b357610227565b80632f745c59146104945780633b3a1a7a146104c057806342842e0e146104c857806342966c68146104fe57610227565b8063162094c4116101fa578063162094c41461034b57806318160ddd146103c057806320adfad1146103da57806323b872dd146103e25780632676608c1461041857610227565b806301ffc9a71461022c57806306fdde0314610267578063081812fc146102e4578063095ea7b31461031d575b600080fd5b6102536004803603602081101561024257600080fd5b50356001600160e01b031916610b5b565b604080519115158252519081900360200190f35b61026f610b7e565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102a9578181015183820152602001610291565b50505050905090810190601f1680156102d65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610301600480360360208110156102fa57600080fd5b5035610c14565b604080516001600160a01b039092168252519081900360200190f35b6103496004803603604081101561033357600080fd5b506001600160a01b038135169060200135610c76565b005b6103496004803603604081101561036157600080fd5b81359190810190604081016020820135600160201b81111561038257600080fd5b82018360208201111561039457600080fd5b803590602001918460018302840111600160201b831117156103b557600080fd5b509092509050610d51565b6103c8610f3d565b60408051918252519081900360200190f35b6103c8610f4e565b610349600480360360608110156103f857600080fd5b506001600160a01b03813581169160208101359091169060400135610f54565b6104446004803603604081101561042e57600080fd5b50803590602001356001600160a01b0316610fab565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610480578181015183820152602001610468565b505050509050019250505060405180910390f35b6103c8600480360360408110156104aa57600080fd5b506001600160a01b0381351690602001356110a9565b6103c86110d2565b610349600480360360608110156104de57600080fd5b506001600160a01b038135811691602081013590911690604001356110d8565b6103496004803603602081101561051457600080fd5b50356110f3565b6102536004803603602081101561053157600080fd5b50356111c8565b6103c86004803603602081101561054e57600080fd5b50356111d3565b6102536004803603604081101561056b57600080fd5b50803590602001356001600160a01b03166111e9565b6103c86004803603606081101561059757600080fd5b508035906001600160a01b036020820135169060400135611227565b610301600480360360208110156105c957600080fd5b5035611269565b61026f611291565b610349600480360360208110156105ee57600080fd5b50356001600160a01b03166112f2565b6103c86004803603602081101561061457600080fd5b50356001600160a01b03166113d1565b610301611439565b6104446004803603602081101561064257600080fd5b5035611448565b6103496004803603602081101561065f57600080fd5b50356114c7565b61026f611589565b6103496004803603604081101561068457600080fd5b50803590602001356115ea565b610349600480360360408110156106a757600080fd5b506001600160a01b0381351690602001351515611812565b610349600480360360808110156106d557600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561070f57600080fd5b82018360208201111561072157600080fd5b803590602001918460018302840111600160201b8311171561074257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611917945050505050565b610944600480360360a081101561079957600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b8111156107cc57600080fd5b8201836020820111156107de57600080fd5b803590602001918460208302840111600160201b831117156107ff57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561084e57600080fd5b82018360208201111561086057600080fd5b803590602001918460208302840111600160201b8311171561088157600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156108d057600080fd5b8201836020820111156108e257600080fd5b803590602001918460018302840111600160201b8311171561090357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611975945050505050565b604080516001600160e01b03199092168252519081900360200190f35b61026f6004803603602081101561097757600080fd5b5035611b07565b6103c86004803603602081101561099457600080fd5b5035611dae565b6103c8600480360360208110156109b157600080fd5b5035611dc0565b610301600480360360208110156109ce57600080fd5b5035611dd7565b610301611df2565b610253600480360360408110156109f357600080fd5b506001600160a01b0381358116916020013516611e01565b610944600480360360a0811015610a2157600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b811115610a6057600080fd5b820183602082011115610a7257600080fd5b803590602001918460018302840111600160201b83111715610a9357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611e2f945050505050565b6103c860048036036060811015610aea57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b811115610b1457600080fd5b820183602082011115610b2657600080fd5b803590602001918460018302840111600160201b83111715610b4757600080fd5b9193509150356001600160a01b0316611f60565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c0a5780601f10610bdf57610100808354040283529160200191610c0a565b820191906000526020600020905b815481529060010190602001808311610bed57829003601f168201915b5050505050905090565b6000610c1f82612142565b610c5a5760405162461bcd60e51b815260040180806020018281038252602c815260200180613a86602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610c8182611269565b9050806001600160a01b0316836001600160a01b03161415610cd45760405162461bcd60e51b8152600401808060200182810382526021815260200180613c356021913960400191505060405180910390fd5b806001600160a01b0316610ce661214f565b6001600160a01b03161480610d075750610d0781610d0261214f565b611e01565b610d425760405162461bcd60e51b81526004018080602001828103825260388152602001806139d96038913960400191505060405180910390fd5b610d4c8383612153565b505050565b600a546001600160a01b031663113b0ab2610d6a61214f565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610da757600080fd5b505afa158015610dbb573d6000803e3d6000fd5b505050506040513d6020811015610dd157600080fd5b505180610e5c5750600a546001600160a01b031663c395fcb3610df261214f565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610e2f57600080fd5b505afa158015610e43573d6000803e3d6000fd5b505050506040513d6020811015610e5957600080fd5b50515b610e975760405162461bcd60e51b815260040180806020018281038252604f815260200180613ade604f913960600191505060405180910390fd5b610ed78383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506121c192505050565b827fa4df0960b5858898d86c7940315bc2191a4f8b07071854ab761425f2e35d9442838360405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a2505050565b6000610f496002612224565b905090565b60125481565b610f65610f5f61214f565b8261222f565b610fa05760405162461bcd60e51b8152600401808060200182810382526031815260200180613d056031913960400191505060405180910390fd5b610d4c8383836122cb565b6060610fb683612142565b1580610fd05750600b546001600160a01b03838116911614155b15610fea57506040805160008152602081019091526110a3565b600083815260116020526040902060609061100490612224565b67ffffffffffffffff8111801561101a57600080fd5b50604051908082528060200260200182016040528015611044578160200160208202803683370190505b50905060005b600085815260116020526040902061106190612224565b81101561109f5760008581526011602052604090206110809082612417565b82828151811061108c57fe5b602090810291909101015260010161104a565b5090505b92915050565b6001600160a01b03821660009081526001602052604081206110cb9083612417565b9392505050565b600c5481565b610d4c83838360405180602001604052806000815250611917565b60006110fd61214f565b9050806001600160a01b031661111283611269565b6001600160a01b0316148061112c575061112c82826111e9565b6111675760405162461bcd60e51b8152600401808060200182810382526038815260200180613bfd6038913960400191505060405180910390fd5b600082815260116020526040812061117e90612224565b1115611195576111958261119061214f565b612423565b61119e82612771565b506000908152600d6020908152604080832080546001600160a01b0319169055600e909152812055565b60006110a382612142565b6000806111e160028461283e565b509392505050565b60006111fd6111f784611269565b83611e01565b806110cb5750816001600160a01b031661121684610c14565b6001600160a01b0316149392505050565b600b546000906001600160a01b03848116911614611246576000611261565b6000848152600f602090815260408083208584529091529020545b949350505050565b60006110a382604051806060016040528060298152602001613a3b602991396002919061285a565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c0a5780601f10610bdf57610100808354040283529160200191610c0a565b600a546001600160a01b031663c395fcb361130b61214f565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561134857600080fd5b505afa15801561135c573d6000803e3d6000fd5b505050506040513d602081101561137257600080fd5b50516113af5760405162461bcd60e51b815260040180806020018281038252603e815260200180613c56603e913960400191505060405180910390fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b0382166114185760405162461bcd60e51b815260040180806020018281038252602a815260200180613a11602a913960400191505060405180910390fd5b6001600160a01b03821660009081526001602052604090206110a390612224565b600a546001600160a01b031681565b606061145382612142565b61146c5750604080516000815260208101909152610b79565b604080516001808252818301909252606091602080830190803683375050600b5482519293506001600160a01b0316918391506000906114a857fe5b6001600160a01b03909216602092830291909101909101529050919050565b600a546001600160a01b031663c395fcb36114e061214f565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561151d57600080fd5b505afa158015611531573d6000803e3d6000fd5b505050506040513d602081101561154757600080fd5b50516115845760405162461bcd60e51b81526004018080602001828103825260438152602001806138b26043913960600191505060405180910390fd5b601255565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c0a5780601f10610bdf57610100808354040283529160200191610c0a565b600a546001600160a01b031663113b0ab261160361214f565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561164057600080fd5b505afa158015611654573d6000803e3d6000fd5b505050506040513d602081101561166a57600080fd5b5051806116f55750600a546001600160a01b031663c395fcb361168b61214f565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156116c857600080fd5b505afa1580156116dc573d6000803e3d6000fd5b505050506040513d60208110156116f257600080fd5b50515b6117305760405162461bcd60e51b815260040180806020018281038252605781526020018061385b6057913960600191505060405180910390fd5b61173982612142565b6117745760405162461bcd60e51b815260040180806020018281038252603d815260200180613b2d603d913960400191505060405180910390fd5b600081116117b35760405162461bcd60e51b815260040180806020018281038252603b815260200180613b93603b913960400191505060405180910390fd5b6000828152600e602052604090205461180e576000828152600e60209081526040918290208390558151838152915184927f11bca5f024ebf5e6af6f261fba2b68f29967d11017cd0a17767db1e07419692a92908290030190a25b5050565b61181a61214f565b6001600160a01b0316826001600160a01b03161415611880576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b806005600061188d61214f565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556118d161214f565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b61192861192261214f565b8361222f565b6119635760405162461bcd60e51b8152600401808060200182810382526031815260200180613d056031913960400191505060405180910390fd5b61196f84848484612867565b50505050565b600081516020146119b75760405162461bcd60e51b81526004018080602001828103825260538152602001806139366053913960600191505060405180910390fd5b60006119c16128b9565b90506119ce8188886128c2565b60005b8551811015611a9c57611a13826119e661214f565b8884815181106119f257fe5b6020026020010151888581518110611a0657fe5b6020026020010151612a47565b611a1b61214f565b6001600160a01b031682886001600160a01b03167fa18753b0660a8be2cdae03468c860b47c2926433ab16917f323544652803032d898581518110611a5c57fe5b6020026020010151898681518110611a7057fe5b6020026020010151604051808381526020018281526020019250505060405180910390a46001016119d1565b506012546000828152601160205260409020611ab790612224565b1115611af45760405162461bcd60e51b8152600401808060200182810382526028815260200180613d7c6028913960400191505060405180910390fd5b5063bc197c8160e01b9695505050505050565b6060611b1282612142565b611b4d5760405162461bcd60e51b815260040180806020018281038252602f815260200180613bce602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015611be25780601f10611bb757610100808354040283529160200191611be2565b820191906000526020600020905b815481529060010190602001808311611bc557829003601f168201915b505060095493945050505060026000196101006001841615020190911604611c0b579050610b79565b805115611cdc576009816040516020018083805460018160011615610100020316600290048015611c735780601f10611c51576101008083540402835291820191611c73565b820191906000526020600020905b815481529060010190602001808311611c5f575b5050825160208401908083835b60208310611c9f5780518252601f199092019160209182019101611c80565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050610b79565b6009611ce784612ac3565b6040516020018083805460018160011615610100020316600290048015611d455780601f10611d23576101008083540402835291820191611d45565b820191906000526020600020905b815481529060010190602001808311611d31575b5050825160208401908083835b60208310611d715780518252601f199092019160209182019101611d52565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b600e6020526000908152604090205481565b60008181526011602052604081206110a390612224565b600d602052600090815260409020546001600160a01b031681565b600b546001600160a01b031681565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60008151602014611e715760405162461bcd60e51b81526004018080602001828103825260538152602001806139366053913960600191505060405180910390fd5b6000611e7b6128b9565b9050611e888188886128c2565b611e9b81611e9461214f565b8787612a47565b611ea361214f565b6001600160a01b031681876001600160a01b03167fa18753b0660a8be2cdae03468c860b47c2926433ab16917f323544652803032d8888604051808381526020018281526020019250505060405180910390a46012546000828152601160205260409020611f1090612224565b1115611f4d5760405162461bcd60e51b8152600401808060200182810382526028815260200180613d7c6028913960400191505060405180910390fd5b5063f23a6e6160e01b9695505050505050565b600a546000906001600160a01b031663113b0ab2611f7c61214f565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611fb957600080fd5b505afa158015611fcd573d6000803e3d6000fd5b505050506040513d6020811015611fe357600080fd5b50518061206e5750600a546001600160a01b031663099db01761200461214f565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561204157600080fd5b505afa158015612055573d6000803e3d6000fd5b505050506040513d602081101561206b57600080fd5b50515b6120a95760405162461bcd60e51b8152600401808060200182810382526046815260200180613d366046913960600191505060405180910390fd5b6120b4848484612b9e565b600c546120c2906001612c1f565b600c8190556120d18682612c79565b6121118186868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506121c192505050565b6000818152600d6020526040902080546001600160a01b0319166001600160a01b0385161790559050949350505050565b60006110a3600283612c93565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061218882611269565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6121ca82612142565b6122055760405162461bcd60e51b815260040180806020018281038252602c815260200180613ab2602c913960400191505060405180910390fd5b60008281526008602090815260409091208251610d4c928401906136fd565b60006110a382612c9f565b600061223a82612142565b6122755760405162461bcd60e51b815260040180806020018281038252602c8152602001806139ad602c913960400191505060405180910390fd5b600061228083611269565b9050806001600160a01b0316846001600160a01b031614806122bb5750836001600160a01b03166122b084610c14565b6001600160a01b0316145b8061126157506112618185611e01565b826001600160a01b03166122de82611269565b6001600160a01b0316146123235760405162461bcd60e51b8152600401808060200182810382526029815260200180613b6a6029913960400191505060405180910390fd5b6001600160a01b0382166123685760405162461bcd60e51b81526004018080602001828103825260248152602001806139896024913960400191505060405180910390fd5b612373838383610d4c565b61237e600082612153565b6001600160a01b03831660009081526001602052604090206123a09082612ca3565b506001600160a01b03821660009081526001602052604090206123c39082612caf565b506123d060028284612cbb565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006110cb8383612cd1565b600b5460609061243d9084906001600160a01b0316610fab565b90506060815167ffffffffffffffff8111801561245957600080fd5b50604051908082528060200260200182016040528015612483578160200160208202803683370190505b50905060005b82518110156125095760008382815181106124a057fe5b6020026020010151905060006124cc87600b60009054906101000a90046001600160a01b031684611227565b9050808484815181106124db57fe5b6020908102919091010152600b546124ff9088906001600160a01b03168484612d35565b5050600101612489565b50600b54604080516000808252602080830193849052631759616b60e11b90935230602483018181526001600160a01b03898116604486015260a060648601908152895160c487015289519190971696632eb2c2d69693958b958b958b959294929392608486019260a487019260e4880192818b01929102908190849084905b838110156125a1578181015183820152602001612589565b50505050905001848103835286818151815260200191508051906020019060200280838360005b838110156125e05781810151838201526020016125c8565b50505050905001848103825285818151815260200191508051906020019080838360005b8381101561261c578181015183820152602001612604565b50505050905090810190601f1680156126495780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b15801561266e57600080fd5b505af1158015612682573d6000803e3d6000fd5b50505050600b60009054906101000a90046001600160a01b03166001600160a01b0316836001600160a01b0316857f5572be9c1bc39e4e277a34f64ccd0e84456dac3f33b0b1c458c12c402c6326a98585604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156127175781810151838201526020016126ff565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561275657818101518382015260200161273e565b5050505090500194505050505060405180910390a450505050565b600061277c82611269565b905061278a81600084610d4c565b612795600083612153565b60008281526008602052604090205460026000196101006001841615020190911604156127d35760008281526008602052604081206127d39161377b565b6001600160a01b03811660009081526001602052604090206127f59083612ca3565b50612801600283612e13565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080808061284d8686612e1f565b9097909650945050505050565b6000611261848484612e9a565b6128728484846122cb565b61287e84848484612f64565b61196f5760405162461bcd60e51b81526004018080602001828103825260328152602001806137fa6032913960400191505060405180910390fd5b601f1936013590565b6128cb83612142565b612913576040805162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b604482015290519081900360640190fd5b600b546001600160a01b031661292761214f565b6001600160a01b031614612982576040805162461bcd60e51b815260206004820152601c60248201527f496e76616c6964206368696c6420746f6b656e20636f6e747261637400000000604482015290519081900360640190fd5b6001600160a01b03811615610d4c57806001600160a01b03166129a484611269565b6001600160a01b0316146129e95760405162461bcd60e51b815260040180806020018281038252602a815260200180613c94602a913960400191505060405180910390fd5b806001600160a01b0316826001600160a01b031614610d4c576040805162461bcd60e51b815260206004820152601560248201527427b832b930ba37b91034b9903737ba1037bbb732b960591b604482015290519081900360640190fd5b6000848152600f60209081526040808320858452909152902054612a7f576000848152601160205260409020612a7d9083612caf565b505b6000848152600f60209081526040808320858452909152902054612aa39082612c1f565b6000948552600f6020908152604080872094875293905291909320555050565b606081612ae857506040805180820190915260018152600360fc1b6020820152610b79565b8160005b8115612b0057600101600a82049150612aec565b60608167ffffffffffffffff81118015612b1957600080fd5b506040519080825280601f01601f191660200182016040528015612b44576020820181803683370190505b50859350905060001982015b8315612b9557600a840660300160f81b82828060019003935081518110612b7357fe5b60200101906001600160f81b031916908160001a905350600a84049350612b50565b50949350505050565b81612bda5760405162461bcd60e51b81526004018080602001828103825260418152602001806138f56041913960600191505060405180910390fd5b6001600160a01b038116610d4c5760405162461bcd60e51b8152600401808060200182810382526047815260200180613cbe6047913960600191505060405180910390fd5b6000828201838110156110cb576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b61180e8282604051806020016040528060008152506130cc565b60006110cb838361311e565b5490565b60006110cb8383613136565b60006110cb83836131fc565b600061126184846001600160a01b038516613246565b81546000908210612d135760405162461bcd60e51b81526004018080602001828103825260228152602001806137d86022913960400191505060405180910390fd5b826000018281548110612d2257fe5b9060005260206000200154905092915050565b80151580612d5c57506000848152600f602090815260408083208584529091529020548111155b612d975760405162461bcd60e51b815260040180806020018281038252602f81526020018061382c602f913960400191505060405180910390fd5b6000848152600f60209081526040808320858452909152902054612dbb90826132dd565b6000858152600f60209081526040808320868452909152902081905561196f576000828152601060205260409020612df39085612ca3565b506000848152601160205260409020612e0c9083612ca3565b5050505050565b60006110cb838361331f565b815460009081908310612e635760405162461bcd60e51b8152600401808060200182810382526022815260200180613a646022913960400191505060405180910390fd5b6000846000018481548110612e7457fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281612f355760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612efa578181015183820152602001612ee2565b50505050905090810190601f168015612f275780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110612f4857fe5b9060005260206000209060020201600101549150509392505050565b6000612f78846001600160a01b03166133f3565b612f8457506001611261565b6060613092630a85bd0160e11b612f9961214f565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015613000578181015183820152602001612fe8565b50505050905090810190601f16801561302d5780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016137fa603291396001600160a01b03881691906133f9565b905060008180602001905160208110156130ab57600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b6130d68383613408565b6130e36000848484612f64565b610d4c5760405162461bcd60e51b81526004018080602001828103825260328152602001806137fa6032913960400191505060405180910390fd5b60009081526001919091016020526040902054151590565b600081815260018301602052604081205480156131f2578354600019808301919081019060009087908390811061316957fe5b906000526020600020015490508087600001848154811061318657fe5b6000918252602080832090910192909255828152600189810190925260409020908401905586548790806131b657fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506110a3565b60009150506110a3565b6000613208838361311e565b61323e575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556110a3565b5060006110a3565b6000828152600184016020526040812054806132ab5750506040805180820182528381526020808201848152865460018181018955600089815284812095516002909302909501918255915190820155865486845281880190925292909120556110cb565b828560000160018303815481106132be57fe5b90600052602060002090600202016001018190555060009150506110cb565b60006110cb83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613536565b600081815260018301602052604081205480156131f2578354600019808301919081019060009087908390811061335257fe5b906000526020600020906002020190508087600001848154811061337257fe5b6000918252602080832084546002909302019182556001938401549184019190915583548252898301905260409020908401905586548790806133b157fe5b60008281526020808220600260001990940193840201828155600190810183905592909355888152898201909252604082209190915594506110a39350505050565b3b151590565b60606112618484600085613590565b6001600160a01b038216613463576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61346c81612142565b156134be576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b6134ca60008383610d4c565b6001600160a01b03821660009081526001602052604090206134ec9082612caf565b506134f960028284612cbb565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600081848411156135885760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612efa578181015183820152602001612ee2565b505050900390565b606061359b856133f3565b6135ec576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061362b5780518252601f19909201916020918201910161360c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461368d576040519150601f19603f3d011682016040523d82523d6000602084013e613692565b606091505b509150915081156136a65791506112619050565b8051156136b65780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315612efa578181015183820152602001612ee2565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061373e57805160ff191683800117855561376b565b8280016001018555821561376b579182015b8281111561376b578251825591602001919060010190613750565b506137779291506137c2565b5090565b50805460018160011615610100020316600290046000825580601f106137a157506137bf565b601f0160209004906000526020600020908101906137bf91906137c2565b50565b5b8082111561377757600081556001016137c356fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433939383a20696e73756666696369656e74206368696c642062616c616e636520666f72207472616e736665724469676974616c61784761726d656e744e46542e7365745072696d61727953616c6550726963653a2053656e646572206d75737420626520616e20617574686f726973656420636f6e7472616374206f722061646d696e4469676974616c61784761726d656e744e46542e7570646174654d61784368696c6472656e506572546f6b656e3a2053656e646572206d7573742062652061646d696e4469676974616c61784761726d656e744e46542e5f6173736572744d696e74696e67506172616d7356616c69643a20546f6b656e2055524920697320656d7074794552433939383a2064617461206d75737420636f6e7461696e2074686520756e697175652075696e7432353620746f6b656e496420746f207472616e7366657220746865206368696c6420746f6b656e20746f4552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4469676974616c61784761726d656e744e46542e736574546f6b656e5552493a2053656e646572206d75737420626520616e20617574686f726973656420636f6e7472616374206f722061646d696e4469676974616c61784761726d656e744e46542e7365745072696d61727953616c6550726963653a20546f6b656e20646f6573206e6f742065786973744552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4469676974616c61784761726d656e744e46542e7365745072696d61727953616c6550726963653a20496e76616c69642073616c652070726963654552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4469676974616c61784761726d656e744e46542e6275726e3a204f6e6c79206761726d656e74206f776e6572206f7220617070726f7665644552433732313a20617070726f76616c20746f2063757272656e74206f776e65724469676974616c61784761726d656e744e46542e757064617465416363657373436f6e74726f6c733a2053656e646572206d7573742062652061646d696e43616e6e6f7420616464206368696c6472656e20746f20746f6b656e7320796f7520646f6e74206f776e4469676974616c61784761726d656e744e46542e5f6173736572744d696e74696e67506172616d7356616c69643a2044657369676e6572206973207a65726f20616464726573734552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665644469676974616c61784761726d656e744e46542e6d696e743a2053656e646572206d757374206861766520746865206d696e746572206f7220636f6e747261637420726f6c6543616e6e6f7420657863656564206d6178206368696c6420746f6b656e20616c6c6f636174696f6ea2646970667358221220c9888caa4d8c1b92ec59a3690ee79aeabf27e12d2af9b1bb8767d226bf4f39d264736f6c634300060c0033

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

000000000000000000000000165eec91620b7bb96d02890d8a3f8cb79a29195c000000000000000000000000e6822e8b4d91b85f9ca00cca79bf92bab14bc221

-----Decoded View---------------
Arg [0] : _accessControls (address): 0x165Eec91620b7Bb96d02890d8a3F8Cb79a29195c
Arg [1] : _childContract (address): 0xE6822E8b4d91b85F9CA00CCa79bf92Bab14bc221

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000165eec91620b7bb96d02890d8a3f8cb79a29195c
Arg [1] : 000000000000000000000000e6822e8b4d91b85f9ca00cca79bf92bab14bc221


Deployed Bytecode Sourcemap

91402:14928:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10034:142;;;;;;;;;;;;;;;;-1:-1:-1;10034:142:0;-1:-1:-1;;;;;;10034:142:0;;:::i;:::-;;;;;;;;;;;;;;;;;;43991:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46678:213;;;;;;;;;;;;;;;;-1:-1:-1;46678:213:0;;:::i;:::-;;;;-1:-1:-1;;;;;46678:213:0;;;;;;;;;;;;;;46222:390;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;46222:390:0;;;;;;;;:::i;:::-;;99285:428;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;99285:428:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;99285:428:0;;;;;;;;;;-1:-1:-1;99285:428:0;;-1:-1:-1;99285:428:0;-1:-1:-1;99285:428:0;:::i;45716:203::-;;;:::i;:::-;;;;;;;;;;;;;;;;92980:39;;;:::i;47552:305::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;47552:305:0;;;;;;;;;;;;;;;;;:::i;102876:546::-;;;;;;;;;;;;;;;;-1:-1:-1;102876:546:0;;;;;;-1:-1:-1;;;;;102876:546:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45486:154;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;45486:154:0;;;;;;;;:::i;92245:29::-;;;:::i;47928:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;47928:151:0;;;;;;;;;;;;;;;;;:::i;94933:739::-;;;;;;;;;;;;;;;;-1:-1:-1;94933:739:0;;:::i;101865:106::-;;;;;;;;;;;;;;;;-1:-1:-1;101865:106:0;;:::i;45996:164::-;;;;;;;;;;;;;;;;-1:-1:-1;45996:164:0;;:::i;103767:194::-;;;;;;;;;;;;;;;;-1:-1:-1;103767:194:0;;;;;;-1:-1:-1;;;;;103767:194:0;;:::i;102107:252::-;;;;;;;;;;;;;;;;-1:-1:-1;102107:252:0;;;-1:-1:-1;;;;;102107:252:0;;;;;;;;;;:::i;43755:169::-;;;;;;;;;;;;;;;;-1:-1:-1;43755:169:0;;:::i;45313:89::-;;;:::i;100932:258::-;;;;;;;;;;;;;;;;-1:-1:-1;100932:258:0;-1:-1:-1;;;;;100932:258:0;;:::i;43478:215::-;;;;;;;;;;;;;;;;-1:-1:-1;43478:215:0;-1:-1:-1;;;;;43478:215:0;;:::i;92075:45::-;;;:::i;102471:335::-;;;;;;;;;;;;;;;;-1:-1:-1;102471:335:0;;:::i;101378:267::-;;;;;;;;;;;;;;;;-1:-1:-1;101378:267:0;;:::i;44152:96::-;;;:::i;99997:735::-;;;;;;;;;;;;;;;;-1:-1:-1;99997:735:0;;;;;;;:::i;46963:295::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;46963:295:0;;;;;;;;;;:::i;48150:285::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;48150:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;48150:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;48150:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48150:285:0;;-1:-1:-1;48150:285:0;;-1:-1:-1;;;;;48150:285:0:i;96831:1031::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;96831:1031:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;96831:1031:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;96831:1031:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;96831:1031:0;;;;;;;;-1:-1:-1;96831:1031:0;;-1:-1:-1;;;;;96831:1031:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;96831:1031:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;96831:1031:0;;;;;;;;-1:-1:-1;96831:1031:0;;-1:-1:-1;;;;;96831:1031:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;96831:1031:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;96831:1031:0;;-1:-1:-1;96831:1031:0;;-1:-1:-1;;;;;96831:1031:0:i;:::-;;;;-1:-1:-1;;;;;;96831:1031:0;;;;;;;;;;;;;;44319:755;;;;;;;;;;;;;;;;-1:-1:-1;44319:755:0;;:::i;92442:51::-;;;;;;;;;;;;;;;;-1:-1:-1;92442:51:0;;:::i;103508:144::-;;;;;;;;;;;;;;;;-1:-1:-1;103508:144:0;;:::i;92325:51::-;;;;;;;;;;;;;;;;-1:-1:-1;92325:51:0;;:::i;92174:28::-;;;:::i;47329:156::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;47329:156:0;;;;;;;;;;:::i;95814:875::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;95814:875:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;95814:875:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;95814:875:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;95814:875:0;;-1:-1:-1;95814:875:0;;-1:-1:-1;;;;;95814:875:0:i;93927:765::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;93927:765:0;;;;;;;;;;;;;;;-1:-1:-1;;;93927:765:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;93927:765:0;;;;;;;;;;;;-1:-1:-1;93927:765:0;-1:-1:-1;93927:765:0;-1:-1:-1;;;;;93927:765:0;;:::i;10034:142::-;-1:-1:-1;;;;;;10135:33:0;;10111:4;10135:33;;;;;;;;;;;;;10034:142;;;;:::o;43991:92::-;44070:5;44063:12;;;;;;;;-1:-1:-1;;44063:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44037:13;;44063:12;;44070:5;;44063:12;;44070:5;44063:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43991:92;:::o;46678:213::-;46746:7;46774:16;46782:7;46774;:16::i;:::-;46766:73;;;;-1:-1:-1;;;46766:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46859:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;46859:24:0;;46678:213::o;46222:390::-;46303:13;46319:16;46327:7;46319;:16::i;:::-;46303:32;;46360:5;-1:-1:-1;;;;;46354:11:0;:2;-1:-1:-1;;;;;46354:11:0;;;46346:57;;;;-1:-1:-1;;;46346:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46440:5;-1:-1:-1;;;;;46424:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;46424:21:0;;:62;;;;46449:37;46466:5;46473:12;:10;:12::i;:::-;46449:16;:37::i;:::-;46416:154;;;;-1:-1:-1;;;46416:154:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46583:21;46592:2;46596:7;46583:8;:21::i;:::-;46222:390;;;:::o;99285:428::-;99393:14;;-1:-1:-1;;;;;99393:14:0;:35;99429:12;:10;:12::i;:::-;99393:49;;;;;;;;;;;;;-1:-1:-1;;;;;99393:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;99393:49:0;;:94;;-1:-1:-1;99446:14:0;;-1:-1:-1;;;;;99446:14:0;:27;99474:12;:10;:12::i;:::-;99446:41;;;;;;;;;;;;;-1:-1:-1;;;;;99446:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;99446:41:0;99393:94;99371:223;;;;-1:-1:-1;;;99371:223:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;99605:33;99618:8;99628:9;;99605:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;99605:12:0;;-1:-1:-1;;;99605:33:0:i;:::-;99685:8;99654:51;99695:9;;99654:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;99654:51:0;;;;;;;;-1:-1:-1;99654:51:0;;-1:-1:-1;;;;99654:51:0;99285:428;;;:::o;45716:203::-;45769:7;45890:21;:12;:19;:21::i;:::-;45883:28;;45716:203;:::o;92980:39::-;;;;:::o;47552:305::-;47713:41;47732:12;:10;:12::i;:::-;47746:7;47713:18;:41::i;:::-;47705:103;;;;-1:-1:-1;;;47705:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47821:28;47831:4;47837:2;47841:7;47821:9;:28::i;102876:546::-;102971:16;103005:17;103013:8;103005:7;:17::i;:::-;103004:18;:62;;;-1:-1:-1;103052:13:0;;-1:-1:-1;;;;;103026:40:0;;;103052:13;;103026:40;;103004:62;103000:118;;;-1:-1:-1;103090:16:0;;;103104:1;103090:16;;;;;;;;103083:23;;103000:118;103177:30;;;;:20;:30;;;;;103130;;103177:39;;:37;:39::i;:::-;103163:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;103163:54:0;;103130:87;;103235:9;103230:152;103254:30;;;;:20;:30;;;;;:39;;:37;:39::i;:::-;103250:1;:43;103230:152;;;103334:30;;;;:20;:30;;;;;:36;;103368:1;103334:33;:36::i;:::-;103315:13;103329:1;103315:16;;;;;;;;;;;;;;;;;:55;103295:3;;103230:152;;;-1:-1:-1;103401:13:0;-1:-1:-1;102876:546:0;;;;;:::o;45486:154::-;-1:-1:-1;;;;;45602:20:0;;45575:7;45602:20;;;:13;:20;;;;;:30;;45626:5;45602:23;:30::i;:::-;45595:37;45486:154;-1:-1:-1;;;45486:154:0:o;92245:29::-;;;;:::o;47928:151::-;48032:39;48049:4;48055:2;48059:7;48032:39;;;;;;;;;;;;:16;:39::i;94933:739::-;94985:16;95004:12;:10;:12::i;:::-;94985:31;;95070:8;-1:-1:-1;;;;;95049:29:0;:17;95057:8;95049:7;:17::i;:::-;-1:-1:-1;;;;;95049:29:0;;:63;;;;95082:30;95093:8;95103;95082:10;:30::i;:::-;95027:169;;;;-1:-1:-1;;;95027:169:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95335:1;95293:30;;;:20;:30;;;;;:39;;:37;:39::i;:::-;:43;95289:185;;;95401:61;95439:8;95449:12;:10;:12::i;:::-;95401:37;:61::i;:::-;95521:15;95527:8;95521:5;:15::i;:::-;-1:-1:-1;95594:26:0;;;;:16;:26;;;;;;;;95587:33;;-1:-1:-1;;;;;;95587:33:0;;;95638:16;:26;;;;;95631:33;94933:739::o;101865:106::-;101922:4;101946:17;101954:8;101946:7;:17::i;45996:164::-;46063:7;;46105:22;:12;46121:5;46105:15;:22::i;:::-;-1:-1:-1;46083:44:0;45996:164;-1:-1:-1;;;45996:164:0:o;103767:194::-;103845:4;103869:46;103886:17;103894:8;103886:7;:17::i;:::-;103905:9;103869:16;:46::i;:::-;:84;;;;103944:9;-1:-1:-1;;;;;103919:34:0;:21;103931:8;103919:11;:21::i;:::-;-1:-1:-1;;;;;103919:34:0;;;103767:194;-1:-1:-1;;;103767:194:0:o;102107:252::-;102297:13;;102244:7;;-1:-1:-1;;;;;102271:40:0;;;102297:13;;102271:40;:80;;102350:1;102271:80;;;102314:18;;;;:8;:18;;;;;;;;:33;;;;;;;;;102271:80;102264:87;102107:252;-1:-1:-1;;;;102107:252:0:o;43755:169::-;43819:7;43846:70;43863:7;43846:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;45313:89::-;45386:8;45379:15;;;;;;;;-1:-1:-1;;45379:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45353:13;;45379:15;;45386:8;;45379:15;;45386:8;45379:15;;;;;;;;;;;;;;;;;;;;;;;;100932:258;101031:14;;-1:-1:-1;;;;;101031:14:0;:27;101059:12;:10;:12::i;:::-;101031:41;;;;;;;;;;;;;-1:-1:-1;;;;;101031:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;101031:41:0;101023:116;;;;-1:-1:-1;;;101023:116:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;101150:14;:32;;-1:-1:-1;;;;;;101150:32:0;-1:-1:-1;;;;;101150:32:0;;;;;;;;;;100932:258::o;43478:215::-;43542:7;-1:-1:-1;;;;;43570:19:0;;43562:74;;;;-1:-1:-1;;;43562:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43656:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;92075:45::-;;;-1:-1:-1;;;;;92075:45:0;;:::o;102471:335::-;102548:16;102582:17;102590:8;102582:7;:17::i;:::-;102577:74;;-1:-1:-1;102623:16:0;;;102637:1;102623:16;;;;;;;;102616:23;;102577:74;102697:16;;;102711:1;102697:16;;;;;;;;;102663:31;;102697:16;;;;;;;;;-1:-1:-1;;102752:13:0;;102724:17;;;;-1:-1:-1;;;;;;102752:13:0;;102724:17;;-1:-1:-1;102752:13:0;;102724:17;;;;-1:-1:-1;;;;;102724:42:0;;;:17;;;;;;;;;;;:42;102784:14;-1:-1:-1;102471:335:0;;;:::o;101378:267::-;101471:14;;-1:-1:-1;;;;;101471:14:0;:27;101499:12;:10;:12::i;:::-;101471:41;;;;;;;;;;;;;-1:-1:-1;;;;;101471:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;101471:41:0;101463:121;;;;-1:-1:-1;;;101463:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;101595:19;:42;101378:267::o;44152:96::-;44233:7;44226:14;;;;;;;;-1:-1:-1;;44226:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44200:13;;44226:14;;44233:7;;44226:14;;44233:7;44226:14;;;;;;;;;;;;;;;;;;;;;;;;99997:735;100106:14;;-1:-1:-1;;;;;100106:14:0;:35;100142:12;:10;:12::i;:::-;100106:49;;;;;;;;;;;;;-1:-1:-1;;;;;100106:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;100106:49:0;;:94;;-1:-1:-1;100159:14:0;;-1:-1:-1;;;;;100159:14:0;:27;100187:12;:10;:12::i;:::-;100159:41;;;;;;;;;;;;;-1:-1:-1;;;;;100159:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;100159:41:0;100106:94;100084:231;;;;-1:-1:-1;;;100084:231:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100334:17;100342:8;100334:7;:17::i;:::-;100326:91;;;;-1:-1:-1;;;100326:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100449:1;100436:10;:14;100428:86;;;;-1:-1:-1;;;100428:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100560:26;;;;:16;:26;;;;;;100556:169;;100608:26;;;;:16;:26;;;;;;;;;:39;;;100667:46;;;;;;;100625:8;;100667:46;;;;;;;;;100556:169;99997:735;;:::o;46963:295::-;47078:12;:10;:12::i;:::-;-1:-1:-1;;;;;47066:24:0;:8;-1:-1:-1;;;;;47066:24:0;;;47058:62;;;;;-1:-1:-1;;;47058:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;47178:8;47133:18;:32;47152:12;:10;:12::i;:::-;-1:-1:-1;;;;;47133:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;47133:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;47133:53:0;;;;;;;;;;;47217:12;:10;:12::i;:::-;-1:-1:-1;;;;;47202:48:0;;47241:8;47202:48;;;;;;;;;;;;;;;;;;;;46963:295;;:::o;48150:285::-;48282:41;48301:12;:10;:12::i;:::-;48315:7;48282:18;:41::i;:::-;48274:103;;;;-1:-1:-1;;;48274:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48388:39;48402:4;48408:2;48412:7;48421:5;48388:13;:39::i;:::-;48150:285;;;;:::o;96831:1031::-;97021:6;97048:5;:12;97064:2;97048:18;97040:114;;;;-1:-1:-1;;;97040:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97167:24;97194:25;:23;:25::i;:::-;97167:52;;97230:59;97254:16;97272:9;97283:5;97230:23;:59::i;:::-;97350:9;97345:228;97369:4;:11;97365:1;:15;97345:228;;;97402:66;97416:16;97434:12;:10;:12::i;:::-;97448:4;97453:1;97448:7;;;;;;;;;;;;;;97457;97465:1;97457:10;;;;;;;;;;;;;;97402:13;:66::i;:::-;97527:12;:10;:12::i;:::-;-1:-1:-1;;;;;97488:73:0;97509:16;97502:5;-1:-1:-1;;;;;97488:73:0;;97541:4;97546:1;97541:7;;;;;;;;;;;;;;97550;97558:1;97550:10;;;;;;;;;;;;;;97488:73;;;;;;;;;;;;;;;;;;;;;;;;97382:3;;97345:228;;;-1:-1:-1;97711:19:0;;97660:38;;;;:20;:38;;;;;:47;;:45;:47::i;:::-;:70;;97638:160;;;;-1:-1:-1;;;97638:160:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;97818:36:0;96831:1031;-1:-1:-1;;;;;;96831:1031:0:o;44319:755::-;44384:13;44418:16;44426:7;44418;:16::i;:::-;44410:76;;;;-1:-1:-1;;;44410:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44525:19;;;;:10;:19;;;;;;;;;44499:45;;;;;;-1:-1:-1;;44499:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;44525:19;44499:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;44626:8:0;44620:22;44499:45;;-1:-1:-1;;;;44620:22:0;-1:-1:-1;;44620:22:0;;;;;;;;;;;44616:76;;44671:9;-1:-1:-1;44664:16:0;;44616:76;44796:23;;:27;44792:112;;44871:8;44881:9;44854:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;44854:37:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;44854:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44840:52;;;;;44792:112;45036:8;45046:18;:7;:16;:18::i;:::-;45019:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;45019:46:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;45019:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45005:61;;;44319:755;;;:::o;92442:51::-;;;;;;;;;;;;;:::o;103508:144::-;103578:7;103605:30;;;:20;:30;;;;;:39;;:37;:39::i;92325:51::-;;;;;;;;;;;;-1:-1:-1;;;;;92325:51:0;;:::o;92174:28::-;;;-1:-1:-1;;;;;92174:28:0;;:::o;47329:156::-;-1:-1:-1;;;;;47442:25:0;;;47418:4;47442:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;47329:156::o;95814:875::-;95980:6;96007:5;:12;96023:2;96007:18;95999:114;;;;-1:-1:-1;;;95999:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96126:24;96153:25;:23;:25::i;:::-;96126:52;;96189:59;96213:16;96231:9;96242:5;96189:23;:59::i;:::-;96261;96275:16;96293:12;:10;:12::i;:::-;96307:3;96312:7;96261:13;:59::i;:::-;96377:12;:10;:12::i;:::-;-1:-1:-1;;;;;96338:66:0;96359:16;96352:5;-1:-1:-1;;;;;96338:66:0;;96391:3;96396:7;96338:66;;;;;;;;;;;;;;;;;;;;;;;;96543:19;;96492:38;;;;:20;:38;;;;;:47;;:45;:47::i;:::-;:70;;96470:160;;;;-1:-1:-1;;;96470:160:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;96650:31:0;95814:875;-1:-1:-1;;;;;;95814:875:0:o;93927:765::-;94069:14;;94027:7;;-1:-1:-1;;;;;94069:14:0;:35;94105:12;:10;:12::i;:::-;94069:49;;;;;;;;;;;;;-1:-1:-1;;;;;94069:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;94069:49:0;;:95;;-1:-1:-1;94122:14:0;;-1:-1:-1;;;;;94122:14:0;:28;94151:12;:10;:12::i;:::-;94122:42;;;;;;;;;;;;;-1:-1:-1;;;;;94122:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;94122:42:0;94069:95;94047:215;;;;-1:-1:-1;;;94047:215:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94298:47;94324:9;;94335;94298:25;:47::i;:::-;94375:14;;:21;;94394:1;94375:18;:21::i;:::-;94358:14;:38;;;94493:32;94503:12;94358:38;94493:9;:32::i;:::-;94536;94549:7;94558:9;;94536:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;94536:12:0;;-1:-1:-1;;;94536:32:0:i;:::-;94620:25;;;;:16;:25;;;;;:37;;-1:-1:-1;;;;;;94620:37:0;-1:-1:-1;;;;;94620:37:0;;;;;:25;-1:-1:-1;93927:765:0;;;;;;:::o;49902:119::-;49959:4;49983:30;:12;50005:7;49983:21;:30::i;658:106::-;746:10;658:106;:::o;55729:158::-;55795:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;55795:29:0;-1:-1:-1;;;;;55795:29:0;;;;;;;;:24;;55849:16;55795:24;55849:7;:16::i;:::-;-1:-1:-1;;;;;55840:39:0;;;;;;;;;;;55729:158;;:::o;54007:215::-;54107:16;54115:7;54107;:16::i;:::-;54099:73;;;;-1:-1:-1;;;54099:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54183:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;37445:123::-;37514:7;37541:19;37549:3;37541:7;:19::i;50188:333::-;50273:4;50298:16;50306:7;50298;:16::i;:::-;50290:73;;;;-1:-1:-1;;;50290:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50374:13;50390:16;50398:7;50390;:16::i;:::-;50374:32;;50436:5;-1:-1:-1;;;;;50425:16:0;:7;-1:-1:-1;;;;;50425:16:0;;:51;;;;50469:7;-1:-1:-1;;;;;50445:31:0;:20;50457:7;50445:11;:20::i;:::-;-1:-1:-1;;;;;50445:31:0;;50425:51;:87;;;;50480:32;50497:5;50504:7;50480:16;:32::i;53277:574::-;53395:4;-1:-1:-1;;;;;53375:24:0;:16;53383:7;53375;:16::i;:::-;-1:-1:-1;;;;;53375:24:0;;53367:78;;;;-1:-1:-1;;;53367:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53464:16:0;;53456:65;;;;-1:-1:-1;;;53456:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53534:39;53555:4;53561:2;53565:7;53534:20;:39::i;:::-;53638:29;53655:1;53659:7;53638:8;:29::i;:::-;-1:-1:-1;;;;;53680:19:0;;;;;;:13;:19;;;;;:35;;53707:7;53680:26;:35::i;:::-;-1:-1:-1;;;;;;53726:17:0;;;;;;:13;:17;;;;;:30;;53748:7;53726:21;:30::i;:::-;-1:-1:-1;53769:29:0;:12;53786:7;53795:2;53769:16;:29::i;:::-;;53835:7;53831:2;-1:-1:-1;;;;;53816:27:0;53825:4;-1:-1:-1;;;;;53816:27:0;;;;;;;;;;;53277:574;;;:::o;30071:137::-;30142:7;30177:22;30181:3;30193:5;30177:3;:22::i;104064:847::-;104236:13;;104166:31;;104200:51;;104214:12;;-1:-1:-1;;;;;104236:13:0;104200;:51::i;:::-;104166:85;;104262:25;104304:14;:21;104290:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;104290:36:0;;104262:64;;104344:9;104339:344;104363:14;:21;104359:1;:25;104339:344;;;104406:21;104430:14;104445:1;104430:17;;;;;;;;;;;;;;104406:41;;104462:14;104479:65;104492:12;104514:13;;;;;;;;;-1:-1:-1;;;;;104514:13:0;104530;104479:12;:65::i;:::-;104462:82;;104575:6;104561:8;104570:1;104561:11;;;;;;;;;;;;;;;;;:20;104633:13;;104598:73;;104611:12;;-1:-1:-1;;;;;104633:13:0;104649;104664:6;104598:12;:73::i;:::-;-1:-1:-1;;104386:3:0;;104339:344;;;-1:-1:-1;104695:13:0;;104777:20;;;104695:13;104777:20;;;;;;;;;;;-1:-1:-1;;;104695:103:0;;;104739:4;104695:103;;;;;;-1:-1:-1;;;;;104695:103:0;;;;;;;;;;;;;;;;;;;;;;:13;;;;;:35;;104739:4;;104746:3;;104751:14;;104767:8;;104777:20;;104695:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104862:13;;;;;;;;;-1:-1:-1;;;;;104862:13:0;-1:-1:-1;;;;;104816:87:0;104849:3;-1:-1:-1;;;;;104816:87:0;104835:12;104816:87;104878:14;104894:8;104816:87;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104064:847;;;;:::o;52420:520::-;52480:13;52496:16;52504:7;52496;:16::i;:::-;52480:32;;52525:48;52546:5;52561:1;52565:7;52525:20;:48::i;:::-;52614:29;52631:1;52635:7;52614:8;:29::i;:::-;52702:19;;;;:10;:19;;;;;52696:33;;-1:-1:-1;;52696:33:0;;;;;;;;;;;:38;52692:97;;52758:19;;;;:10;:19;;;;;52751:26;;;:::i;:::-;-1:-1:-1;;;;;52801:20:0;;;;;;:13;:20;;;;;:36;;52829:7;52801:27;:36::i;:::-;-1:-1:-1;52850:28:0;:12;52870:7;52850:19;:28::i;:::-;-1:-1:-1;52896:36:0;;52924:7;;52920:1;;-1:-1:-1;;;;;52896:36:0;;;;;52920:1;;52896:36;52420:520;;:::o;37907:227::-;37987:7;;;;38047:22;38051:3;38063:5;38047:3;:22::i;:::-;38016:53;;;;-1:-1:-1;37907:227:0;-1:-1:-1;;;;;37907:227:0:o;38569:204::-;38676:7;38719:44;38724:3;38744;38750:12;38719:4;:44::i;49317:272::-;49431:28;49441:4;49447:2;49451:7;49431:9;:28::i;:::-;49478:48;49501:4;49507:2;49511:7;49520:5;49478:22;:48::i;:::-;49470:111;;;;-1:-1:-1;;;49470:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97870:315;-1:-1:-1;;98062:8:0;:20;98123;97870:315;:::o;98193:832::-;98319:25;98327:16;98319:7;:25::i;:::-;98311:58;;;;;-1:-1:-1;;;98311:58:0;;;;;;;;;;;;-1:-1:-1;;;98311:58:0;;;;;;;;;;;;;;;98484:13;;-1:-1:-1;;;;;98484:13:0;98460:12;:10;:12::i;:::-;-1:-1:-1;;;;;98460:38:0;;98452:79;;;;;-1:-1:-1;;;98452:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;98642:19:0;;;98638:380;;98733:5;-1:-1:-1;;;;;98704:34:0;:25;98712:16;98704:7;:25::i;:::-;-1:-1:-1;;;;;98704:34:0;;98678:138;;;;-1:-1:-1;;;98678:138:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98975:5;-1:-1:-1;;;;;98962:18:0;:9;-1:-1:-1;;;;;98962:18:0;;98954:52;;;;;-1:-1:-1;;;98954:52:0;;;;;;;;;;;;-1:-1:-1;;;98954:52:0;;;;;;;;;;;;;;104919:328;105032:18;;;;:8;:18;;;;;;;;:33;;;;;;;;;105028:119;;105086:30;;;;:20;:30;;;;;:49;;105121:13;105086:34;:49::i;:::-;;105028:119;105193:18;;;;:8;:18;;;;;;;;:33;;;;;;;;;:46;;105231:7;105193:37;:46::i;:::-;105157:18;;;;:8;:18;;;;;;;;:33;;;;;;;;;;:82;-1:-1:-1;;104919:328:0:o;38993:744::-;39049:13;39270:10;39266:53;;-1:-1:-1;39297:10:0;;;;;;;;;;;;-1:-1:-1;;;39297:10:0;;;;;;39266:53;39344:5;39329:12;39385:78;39392:9;;39385:78;;39418:8;;39449:2;39441:10;;;;39385:78;;;39473:19;39505:6;39495:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39495:17:0;-1:-1:-1;39567:5:0;;-1:-1:-1;39473:39:0;-1:-1:-1;;;39539:10:0;;39583:115;39590:9;;39583:115;;39657:2;39650:4;:9;39645:2;:14;39634:27;;39616:6;39623:7;;;;;;;39616:15;;;;;;;;;;;:45;-1:-1:-1;;;;;39616:45:0;;;;;;;;-1:-1:-1;39684:2:0;39676:10;;;;39583:115;;;-1:-1:-1;39722:6:0;38993:744;-1:-1:-1;;;;38993:744:0:o;105990:337::-;106104:27;106096:105;;;;-1:-1:-1;;;106096:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;106220:23:0;;106212:107;;;;-1:-1:-1;;;106212:107:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11693:181;11751:7;11783:5;;;11807:6;;;;11799:46;;;;;-1:-1:-1;;;11799:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;50864:110;50940:26;50950:2;50954:7;50940:26;;;;;;;;;;;;:9;:26::i;37206:151::-;37290:4;37314:35;37324:3;37344;37314:9;:35::i;34828:110::-;34911:19;;34828:110::o;29158:137::-;29228:4;29252:35;29260:3;29280:5;29252:7;:35::i;28851:131::-;28918:4;28942:32;28947:3;28967:5;28942:4;:32::i;36638:176::-;36727:4;36751:55;36756:3;36776;-1:-1:-1;;;;;36790:14:0;;36751:4;:55::i;26735:204::-;26830:18;;26802:7;;26830:26;-1:-1:-1;26822:73:0;;;;-1:-1:-1;;;26822:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26913:3;:11;;26925:5;26913:18;;;;;;;;;;;;;;;;26906:25;;26735:204;;;;:::o;105255:529::-;105371:12;;;;:60;;-1:-1:-1;105387:18:0;;;;:8;:18;;;;;;;;:33;;;;;;;;;:44;-1:-1:-1;105387:44:0;105371:60;105363:120;;;;-1:-1:-1;;;105363:120:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105530:18;;;;:8;:18;;;;;;;;:33;;;;;;;;;:46;;105568:7;105530:37;:46::i;:::-;105494:18;;;;:8;:18;;;;;;;;:33;;;;;;;;:82;;;105587:190;;105646:35;;;;:20;:35;;;;;:52;;105689:8;105646:42;:52::i;:::-;-1:-1:-1;105713:30:0;;;;:20;:30;;;;;:52;;105751:13;105713:37;:52::i;:::-;;105255:529;;;;:::o;36980:142::-;37057:4;37081:33;37089:3;37109;37081:7;:33::i;35293:279::-;35397:19;;35360:7;;;;35397:27;-1:-1:-1;35389:74:0;;;;-1:-1:-1;;;35389:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35476:22;35501:3;:12;;35514:5;35501:19;;;;;;;;;;;;;;;;;;35476:44;;35539:5;:10;;;35551:5;:12;;;35531:33;;;;;35293:279;;;;;:::o;35995:319::-;36089:7;36128:17;;;:12;;;:17;;;;;;36179:12;36164:13;36156:36;;;;-1:-1:-1;;;36156:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36246:3;:12;;36270:1;36259:8;:12;36246:26;;;;;;;;;;;;;;;;;;:33;;;36239:40;;;35995:319;;;;;:::o;55117:604::-;55238:4;55265:15;:2;-1:-1:-1;;;;;55265:13:0;;:15::i;:::-;55260:60;;-1:-1:-1;55304:4:0;55297:11;;55260:60;55330:23;55356:252;-1:-1:-1;;;55469:12:0;:10;:12::i;:::-;55496:4;55515:7;55537:5;55372:181;;;;;;-1:-1:-1;;;;;55372:181:0;;;;;;-1:-1:-1;;;;;55372:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;55372:181:0;;;;;;;-1:-1:-1;;;;;55372:181:0;;;;;;;;;;;55356:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;55356:15:0;;;:252;:15;:252::i;:::-;55330:278;;55619:13;55646:10;55635:32;;;;;;;;;;;;;;;-1:-1:-1;55635:32:0;-1:-1:-1;;;;;;55686:26:0;-1:-1:-1;;;55686:26:0;;-1:-1:-1;;;55117:604:0;;;;;;:::o;51201:250::-;51297:18;51303:2;51307:7;51297:5;:18::i;:::-;51334:54;51365:1;51369:2;51373:7;51382:5;51334:22;:54::i;:::-;51326:117;;;;-1:-1:-1;;;51326:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34608:125;34679:4;34703:17;;;:12;;;;;:17;;;;;;:22;;;34608:125::o;24437:1544::-;24503:4;24642:19;;;:12;;;:19;;;;;;24678:15;;24674:1300;;25113:18;;-1:-1:-1;;25064:14:0;;;;25113:22;;;;25040:21;;25113:3;;:22;;25400;;;;;;;;;;;;;;25380:42;;25546:9;25517:3;:11;;25529:13;25517:26;;;;;;;;;;;;;;;;;;;:38;;;;25623:23;;;25665:1;25623:12;;;:23;;;;;;25649:17;;;25623:43;;25775:17;;25623:3;;25775:17;;;;;;;;;;;;;;;;;;;;;;25870:3;:12;;:19;25883:5;25870:19;;;;;;;;;;;25863:26;;;25913:4;25906:11;;;;;;;;24674:1300;25957:5;25950:12;;;;;23847:414;23910:4;23932:21;23942:3;23947:5;23932:9;:21::i;:::-;23927:327;;-1:-1:-1;23970:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;24153:18;;24131:19;;;:12;;;:19;;;;;;:40;;;;24186:11;;23927:327;-1:-1:-1;24237:5:0;24230:12;;32108:692;32184:4;32319:17;;;:12;;;:17;;;;;;32353:13;32349:444;;-1:-1:-1;;32438:38:0;;;;;;;;;;;;;;;;;;32420:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;32635:19;;32615:17;;;:12;;;:17;;;;;;;:39;32669:11;;32349:444;32749:5;32713:3;:12;;32737:1;32726:8;:12;32713:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;32776:5;32769:12;;;;;12157:136;12215:7;12242:43;12246:1;12249;12242:43;;;;;;;;;;;;;;;;;:3;:43::i;32975:1549::-;33039:4;33174:17;;;:12;;;:17;;;;;;33208:13;;33204:1313;;33640:19;;-1:-1:-1;;33593:12:0;;;;33640:23;;;;33569:21;;33640:3;;:23;;33937;;;;;;;;;;;;;;;;33908:52;;34085:9;34055:3;:12;;34068:13;34055:27;;;;;;;;;;;;;;;;:39;;:27;;;;;:39;;;;;;;;;;;;;;;34175:14;;34162:28;;:12;;;:28;;;;;34193:17;;;34162:48;;34319:18;;34162:3;;34319:18;;;;;;;;;;;;;;-1:-1:-1;;34319:18:0;;;;;;;;;;;;;;;;;;;;;34415:17;;;:12;;;:17;;;;;;34408:24;;;;34319:18;-1:-1:-1;34449:11:0;;-1:-1:-1;;;;34449:11:0;16896:422;17263:20;17302:8;;;16896:422::o;19814:196::-;19917:12;19949:53;19972:6;19980:4;19986:1;19989:12;19949:22;:53::i;51787:404::-;-1:-1:-1;;;;;51867:16:0;;51859:61;;;;;-1:-1:-1;;;51859:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51940:16;51948:7;51940;:16::i;:::-;51939:17;51931:58;;;;;-1:-1:-1;;;51931:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;52002:45;52031:1;52035:2;52039:7;52002:20;:45::i;:::-;-1:-1:-1;;;;;52060:17:0;;;;;;:13;:17;;;;;:30;;52082:7;52060:21;:30::i;:::-;-1:-1:-1;52103:29:0;:12;52120:7;52129:2;52103:16;:29::i;:::-;-1:-1:-1;52150:33:0;;52175:7;;-1:-1:-1;;;;;52150:33:0;;;52167:1;;52150:33;;52167:1;;52150:33;51787:404;;:::o;12596:192::-;12682:7;12718:12;12710:6;;;;12702:29;;;;-1:-1:-1;;;12702:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;12754:5:0;;;12596:192::o;21191:979::-;21321:12;21354:18;21365:6;21354:10;:18::i;:::-;21346:60;;;;;-1:-1:-1;;;21346:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21480:12;21494:23;21521:6;-1:-1:-1;;;;;21521:11:0;21541:8;21552:4;21521:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;21521:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21479:78;;;;21572:7;21568:595;;;21603:10;-1:-1:-1;21596:17:0;;-1:-1:-1;21596:17:0;21568:595;21717:17;;:21;21713:439;;21980:10;21974:17;22041:15;22028:10;22024:2;22020:19;22013:44;21928:148;22116:20;;-1:-1:-1;;;22116:20:0;;;;;;;;;;;;;;;;;22123:12;;22116:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;

Swarm Source

ipfs://c9888caa4d8c1b92ec59a3690ee79aeabf27e12d2af9b1bb8767d226bf4f39d2
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.