ETH Price: $3,812.31 (+4.34%)

Token

PILLS ()
 

Overview

Max Total Supply

3,808

Holders

1,186

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x0c3341f9fe2c84be4444ed252147a47df279306b
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

An on-chain RPG set within a crypto-themed universe known as Chainspace. Mint your avatar, customize it, level it up, advance your skills, acquire resources to make wearables you can equip or sell to other players.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Core

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : Core.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/IMintValidator.sol";
import "./interfaces/IFabricator.sol";
import "./MetadataRegistry.sol";

// write interface for
//Interface

contract Core is Context, ERC1155Burnable, Ownable, IFabricator {
  event Validator(IMintValidator indexed validator, bool indexed active);

  mapping(IMintValidator => bool) public isValidator;
  mapping(IMintValidator => uint256[]) public validatorToIds;
  mapping(uint256 => address) public idToValidator;
  mapping(uint256 => uint256) public override quantityMinted;
  // URI base; NOT the whole uri.
  string private _uri;
  IReadMetadata private _registry;

  /**
   * @dev intializes the core ERC1155 logic, and sets the original URI base
   */
  constructor(
    string memory baseUri_,
    IReadMetadata registry_
  ) ERC1155(baseUri_) {
    _registry = registry_;
    _uri = baseUri_;
  }

  modifier onlyValidator() {
    bool isActive = isValidator[IMintValidator(msg.sender)];
    require(isActive, "VALIDATOR_INACTIVE");
    _;
  }

  /**
   * @dev query URI for a token Id. Queries the Metadata registry on the backend
   */
  function uri(uint256 _id) public view override returns (string memory) {
    return string(abi.encodePacked(_uri, _registry.get(_id)));
  }

  /**
   * @dev change the URI base address after construction.
   */
  function setBaseURI(string calldata _newBaseUri) external onlyOwner {
    _setURI(_newBaseUri);
  }

  /**
   * @dev change the URI base address after construction.
   */
  function setNewRegistry(IReadMetadata registry_) external onlyOwner {
    _registry = registry_;
  }

  /**
   * @dev An active Validator is necessary to enable `modularMint`
   */
  function addValidator(IMintValidator _validator, uint256[] memory ids) external virtual onlyOwner {
    bool isActive = isValidator[_validator];
    require(!isActive, "VALIDATOR_ACTIVE");
    for(uint256 i; i < ids.length; i++){
      require(idToValidator[ids[i]] == address(0x0), "INVALID_VALIDATOR_IDS");
      idToValidator[ids[i]] = address(_validator);
    }
    isValidator[_validator] = true;
    emit Validator(_validator, !isActive);
  }

  /**
   * @dev Remove Validators that are no longer needed to remove attack surfaces
   */
  function removeValidator(IMintValidator _validator)
    external
    virtual
    onlyOwner
  {
    bool isActive = isValidator[_validator];
    require(isActive, "VALIDATOR_INACTIVE");
    uint256[] memory ids = validatorToIds[_validator];
    for(uint256 i; i < ids.length; i++){
      idToValidator[ids[i]] = address(0x0);
    }
    isValidator[_validator] = false;
    emit Validator(_validator, !isActive);
  }

  /**
   * @dev Upgrade the validator responsible for a certain 
   */
  function upgradeValidator(IMintValidator _oldValidator, IMintValidator _newValidator)
    external
    virtual
    onlyOwner
  {
    bool isActive = isValidator[_oldValidator];
    require(isActive, "VALIDATOR_INACTIVE");
    uint256[] memory ids = validatorToIds[_oldValidator];
    for(uint256 i; i < ids.length; i++){
      idToValidator[ids[i]] = address(_newValidator);
    }
    isValidator[_oldValidator] = false;
    emit Validator(_oldValidator, !isActive);
    isValidator[_newValidator] = true;
    emit Validator(_newValidator, !isActive);
  }

  /**
   * @dev Mint mulitiple tokens at different quantities. This is an onlyOwner-guareded
          function and is meant basically as a sudo-command.
   */
  function mintBatch(
    address _to,
    uint256[] memory _ids,
    uint256[] memory _amounts,
    bytes memory _data
  ) external virtual onlyOwner {
    _mintBatch(_to, _ids, _amounts, _data);
    _updateMintedQuantities(_ids, _amounts);
  }

  /**
   * @dev Creates `amount` new tokens for `to`, of token type `id`.
   *      At least one Validator must be active in order to utilized this interface.
   */
  function modularMintInit(
    uint256 _dropId,
    address _to,
    uint256[] memory _requestedAmounts,
    bytes memory _data,
    IMintValidator _validator,
    string calldata _metadata
  ) public virtual override {
    require(isValidator[_validator], "BAD_VALIDATOR");
    _validator.validate(_to, _dropId, _requestedAmounts, _metadata, _data);
  }
  /**
   * @dev Creates `amount` new tokens for `to`, of token type `id`.
   *      At least one Validator must be active in order to utilized this interface.
   */
  function modularMintCallback(
    address recipient,
    uint256[] calldata _ids,
    uint256[] calldata _requestedAmounts,
    bytes calldata _data
  ) public override virtual onlyValidator {
    for(uint256 i; i < _ids.length; i++){
      require(idToValidator[_ids[i]] == address(msg.sender), "INVALID_MINT");
    }
    _mintBatch(recipient, _ids, _requestedAmounts, _data);
    _updateMintedQuantities(_ids, _requestedAmounts);
  }

  function _updateMintedQuantities(
    uint256[] memory _ids,
    uint256[] memory _amounts
  ) internal {
    require(_ids.length == _amounts.length, "MINT_QUANTITY_MISMATCH");
    for (uint256 i = 0; i < _ids.length; i++) {
      quantityMinted[_ids[i]] += _amounts[i];
    }
  }

  function _updateMintedQuantity(uint256 _id, uint256 _amount) internal {
    uint256[] memory ids = new uint256[](1);
    uint256[] memory amounts = new uint256[](1);
    ids[0] = _id;
    amounts[0] = _amount;
    _updateMintedQuantities(ids, amounts);
  }
}

