ETH Price: $3,613.73 (-2.95%)

Token

ERC-20: ()
 

Overview

Max Total Supply

1,816

Holders

445

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0xD492aFF2A83d9B73EFBcC29C707a6756F6905e87
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
BrainNFT

Compiler Version
v0.6.2+commit.bacdbe57

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-10-09
*/

// File: contracts/IERC165.sol

// SPDX-License-Identifier: MIT

pragma solidity 0.6.2;

/**
 * @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.
     */
     /*
     It is possible to cause an arithmetic underflow. 
     Prevent the underflow by constraining inputs using the require() statement or use the OpenZeppelin SafeMath library for integer arithmetic operations. 
     Refer to the transaction trace generated for this issue to reproduce the underflow.
     https://swcregistry.io/docs/SWC-101
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: contracts/IERC1155.sol

// SPDX-License-Identifier: MIT

pragma solidity 0.6.2;


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

// SPDX-License-Identifier: MIT

pragma solidity 0.6.2;


/**
 * @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/IERC1155Receiver.sol

// SPDX-License-Identifier: MIT

pragma solidity 0.6.2;


/**
 * _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: contracts/Context.sol

// SPDX-License-Identifier: MIT

pragma solidity 0.6.2;

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

// SPDX-License-Identifier: MIT

pragma solidity 0.6.2;


/**
 * @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.
     */
     /*
     It is possible to cause an arithmetic underflow. 
     Prevent the underflow by constraining inputs using the require() statement or use the OpenZeppelin SafeMath library for integer arithmetic operations. 
     Refer to the transaction trace generated for this issue to reproduce the underflow.
     https://swcregistry.io/docs/SWC-101
     */
    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: contracts/SafeMath.sol

// SPDX-License-Identifier: MIT

pragma solidity 0.6.2;

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

// SPDX-License-Identifier: MIT

pragma solidity 0.6.2;

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

pragma solidity 0.6.2;

library Strings {
  // via https://github.com/oraclize/ethereum-api/blob/master/oraclizeAPI_0.5.sol
  function strConcat(string memory _a, string memory _b, string memory _c, string memory _d, string memory _e) internal pure returns (string memory) {
      bytes memory _ba = bytes(_a);
      bytes memory _bb = bytes(_b);
      bytes memory _bc = bytes(_c);
      bytes memory _bd = bytes(_d);
      bytes memory _be = bytes(_e);
      string memory abcde = new string(_ba.length + _bb.length + _bc.length + _bd.length + _be.length);
      bytes memory babcde = bytes(abcde);
      uint k = 0;
      for (uint i = 0; i < _ba.length; i++) babcde[k++] = _ba[i];
      for (uint i = 0; i < _bb.length; i++) babcde[k++] = _bb[i];
      for (uint i = 0; i < _bc.length; i++) babcde[k++] = _bc[i];
      for (uint i = 0; i < _bd.length; i++) babcde[k++] = _bd[i];
      for (uint i = 0; i < _be.length; i++) babcde[k++] = _be[i];
      return string(babcde);
    }

    function strConcat(string memory _a, string memory _b, string memory _c, string memory _d) internal pure returns (string memory) {
        return strConcat(_a, _b, _c, _d, "");
    }

    function strConcat(string memory _a, string memory _b, string memory _c) internal pure returns (string memory) {
        return strConcat(_a, _b, _c, "", "");
    }

    function strConcat(string memory _a, string memory _b) internal pure returns (string memory) {
        return strConcat(_a, _b, "", "", "");
    }

    function uint2str(uint _i) internal pure returns (string memory _uintAsString) {
        if (_i == 0) {
            return "0";
        }
        uint j = _i;
        uint len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint k = len - 1;
        while (_i != 0) {
            bstr[k--] = byte(uint8(48 + _i % 10));
            _i /= 10;
        }
        return string(bstr);
    }
}

// File: contracts/ERC1155.sol

// SPDX-License-Identifier: MIT

pragma solidity 0.6.2;