File 2 of 14 : ERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

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

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

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return interfaceId == type(IERC1155).interfaceId
            || interfaceId == type(IERC1155MetadataURI).interfaceId
            || super.supportsInterface(interfaceId);
    }

    /**
     * @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.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual 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
        virtual
        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) {
            batchBalances[i] = balanceOf(accounts[i], ids[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 virtual override returns (bool) {
        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);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        _balances[id][from] = fromBalance - amount;
        _balances[id][to] += 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];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            _balances[id][from] = fromBalance - amount;
            _balances[id][to] += 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 `account` 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] += 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];
        }

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

        uint256 accountBalance = _balances[id][account];
        require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
        _balances[id][account] = accountBalance - amount;

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

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

        address operator = _msgSender();

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

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

            uint256 accountBalance = _balances[id][account];
            require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
            _balances[id][account] = accountBalance - amount;
        }

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

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

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

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

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

        return array;
    }
}

File 3 of 14 : ERC1155Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of {ERC1155} that allows token holders to destroy both their
 * own tokens and those that they have been approved to use.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Burnable is ERC1155 {
    function burn(address account, uint256 id, uint256 value) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burn(account, id, value);
    }

    function burnBatch(address account, uint256[] memory ids, uint256[] memory values) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burnBatch(account, ids, values);
    }
}

File 4 of 14 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 5 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 6 of 14 : IMintValidator.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface IMintValidator {
  function validate(
    address _recipient,
    uint256 _dropId,
    uint256[] memory _requestedQty,
    string calldata _metadata,
    bytes memory _data
  ) external;
}

File 7 of 14 : IFabricator.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IMintValidator.sol";

interface IFabricator {
    function modularMintInit(
    uint256 _dropId,
    address _to,
    uint256[] memory _requestedAmounts,
    bytes memory _data,
    IMintValidator _validator,
    string calldata _metadata
  ) external;
    function modularMintCallback(
    address recipient,
    uint256[] memory _ids,
    uint256[] memory _requestedAmounts,
    bytes memory _data
  ) external;
  function quantityMinted(uint256 collectibleId) external returns(uint256);
}

File 8 of 14 : MetadataRegistry.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;
//pragma abicoder v2;

import "@openzeppelin/contracts/access/Ownable.sol";

interface IReadMetadata {
  function get(uint256 _id) external view returns (string memory metadata);
}

contract MetadataRegistry is IReadMetadata, Ownable {
  event Register(uint256 id, string metadata);
  event UnRegister(uint256 id);

  mapping(uint256 => string) public idToMetadata;

  function set(uint256 _id, string calldata _metadata) public onlyOwner {
    idToMetadata[_id] = _metadata;
    emit Register(_id, _metadata);
  }

  function get(uint256 _id)
    public
    view
    override
    returns (string memory metadata)
  {
    metadata = idToMetadata[_id];
    require(bytes(metadata).length > 0, "MISSING_URI");
  }

  function setMultiple(uint256[] calldata _ids, string[] calldata _metadatas)
    external
    onlyOwner
  {
    require(_ids.length == _metadatas.length, "SET_MULTIPLE_LENGTH_MISMATCH");
    for (uint256 i = 0; i < _ids.length; i++) {
      set(_ids[i], _metadatas[i]);
    }
  }
}

File 9 of 14 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

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

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

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

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

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

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

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

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

File 10 of 14 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev _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 11 of 14 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC1155.sol";

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

File 12 of 14 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseUri_","type":"string"},{"internalType":"contract IReadMetadata","name":"registry_","type":"address"}],"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IMintValidator","name":"validator","type":"address"},{"indexed":true,"internalType":"bool","name":"active","type":"bool"}],"name":"Validator","type":"event"},{"inputs":[{"internalType":"contract IMintValidator","name":"_validator","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"addValidator","outputs":[],"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":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"idToValidator","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"contract IMintValidator","name":"","type":"address"}],"name":"isValidator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_requestedAmounts","type":"uint256[]"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"modularMintCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_dropId","type":"uint256"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_requestedAmounts","type":"uint256[]"},{"internalType":"bytes","name":"_data","type":"bytes"},{"internalType":"contract IMintValidator","name":"_validator","type":"address"},{"internalType":"string","name":"_metadata","type":"string"}],"name":"modularMintInit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"quantityMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IMintValidator","name":"_validator","type":"address"}],"name":"removeValidator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"string","name":"_newBaseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IReadMetadata","name":"registry_","type":"address"}],"name":"setNewRegistry","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":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMintValidator","name":"_oldValidator","type":"address"},{"internalType":"contract IMintValidator","name":"_newValidator","type":"address"}],"name":"upgradeValidator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IMintValidator","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"validatorToIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162005a9638038062005a968339818101604052810190620000379190620002ba565b8162000049816200015d60201b60201c565b5060006200005c6200017960201b60201c565b905080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600890805190602001906200015492919062000181565b505050620004e6565b80600290805190602001906200017592919062000181565b5050565b600033905090565b8280546200018f90620003f1565b90600052602060002090601f016020900481019282620001b35760008555620001ff565b82601f10620001ce57805160ff1916838001178555620001ff565b82800160010185558215620001ff579182015b82811115620001fe578251825591602001919060010190620001e1565b5b5090506200020e919062000212565b5090565b5b808211156200022d57600081600090555060010162000213565b5090565b60006200024862000242846200033d565b62000314565b9050828152602081018484840111156200026157600080fd5b6200026e848285620003bb565b509392505050565b6000815190506200028781620004cc565b92915050565b600082601f8301126200029f57600080fd5b8151620002b184826020860162000231565b91505092915050565b60008060408385031215620002ce57600080fd5b600083015167ffffffffffffffff811115620002e957600080fd5b620002f7858286016200028d565b92505060206200030a8582860162000276565b9150509250929050565b60006200032062000333565b90506200032e828262000427565b919050565b6000604051905090565b600067ffffffffffffffff8211156200035b576200035a6200048c565b5b6200036682620004bb565b9050602081019050919050565b600062000380826200039b565b9050919050565b6000620003948262000373565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620003db578082015181840152602081019050620003be565b83811115620003eb576000848401525b50505050565b600060028204905060018216806200040a57607f821691505b602082108114156200042157620004206200045d565b5b50919050565b6200043282620004bb565b810181811067ffffffffffffffff821117156200045457620004536200048c565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620004d78162000387565b8114620004e357600080fd5b50565b6155a080620004f66000396000f3fe608060405234801561001057600080fd5b50600436106101725760003560e01c806378d2bc5c116100de578063c18ceffe11610097578063f2fde38b11610071578063f2fde38b1461043f578063f5298aca1461045b578063facd743b14610477578063fee7835c146104a757610172565b8063c18ceffe146103d7578063e985e9c5146103f3578063f242432a1461042357610172565b806378d2bc5c146103195780638a8bdf58146103495780638da5cb5b14610365578063934eddf814610383578063a22cb4651461039f578063b4912207146103bb57610172565b80634e1273f4116101305780634e1273f41461025b57806355f804b31461028b5780636b20c454146102a7578063715018a6146102c3578063720153d2146102cd57806372d79f4b146102fd57610172565b8062fdd58e1461017757806301ffc9a7146101a75780630e89341c146101d75780631f7fdffa146102075780632eb2c2d61461022357806340a141ff1461023f575b600080fd5b610191600480360381019061018c9190613cda565b6104d7565b60405161019e9190614a48565b60405180910390f35b6101c160048036038101906101bc9190613dd1565b6105a0565b6040516101ce919061476b565b60405180910390f35b6101f160048036038101906101ec9190613fc7565b610682565b6040516101fe9190614786565b60405180910390f35b610221600480360381019061021c9190613bf3565b61075d565b005b61023d6004803603810190610238919061396d565b6107f5565b005b61025960048036038101906102549190613e23565b610beb565b005b61027560048036038101906102709190613d65565b610ee1565b6040516102829190614712565b60405180910390f35b6102a560048036038101906102a09190613f41565b611092565b005b6102c160048036038101906102bc9190613b74565b61115f565b005b6102cb6111fc565b005b6102e760048036038101906102e29190613edc565b611339565b6040516102f49190614a48565b60405180910390f35b61031760048036038101906103129190613e4c565b61136a565b005b610333600480360381019061032e9190613fc7565b6116b0565b60405161034091906145cb565b60405180910390f35b610363600480360381019061035e9190613ff0565b6116e3565b005b61036d6117ed565b60405161037a91906145cb565b60405180910390f35b61039d60048036038101906103989190613abb565b611817565b005b6103b960048036038101906103b49190613c9e565b611b12565b005b6103d560048036038101906103d09190613f18565b611c93565b005b6103f160048036038101906103ec9190613ea0565b611d53565b005b61040d60048036038101906104089190613931565b6120e8565b60405161041a919061476b565b60405180910390f35b61043d60048036038101906104389190613a2c565b61217c565b005b61045960048036038101906104549190613908565b612494565b005b61047560048036038101906104709190613d16565b612640565b005b610491600480360381019061048c9190613e23565b6126dd565b60405161049e919061476b565b60405180910390f35b6104c160048036038101906104bc9190613fc7565b6126fd565b6040516104ce9190614a48565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053f906147e8565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061066b57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061067b575061067a82612715565b5b9050919050565b60606008600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639507d39a846040518263ffffffff1660e01b81526004016106e19190614a48565b60006040518083038186803b1580156106f957600080fd5b505afa15801561070d573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906107369190613f86565b6040516020016107479291906145a7565b6040516020818303038152906040529050919050565b61076561277f565b73ffffffffffffffffffffffffffffffffffffffff166107836117ed565b73ffffffffffffffffffffffffffffffffffffffff16146107d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d090614968565b60405180910390fd5b6107e584848484612787565b6107ef83836129f1565b50505050565b8151835114610839576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610830906149e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156108a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a0906148c8565b60405180910390fd5b6108b161277f565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806108f757506108f6856108f161277f565b6120e8565b5b610936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092d906148e8565b60405180910390fd5b600061094061277f565b9050610950818787878787612b03565b60005b8451811015610b56576000858281518110610997577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060008583815181106109dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7490614948565b60405180910390fd5b8181610a899190614c52565b60008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610b3b9190614bfc565b9250508190555050505080610b4f90614dc3565b9050610953565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610bcd929190614734565b60405180910390a4610be3818787878787612b0b565b505050505050565b610bf361277f565b73ffffffffffffffffffffffffffffffffffffffff16610c116117ed565b73ffffffffffffffffffffffffffffffffffffffff1614610c67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5e90614968565b60405180910390fd5b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905080610cf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cef90614908565b60405180910390fd5b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610d8357602002820191906000526020600020905b815481526020019060010190808311610d6f575b5050505050905060005b8151811015610e3c57600060066000848481518110610dd5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080610e3490614dc3565b915050610d8d565b506000600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550811515158373ffffffffffffffffffffffffffffffffffffffff167f648ff21ba22ed8487e4c065c2a1053d7dc6e9cd9aee40b08f378a93c2f44a67960405160405180910390a3505050565b60608151835114610f27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1e906149c8565b60405180910390fd5b6000835167ffffffffffffffff811115610f6a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610f985781602001602082028036833780820191505090505b50905060005b845181101561108757611031858281518110610fe3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110611024577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516104d7565b82828151811061106a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508061108090614dc3565b9050610f9e565b508091505092915050565b61109a61277f565b73ffffffffffffffffffffffffffffffffffffffff166110b86117ed565b73ffffffffffffffffffffffffffffffffffffffff161461110e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110590614968565b60405180910390fd5b61115b82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612cf2565b5050565b61116761277f565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806111ad57506111ac836111a761277f565b6120e8565b5b6111ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e390614848565b60405180910390fd5b6111f7838383612d0c565b505050565b61120461277f565b73ffffffffffffffffffffffffffffffffffffffff166112226117ed565b73ffffffffffffffffffffffffffffffffffffffff1614611278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126f90614968565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6005602052816000526040600020818154811061135557600080fd5b90600052602060002001600091509150505481565b61137261277f565b73ffffffffffffffffffffffffffffffffffffffff166113906117ed565b73ffffffffffffffffffffffffffffffffffffffff16146113e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113dd90614968565b60405180910390fd5b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1690508015611478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146f90614868565b60405180910390fd5b60005b825181101561160b57600073ffffffffffffffffffffffffffffffffffffffff16600660008584815181106114d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155d906148a8565b60405180910390fd5b83600660008584815181106115a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808061160390614dc3565b91505061147b565b506001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550801515158373ffffffffffffffffffffffffffffffffffffffff167f648ff21ba22ed8487e4c065c2a1053d7dc6e9cd9aee40b08f378a93c2f44a67960405160405180910390a3505050565b60066020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661176f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176690614a08565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166362749f0587898886868a6040518763ffffffff1660e01b81526004016117b2969594939291906146a8565b600060405180830381600087803b1580156117cc57600080fd5b505af11580156117e0573d6000803e3d6000fd5b5050505050505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050806118a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189f90614908565b60405180910390fd5b60005b878790508110156119a9573373ffffffffffffffffffffffffffffffffffffffff16600660008a8a8581811061190a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198d90614988565b60405180910390fd5b80806119a190614dc3565b9150506118ab565b50611a7c88888880806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050878780806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505086868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612787565b611b08878780806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506129f1565b5050505050505050565b8173ffffffffffffffffffffffffffffffffffffffff16611b3161277f565b73ffffffffffffffffffffffffffffffffffffffff161415611b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7f906149a8565b60405180910390fd5b8060016000611b9561277f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c4261277f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c87919061476b565b60405180910390a35050565b611c9b61277f565b73ffffffffffffffffffffffffffffffffffffffff16611cb96117ed565b73ffffffffffffffffffffffffffffffffffffffff1614611d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0690614968565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611d5b61277f565b73ffffffffffffffffffffffffffffffffffffffff16611d796117ed565b73ffffffffffffffffffffffffffffffffffffffff1614611dcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc690614968565b60405180910390fd5b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905080611e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5790614908565b60405180910390fd5b6000600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015611eeb57602002820191906000526020600020905b815481526020019060010190808311611ed7575b5050505050905060005b8151811015611fa3578360066000848481518110611f3c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080611f9b90614dc3565b915050611ef5565b506000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550811515158473ffffffffffffffffffffffffffffffffffffffff167f648ff21ba22ed8487e4c065c2a1053d7dc6e9cd9aee40b08f378a93c2f44a67960405160405180910390a36001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550811515158373ffffffffffffffffffffffffffffffffffffffff167f648ff21ba22ed8487e4c065c2a1053d7dc6e9cd9aee40b08f378a93c2f44a67960405160405180910390a350505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156121ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e3906148c8565b60405180910390fd5b6121f461277f565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061223a57506122398561223461277f565b6120e8565b5b612279576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227090614848565b60405180910390fd5b600061228361277f565b90506122a381878761229488613012565b61229d88613012565b87612b03565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561233a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233190614948565b60405180910390fd5b83816123469190614c52565b60008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123f89190614bfc565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612475929190614a63565b60405180910390a461248b8288888888886130d8565b50505050505050565b61249c61277f565b73ffffffffffffffffffffffffffffffffffffffff166124ba6117ed565b73ffffffffffffffffffffffffffffffffffffffff1614612510576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250790614968565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612580576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257790614808565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61264861277f565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061268e575061268d8361268861277f565b6120e8565b5b6126cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c490614848565b60405180910390fd5b6126d88383836132bf565b505050565b60046020528060005260406000206000915054906101000a900460ff1681565b60076020528060005260406000206000915090505481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156127f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ee90614a28565b60405180910390fd5b815183511461283b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612832906149e8565b60405180910390fd5b600061284561277f565b905061285681600087878787612b03565b60005b845181101561295b5783818151811061289b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516000808784815181106128df577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129419190614bfc565b92505081905550808061295390614dc3565b915050612859565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516129d3929190614734565b60405180910390a46129ea81600087878787612b0b565b5050505050565b8051825114612a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2c90614888565b60405180910390fd5b60005b8251811015612afe57818181518110612a7a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160076000858481518110612abf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612ae49190614bfc565b925050819055508080612af690614dc3565b915050612a38565b505050565b505050505050565b612b2a8473ffffffffffffffffffffffffffffffffffffffff166134e5565b15612cea578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612b709594939291906145e6565b602060405180830381600087803b158015612b8a57600080fd5b505af1925050508015612bbb57506040513d601f19601f82011682018060405250810190612bb89190613dfa565b60015b612c6157612bc7614e99565b806308c379a01415612c245750612bdc61544a565b80612be75750612c26565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1b9190614786565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c58906147a8565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612ce8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cdf906147c8565b60405180910390fd5b505b505050505050565b8060029080519060200190612d089291906134f8565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7390614928565b60405180910390fd5b8051825114612dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db7906149e8565b60405180910390fd5b6000612dca61277f565b9050612dea81856000868660405180602001604052806000815250612b03565b60005b8351811015612f8c576000848281518110612e31577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000848381518110612e76577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0e90614828565b60405180910390fd5b8181612f239190614c52565b60008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080612f8490614dc3565b915050612ded565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051613004929190614734565b60405180910390a450505050565b60606000600167ffffffffffffffff811115613057577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156130855781602001602082028036833780820191505090505b50905082816000815181106130c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b6130f78473ffffffffffffffffffffffffffffffffffffffff166134e5565b156132b7578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161313d95949392919061464e565b602060405180830381600087803b15801561315757600080fd5b505af192505050801561318857506040513d601f19601f820116820180604052508101906131859190613dfa565b60015b61322e57613194614e99565b806308c379a014156131f157506131a961544a565b806131b457506131f3565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131e89190614786565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613225906147a8565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146132b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132ac906147c8565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561332f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332690614928565b60405180910390fd5b600061333961277f565b90506133698185600061334b87613012565b61335487613012565b60405180602001604052806000815250612b03565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015613400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133f790614828565b60405180910390fd5b828161340c9190614c52565b60008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516134d6929190614a63565b60405180910390a45050505050565b600080823b905060008111915050919050565b82805461350490614d60565b90600052602060002090601f016020900481019282613526576000855561356d565b82601f1061353f57805160ff191683800117855561356d565b8280016001018555821561356d579182015b8281111561356c578251825591602001919060010190613551565b5b50905061357a919061357e565b5090565b5b8082111561359757600081600090555060010161357f565b5090565b60006135ae6135a984614ab1565b614a8c565b905080838252602082019050828560208602820111156135cd57600080fd5b60005b858110156135fd57816135e388826136ef565b8452602084019350602083019250506001810190506135d0565b5050509392505050565b600061361a61361584614add565b614a8c565b9050808382526020820190508285602086028201111561363957600080fd5b60005b85811015613669578161364f88826138f3565b84526020840193506020830192505060018101905061363c565b5050509392505050565b600061368661368184614b09565b614a8c565b90508281526020810184848401111561369e57600080fd5b6136a9848285614d1e565b509392505050565b60006136c46136bf84614b3a565b614a8c565b9050828152602081018484840111156136dc57600080fd5b6136e7848285614d2d565b509392505050565b6000813590506136fe816154e0565b92915050565b600082601f83011261371557600080fd5b813561372584826020860161359b565b91505092915050565b60008083601f84011261374057600080fd5b8235905067ffffffffffffffff81111561375957600080fd5b60208301915083602082028301111561377157600080fd5b9250929050565b600082601f83011261378957600080fd5b8135613799848260208601613607565b91505092915050565b6000813590506137b1816154f7565b92915050565b6000813590506137c68161550e565b92915050565b6000815190506137db8161550e565b92915050565b60008083601f8401126137f357600080fd5b8235905067ffffffffffffffff81111561380c57600080fd5b60208301915083600182028301111561382457600080fd5b9250929050565b600082601f83011261383c57600080fd5b813561384c848260208601613673565b91505092915050565b60008135905061386481615525565b92915050565b6000813590506138798161553c565b92915050565b60008083601f84011261389157600080fd5b8235905067ffffffffffffffff8111156138aa57600080fd5b6020830191508360018202830111156138c257600080fd5b9250929050565b600082601f8301126138da57600080fd5b81516138ea8482602086016136b1565b91505092915050565b60008135905061390281615553565b92915050565b60006020828403121561391a57600080fd5b6000613928848285016136ef565b91505092915050565b6000806040838503121561394457600080fd5b6000613952858286016136ef565b9250506020613963858286016136ef565b9150509250929050565b600080600080600060a0868803121561398557600080fd5b6000613993888289016136ef565b95505060206139a4888289016136ef565b945050604086013567ffffffffffffffff8111156139c157600080fd5b6139cd88828901613778565b935050606086013567ffffffffffffffff8111156139ea57600080fd5b6139f688828901613778565b925050608086013567ffffffffffffffff811115613a1357600080fd5b613a1f8882890161382b565b9150509295509295909350565b600080600080600060a08688031215613a4457600080fd5b6000613a52888289016136ef565b9550506020613a63888289016136ef565b9450506040613a74888289016138f3565b9350506060613a85888289016138f3565b925050608086013567ffffffffffffffff811115613aa257600080fd5b613aae8882890161382b565b9150509295509295909350565b60008060008060008060006080888a031215613ad657600080fd5b6000613ae48a828b016136ef565b975050602088013567ffffffffffffffff811115613b0157600080fd5b613b0d8a828b0161372e565b9650965050604088013567ffffffffffffffff811115613b2c57600080fd5b613b388a828b0161372e565b9450945050606088013567ffffffffffffffff811115613b5757600080fd5b613b638a828b016137e1565b925092505092959891949750929550565b600080600060608486031215613b8957600080fd5b6000613b97868287016136ef565b935050602084013567ffffffffffffffff811115613bb457600080fd5b613bc086828701613778565b925050604084013567ffffffffffffffff811115613bdd57600080fd5b613be986828701613778565b9150509250925092565b60008060008060808587031215613c0957600080fd5b6000613c17878288016136ef565b945050602085013567ffffffffffffffff811115613c3457600080fd5b613c4087828801613778565b935050604085013567ffffffffffffffff811115613c5d57600080fd5b613c6987828801613778565b925050606085013567ffffffffffffffff811115613c8657600080fd5b613c928782880161382b565b91505092959194509250565b60008060408385031215613cb157600080fd5b6000613cbf858286016136ef565b9250506020613cd0858286016137a2565b9150509250929050565b60008060408385031215613ced57600080fd5b6000613cfb858286016136ef565b9250506020613d0c858286016138f3565b9150509250929050565b600080600060608486031215613d2b57600080fd5b6000613d39868287016136ef565b9350506020613d4a868287016138f3565b9250506040613d5b868287016138f3565b9150509250925092565b60008060408385031215613d7857600080fd5b600083013567ffffffffffffffff811115613d9257600080fd5b613d9e85828601613704565b925050602083013567ffffffffffffffff811115613dbb57600080fd5b613dc785828601613778565b9150509250929050565b600060208284031215613de357600080fd5b6000613df1848285016137b7565b91505092915050565b600060208284031215613e0c57600080fd5b6000613e1a848285016137cc565b91505092915050565b600060208284031215613e3557600080fd5b6000613e4384828501613855565b91505092915050565b60008060408385031215613e5f57600080fd5b6000613e6d85828601613855565b925050602083013567ffffffffffffffff811115613e8a57600080fd5b613e9685828601613778565b9150509250929050565b60008060408385031215613eb357600080fd5b6000613ec185828601613855565b9250506020613ed285828601613855565b9150509250929050565b60008060408385031215613eef57600080fd5b6000613efd85828601613855565b9250506020613f0e858286016138f3565b9150509250929050565b600060208284031215613f2a57600080fd5b6000613f388482850161386a565b91505092915050565b60008060208385031215613f5457600080fd5b600083013567ffffffffffffffff811115613f6e57600080fd5b613f7a8582860161387f565b92509250509250929050565b600060208284031215613f9857600080fd5b600082015167ffffffffffffffff811115613fb257600080fd5b613fbe848285016138c9565b91505092915050565b600060208284031215613fd957600080fd5b6000613fe7848285016138f3565b91505092915050565b600080600080600080600060c0888a03121561400b57600080fd5b60006140198a828b016138f3565b975050602061402a8a828b016136ef565b965050604088013567ffffffffffffffff81111561404757600080fd5b6140538a828b01613778565b955050606088013567ffffffffffffffff81111561407057600080fd5b61407c8a828b0161382b565b945050608061408d8a828b01613855565b93505060a088013567ffffffffffffffff8111156140aa57600080fd5b6140b68a828b0161387f565b925092505092959891949750929550565b60006140d38383614589565b60208301905092915050565b6140e881614c86565b82525050565b60006140f982614b90565b6141038185614bbe565b935061410e83614b6b565b8060005b8381101561413f57815161412688826140c7565b975061413183614bb1565b925050600181019050614112565b5085935050505092915050565b61415581614c98565b82525050565b600061416682614b9b565b6141708185614bcf565b9350614180818560208601614d2d565b61418981614ebb565b840191505092915050565b60006141a08385614be0565b93506141ad838584614d1e565b6141b683614ebb565b840190509392505050565b60006141cc82614ba6565b6141d68185614be0565b93506141e6818560208601614d2d565b6141ef81614ebb565b840191505092915050565b600061420582614ba6565b61420f8185614bf1565b935061421f818560208601614d2d565b80840191505092915050565b6000815461423881614d60565b6142428186614bf1565b9450600182166000811461425d576001811461426e576142a1565b60ff198316865281860193506142a1565b61427785614b7b565b60005b838110156142995781548189015260018201915060208101905061427a565b838801955050505b50505092915050565b60006142b7603483614be0565b91506142c282614ed9565b604082019050919050565b60006142da602883614be0565b91506142e582614f28565b604082019050919050565b60006142fd602b83614be0565b915061430882614f77565b604082019050919050565b6000614320602683614be0565b915061432b82614fc6565b604082019050919050565b6000614343602483614be0565b915061434e82615015565b604082019050919050565b6000614366602983614be0565b915061437182615064565b604082019050919050565b6000614389601083614be0565b9150614394826150b3565b602082019050919050565b60006143ac601683614be0565b91506143b7826150dc565b602082019050919050565b60006143cf601583614be0565b91506143da82615105565b602082019050919050565b60006143f2602583614be0565b91506143fd8261512e565b604082019050919050565b6000614415603283614be0565b91506144208261517d565b604082019050919050565b6000614438601283614be0565b9150614443826151cc565b602082019050919050565b600061445b602383614be0565b9150614466826151f5565b604082019050919050565b600061447e602a83614be0565b915061448982615244565b604082019050919050565b60006144a1602083614be0565b91506144ac82615293565b602082019050919050565b60006144c4600c83614be0565b91506144cf826152bc565b602082019050919050565b60006144e7602983614be0565b91506144f2826152e5565b604082019050919050565b600061450a602983614be0565b915061451582615334565b604082019050919050565b600061452d602883614be0565b915061453882615383565b604082019050919050565b6000614550600d83614be0565b915061455b826153d2565b602082019050919050565b6000614573602183614be0565b915061457e826153fb565b604082019050919050565b61459281614d14565b82525050565b6145a181614d14565b82525050565b60006145b3828561422b565b91506145bf82846141fa565b91508190509392505050565b60006020820190506145e060008301846140df565b92915050565b600060a0820190506145fb60008301886140df565b61460860208301876140df565b818103604083015261461a81866140ee565b9050818103606083015261462e81856140ee565b90508181036080830152614642818461415b565b90509695505050505050565b600060a08201905061466360008301886140df565b61467060208301876140df565b61467d6040830186614598565b61468a6060830185614598565b818103608083015261469c818461415b565b90509695505050505050565b600060a0820190506146bd60008301896140df565b6146ca6020830188614598565b81810360408301526146dc81876140ee565b905081810360608301526146f1818587614194565b90508181036080830152614705818461415b565b9050979650505050505050565b6000602082019050818103600083015261472c81846140ee565b905092915050565b6000604082019050818103600083015261474e81856140ee565b9050818103602083015261476281846140ee565b90509392505050565b6000602082019050614780600083018461414c565b92915050565b600060208201905081810360008301526147a081846141c1565b905092915050565b600060208201905081810360008301526147c1816142aa565b9050919050565b600060208201905081810360008301526147e1816142cd565b9050919050565b60006020820190508181036000830152614801816142f0565b9050919050565b6000602082019050818103600083015261482181614313565b9050919050565b6000602082019050818103600083015261484181614336565b9050919050565b6000602082019050818103600083015261486181614359565b9050919050565b600060208201905081810360008301526148818161437c565b9050919050565b600060208201905081810360008301526148a18161439f565b9050919050565b600060208201905081810360008301526148c1816143c2565b9050919050565b600060208201905081810360008301526148e1816143e5565b9050919050565b6000602082019050818103600083015261490181614408565b9050919050565b600060208201905081810360008301526149218161442b565b9050919050565b600060208201905081810360008301526149418161444e565b9050919050565b6000602082019050818103600083015261496181614471565b9050919050565b6000602082019050818103600083015261498181614494565b9050919050565b600060208201905081810360008301526149a1816144b7565b9050919050565b600060208201905081810360008301526149c1816144da565b9050919050565b600060208201905081810360008301526149e1816144fd565b9050919050565b60006020820190508181036000830152614a0181614520565b9050919050565b60006020820190508181036000830152614a2181614543565b9050919050565b60006020820190508181036000830152614a4181614566565b9050919050565b6000602082019050614a5d6000830184614598565b92915050565b6000604082019050614a786000830185614598565b614a856020830184614598565b9392505050565b6000614a96614aa7565b9050614aa28282614d92565b919050565b6000604051905090565b600067ffffffffffffffff821115614acc57614acb614e6a565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614af857614af7614e6a565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614b2457614b23614e6a565b5b614b2d82614ebb565b9050602081019050919050565b600067ffffffffffffffff821115614b5557614b54614e6a565b5b614b5e82614ebb565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614c0782614d14565b9150614c1283614d14565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c4757614c46614e0c565b5b828201905092915050565b6000614c5d82614d14565b9150614c6883614d14565b925082821015614c7b57614c7a614e0c565b5b828203905092915050565b6000614c9182614cf4565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614cdb82614c86565b9050919050565b6000614ced82614c86565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614d4b578082015181840152602081019050614d30565b83811115614d5a576000848401525b50505050565b60006002820490506001821680614d7857607f821691505b60208210811415614d8c57614d8b614e3b565b5b50919050565b614d9b82614ebb565b810181811067ffffffffffffffff82111715614dba57614db9614e6a565b5b80604052505050565b6000614dce82614d14565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e0157614e00614e0c565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115614eb85760046000803e614eb5600051614ecc565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f56414c494441544f525f41435449564500000000000000000000000000000000600082015250565b7f4d494e545f5155414e544954595f4d49534d4154434800000000000000000000600082015250565b7f494e56414c49445f56414c494441544f525f4944530000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f56414c494441544f525f494e4143544956450000000000000000000000000000600082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f494e56414c49445f4d494e540000000000000000000000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f4241445f56414c494441544f5200000000000000000000000000000000000000600082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d101561545a576154dd565b615462614aa7565b60043d036004823e80513d602482011167ffffffffffffffff8211171561548a5750506154dd565b808201805167ffffffffffffffff8111156154a857505050506154dd565b80602083010160043d0385018111156154c55750505050506154dd565b6154d482602001850186614d92565b82955050505050505b90565b6154e981614c86565b81146154f457600080fd5b50565b61550081614c98565b811461550b57600080fd5b50565b61551781614ca4565b811461552257600080fd5b50565b61552e81614cd0565b811461553957600080fd5b50565b61554581614ce2565b811461555057600080fd5b50565b61555c81614d14565b811461556757600080fd5b5056fea26469706673582212205f2bcd738bab3bc1586d20b96262fe68e02757dcdb9a4e90d7b8fa49dae456e464736f6c634300080400330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d820c86445a831174767458501c315f526ac31970000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101725760003560e01c806378d2bc5c116100de578063c18ceffe11610097578063f2fde38b11610071578063f2fde38b1461043f578063f5298aca1461045b578063facd743b14610477578063fee7835c146104a757610172565b8063c18ceffe146103d7578063e985e9c5146103f3578063f242432a1461042357610172565b806378d2bc5c146103195780638a8bdf58146103495780638da5cb5b14610365578063934eddf814610383578063a22cb4651461039f578063b4912207146103bb57610172565b80634e1273f4116101305780634e1273f41461025b57806355f804b31461028b5780636b20c454146102a7578063715018a6146102c3578063720153d2146102cd57806372d79f4b146102fd57610172565b8062fdd58e1461017757806301ffc9a7146101a75780630e89341c146101d75780631f7fdffa146102075780632eb2c2d61461022357806340a141ff1461023f575b600080fd5b610191600480360381019061018c9190613cda565b6104d7565b60405161019e9190614a48565b60405180910390f35b6101c160048036038101906101bc9190613dd1565b6105a0565b6040516101ce919061476b565b60405180910390f35b6101f160048036038101906101ec9190613fc7565b610682565b6040516101fe9190614786565b60405180910390f35b610221600480360381019061021c9190613bf3565b61075d565b005b61023d6004803603810190610238919061396d565b6107f5565b005b61025960048036038101906102549190613e23565b610beb565b005b61027560048036038101906102709190613d65565b610ee1565b6040516102829190614712565b60405180910390f35b6102a560048036038101906102a09190613f41565b611092565b005b6102c160048036038101906102bc9190613b74565b61115f565b005b6102cb6111fc565b005b6102e760048036038101906102e29190613edc565b611339565b6040516102f49190614a48565b60405180910390f35b61031760048036038101906103129190613e4c565b61136a565b005b610333600480360381019061032e9190613fc7565b6116b0565b60405161034091906145cb565b60405180910390f35b610363600480360381019061035e9190613ff0565b6116e3565b005b61036d6117ed565b60405161037a91906145cb565b60405180910390f35b61039d60048036038101906103989190613abb565b611817565b005b6103b960048036038101906103b49190613c9e565b611b12565b005b6103d560048036038101906103d09190613f18565b611c93565b005b6103f160048036038101906103ec9190613ea0565b611d53565b005b61040d60048036038101906104089190613931565b6120e8565b60405161041a919061476b565b60405180910390f35b61043d60048036038101906104389190613a2c565b61217c565b005b61045960048036038101906104549190613908565b612494565b005b61047560048036038101906104709190613d16565b612640565b005b610491600480360381019061048c9190613e23565b6126dd565b60405161049e919061476b565b60405180910390f35b6104c160048036038101906104bc9190613fc7565b6126fd565b6040516104ce9190614a48565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053f906147e8565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061066b57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061067b575061067a82612715565b5b9050919050565b60606008600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639507d39a846040518263ffffffff1660e01b81526004016106e19190614a48565b60006040518083038186803b1580156106f957600080fd5b505afa15801561070d573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906107369190613f86565b6040516020016107479291906145a7565b6040516020818303038152906040529050919050565b61076561277f565b73ffffffffffffffffffffffffffffffffffffffff166107836117ed565b73ffffffffffffffffffffffffffffffffffffffff16146107d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d090614968565b60405180910390fd5b6107e584848484612787565b6107ef83836129f1565b50505050565b8151835114610839576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610830906149e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156108a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a0906148c8565b60405180910390fd5b6108b161277f565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806108f757506108f6856108f161277f565b6120e8565b5b610936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092d906148e8565b60405180910390fd5b600061094061277f565b9050610950818787878787612b03565b60005b8451811015610b56576000858281518110610997577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060008583815181106109dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7490614948565b60405180910390fd5b8181610a899190614c52565b60008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610b3b9190614bfc565b9250508190555050505080610b4f90614dc3565b9050610953565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610bcd929190614734565b60405180910390a4610be3818787878787612b0b565b505050505050565b610bf361277f565b73ffffffffffffffffffffffffffffffffffffffff16610c116117ed565b73ffffffffffffffffffffffffffffffffffffffff1614610c67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5e90614968565b60405180910390fd5b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905080610cf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cef90614908565b60405180910390fd5b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610d8357602002820191906000526020600020905b815481526020019060010190808311610d6f575b5050505050905060005b8151811015610e3c57600060066000848481518110610dd5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080610e3490614dc3565b915050610d8d565b506000600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550811515158373ffffffffffffffffffffffffffffffffffffffff167f648ff21ba22ed8487e4c065c2a1053d7dc6e9cd9aee40b08f378a93c2f44a67960405160405180910390a3505050565b60608151835114610f27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1e906149c8565b60405180910390fd5b6000835167ffffffffffffffff811115610f6a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610f985781602001602082028036833780820191505090505b50905060005b845181101561108757611031858281518110610fe3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110611024577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516104d7565b82828151811061106a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508061108090614dc3565b9050610f9e565b508091505092915050565b61109a61277f565b73ffffffffffffffffffffffffffffffffffffffff166110b86117ed565b73ffffffffffffffffffffffffffffffffffffffff161461110e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110590614968565b60405180910390fd5b61115b82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612cf2565b5050565b61116761277f565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806111ad57506111ac836111a761277f565b6120e8565b5b6111ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e390614848565b60405180910390fd5b6111f7838383612d0c565b505050565b61120461277f565b73ffffffffffffffffffffffffffffffffffffffff166112226117ed565b73ffffffffffffffffffffffffffffffffffffffff1614611278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126f90614968565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6005602052816000526040600020818154811061135557600080fd5b90600052602060002001600091509150505481565b61137261277f565b73ffffffffffffffffffffffffffffffffffffffff166113906117ed565b73ffffffffffffffffffffffffffffffffffffffff16146113e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113dd90614968565b60405180910390fd5b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1690508015611478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146f90614868565b60405180910390fd5b60005b825181101561160b57600073ffffffffffffffffffffffffffffffffffffffff16600660008584815181106114d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155d906148a8565b60405180910390fd5b83600660008584815181106115a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808061160390614dc3565b91505061147b565b506001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550801515158373ffffffffffffffffffffffffffffffffffffffff167f648ff21ba22ed8487e4c065c2a1053d7dc6e9cd9aee40b08f378a93c2f44a67960405160405180910390a3505050565b60066020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661176f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176690614a08565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166362749f0587898886868a6040518763ffffffff1660e01b81526004016117b2969594939291906146a8565b600060405180830381600087803b1580156117cc57600080fd5b505af11580156117e0573d6000803e3d6000fd5b5050505050505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050806118a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189f90614908565b60405180910390fd5b60005b878790508110156119a9573373ffffffffffffffffffffffffffffffffffffffff16600660008a8a8581811061190a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198d90614988565b60405180910390fd5b80806119a190614dc3565b9150506118ab565b50611a7c88888880806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050878780806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505086868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612787565b611b08878780806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506129f1565b5050505050505050565b8173ffffffffffffffffffffffffffffffffffffffff16611b3161277f565b73ffffffffffffffffffffffffffffffffffffffff161415611b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7f906149a8565b60405180910390fd5b8060016000611b9561277f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c4261277f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c87919061476b565b60405180910390a35050565b611c9b61277f565b73ffffffffffffffffffffffffffffffffffffffff16611cb96117ed565b73ffffffffffffffffffffffffffffffffffffffff1614611d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0690614968565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611d5b61277f565b73ffffffffffffffffffffffffffffffffffffffff16611d796117ed565b73ffffffffffffffffffffffffffffffffffffffff1614611dcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc690614968565b60405180910390fd5b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905080611e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5790614908565b60405180910390fd5b6000600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015611eeb57602002820191906000526020600020905b815481526020019060010190808311611ed7575b5050505050905060005b8151811015611fa3578360066000848481518110611f3c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080611f9b90614dc3565b915050611ef5565b506000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550811515158473ffffffffffffffffffffffffffffffffffffffff167f648ff21ba22ed8487e4c065c2a1053d7dc6e9cd9aee40b08f378a93c2f44a67960405160405180910390a36001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550811515158373ffffffffffffffffffffffffffffffffffffffff167f648ff21ba22ed8487e4c065c2a1053d7dc6e9cd9aee40b08f378a93c2f44a67960405160405180910390a350505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156121ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e3906148c8565b60405180910390fd5b6121f461277f565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061223a57506122398561223461277f565b6120e8565b5b612279576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227090614848565b60405180910390fd5b600061228361277f565b90506122a381878761229488613012565b61229d88613012565b87612b03565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561233a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233190614948565b60405180910390fd5b83816123469190614c52565b60008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123f89190614bfc565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612475929190614a63565b60405180910390a461248b8288888888886130d8565b50505050505050565b61249c61277f565b73ffffffffffffffffffffffffffffffffffffffff166124ba6117ed565b73ffffffffffffffffffffffffffffffffffffffff1614612510576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250790614968565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612580576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257790614808565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61264861277f565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061268e575061268d8361268861277f565b6120e8565b5b6126cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c490614848565b60405180910390fd5b6126d88383836132bf565b505050565b60046020528060005260406000206000915054906101000a900460ff1681565b60076020528060005260406000206000915090505481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156127f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ee90614a28565b60405180910390fd5b815183511461283b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612832906149e8565b60405180910390fd5b600061284561277f565b905061285681600087878787612b03565b60005b845181101561295b5783818151811061289b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516000808784815181106128df577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129419190614bfc565b92505081905550808061295390614dc3565b915050612859565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516129d3929190614734565b60405180910390a46129ea81600087878787612b0b565b5050505050565b8051825114612a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2c90614888565b60405180910390fd5b60005b8251811015612afe57818181518110612a7a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160076000858481518110612abf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612ae49190614bfc565b925050819055508080612af690614dc3565b915050612a38565b505050565b505050505050565b612b2a8473ffffffffffffffffffffffffffffffffffffffff166134e5565b15612cea578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612b709594939291906145e6565b602060405180830381600087803b158015612b8a57600080fd5b505af1925050508015612bbb57506040513d601f19601f82011682018060405250810190612bb89190613dfa565b60015b612c6157612bc7614e99565b806308c379a01415612c245750612bdc61544a565b80612be75750612c26565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1b9190614786565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c58906147a8565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612ce8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cdf906147c8565b60405180910390fd5b505b505050505050565b8060029080519060200190612d089291906134f8565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7390614928565b60405180910390fd5b8051825114612dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db7906149e8565b60405180910390fd5b6000612dca61277f565b9050612dea81856000868660405180602001604052806000815250612b03565b60005b8351811015612f8c576000848281518110612e31577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000848381518110612e76577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0e90614828565b60405180910390fd5b8181612f239190614c52565b60008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080612f8490614dc3565b915050612ded565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051613004929190614734565b60405180910390a450505050565b60606000600167ffffffffffffffff811115613057577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156130855781602001602082028036833780820191505090505b50905082816000815181106130c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b6130f78473ffffffffffffffffffffffffffffffffffffffff166134e5565b156132b7578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161313d95949392919061464e565b602060405180830381600087803b15801561315757600080fd5b505af192505050801561318857506040513d601f19601f820116820180604052508101906131859190613dfa565b60015b61322e57613194614e99565b806308c379a014156131f157506131a961544a565b806131b457506131f3565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131e89190614786565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613225906147a8565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146132b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132ac906147c8565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561332f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332690614928565b60405180910390fd5b600061333961277f565b90506133698185600061334b87613012565b61335487613012565b60405180602001604052806000815250612b03565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015613400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133f790614828565b60405180910390fd5b828161340c9190614c52565b60008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516134d6929190614a63565b60405180910390a45050505050565b600080823b905060008111915050919050565b82805461350490614d60565b90600052602060002090601f016020900481019282613526576000855561356d565b82601f1061353f57805160ff191683800117855561356d565b8280016001018555821561356d579182015b8281111561356c578251825591602001919060010190613551565b5b50905061357a919061357e565b5090565b5b8082111561359757600081600090555060010161357f565b5090565b60006135ae6135a984614ab1565b614a8c565b905080838252602082019050828560208602820111156135cd57600080fd5b60005b858110156135fd57816135e388826136ef565b8452602084019350602083019250506001810190506135d0565b5050509392505050565b600061361a61361584614add565b614a8c565b9050808382526020820190508285602086028201111561363957600080fd5b60005b85811015613669578161364f88826138f3565b84526020840193506020830192505060018101905061363c565b5050509392505050565b600061368661368184614b09565b614a8c565b90508281526020810184848401111561369e57600080fd5b6136a9848285614d1e565b509392505050565b60006136c46136bf84614b3a565b614a8c565b9050828152602081018484840111156136dc57600080fd5b6136e7848285614d2d565b509392505050565b6000813590506136fe816154e0565b92915050565b600082601f83011261371557600080fd5b813561372584826020860161359b565b91505092915050565b60008083601f84011261374057600080fd5b8235905067ffffffffffffffff81111561375957600080fd5b60208301915083602082028301111561377157600080fd5b9250929050565b600082601f83011261378957600080fd5b8135613799848260208601613607565b91505092915050565b6000813590506137b1816154f7565b92915050565b6000813590506137c68161550e565b92915050565b6000815190506137db8161550e565b92915050565b60008083601f8401126137f357600080fd5b8235905067ffffffffffffffff81111561380c57600080fd5b60208301915083600182028301111561382457600080fd5b9250929050565b600082601f83011261383c57600080fd5b813561384c848260208601613673565b91505092915050565b60008135905061386481615525565b92915050565b6000813590506138798161553c565b92915050565b60008083601f84011261389157600080fd5b8235905067ffffffffffffffff8111156138aa57600080fd5b6020830191508360018202830111156138c257600080fd5b9250929050565b600082601f8301126138da57600080fd5b81516138ea8482602086016136b1565b91505092915050565b60008135905061390281615553565b92915050565b60006020828403121561391a57600080fd5b6000613928848285016136ef565b91505092915050565b6000806040838503121561394457600080fd5b6000613952858286016136ef565b9250506020613963858286016136ef565b9150509250929050565b600080600080600060a0868803121561398557600080fd5b6000613993888289016136ef565b95505060206139a4888289016136ef565b945050604086013567ffffffffffffffff8111156139c157600080fd5b6139cd88828901613778565b935050606086013567ffffffffffffffff8111156139ea57600080fd5b6139f688828901613778565b925050608086013567ffffffffffffffff811115613a1357600080fd5b613a1f8882890161382b565b9150509295509295909350565b600080600080600060a08688031215613a4457600080fd5b6000613a52888289016136ef565b9550506020613a63888289016136ef565b9450506040613a74888289016138f3565b9350506060613a85888289016138f3565b925050608086013567ffffffffffffffff811115613aa257600080fd5b613aae8882890161382b565b9150509295509295909350565b60008060008060008060006080888a031215613ad657600080fd5b6000613ae48a828b016136ef565b975050602088013567ffffffffffffffff811115613b0157600080fd5b613b0d8a828b0161372e565b9650965050604088013567ffffffffffffffff811115613b2c57600080fd5b613b388a828b0161372e565b9450945050606088013567ffffffffffffffff811115613b5757600080fd5b613b638a828b016137e1565b925092505092959891949750929550565b600080600060608486031215613b8957600080fd5b6000613b97868287016136ef565b935050602084013567ffffffffffffffff811115613bb457600080fd5b613bc086828701613778565b925050604084013567ffffffffffffffff811115613bdd57600080fd5b613be986828701613778565b9150509250925092565b60008060008060808587031215613c0957600080fd5b6000613c17878288016136ef565b945050602085013567ffffffffffffffff811115613c3457600080fd5b613c4087828801613778565b935050604085013567ffffffffffffffff811115613c5d57600080fd5b613c6987828801613778565b925050606085013567ffffffffffffffff811115613c8657600080fd5b613c928782880161382b565b91505092959194509250565b60008060408385031215613cb157600080fd5b6000613cbf858286016136ef565b9250506020613cd0858286016137a2565b9150509250929050565b60008060408385031215613ced57600080fd5b6000613cfb858286016136ef565b9250506020613d0c858286016138f3565b9150509250929050565b600080600060608486031215613d2b57600080fd5b6000613d39868287016136ef565b9350506020613d4a868287016138f3565b9250506040613d5b868287016138f3565b9150509250925092565b60008060408385031215613d7857600080fd5b600083013567ffffffffffffffff811115613d9257600080fd5b613d9e85828601613704565b925050602083013567ffffffffffffffff811115613dbb57600080fd5b613dc785828601613778565b9150509250929050565b600060208284031215613de357600080fd5b6000613df1848285016137b7565b91505092915050565b600060208284031215613e0c57600080fd5b6000613e1a848285016137cc565b91505092915050565b600060208284031215613e3557600080fd5b6000613e4384828501613855565b91505092915050565b60008060408385031215613e5f57600080fd5b6000613e6d85828601613855565b925050602083013567ffffffffffffffff811115613e8a57600080fd5b613e9685828601613778565b9150509250929050565b60008060408385031215613eb357600080fd5b6000613ec185828601613855565b9250506020613ed285828601613855565b9150509250929050565b60008060408385031215613eef57600080fd5b6000613efd85828601613855565b9250506020613f0e858286016138f3565b9150509250929050565b600060208284031215613f2a57600080fd5b6000613f388482850161386a565b91505092915050565b60008060208385031215613f5457600080fd5b600083013567ffffffffffffffff811115613f6e57600080fd5b613f7a8582860161387f565b92509250509250929050565b600060208284031215613f9857600080fd5b600082015167ffffffffffffffff811115613fb257600080fd5b613fbe848285016138c9565b91505092915050565b600060208284031215613fd957600080fd5b6000613fe7848285016138f3565b91505092915050565b600080600080600080600060c0888a03121561400b57600080fd5b60006140198a828b016138f3565b975050602061402a8a828b016136ef565b965050604088013567ffffffffffffffff81111561404757600080fd5b6140538a828b01613778565b955050606088013567ffffffffffffffff81111561407057600080fd5b61407c8a828b0161382b565b945050608061408d8a828b01613855565b93505060a088013567ffffffffffffffff8111156140aa57600080fd5b6140b68a828b0161387f565b925092505092959891949750929550565b60006140d38383614589565b60208301905092915050565b6140e881614c86565b82525050565b60006140f982614b90565b6141038185614bbe565b935061410e83614b6b565b8060005b8381101561413f57815161412688826140c7565b975061413183614bb1565b925050600181019050614112565b5085935050505092915050565b61415581614c98565b82525050565b600061416682614b9b565b6141708185614bcf565b9350614180818560208601614d2d565b61418981614ebb565b840191505092915050565b60006141a08385614be0565b93506141ad838584614d1e565b6141b683614ebb565b840190509392505050565b60006141cc82614ba6565b6141d68185614be0565b93506141e6818560208601614d2d565b6141ef81614ebb565b840191505092915050565b600061420582614ba6565b61420f8185614bf1565b935061421f818560208601614d2d565b80840191505092915050565b6000815461423881614d60565b6142428186614bf1565b9450600182166000811461425d576001811461426e576142a1565b60ff198316865281860193506142a1565b61427785614b7b565b60005b838110156142995781548189015260018201915060208101905061427a565b838801955050505b50505092915050565b60006142b7603483614be0565b91506142c282614ed9565b604082019050919050565b60006142da602883614be0565b91506142e582614f28565b604082019050919050565b60006142fd602b83614be0565b915061430882614f77565b604082019050919050565b6000614320602683614be0565b915061432b82614fc6565b604082019050919050565b6000614343602483614be0565b915061434e82615015565b604082019050919050565b6000614366602983614be0565b915061437182615064565b604082019050919050565b6000614389601083614be0565b9150614394826150b3565b602082019050919050565b60006143ac601683614be0565b91506143b7826150dc565b602082019050919050565b60006143cf601583614be0565b91506143da82615105565b602082019050919050565b60006143f2602583614be0565b91506143fd8261512e565b604082019050919050565b6000614415603283614be0565b91506144208261517d565b604082019050919050565b6000614438601283614be0565b9150614443826151cc565b602082019050919050565b600061445b602383614be0565b9150614466826151f5565b604082019050919050565b600061447e602a83614be0565b915061448982615244565b604082019050919050565b60006144a1602083614be0565b91506144ac82615293565b602082019050919050565b60006144c4600c83614be0565b91506144cf826152bc565b602082019050919050565b60006144e7602983614be0565b91506144f2826152e5565b604082019050919050565b600061450a602983614be0565b915061451582615334565b604082019050919050565b600061452d602883614be0565b915061453882615383565b604082019050919050565b6000614550600d83614be0565b915061455b826153d2565b602082019050919050565b6000614573602183614be0565b915061457e826153fb565b604082019050919050565b61459281614d14565b82525050565b6145a181614d14565b82525050565b60006145b3828561422b565b91506145bf82846141fa565b91508190509392505050565b60006020820190506145e060008301846140df565b92915050565b600060a0820190506145fb60008301886140df565b61460860208301876140df565b818103604083015261461a81866140ee565b9050818103606083015261462e81856140ee565b90508181036080830152614642818461415b565b90509695505050505050565b600060a08201905061466360008301886140df565b61467060208301876140df565b61467d6040830186614598565b61468a6060830185614598565b818103608083015261469c818461415b565b90509695505050505050565b600060a0820190506146bd60008301896140df565b6146ca6020830188614598565b81810360408301526146dc81876140ee565b905081810360608301526146f1818587614194565b90508181036080830152614705818461415b565b9050979650505050505050565b6000602082019050818103600083015261472c81846140ee565b905092915050565b6000604082019050818103600083015261474e81856140ee565b9050818103602083015261476281846140ee565b90509392505050565b6000602082019050614780600083018461414c565b92915050565b600060208201905081810360008301526147a081846141c1565b905092915050565b600060208201905081810360008301526147c1816142aa565b9050919050565b600060208201905081810360008301526147e1816142cd565b9050919050565b60006020820190508181036000830152614801816142f0565b9050919050565b6000602082019050818103600083015261482181614313565b9050919050565b6000602082019050818103600083015261484181614336565b9050919050565b6000602082019050818103600083015261486181614359565b9050919050565b600060208201905081810360008301526148818161437c565b9050919050565b600060208201905081810360008301526148a18161439f565b9050919050565b600060208201905081810360008301526148c1816143c2565b9050919050565b600060208201905081810360008301526148e1816143e5565b9050919050565b6000602082019050818103600083015261490181614408565b9050919050565b600060208201905081810360008301526149218161442b565b9050919050565b600060208201905081810360008301526149418161444e565b9050919050565b6000602082019050818103600083015261496181614471565b9050919050565b6000602082019050818103600083015261498181614494565b9050919050565b600060208201905081810360008301526149a1816144b7565b9050919050565b600060208201905081810360008301526149c1816144da565b9050919050565b600060208201905081810360008301526149e1816144fd565b9050919050565b60006020820190508181036000830152614a0181614520565b9050919050565b60006020820190508181036000830152614a2181614543565b9050919050565b60006020820190508181036000830152614a4181614566565b9050919050565b6000602082019050614a5d6000830184614598565b92915050565b6000604082019050614a786000830185614598565b614a856020830184614598565b9392505050565b6000614a96614aa7565b9050614aa28282614d92565b919050565b6000604051905090565b600067ffffffffffffffff821115614acc57614acb614e6a565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614af857614af7614e6a565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614b2457614b23614e6a565b5b614b2d82614ebb565b9050602081019050919050565b600067ffffffffffffffff821115614b5557614b54614e6a565b5b614b5e82614ebb565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614c0782614d14565b9150614c1283614d14565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c4757614c46614e0c565b5b828201905092915050565b6000614c5d82614d14565b9150614c6883614d14565b925082821015614c7b57614c7a614e0c565b5b828203905092915050565b6000614c9182614cf4565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614cdb82614c86565b9050919050565b6000614ced82614c86565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614d4b578082015181840152602081019050614d30565b83811115614d5a576000848401525b50505050565b60006002820490506001821680614d7857607f821691505b60208210811415614d8c57614d8b614e3b565b5b50919050565b614d9b82614ebb565b810181811067ffffffffffffffff82111715614dba57614db9614e6a565b5b80604052505050565b6000614dce82614d14565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e0157614e00614e0c565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115614eb85760046000803e614eb5600051614ecc565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f56414c494441544f525f41435449564500000000000000000000000000000000600082015250565b7f4d494e545f5155414e544954595f4d49534d4154434800000000000000000000600082015250565b7f494e56414c49445f56414c494441544f525f4944530000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f56414c494441544f525f494e4143544956450000000000000000000000000000600082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f494e56414c49445f4d494e540000000000000000000000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f4241445f56414c494441544f5200000000000000000000000000000000000000600082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d101561545a576154dd565b615462614aa7565b60043d036004823e80513d602482011167ffffffffffffffff8211171561548a5750506154dd565b808201805167ffffffffffffffff8111156154a857505050506154dd565b80602083010160043d0385018111156154c55750505050506154dd565b6154d482602001850186614d92565b82955050505050505b90565b6154e981614c86565b81146154f457600080fd5b50565b61550081614c98565b811461550b57600080fd5b50565b61551781614ca4565b811461552257600080fd5b50565b61552e81614cd0565b811461553957600080fd5b50565b61554581614ce2565b811461555057600080fd5b50565b61555c81614d14565b811461556757600080fd5b5056fea26469706673582212205f2bcd738bab3bc1586d20b96262fe68e02757dcdb9a4e90d7b8fa49dae456e464736f6c63430008040033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d820c86445a831174767458501c315f526ac31970000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseUri_ (string):
Arg [1] : registry_ (address): 0xD820C86445a831174767458501C315f526AC3197

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000d820c86445a831174767458501c315f526ac3197
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000


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.