/**
 *
 * @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._
 */
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;

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

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

    /**
     * @dev See {_setURI}.
     */
    constructor (string memory uri) public {
        _setURI(uri);

        // 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}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     * --- MODIFIED TO CONCAT THE _ID TO THE END OF THE URL
     */
    function uri(uint256 _id) external view override returns (string memory) {
        return Strings.strConcat(_uri, Strings.uint2str(_id));
    }
    function tokenURI(uint256 _tokenId) public view returns (string memory) {
        return Strings.strConcat(_uri, Strings.uint2str(_tokenId));
    }
    string private constant _contractURI = "https://www.nobrainer.finance/api/nft.json";
    function contractURI() public pure returns (string memory) {
        return _contractURI;
    }


    /**
     * @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) public 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) {
        address _account = account;
        return _operatorApprovals[_account][operator];
    }

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    )
        public
        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
    )
        public
        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 all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @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);
        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++) {
            _balances[ids[i]][to] = amounts[i].add(_balances[ids[i]][to]);
        }

        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"
        );

        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++) {
            _balances[ids[i]][account] = _balances[ids[i]][account].sub(
                amounts[i],
                "ERC1155: burn amount exceeds balance"
            );
        }

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

// SPDX-License-Identifier: MIT

pragma solidity 0.6.2;

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

// SPDX-License-Identifier: MIT

pragma solidity 0.6.2;




/**
 * @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/BrainNFT.sol

// Brain ERC1155 NFT
// https://nobrainer.finance/
// SPDX-License-Identifier: MIT
pragma solidity 0.6.2;



contract BrainNFT is ERC1155, AccessControl {
  bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");


  constructor() public ERC1155("https://www.nobrainer.finance/api/NFT/") {
    _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
  }

  uint256 public cards;
  mapping(uint256 => uint256) public totalSupply;
  mapping(uint256 => uint256) public circulatingSupply;

  event CardAdded(uint256 id, uint256 maxSupply);

  function addCard(uint256 maxSupply) public returns (uint256) {
    require(hasRole(MINTER_ROLE, _msgSender()), "Caller is not a minter");
    require(maxSupply > 0, "Maximum supply can not be 0");
    cards = cards.add(1);
    totalSupply[cards] = maxSupply;
    emit CardAdded(cards, maxSupply);
    return cards;
  }

  function mint(address to, uint256 id, uint256 amount) public {
    require(hasRole(MINTER_ROLE, _msgSender()), "Caller is not a minter");
    require(circulatingSupply[id].add(amount) <= totalSupply[id], "Total supply reached.");
    circulatingSupply[id] = circulatingSupply[id].add(amount);
    _mint(to, id, amount, "");
  }
    
  function burn(uint256 id, uint256 amount) public {
    _burn(_msgSender(), id, amount);
  }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"CardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"addCard","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"circulatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50604051806060016040528060268152602001620040e560269139620000446301ffc9a760e01b620000b060201b60201c565b6200005581620001b960201b60201c565b6200006d63d9b67a2660e01b620000b060201b60201c565b62000085630e89341c60e01b620000b060201b60201c565b50620000aa6000801b6200009e620001d560201b60201c565b620001dd60201b60201c565b6200041b565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156200014d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433136353a20696e76616c696420696e746572666163652069640000000081525060200191505060405180910390fd5b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b8060039080519060200190620001d19291906200036c565b5050565b600033905090565b620001ef8282620001f360201b60201c565b5050565b6200022281600460008581526020019081526020016000206000016200029760201b620036f71790919060201c565b15620002935762000238620001d560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000620002c7836000018373ffffffffffffffffffffffffffffffffffffffff1660001b620002cf60201b60201c565b905092915050565b6000620002e383836200034960201b60201c565b6200033e57826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905062000343565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620003af57805160ff1916838001178555620003e0565b82800160010185558215620003e0579182015b82811115620003df578251825591602001919060010190620003c2565b5b509050620003ef9190620003f3565b5090565b6200041891905b8082111562000414576000816000905550600101620003fa565b5090565b90565b613cba806200042b6000396000f3fe608060405234801561001057600080fd5b50600436106101725760003560e01c806392ff6aea116100de578063ca15c87311610097578063e8a3d48511610071578063e8a3d48514610b5a578063e985e9c514610bdd578063f242432a14610c59578063f9e5375514610d6857610172565b8063ca15c87314610aac578063d539139314610aee578063d547741f14610b0c57610172565b806392ff6aea146108db578063a217fddf1461091d578063a22cb4651461093b578063b390c0ab1461098b578063bd85b039146109c3578063c87b56dd14610a0557610172565b80632f2ff15d116101305780632f2ff15d146105a257806336568abe146105f05780634e1273f41461063e57806358a4903f146107df5780639010d07c146107fd57806391d148541461087557610172565b8062fdd58e1461017757806301ffc9a7146101d95780630e89341c1461023e578063156e29f6146102e5578063248a9ca31461033d5780632eb2c2d61461037f575b600080fd5b6101c36004803603604081101561018d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610daa565b6040518082815260200191505060405180910390f35b610224600480360360208110156101ef57600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610e8a565b604051808215151515815260200191505060405180910390f35b61026a6004803603602081101561025457600080fd5b8101908080359060200190929190505050610ef1565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156102aa57808201518184015260208101905061028f565b50505050905090810190601f1680156102d75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61033b600480360360608110156102fb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190505050610fa6565b005b6103696004803603602081101561035357600080fd5b8101908080359060200190929190505050611169565b6040518082815260200191505060405180910390f35b6105a0600480360360a081101561039557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001906401000000008111156103f257600080fd5b82018360208201111561040457600080fd5b8035906020019184602083028401116401000000008311171561042657600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561048657600080fd5b82018360208201111561049857600080fd5b803590602001918460208302840111640100000000831117156104ba57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561051a57600080fd5b82018360208201111561052c57600080fd5b8035906020019184600183028401116401000000008311171561054e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611189565b005b6105ee600480360360408110156105b857600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611617565b005b61063c6004803603604081101561060657600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116a1565b005b6107886004803603604081101561065457600080fd5b810190808035906020019064010000000081111561067157600080fd5b82018360208201111561068357600080fd5b803590602001918460208302840111640100000000831117156106a557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561070557600080fd5b82018360208201111561071757600080fd5b8035906020019184602083028401116401000000008311171561073957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050919291929050505061173a565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156107cb5780820151818401526020810190506107b0565b505050509050019250505060405180910390f35b6107e7611918565b6040518082815260200191505060405180910390f35b6108336004803603604081101561081357600080fd5b81019080803590602001909291908035906020019092919050505061191e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108c16004803603604081101561088b57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611950565b604051808215151515815260200191505060405180910390f35b610907600480360360208110156108f157600080fd5b8101908080359060200190929190505050611982565b6040518082815260200191505060405180910390f35b61092561199a565b6040518082815260200191505060405180910390f35b6109896004803603604081101561095157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035151590602001909291905050506119a1565b005b6109c1600480360360408110156109a157600080fd5b810190808035906020019092919080359060200190929190505050611b3c565b005b6109ef600480360360208110156109d957600080fd5b8101908080359060200190929190505050611b52565b6040518082815260200191505060405180910390f35b610a3160048036036020811015610a1b57600080fd5b8101908080359060200190929190505050611b6a565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610a71578082015181840152602081019050610a56565b50505050905090810190601f168015610a9e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610ad860048036036020811015610ac257600080fd5b8101908080359060200190929190505050611c1f565b6040518082815260200191505060405180910390f35b610af6611c46565b6040518082815260200191505060405180910390f35b610b5860048036036040811015610b2257600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611c7f565b005b610b62611d09565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610ba2578082015181840152602081019050610b87565b50505050905090810190601f168015610bcf5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610c3f60048036036040811015610bf357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d29565b604051808215151515815260200191505060405180910390f35b610d66600480360360a0811015610c6f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190640100000000811115610ce057600080fd5b820183602082011115610cf257600080fd5b80359060200191846001830284011164010000000083111715610d1457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611dc2565b005b610d9460048036036020811015610d7e57600080fd5b8101908080359060200190929190505050612137565b6040518082815260200191505060405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e31576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180613a3e602b913960400191505060405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6060610f9f60038054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610f8c5780601f10610f6157610100808354040283529160200191610f8c565b820191906000526020600020905b815481529060010190602001808311610f6f57829003601f168201915b5050505050610f9a846122e8565b612415565b9050919050565b610fec60405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b0190506040518091039020610fe7612459565b611950565b61105e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f43616c6c6572206973206e6f742061206d696e7465720000000000000000000081525060200191505060405180910390fd5b600660008381526020019081526020016000205461109882600760008681526020019081526020016000205461246190919063ffffffff16565b111561110c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f546f74616c20737570706c7920726561636865642e000000000000000000000081525060200191505060405180910390fd5b61113281600760008581526020019081526020016000205461246190919063ffffffff16565b6007600084815260200190815260200160002081905550611164838383604051806020016040528060008152506124e9565b505050565b600060046000838152602001908152602001600020600201549050919050565b81518351146111e3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180613c0d6028913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611269576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613b176025913960400191505060405180910390fd5b611271612459565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806112b757506112b6856112b1612459565b611d29565b5b61130c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526032815260200180613b3c6032913960400191505060405180910390fd5b6000611316612459565b90506113268187878787876126ec565b60008090505b84518110156114fa57600085828151811061134357fe5b60200260200101519050600085838151811061135b57fe5b602002602001015190506113e2816040518060600160405280602a8152602001613b91602a91396001600086815260200190815260200160002060008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126f49092919063ffffffff16565b6001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611499816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461246190919063ffffffff16565b6001600084815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505080600101905061132c565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156115aa57808201518184015260208101905061158f565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156115ec5780820151818401526020810190506115d1565b5050505090500194505050505060405180910390a461160f8187878787876127b4565b505050505050565b61163e6004600084815260200190815260200160002060020154611639612459565b611950565b611693576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806139e5602f913960400191505060405180910390fd5b61169d8282612c2c565b5050565b6116a9612459565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461172c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613c56602f913960400191505060405180910390fd5b6117368282612cc0565b5050565b60608151835114611796576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180613be46029913960400191505060405180910390fd5b606083516040519080825280602002602001820160405280156117c85781602001602082028038833980820191505090505b50905060008090505b845181101561190d57600073ffffffffffffffffffffffffffffffffffffffff168582815181106117fe57fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff161415611873576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180613a696031913960400191505060405180910390fd5b6001600085838151811061188357fe5b6020026020010151815260200190815260200160002060008683815181106118a757fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548282815181106118f657fe5b6020026020010181815250508060010190506117d1565b508091505092915050565b60055481565b60006119488260046000868152602001908152602001600020600001612d5490919063ffffffff16565b905092915050565b600061197a8260046000868152602001908152602001600020600001612d6e90919063ffffffff16565b905092915050565b60076020528060005260406000206000915090505481565b6000801b81565b8173ffffffffffffffffffffffffffffffffffffffff166119c0612459565b73ffffffffffffffffffffffffffffffffffffffff161415611a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180613bbb6029913960400191505060405180910390fd5b8060026000611a3a612459565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ae7612459565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051808215151515815260200191505060405180910390a35050565b611b4e611b47612459565b8383612d9e565b5050565b60066020528060005260406000206000915090505481565b6060611c1860038054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611c055780601f10611bda57610100808354040283529160200191611c05565b820191906000526020600020905b815481529060010190602001808311611be857829003601f168201915b5050505050611c13846122e8565b612415565b9050919050565b6000611c3f60046000848152602001908152602001600020600001612fba565b9050919050565b60405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902081565b611ca66004600084815260200190815260200160002060020154611ca1612459565b611950565b611cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180613ae76030913960400191505060405180910390fd5b611d058282612cc0565b5050565b60606040518060600160405280602a8152602001613a14602a9139905090565b600080839050600260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1691505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611e48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613b176025913960400191505060405180910390fd5b611e50612459565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611e965750611e9585611e90612459565b611d29565b5b611eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180613abe6029913960400191505060405180910390fd5b6000611ef5612459565b9050611f15818787611f0688612fcf565b611f0f88612fcf565b876126ec565b611f92836040518060600160405280602a8152602001613b91602a91396001600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126f49092919063ffffffff16565b6001600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612049836001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461246190919063ffffffff16565b6001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051808381526020018281526020019250505060405180910390a461212f818787878787613028565b505050505050565b600061217f60405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902061217a612459565b611950565b6121f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f43616c6c6572206973206e6f742061206d696e7465720000000000000000000081525060200191505060405180910390fd5b60008211612267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f4d6178696d756d20737570706c792063616e206e6f742062652030000000000081525060200191505060405180910390fd5b61227d600160055461246190919063ffffffff16565b60058190555081600660006005548152602001908152602001600020819055507f62399d91d89d6e694d41e47f3e6010c0e0b4ec78ecdddb1c02d0e321780859b060055483604051808381526020018281526020019250505060405180910390a16005549050919050565b60606000821415612330576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612410565b600082905060005b6000821461235a578080600101915050600a828161235257fe5b049150612338565b6060816040519080825280601f01601f19166020018201604052801561238f5781602001600182028038833980820191505090505b50905060006001830390505b6000861461240857600a86816123ad57fe5b0660300160f81b828280600190039350815181106123c757fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a868161240057fe5b04955061239b565b819450505050505b919050565b6060612451838360405180602001604052806000815250604051806020016040528060008152506040518060200160405280600081525061341e565b905092915050565b600033905090565b6000808284019050838110156124df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561256f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613c356021913960400191505060405180910390fd5b6000612579612459565b905061259a8160008761258b88612fcf565b61259488612fcf565b876126ec565b6125fd836001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461246190919063ffffffff16565b6001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051808381526020018281526020019250505060405180910390a46126e581600087878787613028565b5050505050565b505050505050565b60008383111582906127a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561276657808201518184015260208101905061274b565b50505050905090810190601f1680156127935780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6127d38473ffffffffffffffffffffffffffffffffffffffff166136e4565b15612c24578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b838110156128b757808201518184015260208101905061289c565b50505050905001848103835286818151815260200191508051906020019060200280838360005b838110156128f95780820151818401526020810190506128de565b50505050905001848103825285818151815260200191508051906020019080838360005b8381101561293857808201518184015260208101905061291d565b50505050905090810190601f1680156129655780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b15801561298a57600080fd5b505af19250505080156129be57506040513d60208110156129aa57600080fd5b810190808051906020019092919050505060015b612b85576000604051905060008152600115612a875760443d10156129e65760009050612a87565b60046000803e60005160e01c6308c379a08114612a07576000915050612a87565b60043d036004833e81513d602482011167ffffffffffffffff82111715612a3357600092505050612a87565b808301805167ffffffffffffffff811115612a55576000945050505050612a87565b8060208301013d8601811115612a7357600095505050505050612a87565b601f19601f82011660405282955050505050505b80612a925750612b34565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612af9578082015181840152602081019050612ade565b50505050905090810190601f168015612b265780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806139676034913960400191505060405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612c22576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806139bd6028913960400191505060405180910390fd5b505b505050505050565b612c5481600460008581526020019081526020016000206000016136f790919063ffffffff16565b15612cbc57612c61612459565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612ce8816004600085815260200190815260200160002060000161372790919063ffffffff16565b15612d5057612cf5612459565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000612d638360000183613757565b60001c905092915050565b6000612d96836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6137da565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180613b6e6023913960400191505060405180910390fd5b6000612e2e612459565b9050612e5e81856000612e4087612fcf565b612e4987612fcf565b604051806020016040528060008152506126ec565b612edb82604051806060016040528060248152602001613a9a602491396001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126f49092919063ffffffff16565b6001600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628686604051808381526020018281526020019250505060405180910390a450505050565b6000612fc8826000016137fd565b9050919050565b60608060016040519080825280602002602001820160405280156130025781602001602082028038833980820191505090505b509050828160008151811061301357fe5b60200260200101818152505080915050919050565b6130478473ffffffffffffffffffffffffffffffffffffffff166136e4565b15613416578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561312c578082015181840152602081019050613111565b50505050905090810190601f1680156131595780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b15801561317c57600080fd5b505af19250505080156131b057506040513d602081101561319c57600080fd5b810190808051906020019092919050505060015b6133775760006040519050600081526001156132795760443d10156131d85760009050613279565b60046000803e60005160e01c6308c379a081146131f9576000915050613279565b60043d036004833e81513d602482011167ffffffffffffffff8211171561322557600092505050613279565b808301805167ffffffffffffffff811115613247576000945050505050613279565b8060208301013d860181111561326557600095505050505050613279565b601f19601f82011660405282955050505050505b806132845750613326565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156132eb5780820151818401526020810190506132d0565b50505050905090810190601f1680156133185780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806139676034913960400191505060405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613414576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806139bd6028913960400191505060405180910390fd5b505b505050505050565b6060808690506060869050606086905060608690506060869050606081518351855187518951010101016040519080825280601f01601f19166020018201604052801561347a5781602001600182028038833980820191505090505b5090506060819050600080905060008090505b88518110156134fb578881815181106134a257fe5b602001015160f81c60f81b8383806001019450815181106134bf57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350808060010191505061348d565b5060008090505b87518110156135705787818151811061351757fe5b602001015160f81c60f81b83838060010194508151811061353457fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080600101915050613502565b5060008090505b86518110156135e55786818151811061358c57fe5b602001015160f81c60f81b8383806001019450815181106135a957fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080600101915050613577565b5060008090505b855181101561365a5785818151811061360157fe5b602001015160f81c60f81b83838060010194508151811061361e57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080806001019150506135ec565b5060008090505b84518110156136cf5784818151811061367657fe5b602001015160f81c60f81b83838060010194508151811061369357fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080600101915050613661565b50819850505050505050505095945050505050565b600080823b905060008111915050919050565b600061371f836000018373ffffffffffffffffffffffffffffffffffffffff1660001b61380e565b905092915050565b600061374f836000018373ffffffffffffffffffffffffffffffffffffffff1660001b61387e565b905092915050565b6000818360000180549050116137b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061399b6022913960400191505060405180910390fd5b8260000182815481106137c757fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b600081600001805490509050919050565b600061381a83836137da565b613873578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050613878565b600090505b92915050565b6000808360010160008481526020019081526020016000205490506000811461395a57600060018203905060006001866000018054905003905060008660000182815481106138c957fe5b90600052602060002001549050808760000184815481106138e657fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061391e57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050613960565b60009150505b9291505056fe455243313135353a207472616e7366657220746f206e6f6e2045524331313535526563656976657220696d706c656d656e746572456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473455243313135353a204552433131353552656365697665722072656a656374656420746f6b656e73416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7468747470733a2f2f7777772e6e6f627261696e65722e66696e616e63652f6170692f6e66742e6a736f6e455243313135353a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373455243313135353a2062617463682062616c616e636520717565727920666f7220746865207a65726f2061646472657373455243313135353a206275726e20616d6f756e7420657863656564732062616c616e6365455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65455243313135353a207472616e7366657220746f20746865207a65726f2061646472657373455243313135353a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243313135353a206275726e2066726f6d20746865207a65726f2061646472657373455243313135353a20696e73756666696369656e742062616c616e636520666f72207472616e73666572455243313135353a2073657474696e6720617070726f76616c2073746174757320666f722073656c66455243313135353a206163636f756e747320616e6420696473206c656e677468206d69736d61746368455243313135353a2069647320616e6420616d6f756e7473206c656e677468206d69736d61746368455243313135353a206d696e7420746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212208211375a9e1ea10d978284ed6528f638ff9ee8336e0cecf2f2c6eccf23bc9c3264736f6c6343000602003368747470733a2f2f7777772e6e6f627261696e65722e66696e616e63652f6170692f4e46542f

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101725760003560e01c806392ff6aea116100de578063ca15c87311610097578063e8a3d48511610071578063e8a3d48514610b5a578063e985e9c514610bdd578063f242432a14610c59578063f9e5375514610d6857610172565b8063ca15c87314610aac578063d539139314610aee578063d547741f14610b0c57610172565b806392ff6aea146108db578063a217fddf1461091d578063a22cb4651461093b578063b390c0ab1461098b578063bd85b039146109c3578063c87b56dd14610a0557610172565b80632f2ff15d116101305780632f2ff15d146105a257806336568abe146105f05780634e1273f41461063e57806358a4903f146107df5780639010d07c146107fd57806391d148541461087557610172565b8062fdd58e1461017757806301ffc9a7146101d95780630e89341c1461023e578063156e29f6146102e5578063248a9ca31461033d5780632eb2c2d61461037f575b600080fd5b6101c36004803603604081101561018d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610daa565b6040518082815260200191505060405180910390f35b610224600480360360208110156101ef57600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610e8a565b604051808215151515815260200191505060405180910390f35b61026a6004803603602081101561025457600080fd5b8101908080359060200190929190505050610ef1565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156102aa57808201518184015260208101905061028f565b50505050905090810190601f1680156102d75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61033b600480360360608110156102fb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190505050610fa6565b005b6103696004803603602081101561035357600080fd5b8101908080359060200190929190505050611169565b6040518082815260200191505060405180910390f35b6105a0600480360360a081101561039557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001906401000000008111156103f257600080fd5b82018360208201111561040457600080fd5b8035906020019184602083028401116401000000008311171561042657600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561048657600080fd5b82018360208201111561049857600080fd5b803590602001918460208302840111640100000000831117156104ba57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561051a57600080fd5b82018360208201111561052c57600080fd5b8035906020019184600183028401116401000000008311171561054e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611189565b005b6105ee600480360360408110156105b857600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611617565b005b61063c6004803603604081101561060657600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116a1565b005b6107886004803603604081101561065457600080fd5b810190808035906020019064010000000081111561067157600080fd5b82018360208201111561068357600080fd5b803590602001918460208302840111640100000000831117156106a557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561070557600080fd5b82018360208201111561071757600080fd5b8035906020019184602083028401116401000000008311171561073957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050919291929050505061173a565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156107cb5780820151818401526020810190506107b0565b505050509050019250505060405180910390f35b6107e7611918565b6040518082815260200191505060405180910390f35b6108336004803603604081101561081357600080fd5b81019080803590602001909291908035906020019092919050505061191e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108c16004803603604081101561088b57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611950565b604051808215151515815260200191505060405180910390f35b610907600480360360208110156108f157600080fd5b8101908080359060200190929190505050611982565b6040518082815260200191505060405180910390f35b61092561199a565b6040518082815260200191505060405180910390f35b6109896004803603604081101561095157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035151590602001909291905050506119a1565b005b6109c1600480360360408110156109a157600080fd5b810190808035906020019092919080359060200190929190505050611b3c565b005b6109ef600480360360208110156109d957600080fd5b8101908080359060200190929190505050611b52565b6040518082815260200191505060405180910390f35b610a3160048036036020811015610a1b57600080fd5b8101908080359060200190929190505050611b6a565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610a71578082015181840152602081019050610a56565b50505050905090810190601f168015610a9e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610ad860048036036020811015610ac257600080fd5b8101908080359060200190929190505050611c1f565b6040518082815260200191505060405180910390f35b610af6611c46565b6040518082815260200191505060405180910390f35b610b5860048036036040811015610b2257600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611c7f565b005b610b62611d09565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610ba2578082015181840152602081019050610b87565b50505050905090810190601f168015610bcf5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610c3f60048036036040811015610bf357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d29565b604051808215151515815260200191505060405180910390f35b610d66600480360360a0811015610c6f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190640100000000811115610ce057600080fd5b820183602082011115610cf257600080fd5b80359060200191846001830284011164010000000083111715610d1457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611dc2565b005b610d9460048036036020811015610d7e57600080fd5b8101908080359060200190929190505050612137565b6040518082815260200191505060405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e31576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180613a3e602b913960400191505060405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6060610f9f60038054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610f8c5780601f10610f6157610100808354040283529160200191610f8c565b820191906000526020600020905b815481529060010190602001808311610f6f57829003601f168201915b5050505050610f9a846122e8565b612415565b9050919050565b610fec60405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b0190506040518091039020610fe7612459565b611950565b61105e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f43616c6c6572206973206e6f742061206d696e7465720000000000000000000081525060200191505060405180910390fd5b600660008381526020019081526020016000205461109882600760008681526020019081526020016000205461246190919063ffffffff16565b111561110c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f546f74616c20737570706c7920726561636865642e000000000000000000000081525060200191505060405180910390fd5b61113281600760008581526020019081526020016000205461246190919063ffffffff16565b6007600084815260200190815260200160002081905550611164838383604051806020016040528060008152506124e9565b505050565b600060046000838152602001908152602001600020600201549050919050565b81518351146111e3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180613c0d6028913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611269576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613b176025913960400191505060405180910390fd5b611271612459565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806112b757506112b6856112b1612459565b611d29565b5b61130c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526032815260200180613b3c6032913960400191505060405180910390fd5b6000611316612459565b90506113268187878787876126ec565b60008090505b84518110156114fa57600085828151811061134357fe5b60200260200101519050600085838151811061135b57fe5b602002602001015190506113e2816040518060600160405280602a8152602001613b91602a91396001600086815260200190815260200160002060008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126f49092919063ffffffff16565b6001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611499816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461246190919063ffffffff16565b6001600084815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505080600101905061132c565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156115aa57808201518184015260208101905061158f565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156115ec5780820151818401526020810190506115d1565b5050505090500194505050505060405180910390a461160f8187878787876127b4565b505050505050565b61163e6004600084815260200190815260200160002060020154611639612459565b611950565b611693576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806139e5602f913960400191505060405180910390fd5b61169d8282612c2c565b5050565b6116a9612459565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461172c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613c56602f913960400191505060405180910390fd5b6117368282612cc0565b5050565b60608151835114611796576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180613be46029913960400191505060405180910390fd5b606083516040519080825280602002602001820160405280156117c85781602001602082028038833980820191505090505b50905060008090505b845181101561190d57600073ffffffffffffffffffffffffffffffffffffffff168582815181106117fe57fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff161415611873576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180613a696031913960400191505060405180910390fd5b6001600085838151811061188357fe5b6020026020010151815260200190815260200160002060008683815181106118a757fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548282815181106118f657fe5b6020026020010181815250508060010190506117d1565b508091505092915050565b60055481565b60006119488260046000868152602001908152602001600020600001612d5490919063ffffffff16565b905092915050565b600061197a8260046000868152602001908152602001600020600001612d6e90919063ffffffff16565b905092915050565b60076020528060005260406000206000915090505481565b6000801b81565b8173ffffffffffffffffffffffffffffffffffffffff166119c0612459565b73ffffffffffffffffffffffffffffffffffffffff161415611a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180613bbb6029913960400191505060405180910390fd5b8060026000611a3a612459565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ae7612459565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051808215151515815260200191505060405180910390a35050565b611b4e611b47612459565b8383612d9e565b5050565b60066020528060005260406000206000915090505481565b6060611c1860038054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611c055780601f10611bda57610100808354040283529160200191611c05565b820191906000526020600020905b815481529060010190602001808311611be857829003601f168201915b5050505050611c13846122e8565b612415565b9050919050565b6000611c3f60046000848152602001908152602001600020600001612fba565b9050919050565b60405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902081565b611ca66004600084815260200190815260200160002060020154611ca1612459565b611950565b611cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180613ae76030913960400191505060405180910390fd5b611d058282612cc0565b5050565b60606040518060600160405280602a8152602001613a14602a9139905090565b600080839050600260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1691505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611e48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613b176025913960400191505060405180910390fd5b611e50612459565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611e965750611e9585611e90612459565b611d29565b5b611eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180613abe6029913960400191505060405180910390fd5b6000611ef5612459565b9050611f15818787611f0688612fcf565b611f0f88612fcf565b876126ec565b611f92836040518060600160405280602a8152602001613b91602a91396001600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126f49092919063ffffffff16565b6001600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612049836001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461246190919063ffffffff16565b6001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051808381526020018281526020019250505060405180910390a461212f818787878787613028565b505050505050565b600061217f60405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902061217a612459565b611950565b6121f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f43616c6c6572206973206e6f742061206d696e7465720000000000000000000081525060200191505060405180910390fd5b60008211612267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f4d6178696d756d20737570706c792063616e206e6f742062652030000000000081525060200191505060405180910390fd5b61227d600160055461246190919063ffffffff16565b60058190555081600660006005548152602001908152602001600020819055507f62399d91d89d6e694d41e47f3e6010c0e0b4ec78ecdddb1c02d0e321780859b060055483604051808381526020018281526020019250505060405180910390a16005549050919050565b60606000821415612330576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612410565b600082905060005b6000821461235a578080600101915050600a828161235257fe5b049150612338565b6060816040519080825280601f01601f19166020018201604052801561238f5781602001600182028038833980820191505090505b50905060006001830390505b6000861461240857600a86816123ad57fe5b0660300160f81b828280600190039350815181106123c757fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a868161240057fe5b04955061239b565b819450505050505b919050565b6060612451838360405180602001604052806000815250604051806020016040528060008152506040518060200160405280600081525061341e565b905092915050565b600033905090565b6000808284019050838110156124df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561256f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613c356021913960400191505060405180910390fd5b6000612579612459565b905061259a8160008761258b88612fcf565b61259488612fcf565b876126ec565b6125fd836001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461246190919063ffffffff16565b6001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051808381526020018281526020019250505060405180910390a46126e581600087878787613028565b5050505050565b505050505050565b60008383111582906127a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561276657808201518184015260208101905061274b565b50505050905090810190601f1680156127935780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6127d38473ffffffffffffffffffffffffffffffffffffffff166136e4565b15612c24578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b838110156128b757808201518184015260208101905061289c565b50505050905001848103835286818151815260200191508051906020019060200280838360005b838110156128f95780820151818401526020810190506128de565b50505050905001848103825285818151815260200191508051906020019080838360005b8381101561293857808201518184015260208101905061291d565b50505050905090810190601f1680156129655780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b15801561298a57600080fd5b505af19250505080156129be57506040513d60208110156129aa57600080fd5b810190808051906020019092919050505060015b612b85576000604051905060008152600115612a875760443d10156129e65760009050612a87565b60046000803e60005160e01c6308c379a08114612a07576000915050612a87565b60043d036004833e81513d602482011167ffffffffffffffff82111715612a3357600092505050612a87565b808301805167ffffffffffffffff811115612a55576000945050505050612a87565b8060208301013d8601811115612a7357600095505050505050612a87565b601f19601f82011660405282955050505050505b80612a925750612b34565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612af9578082015181840152602081019050612ade565b50505050905090810190601f168015612b265780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806139676034913960400191505060405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612c22576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806139bd6028913960400191505060405180910390fd5b505b505050505050565b612c5481600460008581526020019081526020016000206000016136f790919063ffffffff16565b15612cbc57612c61612459565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612ce8816004600085815260200190815260200160002060000161372790919063ffffffff16565b15612d5057612cf5612459565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000612d638360000183613757565b60001c905092915050565b6000612d96836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6137da565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180613b6e6023913960400191505060405180910390fd5b6000612e2e612459565b9050612e5e81856000612e4087612fcf565b612e4987612fcf565b604051806020016040528060008152506126ec565b612edb82604051806060016040528060248152602001613a9a602491396001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126f49092919063ffffffff16565b6001600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628686604051808381526020018281526020019250505060405180910390a450505050565b6000612fc8826000016137fd565b9050919050565b60608060016040519080825280602002602001820160405280156130025781602001602082028038833980820191505090505b509050828160008151811061301357fe5b60200260200101818152505080915050919050565b6130478473ffffffffffffffffffffffffffffffffffffffff166136e4565b15613416578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561312c578082015181840152602081019050613111565b50505050905090810190601f1680156131595780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b15801561317c57600080fd5b505af19250505080156131b057506040513d602081101561319c57600080fd5b810190808051906020019092919050505060015b6133775760006040519050600081526001156132795760443d10156131d85760009050613279565b60046000803e60005160e01c6308c379a081146131f9576000915050613279565b60043d036004833e81513d602482011167ffffffffffffffff8211171561322557600092505050613279565b808301805167ffffffffffffffff811115613247576000945050505050613279565b8060208301013d860181111561326557600095505050505050613279565b601f19601f82011660405282955050505050505b806132845750613326565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156132eb5780820151818401526020810190506132d0565b50505050905090810190601f1680156133185780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806139676034913960400191505060405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613414576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806139bd6028913960400191505060405180910390fd5b505b505050505050565b6060808690506060869050606086905060608690506060869050606081518351855187518951010101016040519080825280601f01601f19166020018201604052801561347a5781602001600182028038833980820191505090505b5090506060819050600080905060008090505b88518110156134fb578881815181106134a257fe5b602001015160f81c60f81b8383806001019450815181106134bf57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350808060010191505061348d565b5060008090505b87518110156135705787818151811061351757fe5b602001015160f81c60f81b83838060010194508151811061353457fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080600101915050613502565b5060008090505b86518110156135e55786818151811061358c57fe5b602001015160f81c60f81b8383806001019450815181106135a957fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080600101915050613577565b5060008090505b855181101561365a5785818151811061360157fe5b602001015160f81c60f81b83838060010194508151811061361e57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080806001019150506135ec565b5060008090505b84518110156136cf5784818151811061367657fe5b602001015160f81c60f81b83838060010194508151811061369357fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080600101915050613661565b50819850505050505050505095945050505050565b600080823b905060008111915050919050565b600061371f836000018373ffffffffffffffffffffffffffffffffffffffff1660001b61380e565b905092915050565b600061374f836000018373ffffffffffffffffffffffffffffffffffffffff1660001b61387e565b905092915050565b6000818360000180549050116137b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061399b6022913960400191505060405180910390fd5b8260000182815481106137c757fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b600081600001805490509050919050565b600061381a83836137da565b613873578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050613878565b600090505b92915050565b6000808360010160008481526020019081526020016000205490506000811461395a57600060018203905060006001866000018054905003905060008660000182815481106138c957fe5b90600052602060002001549050808760000184815481106138e657fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061391e57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050613960565b60009150505b9291505056fe455243313135353a207472616e7366657220746f206e6f6e2045524331313535526563656976657220696d706c656d656e746572456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473455243313135353a204552433131353552656365697665722072656a656374656420746f6b656e73416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7468747470733a2f2f7777772e6e6f627261696e65722e66696e616e63652f6170692f6e66742e6a736f6e455243313135353a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373455243313135353a2062617463682062616c616e636520717565727920666f7220746865207a65726f2061646472657373455243313135353a206275726e20616d6f756e7420657863656564732062616c616e6365455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65455243313135353a207472616e7366657220746f20746865207a65726f2061646472657373455243313135353a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243313135353a206275726e2066726f6d20746865207a65726f2061646472657373455243313135353a20696e73756666696369656e742062616c616e636520666f72207472616e73666572455243313135353a2073657474696e6720617070726f76616c2073746174757320666f722073656c66455243313135353a206163636f756e747320616e6420696473206c656e677468206d69736d61746368455243313135353a2069647320616e6420616d6f756e7473206c656e677468206d69736d61746368455243313135353a206d696e7420746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212208211375a9e1ea10d978284ed6528f638ff9ee8336e0cecf2f2c6eccf23bc9c3264736f6c63430006020033

Deployed Bytecode Sourcemap

55598:1213:0:-:0;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;55598:1213:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28150:223;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;28150:223:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10582:142;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;10582:142:0;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;27504:145;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;27504:145:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;27504:145:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56371:332;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;56371:332:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;52224:114;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;52224:114:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30900:1220;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;30900:1220:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;30900:1220:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;30900:1220:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;30900:1220:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;30900:1220:0;;;;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;30900:1220:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;30900:1220:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;30900:1220:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;30900:1220:0;;;;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;30900:1220:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;30900:1220:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;30900:1220:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;30900:1220:0;;;;;;;;;;;;;;;:::i;:::-;;52600:227;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;52600:227:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;53809:209;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;53809:209:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;28539:634;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;28539:634:0;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;28539:634:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;28539:634:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;28539:634:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;28539:634:0;;;;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;28539:634:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;28539:634:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;28539:634:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;28539:634:0;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;28539:634:0;;;;;;;;;;;;;;;;;55852:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;51897:138;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;51897:138:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;50858:139;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;50858:139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;55928:52;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;55928:52:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;49603:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29246:311;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;29246:311:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;56713:93;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;56713:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;55877:46;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;55877:46:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27655:149;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;27655:149:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;27655:149:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51171:127;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;51171:127:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;55647:62;;;:::i;:::-;;;;;;;;;;;;;;;;;;;53072:230;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;53072:230:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;27900:97;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;27900:97:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29629:198;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;29629:198:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;29899:924;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;29899:924:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;29899:924:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;29899:924:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;29899:924:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;29899:924:0;;;;;;;;;;;;;;;:::i;:::-;;56040:325;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;56040:325:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28150:223;28228:7;28275:1;28256:21;;:7;:21;;;;28248:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28343:9;:13;28353:2;28343:13;;;;;;;;;;;:22;28357:7;28343:22;;;;;;;;;;;;;;;;28336:29;;28150:223;;;;:::o;10582:142::-;10659:4;10683:20;:33;10704:11;10683:33;;;;;;;;;;;;;;;;;;;;;;;;;;;10676:40;;10582:142;;;:::o;27504:145::-;27562:13;27595:46;27613:4;27595:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27619:21;27636:3;27619:16;:21::i;:::-;27595:17;:46::i;:::-;27588:53;;27504:145;;;:::o;56371:332::-;56447:34;55685:24;;;;;;;;;;;;;;;;;;;56468:12;:10;:12::i;:::-;56447:7;:34::i;:::-;56439:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56560:11;:15;56572:2;56560:15;;;;;;;;;;;;56523:33;56549:6;56523:17;:21;56541:2;56523:21;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;:52;;56515:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56632:33;56658:6;56632:17;:21;56650:2;56632:21;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;56608:17;:21;56626:2;56608:21;;;;;;;;;;;:57;;;;56672:25;56678:2;56682;56686:6;56672:25;;;;;;;;;;;;:5;:25::i;:::-;56371:332;;;:::o;52224:114::-;52281:7;52308:6;:12;52315:4;52308:12;;;;;;;;;;;:22;;;52301:29;;52224:114;;;:::o;30900:1220::-;31165:7;:14;31151:3;:10;:28;31143:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31257:1;31243:16;;:2;:16;;;;31235:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31342:12;:10;:12::i;:::-;31334:20;;:4;:20;;;:60;;;;31358:36;31375:4;31381:12;:10;:12::i;:::-;31358:16;:36::i;:::-;31334:60;31312:160;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31485:16;31504:12;:10;:12::i;:::-;31485:31;;31529:60;31550:8;31560:4;31566:2;31570:3;31575:7;31584:4;31529:20;:60::i;:::-;31607:9;31619:1;31607:13;;31602:358;31626:3;:10;31622:1;:14;31602:358;;;31658:10;31671:3;31675:1;31671:6;;;;;;;;;;;;;;31658:19;;31692:14;31709:7;31717:1;31709:10;;;;;;;;;;;;;;31692:27;;31758:126;31800:6;31758:126;;;;;;;;;;;;;;;;;:9;:13;31768:2;31758:13;;;;;;;;;;;:19;31772:4;31758:19;;;;;;;;;;;;;;;;:23;;:126;;;;;:::i;:::-;31736:9;:13;31746:2;31736:13;;;;;;;;;;;:19;31750:4;31736:19;;;;;;;;;;;;;;;:148;;;;31919:29;31941:6;31919:9;:13;31929:2;31919:13;;;;;;;;;;;:17;31933:2;31919:17;;;;;;;;;;;;;;;;:21;;:29;;;;:::i;:::-;31899:9;:13;31909:2;31899:13;;;;;;;;;;;:17;31913:2;31899:17;;;;;;;;;;;;;;;:49;;;;31602:358;;31638:3;;;;;31602:358;;;;32007:2;31977:47;;32001:4;31977:47;;31991:8;31977:47;;;32011:3;32016:7;31977:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;31977:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;31977:47:0;;;;;;;;;;;;;;;;;;;32037:75;32073:8;32083:4;32089:2;32093:3;32098:7;32107:4;32037:35;:75::i;:::-;30900:1220;;;;;;:::o;52600:227::-;52684:45;52692:6;:12;52699:4;52692:12;;;;;;;;;;;:22;;;52716:12;:10;:12::i;:::-;52684:7;:45::i;:::-;52676:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52794:25;52805:4;52811:7;52794:10;:25::i;:::-;52600:227;;:::o;53809:209::-;53907:12;:10;:12::i;:::-;53896:23;;:7;:23;;;53888:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53984:26;53996:4;54002:7;53984:11;:26::i;:::-;53809:209;;:::o;28539:634::-;28703:16;28764:3;:10;28745:8;:15;:29;28737:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28833:30;28880:8;:15;28866:30;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;148:4;140:6;136:17;126:27;;0:157;28866:30:0;;;;28833:63;;28914:9;28926:1;28914:13;;28909:224;28933:8;:15;28929:1;:19;28909:224;;;29001:1;28978:25;;:8;28987:1;28978:11;;;;;;;;;;;;;;:25;;;;28970:87;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29091:9;:17;29101:3;29105:1;29101:6;;;;;;;;;;;;;;29091:17;;;;;;;;;;;:30;29109:8;29118:1;29109:11;;;;;;;;;;;;;;29091:30;;;;;;;;;;;;;;;;29072:13;29086:1;29072:16;;;;;;;;;;;;;:49;;;;;28950:3;;;;;28909:224;;;;29152:13;29145:20;;;28539:634;;;;:::o;55852:20::-;;;;:::o;51897:138::-;51970:7;51997:30;52021:5;51997:6;:12;52004:4;51997:12;;;;;;;;;;;:20;;:23;;:30;;;;:::i;:::-;51990:37;;51897:138;;;;:::o;50858:139::-;50927:4;50951:38;50981:7;50951:6;:12;50958:4;50951:12;;;;;;;;;;;:20;;:29;;:38;;;;:::i;:::-;50944:45;;50858:139;;;;:::o;55928:52::-;;;;;;;;;;;;;;;;;:::o;49603:49::-;49648:4;49603:49;;;:::o;29246:311::-;29365:8;29349:24;;:12;:10;:12::i;:::-;:24;;;;29341:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29477:8;29432:18;:32;29451:12;:10;:12::i;:::-;29432:32;;;;;;;;;;;;;;;:42;29465:8;29432:42;;;;;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;29530:8;29501:48;;29516:12;:10;:12::i;:::-;29501:48;;;29540:8;29501:48;;;;;;;;;;;;;;;;;;;;;;29246:311;;:::o;56713:93::-;56769:31;56775:12;:10;:12::i;:::-;56789:2;56793:6;56769:5;:31::i;:::-;56713:93;;:::o;55877:46::-;;;;;;;;;;;;;;;;;:::o;27655:149::-;27712:13;27745:51;27763:4;27745:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27769:26;27786:8;27769:16;:26::i;:::-;27745:17;:51::i;:::-;27738:58;;27655:149;;;:::o;51171:127::-;51234:7;51261:29;:6;:12;51268:4;51261:12;;;;;;;;;;;:20;;:27;:29::i;:::-;51254:36;;51171:127;;;:::o;55647:62::-;55685:24;;;;;;;;;;;;;;;;;;;55647:62;:::o;53072:230::-;53157:45;53165:6;:12;53172:4;53165:12;;;;;;;;;;;:22;;;53189:12;:10;:12::i;:::-;53157:7;:45::i;:::-;53149:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53268:26;53280:4;53286:7;53268:11;:26::i;:::-;53072:230;;:::o;27900:97::-;27944:13;27977:12;;;;;;;;;;;;;;;;;27970:19;;27900:97;:::o;29629:198::-;29720:4;29737:16;29756:7;29737:26;;29781:18;:28;29800:8;29781:28;;;;;;;;;;;;;;;:38;29810:8;29781:38;;;;;;;;;;;;;;;;;;;;;;;;;29774:45;;;29629:198;;;;:::o;29899:924::-;30139:1;30125:16;;:2;:16;;;;30117:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30224:12;:10;:12::i;:::-;30216:20;;:4;:20;;;:60;;;;30240:36;30257:4;30263:12;:10;:12::i;:::-;30240:16;:36::i;:::-;30216:60;30194:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30358:16;30377:12;:10;:12::i;:::-;30358:31;;30402:96;30423:8;30433:4;30439:2;30443:21;30461:2;30443:17;:21::i;:::-;30466:25;30484:6;30466:17;:25::i;:::-;30493:4;30402:20;:96::i;:::-;30533:77;30557:6;30533:77;;;;;;;;;;;;;;;;;:9;:13;30543:2;30533:13;;;;;;;;;;;:19;30547:4;30533:19;;;;;;;;;;;;;;;;:23;;:77;;;;;:::i;:::-;30511:9;:13;30521:2;30511:13;;;;;;;;;;;:19;30525:4;30511:19;;;;;;;;;;;;;;;:99;;;;30641:29;30663:6;30641:9;:13;30651:2;30641:13;;;;;;;;;;;:17;30655:2;30641:17;;;;;;;;;;;;;;;;:21;;:29;;;;:::i;:::-;30621:9;:13;30631:2;30621:13;;;;;;;;;;;:17;30635:2;30621:17;;;;;;;;;;;;;;;:49;;;;30719:2;30688:46;;30713:4;30688:46;;30703:8;30688:46;;;30723:2;30727:6;30688:46;;;;;;;;;;;;;;;;;;;;;;;;30747:68;30778:8;30788:4;30794:2;30798;30802:6;30810:4;30747:30;:68::i;:::-;29899:924;;;;;;:::o;56040:325::-;56092:7;56116:34;55685:24;;;;;;;;;;;;;;;;;;;56137:12;:10;:12::i;:::-;56116:7;:34::i;:::-;56108:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56204:1;56192:9;:13;56184:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56252:12;56262:1;56252:5;;:9;;:12;;;;:::i;:::-;56244:5;:20;;;;56292:9;56271:11;:18;56283:5;;56271:18;;;;;;;;;;;:30;;;;56313:27;56323:5;;56330:9;56313:27;;;;;;;;;;;;;;;;;;;;;;;;56354:5;;56347:12;;56040:325;;;:::o;24358:482::-;24408:27;24458:1;24452:2;:7;24448:50;;;24476:10;;;;;;;;;;;;;;;;;;;;;24448:50;24508:6;24517:2;24508:11;;24530:8;24549:69;24561:1;24556;:6;24549:69;;24579:5;;;;;;;24604:2;24599:7;;;;;;;;;24549:69;;;24628:17;24658:3;24648:14;;;;;;;;;;;;;;;;;;;;;;;;;29:1:-1;21:6;17:14;116:4;104:10;96:6;87:34;147:4;139:6;135:17;125:27;;0:156;24648:14:0;;;;24628:34;;24673:6;24688:1;24682:3;:7;24673:16;;24700:103;24713:1;24707:2;:7;24700:103;;24764:2;24759;:7;;;;;;24754:2;:12;24743:25;;24731:4;24736:3;;;;;;;24731:9;;;;;;;;;;;:37;;;;;;;;;;;24789:2;24783:8;;;;;;;;;24700:103;;;24827:4;24813:19;;;;;;24358:482;;;;:::o;24202:148::-;24280:13;24313:29;24323:2;24327;24313:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:9;:29::i;:::-;24306:36;;24202:148;;;;:::o;8875:106::-;8928:15;8963:10;8956:17;;8875:106;:::o;12275:181::-;12333:7;12353:9;12369:1;12365;:5;12353:17;;12394:1;12389;:6;;12381:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12447:1;12440:8;;;12275:181;;;;:::o;33448:583::-;33582:1;33563:21;;:7;:21;;;;33555:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33635:16;33654:12;:10;:12::i;:::-;33635:31;;33679:107;33700:8;33718:1;33722:7;33731:21;33749:2;33731:17;:21::i;:::-;33754:25;33772:6;33754:17;:25::i;:::-;33781:4;33679:20;:107::i;:::-;33824:34;33851:6;33824:9;:13;33834:2;33824:13;;;;;;;;;;;:22;33838:7;33824:22;;;;;;;;;;;;;;;;:26;;:34;;;;:::i;:::-;33799:9;:13;33809:2;33799:13;;;;;;;;;;;:22;33813:7;33799:22;;;;;;;;;;;;;;;:59;;;;33911:7;33874:57;;33907:1;33874:57;;33889:8;33874:57;;;33920:2;33924:6;33874:57;;;;;;;;;;;;;;;;;;;;;;;;33944:79;33975:8;33993:1;33997:7;34006:2;34010:6;34018:4;33944:30;:79::i;:::-;33448:583;;;;;:::o;37792:236::-;;;;;;;:::o;13178:192::-;13264:7;13297:1;13292;:6;;13300:12;13284:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;13284:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13324:9;13340:1;13336;:5;13324:17;;13361:1;13354:8;;;13178:192;;;;;:::o;38806:799::-;39060:15;:2;:13;;;:15::i;:::-;39056:542;;;39113:2;39096:43;;;39140:8;39150:4;39156:3;39161:7;39170:4;39096:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;39096:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;39096:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;39096:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;39096:79:0;;;;;;;;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;39096:79:0;;;;;;;;;;;;;;;;;;39092:495;;;20:4:-1;14:11;6:19;;43:1;37:4;30:15;57:1;50:730;;;93:4;75:16;72:26;69:2;;;109:1;101:9;;111:5;;69:2;145:1;142;139;124:23;179:1;173:8;168:3;164:18;206:10;201:3;198:19;188:2;;229:1;221:9;;231:5;;;188:2;290:1;272:16;268:24;265:1;259:4;244:49;319:4;313:11;403:16;396:4;388:6;384:17;381:39;354:18;346:6;343:30;333:94;330:2;;;444:1;436:9;;452:5;;;;330:2;491:6;485:4;481:17;524:3;518:10;548:18;540:6;537:30;534:2;;;578:1;570:9;;580:5;;;;;;534:2;624:6;617:4;612:3;608:14;604:27;658:16;652:4;648:27;643:3;640:36;637:2;;;687:1;679:9;;689:5;;;;;;;637:2;739:4;735:9;728:4;723:3;719:14;715:30;709:4;702:44;760:3;752:11;;769:5;;;;;50:730;39092:495:0;;;;;;;39460:6;39453:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;39453::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39092:495;39509:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39092:495;39237:52;;;39225:64;;;:8;:64;;;;39221:163;;39314:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39221:163;39176:223;39056:542;38806:799;;;;;;:::o;55052:188::-;55126:33;55151:7;55126:6;:12;55133:4;55126:12;;;;;;;;;;;:20;;:24;;:33;;;;:::i;:::-;55122:111;;;55208:12;:10;:12::i;:::-;55181:40;;55199:7;55181:40;;55193:4;55181:40;;;;;;;;;;55122:111;55052:188;;:::o;55248:192::-;55323:36;55351:7;55323:6;:12;55330:4;55323:12;;;;;;;;;;;:20;;:27;;:36;;;;:::i;:::-;55319:114;;;55408:12;:10;:12::i;:::-;55381:40;;55399:7;55381:40;;55393:4;55381:40;;;;;;;;;;55319:114;55248:192;;:::o;46126:149::-;46200:7;46243:22;46247:3;:10;;46259:5;46243:3;:22::i;:::-;46235:31;;46220:47;;46126:149;;;;:::o;45421:158::-;45501:4;45525:46;45535:3;:10;;45563:5;45555:14;;45547:23;;45525:9;:46::i;:::-;45518:53;;45421:158;;;;:::o;35361:551::-;35476:1;35457:21;;:7;:21;;;;35449:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35531:16;35550:12;:10;:12::i;:::-;35531:31;;35575:105;35596:8;35606:7;35623:1;35627:21;35645:2;35627:17;:21::i;:::-;35650:25;35668:6;35650:17;:25::i;:::-;35575:105;;;;;;;;;;;;:20;:105::i;:::-;35718:111;35759:6;35718:111;;;;;;;;;;;;;;;;;:9;:13;35728:2;35718:13;;;;;;;;;;;:22;35732:7;35718:22;;;;;;;;;;;;;;;;:26;;:111;;;;;:::i;:::-;35693:9;:13;35703:2;35693:13;;;;;;;;;;;:22;35707:7;35693:22;;;;;;;;;;;;;;;:136;;;;35889:1;35847:57;;35872:7;35847:57;;35862:8;35847:57;;;35893:2;35897:6;35847:57;;;;;;;;;;;;;;;;;;;;;;;;35361:551;;;;:::o;45665:117::-;45728:7;45755:19;45763:3;:10;;45755:7;:19::i;:::-;45748:26;;45665:117;;;:::o;39613:198::-;39679:16;39708:22;39747:1;39733:16;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;148:4;140:6;136:17;126:27;;0:157;39733:16:0;;;;39708:41;;39771:7;39760:5;39766:1;39760:8;;;;;;;;;;;;;:18;;;;;39798:5;39791:12;;;39613:198;;;:::o;38036:762::-;38265:15;:2;:13;;;:15::i;:::-;38261:530;;;38318:2;38301:38;;;38340:8;38350:4;38356:2;38360:6;38368:4;38301:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;38301:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;38301:72:0;;;;;;;;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;38301:72:0;;;;;;;;;;;;;;;;;;38297:483;;;20:4:-1;14:11;6:19;;43:1;37:4;30:15;57:1;50:730;;;93:4;75:16;72:26;69:2;;;109:1;101:9;;111:5;;69:2;145:1;142;139;124:23;179:1;173:8;168:3;164:18;206:10;201:3;198:19;188:2;;229:1;221:9;;231:5;;;188:2;290:1;272:16;268:24;265:1;259:4;244:49;319:4;313:11;403:16;396:4;388:6;384:17;381:39;354:18;346:6;343:30;333:94;330:2;;;444:1;436:9;;452:5;;;;330:2;491:6;485:4;481:17;524:3;518:10;548:18;540:6;537:30;534:2;;;578:1;570:9;;580:5;;;;;;534:2;624:6;617:4;612:3;608:14;604:27;658:16;652:4;648:27;643:3;640:36;637:2;;;687:1;679:9;;689:5;;;;;;;637:2;739:4;735:9;728:4;723:3;719:14;715:30;709:4;702:44;760:3;752:11;;769:5;;;;;50:730;38297:483:0;;;;;;;38653:6;38646:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;38646::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38297:483;38702:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38297:483;38435:47;;;38423:59;;;:8;:59;;;;38419:158;;38507:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38419:158;38374:218;38261:530;38036:762;;;;;;:::o;22956:872::-;23088:13;23112:16;23137:2;23112:28;;23149:16;23174:2;23149:28;;23186:16;23211:2;23186:28;;23223:16;23248:2;23223:28;;23260:16;23285:2;23260:28;;23297:19;23382:3;:10;23369:3;:10;23356:3;:10;23343:3;:10;23330:3;:10;:23;:36;:49;:62;23319:74;;;;;;;;;;;;;;;;;;;;;;;;;29:1:-1;21:6;17:14;116:4;104:10;96:6;87:34;147:4;139:6;135:17;125:27;;0:156;23319:74:0;;;;23297:96;;23402:19;23430:5;23402:34;;23445:6;23454:1;23445:10;;23469:6;23478:1;23469:10;;23464:58;23485:3;:10;23481:1;:14;23464:58;;;23516:3;23520:1;23516:6;;;;;;;;;;;;;;;;23502;23509:3;;;;;;23502:11;;;;;;;;;;;:20;;;;;;;;;;;23497:3;;;;;;;23464:58;;;;23536:6;23545:1;23536:10;;23531:58;23552:3;:10;23548:1;:14;23531:58;;;23583:3;23587:1;23583:6;;;;;;;;;;;;;;;;23569;23576:3;;;;;;23569:11;;;;;;;;;;;:20;;;;;;;;;;;23564:3;;;;;;;23531:58;;;;23603:6;23612:1;23603:10;;23598:58;23619:3;:10;23615:1;:14;23598:58;;;23650:3;23654:1;23650:6;;;;;;;;;;;;;;;;23636;23643:3;;;;;;23636:11;;;;;;;;;;;:20;;;;;;;;;;;23631:3;;;;;;;23598:58;;;;23670:6;23679:1;23670:10;;23665:58;23686:3;:10;23682:1;:14;23665:58;;;23717:3;23721:1;23717:6;;;;;;;;;;;;;;;;23703;23710:3;;;;;;23703:11;;;;;;;;;;;:20;;;;;;;;;;;23698:3;;;;;;;23665:58;;;;23737:6;23746:1;23737:10;;23732:58;23753:3;:10;23749:1;:14;23732:58;;;23784:3;23788:1;23784:6;;;;;;;;;;;;;;;;23770;23777:3;;;;;;23770:11;;;;;;;;;;;:20;;;;;;;;;;;23765:3;;;;;;;23732:58;;;;23813:6;23799:21;;;;;;;;;;22956:872;;;;;;;:::o;17511:422::-;17571:4;17779:12;17890:7;17878:20;17870:28;;17924:1;17917:4;:8;17910:15;;;17511:422;;;:::o;44867:143::-;44937:4;44961:41;44966:3;:10;;44994:5;44986:14;;44978:23;;44961:4;:41::i;:::-;44954:48;;44867:143;;;;:::o;45186:149::-;45259:4;45283:44;45291:3;:10;;45319:5;45311:14;;45303:23;;45283:7;:44::i;:::-;45276:51;;45186:149;;;;:::o;44409:204::-;44476:7;44525:5;44504:3;:11;;:18;;;;:26;44496:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44587:3;:11;;44599:5;44587:18;;;;;;;;;;;;;;;;44580:25;;44409:204;;;;:::o;43741:129::-;43814:4;43861:1;43838:3;:12;;:19;43851:5;43838:19;;;;;;;;;;;;:24;;43831:31;;43741:129;;;;:::o;43956:109::-;44012:7;44039:3;:11;;:18;;;;44032:25;;43956:109;;;:::o;41521:414::-;41584:4;41606:21;41616:3;41621:5;41606:9;:21::i;:::-;41601:327;;41644:3;:11;;41661:5;41644:23;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;41644:23:0;;;;;;;;;;;;;;;;;;;41827:3;:11;;:18;;;;41805:3;:12;;:19;41818:5;41805:19;;;;;;;;;;;:40;;;;41867:4;41860:11;;;;41601:327;41911:5;41904:12;;41521:414;;;;;:::o;42111:1544::-;42177:4;42295:18;42316:3;:12;;:19;42329:5;42316:19;;;;;;;;;;;;42295:40;;42366:1;42352:10;:15;42348:1300;;42714:21;42751:1;42738:10;:14;42714:38;;42767:17;42808:1;42787:3;:11;;:18;;;;:22;42767:42;;43054:17;43074:3;:11;;43086:9;43074:22;;;;;;;;;;;;;;;;43054:42;;43220:9;43191:3;:11;;43203:13;43191:26;;;;;;;;;;;;;;;:38;;;;43339:1;43323:13;:17;43297:3;:12;;:23;43310:9;43297:23;;;;;;;;;;;:43;;;;43449:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;43544:3;:12;;:19;43557:5;43544:19;;;;;;;;;;;43537:26;;;43587:4;43580:11;;;;;;;;42348:1300;43631:5;43624:12;;;42111:1544;;;;;:::o

Swarm Source

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