ETH Price: $3,811.52 (+5.01%)

Token

Paper Nouns (PAPERNOUNS)
 

Overview

Max Total Supply

603 PAPERNOUNS

Holders

385

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 PAPERNOUNS
0x2C7cd75000407Adfe2B33A3F717d85B90219F4F3
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
PaperNounsToken

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

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

/*
 * This is a pert of Fully On-chain Generative Art project.
 *
 * web: https://fullyonchain.xyz/
 * github: https://github.com/Cryptocoders-wtf/generative
 * discord: https://discord.gg/4JGURQujXK
 *
 * Created by Satoshi Nakajima (@snakajima)
 */

pragma solidity ^0.8.6;

import '@openzeppelin/contracts/utils/Strings.sol';
import './libs/ProviderToken4.sol';
import './interfaces/ITokenGate.sol';

contract PaperNounsToken is ProviderToken4 {
  using Strings for uint256;
  ITokenGate public immutable tokenGate;
  bool public locked = true;
  bool public limited = true;
  IERC721 public dotNouns;

  constructor(
    ITokenGate _tokenGate,
    IAssetProvider _assetProvider,
    IERC721 _dotNouns
  ) ProviderToken4(_assetProvider, 'Paper Nouns', 'PAPERNOUNS') {
    tokenGate = _tokenGate;
    description = 'This is a part of Fully On-chain Generative Art project (https://fullyonchain.xyz/). All images are dymically generated on the blockchain.';
    mintPrice = 1e16; //0.01 ether, updatable
    dotNouns = _dotNouns;
  }

  function setLock(bool _locked) external onlyOwner {
    locked = _locked;
  }

  function setLimited(bool _limited) external onlyOwner {
    limited = _limited;
  }

  // Disable any approve and transfer during the initial minting
  function setApprovalForAll(
    address operator,
    bool approved
  ) public virtual override(ERC721WithOperatorFilter, IERC721) {
    require(!locked, "The contract is locked during the initial minting.");
    super.setApprovalForAll(operator, approved);
  }

  function approve(address operator, uint256 tokenId) public virtual override(ERC721WithOperatorFilter, IERC721) {
    require(!locked, "The contract is locked during the initial minting.");
    super.approve(operator, tokenId);
  }

  function _isApprovedOrOwner(address spender, uint256 tokenId) internal view override returns (bool) {
    require(!locked, "The contract is locked during the initial minting.");
    return super._isApprovedOrOwner(spender, tokenId);
  }

  function tokenName(uint256 _tokenId) internal pure override returns (string memory) {
    return string(abi.encodePacked('Paper Nouns ', _tokenId.toString()));
  }

  function toBeGifted(uint256 _tokenId) public pure returns(bool) {
    uint256[33] memory list = [uint256(1), 245, 403, 405, 406, 407, 410, 415, 416, 417, 419, 422, 423, 434, 450, 452, 453,
454, 456, 460, 471, 474, 475, 479, 487, 490, 492, 497, 499, 505, 512, 519, 543];
    for (uint i = 0; i < list.length; i++) {
      if (list[i] == _tokenId) {
        return true;
      }
    }
    return false;
  }

  function mint() public payable virtual override returns (uint256 tokenId) {
    // require(nextTokenId < 2500, 'Sold out'); // hard limit, regardless of updatable "mintLimit"
    require(msg.value >= mintPriceFor(msg.sender), 'Must send the mint price');
    require(balanceOf(msg.sender) < 3, 'Too many tokens');

    tokenId = super.mint();

    // Special case for Nouns 245 and V2 dot Nouns
    while (toBeGifted(nextTokenId)) {
      uint256 extraTokenId = nextTokenId++;
      address dotNounsOwner = dotNouns.ownerOf(extraTokenId);
      if (dotNounsOwner != address(0)) {
        _safeMint(dotNounsOwner, extraTokenId);
      } else {
        break;
      }
    }

    assetProvider.processPayout{ value: msg.value }(tokenId); // 100% distribution to the asset provider
  }

  function mintLimit() public view override returns (uint256) {
    return assetProvider.totalSupply();
  }

  function mintPriceFor(address _wallet) public view virtual override returns (uint256) {
    uint256 wlCount = tokenGate.balanceOf(_wallet);
    uint256 balance = balanceOf(_wallet);
    // During the private sale
    if (limited) {
      if (balance == 0 && wlCount > 0) {
        return mintPrice / 2; // 50% off for WL holders (only one per wallet)
      }
      return mintPrice * 4; // 4x, otherwise
    }

    // Public sale
    if (balance == 0 || balance < wlCount) {
      return mintPrice; // standard price for public or WL holder (upto the limit)
    }

    return mintPrice * 2; // 200% more beyond the limit
  }

  function _processRoyalty(uint _salesPrice, uint _tokenId) internal override returns (uint256 royalty) {
    royalty = (_salesPrice * 50) / 1000; // 5.0%
    assetProvider.processPayout{ value: royalty }(_tokenId);
  }
}

File 2 of 20 : ITokenGate.sol
// SPDX-License-Identifier: MIT

/*
 * Created by Satoshi Nakajima (@snakajima)
 */

pragma solidity ^0.8.6;

interface ITokenGate {
  // Intentially same as ERC721's balanceOf
  function balanceOf(address _wallet) external view returns (uint256 balance);
}

File 3 of 20 : ProviderToken4.sol
// SPDX-License-Identifier: MIT

/**
 * This is a part of an effort to create a decentralized autonomous marketplace for digital assets,
 * which allows artists and developers to sell their arts and generative arts.
 *
 * Please see "https://fullyonchain.xyz/" for details.
 *
 * Created by Satoshi Nakajima (@snakajima)
 */

pragma solidity ^0.8.6;

// import { Ownable } from '@openzeppelin/contracts/access/Ownable.sol';
// import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import '../packages/ERC721P2P/ERC721P2P.sol';
import { Base64 } from 'base64-sol/base64.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import 'assetprovider.sol/IAssetProvider.sol';

/**
 * ProviderToken is an abstract implentation of ERC721, which is built on top of an asset provider.
 * The specified asset provider is responsible in providing images for NFTs in SVG format,
 * which turns them into fully on-chain NFTs.
 *
 * When implementing the mint method, and it should call processPayout method of the asset provider like this:
 *
 *   provider.processPayout{value:msg.value}(assetId)
 *
 */
abstract contract ProviderToken4 is ERC721P2P {
  using Strings for uint256;
  using Strings for uint16;

  uint public nextTokenId;

  // To be specified by the concrete contract
  string public description;
  uint public mintPrice;
  uint internal _mintLimit; // with a virtual getter

  IAssetProvider public assetProvider;

  constructor(
    IAssetProvider _assetProvider,
    string memory _title,
    string memory _shortTitle
  ) ERC721(_title, _shortTitle) {
    assetProvider = _assetProvider;
  }

  function setAssetProvider(IAssetProvider _assetProvider) external onlyOwner {
    assetProvider = _assetProvider; // upgradable
  }

  function setDescription(string memory _description) external onlyOwner {
    description = _description;
  }

  function setMintPrice(uint256 _price) external onlyOwner {
    mintPrice = _price;
  }

  function setMintLimit(uint256 _limit) external onlyOwner {
    _mintLimit = _limit;
  }

  function mintLimit() public view virtual returns (uint256) {
    return _mintLimit;
  }

  string constant SVGHeader =
    '<svg viewBox="0 0 1024 1024'
    '"  xmlns="http://www.w3.org/2000/svg">\n'
    '<defs>\n';

  /*
   * A function of IAssetStoreToken interface.
   * It generates SVG with the specified style, using the given "SVG Part".
   */
  function generateSVG(uint256 _assetId) internal view returns (string memory) {
    // Constants of non-value type not yet implemented by Solidity
    (string memory svgPart, string memory tag) = assetProvider.generateSVGPart(_assetId);
    return
      string(
        abi.encodePacked(
          SVGHeader,
          svgPart,
          '</defs>\n'
          '<use href="#',
          tag,
          '" />\n'
          '</svg>\n'
        )
      );
  }

  /**
   * @notice A distinct Uniform Resource Identifier (URI) for a given asset.
   * @dev See {IERC721Metadata-tokenURI}.
   */
  function tokenURI(uint256 _tokenId) public view override returns (string memory) {
    require(_exists(_tokenId), 'ProviderToken.tokenURI: nonexistent token');
    bytes memory image = bytes(generateSVG(_tokenId));

    return
      string(
        abi.encodePacked(
          'data:application/json;base64,',
          Base64.encode(
            bytes(
              abi.encodePacked(
                '{"name":"',
                tokenName(_tokenId),
                '","description":"',
                description,
                '","attributes":[',
                generateTraits(_tokenId),
                '],"image":"data:image/svg+xml;base64,',
                Base64.encode(image),
                '"}'
              )
            )
          )
        )
      );
  }

  function tokenName(uint256 _tokenId) internal view virtual returns (string memory) {
    return _tokenId.toString();
  }

  /**
   * For non-free minting,
   * 1. Override this method
   * 2. Check for the required payment, by calling mintPriceFor()
   * 3. Call the processPayout method of the asset provider with appropriate value
   */
  function mint() public payable virtual returns (uint256 tokenId) {
    require(nextTokenId < mintLimit(), 'Sold out');
    tokenId = nextTokenId++;
    _safeMint(msg.sender, tokenId);
  }

  /**
   * The concreate contract may override to offer custom pricing,
   * such as token-gated discount.
   */
  function mintPriceFor(address) public view virtual returns (uint256) {
    return mintPrice;
  }

  function totalSupply() public view returns (uint256) {
    return nextTokenId;
  }

  function generateTraits(uint256 _tokenId) internal view returns (bytes memory traits) {
    traits = bytes(assetProvider.generateTraits(_tokenId));
  }

  function debugTokenURI(uint256 _tokenId) public view returns (string memory uri, uint256 gas) {
    gas = gasleft();
    uri = tokenURI(_tokenId);
    gas -= gasleft();
  }
}

File 4 of 20 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

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

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 5 of 20 : ERC721P2P.sol
// SPDX-License-Identifier: MIT

/**
 * This is a part of an effort to update ERC271 so that the sales transaction
 * becomes decentralized and trustless, which makes it possible to enforce
 * royalities without relying on marketplaces.
 *
 * Please see "https://hackmd.io/@snakajima/BJqG3fkSo" for details.
 *
 * Created by Satoshi Nakajima (@snakajima)
 */

pragma solidity ^0.8.6;

import './IERC721P2P.sol';
import { Ownable } from '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import './opensea/DefaultOperatorFilterer.sol';

// From https://github.com/ProjectOpenSea/operator-filter-registry/blob/main/src/example/ExampleERC721.sol
abstract contract ERC721WithOperatorFilter is ERC721, DefaultOperatorFilterer {
  function setApprovalForAll(
    address operator,
    bool approved
  ) public virtual override onlyAllowedOperatorApproval(operator) {
    super.setApprovalForAll(operator, approved);
  }

  function approve(address operator, uint256 tokenId) public virtual override onlyAllowedOperatorApproval(operator) {
    super.approve(operator, tokenId);
  }

  function transferFrom(address from, address to, uint256 tokenId) public virtual override onlyAllowedOperator(from) {
    super.transferFrom(from, to, tokenId);
  }

  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public virtual override onlyAllowedOperator(from) {
    super.safeTransferFrom(from, to, tokenId);
  }

  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory data
  ) public virtual override onlyAllowedOperator(from) {
    super.safeTransferFrom(from, to, tokenId, data);
  }
}

abstract contract ERC721P2P is IERC721P2P, ERC721WithOperatorFilter, Ownable {
  mapping(uint256 => uint256) prices;

  function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, IERC165) returns (bool) {
    return interfaceId == type(IERC721P2PCore).interfaceId || super.supportsInterface(interfaceId);
  }

  function setPriceOf(uint256 _tokenId, uint256 _price) public override {
    require(ownerOf(_tokenId) == msg.sender, 'Only the onwer can set the price');
    prices[_tokenId] = _price;
  }

  function getPriceOf(uint256 _tokenId) external view override returns (uint256) {
    return prices[_tokenId];
  }

  function purchase(uint256 _tokenId, address _buyer, address _facilitator) external payable override {
    uint256 price = prices[_tokenId];
    require(price > 0, 'Token is not on sale');
    require(msg.value >= price, 'Not enough fund');
    uint256 comission = _processSalesCommission(msg.value, _facilitator);
    uint256 royalty = _processRoyalty(msg.value, _tokenId);
    address tokenOwner = ownerOf(_tokenId);
    address payable payableTo = payable(tokenOwner);
    payableTo.transfer(msg.value - comission - royalty);
    prices[_tokenId] = 0; // not on sale any more
    
    _transfer(tokenOwner, _buyer, _tokenId);
  }

  // 2.5% to the facilitator (marketplace)
  function _processSalesCommission(
    uint _salesPrice,
    address _facilitator
  ) internal virtual returns (uint256 comission) {
    if (_facilitator != address(0)) {
      comission = (_salesPrice * 25) / 1000; // 2.5%
      address payable payableTo = payable(_facilitator);
      payableTo.transfer(comission);
    }
  }

  // Subclass needs to override to pay royalties to creator(s) here
  function _processRoyalty(uint _salesPrice, uint _tokenId) internal virtual returns (uint256 royalty) {
    /*
    royalty = _salesPrice * 50 / 1000; // 5.0%
    address payable payableTo = payable(address(_creator));
    payableTo.transfer(royalty);
    */
  }

  function acceptOffer(uint256 _tokenId, IERC721Marketplace _dealer, uint256 _price) external override {
    setPriceOf(_tokenId, _price);
    _dealer.acceptOffer(this, _tokenId, _price);
  }

  /**
  * If you want to completely disable all the transfers via marketplaces, 
  * override _isApprovedOrOwner like this.
  *
  function _isApprovedOrOwner(address spender, uint256 tokenId) internal view override returns (bool) {
    require(_exists(tokenId), "ERC721: operator query for nonexistent token");
    address owner = ERC721.ownerOf(tokenId);
    return (spender == owner); // only owner can transfer it
  }
  */
}

File 6 of 20 : base64.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;

/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides functions for encoding/decoding base64
library Base64 {
    string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
    bytes  internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000"
                                            hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000"
                                            hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000"
                                            hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000";

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';

        // load the table into memory
        string memory table = TABLE_ENCODE;

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((data.length + 2) / 3);

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
                // read 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // write 4 characters
                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(        input,  0x3F))))
                resultPtr := add(resultPtr, 1)
            }

            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }

        return result;
    }

    function decode(string memory _data) internal pure returns (bytes memory) {
        bytes memory data = bytes(_data);

        if (data.length == 0) return new bytes(0);
        require(data.length % 4 == 0, "invalid base64 decoder input");

        // load the table into memory
        bytes memory table = TABLE_DECODE;

        // every 4 characters represent 3 bytes
        uint256 decodedLen = (data.length / 4) * 3;

        // add some extra buffer at the end required for the writing
        bytes memory result = new bytes(decodedLen + 32);

        assembly {
            // padding with '='
            let lastBytes := mload(add(data, mload(data)))
            if eq(and(lastBytes, 0xFF), 0x3d) {
                decodedLen := sub(decodedLen, 1)
                if eq(and(lastBytes, 0xFFFF), 0x3d3d) {
                    decodedLen := sub(decodedLen, 1)
                }
            }

            // set the actual output length
            mstore(result, decodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 4 characters at a time
            for {} lt(dataPtr, endPtr) {}
            {
               // read 4 characters
               dataPtr := add(dataPtr, 4)
               let input := mload(dataPtr)

               // write 3 bytes
               let output := add(
                   add(
                       shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)),
                       shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))),
                   add(
                       shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)),
                               and(mload(add(tablePtr, and(        input , 0xFF))), 0xFF)
                    )
                )
                mstore(resultPtr, shl(232, output))
                resultPtr := add(resultPtr, 3)
            }
        }

        return result;
    }
}

File 7 of 20 : IAssetProvider.sol
// SPDX-License-Identifier: MIT

/**
 * This is a part of an effort to create a decentralized autonomous marketplace for digital assets,
 * which allows artists and developers to sell their arts and generative arts.
 *
 * Please see "https://fullyonchain.xyz/" for details. 
 *
 * Created by Satoshi Nakajima (@snakajima)
 */
pragma solidity ^0.8.6;

/**
 * IAssetProvider is the interface each asset provider implements.
 * We assume there are three types of asset providers.
 * 1. Static asset provider, which has a collection of assets (either in the storage or the code) and returns them.
 * 2. Generative provider, which dynamically (but deterministically from the seed) generates assets.
 * 3. Data visualizer, which generates assets based on various data on the blockchain.
 *
 * Note: Asset providers MUST implements IERC165 (supportsInterface method) as well. 
 */
interface IAssetProvider {
  struct ProviderInfo {
    string key;  // short and unique identifier of this provider (e.g., "asset")
    string name; // human readable display name (e.g., "Asset Store")
    IAssetProvider provider;
  }
  function getProviderInfo() external view returns(ProviderInfo memory);

  /**
   * This function returns SVGPart and the tag. The SVGPart consists of one or more SVG elements.
   * The tag specifies the identifier of the SVG element to be displayed (using <use> tag).
   * The tag is the combination of the provider key and assetId (e.e., "asset123")
   */
  function generateSVGPart(uint256 _assetId) external view returns(string memory svgPart, string memory tag);

  /**
   * This is an optional function, which returns various traits of the image for ERC721 token.
   * Format: {"trait_type":"TRAIL_TYPE","value":"VALUE"},{...}
   */
  function generateTraits(uint256 _assetId) external view returns (string memory);
  
  /**
   * This function returns the number of assets available from this provider. 
   * If the total supply is 100, assetIds of available assets are 0,1,...99.
   * The generative providers may returns 0, which indicates the provider dynamically but
   * deterministically generates assets using the given assetId as the random seed.
   */
  function totalSupply() external view returns(uint256);

  /**
   * Returns the onwer. The registration update is possible only if both contracts have the same owner. 
   */
  function getOwner() external view returns (address);

  /**
   * This function processes the royalty payment from the decentralized autonomous marketplace. 
   */
  function processPayout(uint256 _assetId) external payable;

  event Payout(string providerKey, uint256 assetId, address payable to, uint256 amount);
}

interface IAssetProviderEx is IAssetProvider {
  function generateSVGDocument(uint256 _assetId) external view returns(string memory document);
}

File 8 of 20 : IERC721P2P.sol
// SPDX-License-Identifier: MIT

/**
 * This is a part of an effort to update ERC271 so that the sales transaction
 * becomes decentralized and trustless, which makes it possible to enforce
 * royalities without relying on marketplaces.
 *
 * Please see "https://hackmd.io/@snakajima/BJqG3fkSo" for details.
 *
 * Created by Satoshi Nakajima (@snakajima)
 */

pragma solidity ^0.8.6;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';

interface IERC721Marketplace {
  // Make an offer to a specific token
  function makeAnOffer(IERC721P2PCore _contract, uint256 _tokenId, uint256 _price) external payable;

  // Withdraw an offer to a specific token (onlyOfferMaker)
  function withdrawAnOffer(IERC721P2PCore _contract, uint256 _tokenId) external;

  // Get the current offer to the specifiedToken
  function getTheBestOffer(IERC721P2PCore _contract, uint256 _tokenId) external view returns (uint256, address);

  // It will call the purchase method of _contract with the specified amount of payment.
  function acceptOffer(IERC721P2PCore _contract, uint256 _tokenId, uint256 _price) external;
}

interface IERC721P2PCore {
  // Set the price of the specified token (onlyTokenOwner)
  function setPriceOf(uint256 _tokenId, uint256 _price) external;

  // Get the current price of the specified token
  function getPriceOf(uint256 _tokenId) external view returns (uint256);

  // It will transfer the token and distribute the money, including royalties
  function purchase(uint256 _tokenId, address _buyer, address _facilitator) external payable;

  // It sets the price and calls the acceptOffer method of _dealer (onlyTokenOwner)
  function acceptOffer(uint256 _tokenId, IERC721Marketplace _dealer, uint256 _price) external;
}

// deprecated
interface IERC721P2P is IERC721P2PCore, IERC721 {

}

File 9 of 20 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import { OperatorFilterer } from './OperatorFilterer.sol';

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
  address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

  constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

File 10 of 20 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

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() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 11 of 20 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

        _balances[to] += 1;
        _owners[tokenId] = to;

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

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

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

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

        _afterTokenTransfer(owner, address(0), tokenId);
    }

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

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 12 of 20 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 20 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

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

File 14 of 20 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import { IOperatorFilterRegistry } from './IOperatorFilterRegistry.sol';

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
  error OperatorNotAllowed(address operator);

  IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
    IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

  constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
    // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
    // will not revert, but the contract will need to be registered with the registry once it is deployed in
    // order for the modifier to filter addresses.
    if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
      if (subscribe) {
        OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
      } else {
        if (subscriptionOrRegistrantToCopy != address(0)) {
          OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
        } else {
          OPERATOR_FILTER_REGISTRY.register(address(this));
        }
      }
    }
  }

  modifier onlyAllowedOperator(address from) virtual {
    // Check registry code length to facilitate testing in environments without a deployed registry.
    if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
      // Allow spending tokens from addresses with balance
      // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
      // from an EOA.
      if (from == msg.sender) {
        _;
        return;
      }
      if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), msg.sender)) {
        revert OperatorNotAllowed(msg.sender);
      }
    }
    _;
  }

  modifier onlyAllowedOperatorApproval(address operator) virtual {
    // Check registry code length to facilitate testing in environments without a deployed registry.
    if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
      if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
        revert OperatorNotAllowed(operator);
      }
    }
    _;
  }
}

File 15 of 20 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
  function isOperatorAllowed(address registrant, address operator) external view returns (bool);

  function register(address registrant) external;

  function registerAndSubscribe(address registrant, address subscription) external;

  function registerAndCopyEntries(address registrant, address registrantToCopy) external;

  function unregister(address addr) external;

  function updateOperator(address registrant, address operator, bool filtered) external;

  function updateOperators(address registrant, address[] calldata operators, bool filtered) external;

  function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;

  function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;

  function subscribe(address registrant, address registrantToSubscribe) external;

  function unsubscribe(address registrant, bool copyExistingEntries) external;

  function subscriptionOf(address addr) external returns (address registrant);

  function subscribers(address registrant) external returns (address[] memory);

  function subscriberAt(address registrant, uint256 index) external returns (address);

  function copyEntriesOf(address registrant, address registrantToCopy) external;

  function isOperatorFiltered(address registrant, address operator) external returns (bool);

  function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);

  function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);

  function filteredOperators(address addr) external returns (address[] memory);

  function filteredCodeHashes(address addr) external returns (bytes32[] memory);

  function filteredOperatorAt(address registrant, uint256 index) external returns (address);

  function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);

  function isRegistered(address addr) external returns (bool);

  function codeHashOf(address addr) external returns (bytes32);
}

File 16 of 20 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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) {
        return msg.data;
    }
}

File 17 of 20 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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");

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

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal 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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 18 of 20 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 19 of 20 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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 20 of 20 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract ITokenGate","name":"_tokenGate","type":"address"},{"internalType":"contract IAssetProvider","name":"_assetProvider","type":"address"},{"internalType":"contract IERC721","name":"_dotNouns","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"contract IERC721Marketplace","name":"_dealer","type":"address"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"acceptOffer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"assetProvider","outputs":[{"internalType":"contract IAssetProvider","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"debugTokenURI","outputs":[{"internalType":"string","name":"uri","type":"string"},{"internalType":"uint256","name":"gas","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"description","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dotNouns","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getPriceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limited","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"locked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"mintPriceFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_buyer","type":"address"},{"internalType":"address","name":"_facilitator","type":"address"}],"name":"purchase","outputs":[],"stateMutability":"payable","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":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IAssetProvider","name":"_assetProvider","type":"address"}],"name":"setAssetProvider","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_description","type":"string"}],"name":"setDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_limited","type":"bool"}],"name":"setLimited","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_locked","type":"bool"}],"name":"setLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPriceOf","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"toBeGifted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"tokenGate","outputs":[{"internalType":"contract ITokenGate","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040526001600c60146101000a81548160ff0219169083151502179055506001600c60156101000a81548160ff0219169083151502179055503480156200004757600080fd5b50604051620062413803806200624183398181016040528101906200006d919062000601565b816040518060400160405280600b81526020017f5061706572204e6f756e730000000000000000000000000000000000000000008152506040518060400160405280600a81526020017f50415045524e4f554e5300000000000000000000000000000000000000000000815250733cc6cdda760b79bafa08df41ecfa224f810dceb6600183838160009081620001049190620008d7565b508060019081620001169190620008d7565b50505060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156200030e578015620001d4576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b81526004016200019a929190620009cf565b600060405180830381600087803b158015620001b557600080fd5b505af1158015620001ca573d6000803e3d6000fd5b505050506200030d565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146200028e576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b815260040162000254929190620009cf565b600060405180830381600087803b1580156200026f57600080fd5b505af115801562000284573d6000803e3d6000fd5b505050506200030c565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620002d79190620009fc565b600060405180830381600087803b158015620002f257600080fd5b505af115801562000307573d6000803e3d6000fd5b505050505b5b5b505062000330620003246200042b60201b60201c565b6200043360201b60201c565b82600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050508273ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250506040518060c00160405280608a8152602001620061b7608a913960099081620003d29190620008d7565b50662386f26fc10000600a8190555080600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505062000a19565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200052b82620004fe565b9050919050565b60006200053f826200051e565b9050919050565b620005518162000532565b81146200055d57600080fd5b50565b600081519050620005718162000546565b92915050565b600062000584826200051e565b9050919050565b620005968162000577565b8114620005a257600080fd5b50565b600081519050620005b6816200058b565b92915050565b6000620005c9826200051e565b9050919050565b620005db81620005bc565b8114620005e757600080fd5b50565b600081519050620005fb81620005d0565b92915050565b6000806000606084860312156200061d576200061c620004f9565b5b60006200062d8682870162000560565b93505060206200064086828701620005a5565b92505060406200065386828701620005ea565b9150509250925092565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006df57607f821691505b602082108103620006f557620006f462000697565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200075f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000720565b6200076b868362000720565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620007b8620007b2620007ac8462000783565b6200078d565b62000783565b9050919050565b6000819050919050565b620007d48362000797565b620007ec620007e382620007bf565b8484546200072d565b825550505050565b600090565b62000803620007f4565b62000810818484620007c9565b505050565b5b8181101562000838576200082c600082620007f9565b60018101905062000816565b5050565b601f82111562000887576200085181620006fb565b6200085c8462000710565b810160208510156200086c578190505b620008846200087b8562000710565b83018262000815565b50505b505050565b600082821c905092915050565b6000620008ac600019846008026200088c565b1980831691505092915050565b6000620008c7838362000899565b9150826002028217905092915050565b620008e2826200065d565b67ffffffffffffffff811115620008fe57620008fd62000668565b5b6200090a8254620006c6565b620009178282856200083c565b600060209050601f8311600181146200094f57600084156200093a578287015190505b620009468582620008b9565b865550620009b6565b601f1984166200095f86620006fb565b60005b82811015620009895784890151825560018201915060208501945060208101905062000962565b86831015620009a95784890151620009a5601f89168262000899565b8355505b6001600288020188555050505b505050505050565b620009c9816200051e565b82525050565b6000604082019050620009e66000830185620009be565b620009f56020830184620009be565b9392505050565b600060208201905062000a136000830184620009be565b92915050565b60805161577b62000a3c60003960008181610dc2015261149e015261577b6000f3fe6080604052600436106102465760003560e01c80637284e41611610139578063a370f7d7116100b6578063cc44ab411161007a578063cc44ab4114610876578063cf309012146108b4578063e985e9c5146108df578063f2fde38b1461091c578063f4a0a52814610945578063fba49e4f1461096e57610246565b8063a370f7d71461077f578063b212cfc7146107aa578063b54b4fb9146107d3578063b88d4fde14610810578063c87b56dd1461083957610246565b80639589d7b9116100fd5780639589d7b9146106ae57806395d89b41146106d7578063996517cf146107025780639e6a1d7d1461072d578063a22cb4651461075657610246565b80637284e416146105d957806375794a3c14610604578063860a32ec1461062f5780638da5cb5b1461065a57806390c3f38f1461068557610246565b80632fc038ae116101c7578063619d51941161018b578063619d5194146104f45780636352211e1461051d5780636817c76c1461055a57806370a0823114610585578063715018a6146105c257610246565b80632fc038ae1461041c5780633b7f8f151461045957806341f434341461047557806342842e0e146104a057806350008e4a146104c957610246565b80631249c58b1161020e5780631249c58b146103445780631346d8ea1461036257806318160ddd1461039f57806322731396146103ca57806323b872dd146103f357610246565b806301ffc9a71461024b57806306a8dfbf1461028857806306fdde03146102b3578063081812fc146102de578063095ea7b31461031b575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d9190613635565b610997565b60405161027f919061367d565b60405180910390f35b34801561029457600080fd5b5061029d610a11565b6040516102aa9190613717565b60405180910390f35b3480156102bf57600080fd5b506102c8610a37565b6040516102d591906137c2565b60405180910390f35b3480156102ea57600080fd5b506103056004803603810190610300919061381a565b610ac9565b6040516103129190613868565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d91906138af565b610b0f565b005b61034c610b6d565b60405161035991906138fe565b60405180910390f35b34801561036e57600080fd5b5061038960048036038101906103849190613919565b610dbd565b60405161039691906138fe565b60405180910390f35b3480156103ab57600080fd5b506103b4610efb565b6040516103c191906138fe565b60405180910390f35b3480156103d657600080fd5b506103f160048036038101906103ec9190613972565b610f05565b005b3480156103ff57600080fd5b5061041a6004803603810190610415919061399f565b610f2a565b005b34801561042857600080fd5b50610443600480360381019061043e919061381a565b61107a565b604051610450919061367d565b60405180910390f35b610473600480360381019061046e91906139f2565b6111e3565b005b34801561048157600080fd5b5061048a61133a565b6040516104979190613a66565b60405180910390f35b3480156104ac57600080fd5b506104c760048036038101906104c2919061399f565b61134c565b005b3480156104d557600080fd5b506104de61149c565b6040516104eb9190613aa2565b60405180910390f35b34801561050057600080fd5b5061051b60048036038101906105169190613972565b6114c0565b005b34801561052957600080fd5b50610544600480360381019061053f919061381a565b6114e5565b6040516105519190613868565b60405180910390f35b34801561056657600080fd5b5061056f611596565b60405161057c91906138fe565b60405180910390f35b34801561059157600080fd5b506105ac60048036038101906105a79190613919565b61159c565b6040516105b991906138fe565b60405180910390f35b3480156105ce57600080fd5b506105d7611653565b005b3480156105e557600080fd5b506105ee611667565b6040516105fb91906137c2565b60405180910390f35b34801561061057600080fd5b506106196116f5565b60405161062691906138fe565b60405180910390f35b34801561063b57600080fd5b506106446116fb565b604051610651919061367d565b60405180910390f35b34801561066657600080fd5b5061066f61170e565b60405161067c9190613868565b60405180910390f35b34801561069157600080fd5b506106ac60048036038101906106a79190613bf2565b611738565b005b3480156106ba57600080fd5b506106d560048036038101906106d09190613c79565b611753565b005b3480156106e357600080fd5b506106ec6117d1565b6040516106f991906137c2565b60405180910390f35b34801561070e57600080fd5b50610717611863565b60405161072491906138fe565b60405180910390f35b34801561073957600080fd5b50610754600480360381019061074f919061381a565b6118fb565b005b34801561076257600080fd5b5061077d60048036038101906107789190613ccc565b61190d565b005b34801561078b57600080fd5b5061079461196b565b6040516107a19190613d2d565b60405180910390f35b3480156107b657600080fd5b506107d160048036038101906107cc9190613d86565b611991565b005b3480156107df57600080fd5b506107fa60048036038101906107f5919061381a565b6119dd565b60405161080791906138fe565b60405180910390f35b34801561081c57600080fd5b5061083760048036038101906108329190613e54565b6119fa565b005b34801561084557600080fd5b50610860600480360381019061085b919061381a565b611b4d565b60405161086d91906137c2565b60405180910390f35b34801561088257600080fd5b5061089d6004803603810190610898919061381a565b611c12565b6040516108ab929190613ed7565b60405180910390f35b3480156108c057600080fd5b506108c9611c37565b6040516108d6919061367d565b60405180910390f35b3480156108eb57600080fd5b5061090660048036038101906109019190613f07565b611c4a565b604051610913919061367d565b60405180910390f35b34801561092857600080fd5b50610943600480360381019061093e9190613919565b611cde565b005b34801561095157600080fd5b5061096c6004803603810190610967919061381a565b611d61565b005b34801561097a57600080fd5b5061099560048036038101906109909190613f47565b611d73565b005b60007fe019895a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a0a5750610a0982611e05565b5b9050919050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060008054610a4690613fb6565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7290613fb6565b8015610abf5780601f10610a9457610100808354040283529160200191610abf565b820191906000526020600020905b815481529060010190602001808311610aa257829003601f168201915b5050505050905090565b6000610ad482611ee7565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600c60149054906101000a900460ff1615610b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5690614059565b60405180910390fd5b610b698282611f32565b5050565b6000610b7833610dbd565b341015610bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb1906140c5565b60405180910390fd5b6003610bc53361159c565b10610c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfc90614131565b60405180910390fd5b610c0d61203c565b90505b610c1b60085461107a565b15610d2c57600060086000815480929190610c3590614180565b9190505590506000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610c9891906138fe565b602060405180830381865afa158015610cb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd991906141dd565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d1e57610d1981836120af565b610d25565b5050610d2c565b5050610c10565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166389ee68bf34836040518363ffffffff1660e01b8152600401610d8891906138fe565b6000604051808303818588803b158015610da157600080fd5b505af1158015610db5573d6000803e3d6000fd5b505050505090565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610e199190613868565b602060405180830381865afa158015610e36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5a919061421f565b90506000610e678461159c565b9050600c60159054906101000a900460ff1615610ec357600081148015610e8e5750600082115b15610eab576002600a54610ea2919061427b565b92505050610ef6565b6004600a54610eba91906142ac565b92505050610ef6565b6000811480610ed157508181105b15610ee257600a5492505050610ef6565b6002600a54610ef191906142ac565b925050505b919050565b6000600854905090565b610f0d6120cd565b80600c60156101000a81548160ff02191690831515021790555050565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611068573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f9c57610f9784848461214b565b611074565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610fe59291906142ee565b602060405180830381865afa158015611002573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611026919061432c565b61106757336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161105e9190613868565b60405180910390fd5b5b61107384848461214b565b5b50505050565b6000806040518061042001604052806001815260200160f58152602001610193815260200161019581526020016101968152602001610197815260200161019a815260200161019f81526020016101a081526020016101a181526020016101a381526020016101a681526020016101a781526020016101b281526020016101c281526020016101c481526020016101c581526020016101c681526020016101c881526020016101cc81526020016101d781526020016101da81526020016101db81526020016101df81526020016101e781526020016101ea81526020016101ec81526020016101f181526020016101f381526020016101f981526020016102008152602001610207815260200161021f815250905060005b60218110156111d757838282602181106111af576111ae614359565b5b6020020151036111c4576001925050506111de565b80806111cf90614180565b915050611192565b5060009150505b919050565b6000600760008581526020019081526020016000205490506000811161123e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611235906143d4565b60405180910390fd5b80341015611281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127890614440565b60405180910390fd5b600061128d34846121ab565b9050600061129b3487612250565b905060006112a8876114e5565b905060008190508073ffffffffffffffffffffffffffffffffffffffff166108fc8486346112d69190614460565b6112e09190614460565b9081150290604051600060405180830381858888f1935050505015801561130b573d6000803e3d6000fd5b506000600760008a81526020019081526020016000208190555061133082888a612302565b5050505050505050565b6daaeb6d7670e522a718067333cd4e81565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561148a573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113be576113b9848484612568565b611496565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016114079291906142ee565b602060405180830381865afa158015611424573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611448919061432c565b61148957336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016114809190613868565b60405180910390fd5b5b611495848484612568565b5b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6114c86120cd565b80600c60146101000a81548160ff02191690831515021790555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361158d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611584906144e0565b60405180910390fd5b80915050919050565b600a5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361160c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160390614572565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61165b6120cd565b6116656000612588565b565b6009805461167490613fb6565b80601f01602080910402602001604051908101604052809291908181526020018280546116a090613fb6565b80156116ed5780601f106116c2576101008083540402835291602001916116ed565b820191906000526020600020905b8154815290600101906020018083116116d057829003601f168201915b505050505081565b60085481565b600c60159054906101000a900460ff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117406120cd565b806009908161174f9190614734565b5050565b61175d8382611d73565b8173ffffffffffffffffffffffffffffffffffffffff16633c6fc8173085846040518463ffffffff1660e01b815260040161179a93929190614827565b600060405180830381600087803b1580156117b457600080fd5b505af11580156117c8573d6000803e3d6000fd5b50505050505050565b6060600180546117e090613fb6565b80601f016020809104026020016040519081016040528092919081815260200182805461180c90613fb6565b80156118595780601f1061182e57610100808354040283529160200191611859565b820191906000526020600020905b81548152906001019060200180831161183c57829003601f168201915b5050505050905090565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f6919061421f565b905090565b6119036120cd565b80600b8190555050565b600c60149054906101000a900460ff161561195d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195490614059565b60405180910390fd5b611967828261264e565b5050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6119996120cd565b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600060076000838152602001908152602001600020549050919050565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611b39573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a6d57611a6885858585612758565b611b46565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611ab69291906142ee565b602060405180830381865afa158015611ad3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af7919061432c565b611b3857336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611b2f9190613868565b60405180910390fd5b5b611b4585858585612758565b5b5050505050565b6060611b58826127ba565b611b97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8e906148d0565b60405180910390fd5b6000611ba283612826565b9050611beb611bb084612915565b6009611bbb86612946565b611bc4856129f0565b604051602001611bd79493929190614b98565b6040516020818303038152906040526129f0565b604051602001611bfb9190614c59565b604051602081830303815290604052915050919050565b606060005a9050611c2283611b4d565b91505a81611c309190614460565b9050915091565b600c60149054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ce66120cd565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4c90614ced565b60405180910390fd5b611d5e81612588565b50565b611d696120cd565b80600a8190555050565b3373ffffffffffffffffffffffffffffffffffffffff16611d93836114e5565b73ffffffffffffffffffffffffffffffffffffffff1614611de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de090614d59565b60405180910390fd5b8060076000848152602001908152602001600020819055505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ed057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611ee05750611edf82612b68565b5b9050919050565b611ef0816127ba565b611f2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f26906144e0565b60405180910390fd5b50565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561202d576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611faa9291906142ee565b602060405180830381865afa158015611fc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611feb919061432c565b61202c57806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016120239190613868565b60405180910390fd5b5b6120378383612bd2565b505050565b6000612046611863565b60085410612089576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208090614dc5565b60405180910390fd5b6008600081548092919061209c90614180565b9190505590506120ac33826120af565b90565b6120c9828260405180602001604052806000815250612ce9565b5050565b6120d5612d44565b73ffffffffffffffffffffffffffffffffffffffff166120f361170e565b73ffffffffffffffffffffffffffffffffffffffff1614612149576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214090614e31565b60405180910390fd5b565b61215c612156612d44565b82612d4c565b61219b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219290614ec3565b60405180910390fd5b6121a6838383612302565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461224a576103e86019846121f091906142ac565b6121fa919061427b565b905060008290508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015612247573d6000803e3d6000fd5b50505b92915050565b60006103e860328461226291906142ac565b61226c919061427b565b9050600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166389ee68bf82846040518363ffffffff1660e01b81526004016122ca91906138fe565b6000604051808303818588803b1580156122e357600080fd5b505af11580156122f7573d6000803e3d6000fd5b505050505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612322826114e5565b73ffffffffffffffffffffffffffffffffffffffff1614612378576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236f90614f55565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036123e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123de90614fe7565b60405180910390fd5b6123f2838383612db0565b6123fd600082612db5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461244d9190614460565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124a49190615007565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612563838383612e6e565b505050565b612583838383604051806020016040528060008152506119fa565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612749576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016126c69291906142ee565b602060405180830381865afa1580156126e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612707919061432c565b61274857806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161273f9190613868565b60405180910390fd5b5b6127538383612e73565b505050565b612769612763612d44565b83612d4c565b6127a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279f90614ec3565b60405180910390fd5b6127b484848484612e89565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e3f24f02856040518263ffffffff1660e01b815260040161288691906138fe565b600060405180830381865afa1580156128a3573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906128cc91906150ab565b915091506040518060800160405280604981526020016156fd6049913982826040516020016128fd939291906151bb565b60405160208183030381529060405292505050919050565b606061292082612ee5565b604051602001612930919061524e565b6040516020818303038152906040529050919050565b6060600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379b92f27836040518263ffffffff1660e01b81526004016129a391906138fe565b600060405180830381865afa1580156129c0573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906129e99190615270565b9050919050565b60606000825103612a1257604051806020016040528060008152509050612b63565b60006040518060600160405280604081526020016156bd6040913990506000600360028551612a419190615007565b612a4b919061427b565b6004612a5791906142ac565b90506000602082612a689190615007565b67ffffffffffffffff811115612a8157612a80613ac7565b5b6040519080825280601f01601f191660200182016040528015612ab35781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612b22576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050612ac7565b600389510660018114612b3c5760028114612b4c57612b57565b613d3d60f01b6002830352612b57565b603d60f81b60018303525b50505050508093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000612bdd826114e5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612c4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c449061532b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16612c6c612d44565b73ffffffffffffffffffffffffffffffffffffffff161480612c9b5750612c9a81612c95612d44565b611c4a565b5b612cda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd1906153bd565b60405180910390fd5b612ce48383612db5565b505050565b612cf38383613045565b612d00600084848461321e565b612d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d369061544f565b60405180910390fd5b505050565b600033905090565b6000600c60149054906101000a900460ff1615612d9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9590614059565b60405180910390fd5b612da883836133a5565b905092915050565b505050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612e28836114e5565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b505050565b612e85612e7e612d44565b838361343a565b5050565b612e94848484612302565b612ea08484848461321e565b612edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed69061544f565b60405180910390fd5b50505050565b606060008203612f2c576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613040565b600082905060005b60008214612f5e578080612f4790614180565b915050600a82612f57919061427b565b9150612f34565b60008167ffffffffffffffff811115612f7a57612f79613ac7565b5b6040519080825280601f01601f191660200182016040528015612fac5781602001600182028036833780820191505090505b5090505b6000851461303957600182612fc59190614460565b9150600a85612fd4919061546f565b6030612fe09190615007565b60f81b818381518110612ff657612ff5614359565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613032919061427b565b9450612fb0565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036130b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ab906154ec565b60405180910390fd5b6130bd816127ba565b156130fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f490615558565b60405180910390fd5b61310960008383612db0565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131599190615007565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461321a60008383612e6e565b5050565b600061323f8473ffffffffffffffffffffffffffffffffffffffff166135a6565b15613398578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613268612d44565b8786866040518563ffffffff1660e01b815260040161328a94939291906155c2565b6020604051808303816000875af19250505080156132c657506040513d601f19601f820116820180604052508101906132c39190615623565b60015b613348573d80600081146132f6576040519150601f19603f3d011682016040523d82523d6000602084013e6132fb565b606091505b506000815103613340576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133379061544f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061339d565b600190505b949350505050565b6000806133b1836114e5565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806133f357506133f28185611c4a565b5b8061343157508373ffffffffffffffffffffffffffffffffffffffff1661341984610ac9565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036134a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349f9061569c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051613599919061367d565b60405180910390a3505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613612816135dd565b811461361d57600080fd5b50565b60008135905061362f81613609565b92915050565b60006020828403121561364b5761364a6135d3565b5b600061365984828501613620565b91505092915050565b60008115159050919050565b61367781613662565b82525050565b6000602082019050613692600083018461366e565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006136dd6136d86136d384613698565b6136b8565b613698565b9050919050565b60006136ef826136c2565b9050919050565b6000613701826136e4565b9050919050565b613711816136f6565b82525050565b600060208201905061372c6000830184613708565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561376c578082015181840152602081019050613751565b60008484015250505050565b6000601f19601f8301169050919050565b600061379482613732565b61379e818561373d565b93506137ae81856020860161374e565b6137b781613778565b840191505092915050565b600060208201905081810360008301526137dc8184613789565b905092915050565b6000819050919050565b6137f7816137e4565b811461380257600080fd5b50565b600081359050613814816137ee565b92915050565b6000602082840312156138305761382f6135d3565b5b600061383e84828501613805565b91505092915050565b600061385282613698565b9050919050565b61386281613847565b82525050565b600060208201905061387d6000830184613859565b92915050565b61388c81613847565b811461389757600080fd5b50565b6000813590506138a981613883565b92915050565b600080604083850312156138c6576138c56135d3565b5b60006138d48582860161389a565b92505060206138e585828601613805565b9150509250929050565b6138f8816137e4565b82525050565b600060208201905061391360008301846138ef565b92915050565b60006020828403121561392f5761392e6135d3565b5b600061393d8482850161389a565b91505092915050565b61394f81613662565b811461395a57600080fd5b50565b60008135905061396c81613946565b92915050565b600060208284031215613988576139876135d3565b5b60006139968482850161395d565b91505092915050565b6000806000606084860312156139b8576139b76135d3565b5b60006139c68682870161389a565b93505060206139d78682870161389a565b92505060406139e886828701613805565b9150509250925092565b600080600060608486031215613a0b57613a0a6135d3565b5b6000613a1986828701613805565b9350506020613a2a8682870161389a565b9250506040613a3b8682870161389a565b9150509250925092565b6000613a50826136e4565b9050919050565b613a6081613a45565b82525050565b6000602082019050613a7b6000830184613a57565b92915050565b6000613a8c826136e4565b9050919050565b613a9c81613a81565b82525050565b6000602082019050613ab76000830184613a93565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613aff82613778565b810181811067ffffffffffffffff82111715613b1e57613b1d613ac7565b5b80604052505050565b6000613b316135c9565b9050613b3d8282613af6565b919050565b600067ffffffffffffffff821115613b5d57613b5c613ac7565b5b613b6682613778565b9050602081019050919050565b82818337600083830152505050565b6000613b95613b9084613b42565b613b27565b905082815260208101848484011115613bb157613bb0613ac2565b5b613bbc848285613b73565b509392505050565b600082601f830112613bd957613bd8613abd565b5b8135613be9848260208601613b82565b91505092915050565b600060208284031215613c0857613c076135d3565b5b600082013567ffffffffffffffff811115613c2657613c256135d8565b5b613c3284828501613bc4565b91505092915050565b6000613c4682613847565b9050919050565b613c5681613c3b565b8114613c6157600080fd5b50565b600081359050613c7381613c4d565b92915050565b600080600060608486031215613c9257613c916135d3565b5b6000613ca086828701613805565b9350506020613cb186828701613c64565b9250506040613cc286828701613805565b9150509250925092565b60008060408385031215613ce357613ce26135d3565b5b6000613cf18582860161389a565b9250506020613d028582860161395d565b9150509250929050565b6000613d17826136e4565b9050919050565b613d2781613d0c565b82525050565b6000602082019050613d426000830184613d1e565b92915050565b6000613d5382613847565b9050919050565b613d6381613d48565b8114613d6e57600080fd5b50565b600081359050613d8081613d5a565b92915050565b600060208284031215613d9c57613d9b6135d3565b5b6000613daa84828501613d71565b91505092915050565b600067ffffffffffffffff821115613dce57613dcd613ac7565b5b613dd782613778565b9050602081019050919050565b6000613df7613df284613db3565b613b27565b905082815260208101848484011115613e1357613e12613ac2565b5b613e1e848285613b73565b509392505050565b600082601f830112613e3b57613e3a613abd565b5b8135613e4b848260208601613de4565b91505092915050565b60008060008060808587031215613e6e57613e6d6135d3565b5b6000613e7c8782880161389a565b9450506020613e8d8782880161389a565b9350506040613e9e87828801613805565b925050606085013567ffffffffffffffff811115613ebf57613ebe6135d8565b5b613ecb87828801613e26565b91505092959194509250565b60006040820190508181036000830152613ef18185613789565b9050613f0060208301846138ef565b9392505050565b60008060408385031215613f1e57613f1d6135d3565b5b6000613f2c8582860161389a565b9250506020613f3d8582860161389a565b9150509250929050565b60008060408385031215613f5e57613f5d6135d3565b5b6000613f6c85828601613805565b9250506020613f7d85828601613805565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fce57607f821691505b602082108103613fe157613fe0613f87565b5b50919050565b7f54686520636f6e7472616374206973206c6f636b656420647572696e6720746860008201527f6520696e697469616c206d696e74696e672e0000000000000000000000000000602082015250565b600061404360328361373d565b915061404e82613fe7565b604082019050919050565b6000602082019050818103600083015261407281614036565b9050919050565b7f4d7573742073656e6420746865206d696e742070726963650000000000000000600082015250565b60006140af60188361373d565b91506140ba82614079565b602082019050919050565b600060208201905081810360008301526140de816140a2565b9050919050565b7f546f6f206d616e7920746f6b656e730000000000000000000000000000000000600082015250565b600061411b600f8361373d565b9150614126826140e5565b602082019050919050565b6000602082019050818103600083015261414a8161410e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061418b826137e4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036141bd576141bc614151565b5b600182019050919050565b6000815190506141d781613883565b92915050565b6000602082840312156141f3576141f26135d3565b5b6000614201848285016141c8565b91505092915050565b600081519050614219816137ee565b92915050565b600060208284031215614235576142346135d3565b5b60006142438482850161420a565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614286826137e4565b9150614291836137e4565b9250826142a1576142a061424c565b5b828204905092915050565b60006142b7826137e4565b91506142c2836137e4565b92508282026142d0816137e4565b915082820484148315176142e7576142e6614151565b5b5092915050565b60006040820190506143036000830185613859565b6143106020830184613859565b9392505050565b60008151905061432681613946565b92915050565b600060208284031215614342576143416135d3565b5b600061435084828501614317565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f546f6b656e206973206e6f74206f6e2073616c65000000000000000000000000600082015250565b60006143be60148361373d565b91506143c982614388565b602082019050919050565b600060208201905081810360008301526143ed816143b1565b9050919050565b7f4e6f7420656e6f7567682066756e640000000000000000000000000000000000600082015250565b600061442a600f8361373d565b9150614435826143f4565b602082019050919050565b600060208201905081810360008301526144598161441d565b9050919050565b600061446b826137e4565b9150614476836137e4565b925082820390508181111561448e5761448d614151565b5b92915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006144ca60188361373d565b91506144d582614494565b602082019050919050565b600060208201905081810360008301526144f9816144bd565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061455c60298361373d565b915061456782614500565b604082019050919050565b6000602082019050818103600083015261458b8161454f565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026145f47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826145b7565b6145fe86836145b7565b95508019841693508086168417925050509392505050565b600061463161462c614627846137e4565b6136b8565b6137e4565b9050919050565b6000819050919050565b61464b83614616565b61465f61465782614638565b8484546145c4565b825550505050565b600090565b614674614667565b61467f818484614642565b505050565b5b818110156146a35761469860008261466c565b600181019050614685565b5050565b601f8211156146e8576146b981614592565b6146c2846145a7565b810160208510156146d1578190505b6146e56146dd856145a7565b830182614684565b50505b505050565b600082821c905092915050565b600061470b600019846008026146ed565b1980831691505092915050565b600061472483836146fa565b9150826002028217905092915050565b61473d82613732565b67ffffffffffffffff81111561475657614755613ac7565b5b6147608254613fb6565b61476b8282856146a7565b600060209050601f83116001811461479e576000841561478c578287015190505b6147968582614718565b8655506147fe565b601f1984166147ac86614592565b60005b828110156147d4578489015182556001820191506020850194506020810190506147af565b868310156147f157848901516147ed601f8916826146fa565b8355505b6001600288020188555050505b505050505050565b6000614811826136e4565b9050919050565b61482181614806565b82525050565b600060608201905061483c6000830186614818565b61484960208301856138ef565b61485660408301846138ef565b949350505050565b7f50726f7669646572546f6b656e2e746f6b656e5552493a206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006148ba60298361373d565b91506148c58261485e565b604082019050919050565b600060208201905081810360008301526148e9816148ad565b9050919050565b600081905092915050565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b60006149316009836148f0565b915061493c826148fb565b600982019050919050565b600061495282613732565b61495c81856148f0565b935061496c81856020860161374e565b80840191505092915050565b7f222c226465736372697074696f6e223a22000000000000000000000000000000600082015250565b60006149ae6011836148f0565b91506149b982614978565b601182019050919050565b600081546149d181613fb6565b6149db81866148f0565b945060018216600081146149f65760018114614a0b57614a3e565b60ff1983168652811515820286019350614a3e565b614a1485614592565b60005b83811015614a3657815481890152600182019150602081019050614a17565b838801955050505b50505092915050565b7f222c2261747472696275746573223a5b00000000000000000000000000000000600082015250565b6000614a7d6010836148f0565b9150614a8882614a47565b601082019050919050565b600081519050919050565b600081905092915050565b6000614ab482614a93565b614abe8185614a9e565b9350614ace81856020860161374e565b80840191505092915050565b7f5d2c22696d616765223a22646174613a696d6167652f7376672b786d6c3b626160008201527f736536342c000000000000000000000000000000000000000000000000000000602082015250565b6000614b366025836148f0565b9150614b4182614ada565b602582019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b6000614b826002836148f0565b9150614b8d82614b4c565b600282019050919050565b6000614ba382614924565b9150614baf8287614947565b9150614bba826149a1565b9150614bc682866149c4565b9150614bd182614a70565b9150614bdd8285614aa9565b9150614be882614b29565b9150614bf48284614947565b9150614bff82614b75565b915081905095945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000614c43601d836148f0565b9150614c4e82614c0d565b601d82019050919050565b6000614c6482614c36565b9150614c708284614947565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614cd760268361373d565b9150614ce282614c7b565b604082019050919050565b60006020820190508181036000830152614d0681614cca565b9050919050565b7f4f6e6c7920746865206f6e7765722063616e2073657420746865207072696365600082015250565b6000614d4360208361373d565b9150614d4e82614d0d565b602082019050919050565b60006020820190508181036000830152614d7281614d36565b9050919050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b6000614daf60088361373d565b9150614dba82614d79565b602082019050919050565b60006020820190508181036000830152614dde81614da2565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614e1b60208361373d565b9150614e2682614de5565b602082019050919050565b60006020820190508181036000830152614e4a81614e0e565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614ead602e8361373d565b9150614eb882614e51565b604082019050919050565b60006020820190508181036000830152614edc81614ea0565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614f3f60258361373d565b9150614f4a82614ee3565b604082019050919050565b60006020820190508181036000830152614f6e81614f32565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614fd160248361373d565b9150614fdc82614f75565b604082019050919050565b6000602082019050818103600083015261500081614fc4565b9050919050565b6000615012826137e4565b915061501d836137e4565b925082820190508082111561503557615034614151565b5b92915050565b600061504e61504984613b42565b613b27565b90508281526020810184848401111561506a57615069613ac2565b5b61507584828561374e565b509392505050565b600082601f83011261509257615091613abd565b5b81516150a284826020860161503b565b91505092915050565b600080604083850312156150c2576150c16135d3565b5b600083015167ffffffffffffffff8111156150e0576150df6135d8565b5b6150ec8582860161507d565b925050602083015167ffffffffffffffff81111561510d5761510c6135d8565b5b6151198582860161507d565b9150509250929050565b7f3c2f646566733e0a3c75736520687265663d2223000000000000000000000000600082015250565b60006151596014836148f0565b915061516482615123565b601482019050919050565b7f22202f3e0a3c2f7376673e0a0000000000000000000000000000000000000000600082015250565b60006151a5600c836148f0565b91506151b08261516f565b600c82019050919050565b60006151c78286614947565b91506151d38285614947565b91506151de8261514c565b91506151ea8284614947565b91506151f582615198565b9150819050949350505050565b7f5061706572204e6f756e73200000000000000000000000000000000000000000600082015250565b6000615238600c836148f0565b915061524382615202565b600c82019050919050565b60006152598261522b565b91506152658284614947565b915081905092915050565b600060208284031215615286576152856135d3565b5b600082015167ffffffffffffffff8111156152a4576152a36135d8565b5b6152b08482850161507d565b91505092915050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061531560218361373d565b9150615320826152b9565b604082019050919050565b6000602082019050818103600083015261534481615308565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006153a7603e8361373d565b91506153b28261534b565b604082019050919050565b600060208201905081810360008301526153d68161539a565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061543960328361373d565b9150615444826153dd565b604082019050919050565b600060208201905081810360008301526154688161542c565b9050919050565b600061547a826137e4565b9150615485836137e4565b9250826154955761549461424c565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006154d660208361373d565b91506154e1826154a0565b602082019050919050565b60006020820190508181036000830152615505816154c9565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615542601c8361373d565b915061554d8261550c565b602082019050919050565b6000602082019050818103600083015261557181615535565b9050919050565b600082825260208201905092915050565b600061559482614a93565b61559e8185615578565b93506155ae81856020860161374e565b6155b781613778565b840191505092915050565b60006080820190506155d76000830187613859565b6155e46020830186613859565b6155f160408301856138ef565b81810360608301526156038184615589565b905095945050505050565b60008151905061561d81613609565b92915050565b600060208284031215615639576156386135d3565b5b60006156478482850161560e565b91505092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061568660198361373d565b915061569182615650565b602082019050919050565b600060208201905081810360008301526156b581615679565b905091905056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c7376672076696577426f783d2230203020313032342031303234222020786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667223e0a3c646566733e0aa26469706673582212209210283d6b1078a3d6d5bf146e124f04818f67823cc6926f141b9070a9af67a764736f6c634300081100335468697320697320612070617274206f662046756c6c79204f6e2d636861696e2047656e65726174697665204172742070726f6a656374202868747470733a2f2f66756c6c796f6e636861696e2e78797a2f292e20416c6c20696d61676573206172652064796d6963616c6c792067656e657261746564206f6e2074686520626c6f636b636861696e2e0000000000000000000000005c8d7748bf07709d3adc3f74fa0255f9f358c8b10000000000000000000000004b5794e4fd9b927ee76d74b2411fca9acedf03750000000000000000000000001e3516211fe0cb030802237b4c4ce8277733a3b9

Deployed Bytecode

0x6080604052600436106102465760003560e01c80637284e41611610139578063a370f7d7116100b6578063cc44ab411161007a578063cc44ab4114610876578063cf309012146108b4578063e985e9c5146108df578063f2fde38b1461091c578063f4a0a52814610945578063fba49e4f1461096e57610246565b8063a370f7d71461077f578063b212cfc7146107aa578063b54b4fb9146107d3578063b88d4fde14610810578063c87b56dd1461083957610246565b80639589d7b9116100fd5780639589d7b9146106ae57806395d89b41146106d7578063996517cf146107025780639e6a1d7d1461072d578063a22cb4651461075657610246565b80637284e416146105d957806375794a3c14610604578063860a32ec1461062f5780638da5cb5b1461065a57806390c3f38f1461068557610246565b80632fc038ae116101c7578063619d51941161018b578063619d5194146104f45780636352211e1461051d5780636817c76c1461055a57806370a0823114610585578063715018a6146105c257610246565b80632fc038ae1461041c5780633b7f8f151461045957806341f434341461047557806342842e0e146104a057806350008e4a146104c957610246565b80631249c58b1161020e5780631249c58b146103445780631346d8ea1461036257806318160ddd1461039f57806322731396146103ca57806323b872dd146103f357610246565b806301ffc9a71461024b57806306a8dfbf1461028857806306fdde03146102b3578063081812fc146102de578063095ea7b31461031b575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d9190613635565b610997565b60405161027f919061367d565b60405180910390f35b34801561029457600080fd5b5061029d610a11565b6040516102aa9190613717565b60405180910390f35b3480156102bf57600080fd5b506102c8610a37565b6040516102d591906137c2565b60405180910390f35b3480156102ea57600080fd5b506103056004803603810190610300919061381a565b610ac9565b6040516103129190613868565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d91906138af565b610b0f565b005b61034c610b6d565b60405161035991906138fe565b60405180910390f35b34801561036e57600080fd5b5061038960048036038101906103849190613919565b610dbd565b60405161039691906138fe565b60405180910390f35b3480156103ab57600080fd5b506103b4610efb565b6040516103c191906138fe565b60405180910390f35b3480156103d657600080fd5b506103f160048036038101906103ec9190613972565b610f05565b005b3480156103ff57600080fd5b5061041a6004803603810190610415919061399f565b610f2a565b005b34801561042857600080fd5b50610443600480360381019061043e919061381a565b61107a565b604051610450919061367d565b60405180910390f35b610473600480360381019061046e91906139f2565b6111e3565b005b34801561048157600080fd5b5061048a61133a565b6040516104979190613a66565b60405180910390f35b3480156104ac57600080fd5b506104c760048036038101906104c2919061399f565b61134c565b005b3480156104d557600080fd5b506104de61149c565b6040516104eb9190613aa2565b60405180910390f35b34801561050057600080fd5b5061051b60048036038101906105169190613972565b6114c0565b005b34801561052957600080fd5b50610544600480360381019061053f919061381a565b6114e5565b6040516105519190613868565b60405180910390f35b34801561056657600080fd5b5061056f611596565b60405161057c91906138fe565b60405180910390f35b34801561059157600080fd5b506105ac60048036038101906105a79190613919565b61159c565b6040516105b991906138fe565b60405180910390f35b3480156105ce57600080fd5b506105d7611653565b005b3480156105e557600080fd5b506105ee611667565b6040516105fb91906137c2565b60405180910390f35b34801561061057600080fd5b506106196116f5565b60405161062691906138fe565b60405180910390f35b34801561063b57600080fd5b506106446116fb565b604051610651919061367d565b60405180910390f35b34801561066657600080fd5b5061066f61170e565b60405161067c9190613868565b60405180910390f35b34801561069157600080fd5b506106ac60048036038101906106a79190613bf2565b611738565b005b3480156106ba57600080fd5b506106d560048036038101906106d09190613c79565b611753565b005b3480156106e357600080fd5b506106ec6117d1565b6040516106f991906137c2565b60405180910390f35b34801561070e57600080fd5b50610717611863565b60405161072491906138fe565b60405180910390f35b34801561073957600080fd5b50610754600480360381019061074f919061381a565b6118fb565b005b34801561076257600080fd5b5061077d60048036038101906107789190613ccc565b61190d565b005b34801561078b57600080fd5b5061079461196b565b6040516107a19190613d2d565b60405180910390f35b3480156107b657600080fd5b506107d160048036038101906107cc9190613d86565b611991565b005b3480156107df57600080fd5b506107fa60048036038101906107f5919061381a565b6119dd565b60405161080791906138fe565b60405180910390f35b34801561081c57600080fd5b5061083760048036038101906108329190613e54565b6119fa565b005b34801561084557600080fd5b50610860600480360381019061085b919061381a565b611b4d565b60405161086d91906137c2565b60405180910390f35b34801561088257600080fd5b5061089d6004803603810190610898919061381a565b611c12565b6040516108ab929190613ed7565b60405180910390f35b3480156108c057600080fd5b506108c9611c37565b6040516108d6919061367d565b60405180910390f35b3480156108eb57600080fd5b5061090660048036038101906109019190613f07565b611c4a565b604051610913919061367d565b60405180910390f35b34801561092857600080fd5b50610943600480360381019061093e9190613919565b611cde565b005b34801561095157600080fd5b5061096c6004803603810190610967919061381a565b611d61565b005b34801561097a57600080fd5b5061099560048036038101906109909190613f47565b611d73565b005b60007fe019895a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a0a5750610a0982611e05565b5b9050919050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060008054610a4690613fb6565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7290613fb6565b8015610abf5780601f10610a9457610100808354040283529160200191610abf565b820191906000526020600020905b815481529060010190602001808311610aa257829003601f168201915b5050505050905090565b6000610ad482611ee7565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600c60149054906101000a900460ff1615610b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5690614059565b60405180910390fd5b610b698282611f32565b5050565b6000610b7833610dbd565b341015610bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb1906140c5565b60405180910390fd5b6003610bc53361159c565b10610c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfc90614131565b60405180910390fd5b610c0d61203c565b90505b610c1b60085461107a565b15610d2c57600060086000815480929190610c3590614180565b9190505590506000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610c9891906138fe565b602060405180830381865afa158015610cb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd991906141dd565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d1e57610d1981836120af565b610d25565b5050610d2c565b5050610c10565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166389ee68bf34836040518363ffffffff1660e01b8152600401610d8891906138fe565b6000604051808303818588803b158015610da157600080fd5b505af1158015610db5573d6000803e3d6000fd5b505050505090565b6000807f0000000000000000000000005c8d7748bf07709d3adc3f74fa0255f9f358c8b173ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610e199190613868565b602060405180830381865afa158015610e36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5a919061421f565b90506000610e678461159c565b9050600c60159054906101000a900460ff1615610ec357600081148015610e8e5750600082115b15610eab576002600a54610ea2919061427b565b92505050610ef6565b6004600a54610eba91906142ac565b92505050610ef6565b6000811480610ed157508181105b15610ee257600a5492505050610ef6565b6002600a54610ef191906142ac565b925050505b919050565b6000600854905090565b610f0d6120cd565b80600c60156101000a81548160ff02191690831515021790555050565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611068573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f9c57610f9784848461214b565b611074565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610fe59291906142ee565b602060405180830381865afa158015611002573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611026919061432c565b61106757336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161105e9190613868565b60405180910390fd5b5b61107384848461214b565b5b50505050565b6000806040518061042001604052806001815260200160f58152602001610193815260200161019581526020016101968152602001610197815260200161019a815260200161019f81526020016101a081526020016101a181526020016101a381526020016101a681526020016101a781526020016101b281526020016101c281526020016101c481526020016101c581526020016101c681526020016101c881526020016101cc81526020016101d781526020016101da81526020016101db81526020016101df81526020016101e781526020016101ea81526020016101ec81526020016101f181526020016101f381526020016101f981526020016102008152602001610207815260200161021f815250905060005b60218110156111d757838282602181106111af576111ae614359565b5b6020020151036111c4576001925050506111de565b80806111cf90614180565b915050611192565b5060009150505b919050565b6000600760008581526020019081526020016000205490506000811161123e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611235906143d4565b60405180910390fd5b80341015611281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127890614440565b60405180910390fd5b600061128d34846121ab565b9050600061129b3487612250565b905060006112a8876114e5565b905060008190508073ffffffffffffffffffffffffffffffffffffffff166108fc8486346112d69190614460565b6112e09190614460565b9081150290604051600060405180830381858888f1935050505015801561130b573d6000803e3d6000fd5b506000600760008a81526020019081526020016000208190555061133082888a612302565b5050505050505050565b6daaeb6d7670e522a718067333cd4e81565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561148a573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113be576113b9848484612568565b611496565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016114079291906142ee565b602060405180830381865afa158015611424573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611448919061432c565b61148957336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016114809190613868565b60405180910390fd5b5b611495848484612568565b5b50505050565b7f0000000000000000000000005c8d7748bf07709d3adc3f74fa0255f9f358c8b181565b6114c86120cd565b80600c60146101000a81548160ff02191690831515021790555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361158d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611584906144e0565b60405180910390fd5b80915050919050565b600a5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361160c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160390614572565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61165b6120cd565b6116656000612588565b565b6009805461167490613fb6565b80601f01602080910402602001604051908101604052809291908181526020018280546116a090613fb6565b80156116ed5780601f106116c2576101008083540402835291602001916116ed565b820191906000526020600020905b8154815290600101906020018083116116d057829003601f168201915b505050505081565b60085481565b600c60159054906101000a900460ff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117406120cd565b806009908161174f9190614734565b5050565b61175d8382611d73565b8173ffffffffffffffffffffffffffffffffffffffff16633c6fc8173085846040518463ffffffff1660e01b815260040161179a93929190614827565b600060405180830381600087803b1580156117b457600080fd5b505af11580156117c8573d6000803e3d6000fd5b50505050505050565b6060600180546117e090613fb6565b80601f016020809104026020016040519081016040528092919081815260200182805461180c90613fb6565b80156118595780601f1061182e57610100808354040283529160200191611859565b820191906000526020600020905b81548152906001019060200180831161183c57829003601f168201915b5050505050905090565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f6919061421f565b905090565b6119036120cd565b80600b8190555050565b600c60149054906101000a900460ff161561195d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195490614059565b60405180910390fd5b611967828261264e565b5050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6119996120cd565b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600060076000838152602001908152602001600020549050919050565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611b39573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a6d57611a6885858585612758565b611b46565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611ab69291906142ee565b602060405180830381865afa158015611ad3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af7919061432c565b611b3857336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611b2f9190613868565b60405180910390fd5b5b611b4585858585612758565b5b5050505050565b6060611b58826127ba565b611b97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8e906148d0565b60405180910390fd5b6000611ba283612826565b9050611beb611bb084612915565b6009611bbb86612946565b611bc4856129f0565b604051602001611bd79493929190614b98565b6040516020818303038152906040526129f0565b604051602001611bfb9190614c59565b604051602081830303815290604052915050919050565b606060005a9050611c2283611b4d565b91505a81611c309190614460565b9050915091565b600c60149054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ce66120cd565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4c90614ced565b60405180910390fd5b611d5e81612588565b50565b611d696120cd565b80600a8190555050565b3373ffffffffffffffffffffffffffffffffffffffff16611d93836114e5565b73ffffffffffffffffffffffffffffffffffffffff1614611de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de090614d59565b60405180910390fd5b8060076000848152602001908152602001600020819055505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ed057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611ee05750611edf82612b68565b5b9050919050565b611ef0816127ba565b611f2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f26906144e0565b60405180910390fd5b50565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561202d576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611faa9291906142ee565b602060405180830381865afa158015611fc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611feb919061432c565b61202c57806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016120239190613868565b60405180910390fd5b5b6120378383612bd2565b505050565b6000612046611863565b60085410612089576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208090614dc5565b60405180910390fd5b6008600081548092919061209c90614180565b9190505590506120ac33826120af565b90565b6120c9828260405180602001604052806000815250612ce9565b5050565b6120d5612d44565b73ffffffffffffffffffffffffffffffffffffffff166120f361170e565b73ffffffffffffffffffffffffffffffffffffffff1614612149576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214090614e31565b60405180910390fd5b565b61215c612156612d44565b82612d4c565b61219b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219290614ec3565b60405180910390fd5b6121a6838383612302565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461224a576103e86019846121f091906142ac565b6121fa919061427b565b905060008290508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015612247573d6000803e3d6000fd5b50505b92915050565b60006103e860328461226291906142ac565b61226c919061427b565b9050600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166389ee68bf82846040518363ffffffff1660e01b81526004016122ca91906138fe565b6000604051808303818588803b1580156122e357600080fd5b505af11580156122f7573d6000803e3d6000fd5b505050505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612322826114e5565b73ffffffffffffffffffffffffffffffffffffffff1614612378576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236f90614f55565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036123e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123de90614fe7565b60405180910390fd5b6123f2838383612db0565b6123fd600082612db5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461244d9190614460565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124a49190615007565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612563838383612e6e565b505050565b612583838383604051806020016040528060008152506119fa565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612749576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016126c69291906142ee565b602060405180830381865afa1580156126e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612707919061432c565b61274857806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161273f9190613868565b60405180910390fd5b5b6127538383612e73565b505050565b612769612763612d44565b83612d4c565b6127a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279f90614ec3565b60405180910390fd5b6127b484848484612e89565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e3f24f02856040518263ffffffff1660e01b815260040161288691906138fe565b600060405180830381865afa1580156128a3573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906128cc91906150ab565b915091506040518060800160405280604981526020016156fd6049913982826040516020016128fd939291906151bb565b60405160208183030381529060405292505050919050565b606061292082612ee5565b604051602001612930919061524e565b6040516020818303038152906040529050919050565b6060600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379b92f27836040518263ffffffff1660e01b81526004016129a391906138fe565b600060405180830381865afa1580156129c0573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906129e99190615270565b9050919050565b60606000825103612a1257604051806020016040528060008152509050612b63565b60006040518060600160405280604081526020016156bd6040913990506000600360028551612a419190615007565b612a4b919061427b565b6004612a5791906142ac565b90506000602082612a689190615007565b67ffffffffffffffff811115612a8157612a80613ac7565b5b6040519080825280601f01601f191660200182016040528015612ab35781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612b22576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050612ac7565b600389510660018114612b3c5760028114612b4c57612b57565b613d3d60f01b6002830352612b57565b603d60f81b60018303525b50505050508093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000612bdd826114e5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612c4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c449061532b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16612c6c612d44565b73ffffffffffffffffffffffffffffffffffffffff161480612c9b5750612c9a81612c95612d44565b611c4a565b5b612cda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd1906153bd565b60405180910390fd5b612ce48383612db5565b505050565b612cf38383613045565b612d00600084848461321e565b612d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d369061544f565b60405180910390fd5b505050565b600033905090565b6000600c60149054906101000a900460ff1615612d9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9590614059565b60405180910390fd5b612da883836133a5565b905092915050565b505050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612e28836114e5565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b505050565b612e85612e7e612d44565b838361343a565b5050565b612e94848484612302565b612ea08484848461321e565b612edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed69061544f565b60405180910390fd5b50505050565b606060008203612f2c576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613040565b600082905060005b60008214612f5e578080612f4790614180565b915050600a82612f57919061427b565b9150612f34565b60008167ffffffffffffffff811115612f7a57612f79613ac7565b5b6040519080825280601f01601f191660200182016040528015612fac5781602001600182028036833780820191505090505b5090505b6000851461303957600182612fc59190614460565b9150600a85612fd4919061546f565b6030612fe09190615007565b60f81b818381518110612ff657612ff5614359565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613032919061427b565b9450612fb0565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036130b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ab906154ec565b60405180910390fd5b6130bd816127ba565b156130fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f490615558565b60405180910390fd5b61310960008383612db0565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131599190615007565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461321a60008383612e6e565b5050565b600061323f8473ffffffffffffffffffffffffffffffffffffffff166135a6565b15613398578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613268612d44565b8786866040518563ffffffff1660e01b815260040161328a94939291906155c2565b6020604051808303816000875af19250505080156132c657506040513d601f19601f820116820180604052508101906132c39190615623565b60015b613348573d80600081146132f6576040519150601f19603f3d011682016040523d82523d6000602084013e6132fb565b606091505b506000815103613340576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133379061544f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061339d565b600190505b949350505050565b6000806133b1836114e5565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806133f357506133f28185611c4a565b5b8061343157508373ffffffffffffffffffffffffffffffffffffffff1661341984610ac9565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036134a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349f9061569c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051613599919061367d565b60405180910390a3505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613612816135dd565b811461361d57600080fd5b50565b60008135905061362f81613609565b92915050565b60006020828403121561364b5761364a6135d3565b5b600061365984828501613620565b91505092915050565b60008115159050919050565b61367781613662565b82525050565b6000602082019050613692600083018461366e565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006136dd6136d86136d384613698565b6136b8565b613698565b9050919050565b60006136ef826136c2565b9050919050565b6000613701826136e4565b9050919050565b613711816136f6565b82525050565b600060208201905061372c6000830184613708565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561376c578082015181840152602081019050613751565b60008484015250505050565b6000601f19601f8301169050919050565b600061379482613732565b61379e818561373d565b93506137ae81856020860161374e565b6137b781613778565b840191505092915050565b600060208201905081810360008301526137dc8184613789565b905092915050565b6000819050919050565b6137f7816137e4565b811461380257600080fd5b50565b600081359050613814816137ee565b92915050565b6000602082840312156138305761382f6135d3565b5b600061383e84828501613805565b91505092915050565b600061385282613698565b9050919050565b61386281613847565b82525050565b600060208201905061387d6000830184613859565b92915050565b61388c81613847565b811461389757600080fd5b50565b6000813590506138a981613883565b92915050565b600080604083850312156138c6576138c56135d3565b5b60006138d48582860161389a565b92505060206138e585828601613805565b9150509250929050565b6138f8816137e4565b82525050565b600060208201905061391360008301846138ef565b92915050565b60006020828403121561392f5761392e6135d3565b5b600061393d8482850161389a565b91505092915050565b61394f81613662565b811461395a57600080fd5b50565b60008135905061396c81613946565b92915050565b600060208284031215613988576139876135d3565b5b60006139968482850161395d565b91505092915050565b6000806000606084860312156139b8576139b76135d3565b5b60006139c68682870161389a565b93505060206139d78682870161389a565b92505060406139e886828701613805565b9150509250925092565b600080600060608486031215613a0b57613a0a6135d3565b5b6000613a1986828701613805565b9350506020613a2a8682870161389a565b9250506040613a3b8682870161389a565b9150509250925092565b6000613a50826136e4565b9050919050565b613a6081613a45565b82525050565b6000602082019050613a7b6000830184613a57565b92915050565b6000613a8c826136e4565b9050919050565b613a9c81613a81565b82525050565b6000602082019050613ab76000830184613a93565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613aff82613778565b810181811067ffffffffffffffff82111715613b1e57613b1d613ac7565b5b80604052505050565b6000613b316135c9565b9050613b3d8282613af6565b919050565b600067ffffffffffffffff821115613b5d57613b5c613ac7565b5b613b6682613778565b9050602081019050919050565b82818337600083830152505050565b6000613b95613b9084613b42565b613b27565b905082815260208101848484011115613bb157613bb0613ac2565b5b613bbc848285613b73565b509392505050565b600082601f830112613bd957613bd8613abd565b5b8135613be9848260208601613b82565b91505092915050565b600060208284031215613c0857613c076135d3565b5b600082013567ffffffffffffffff811115613c2657613c256135d8565b5b613c3284828501613bc4565b91505092915050565b6000613c4682613847565b9050919050565b613c5681613c3b565b8114613c6157600080fd5b50565b600081359050613c7381613c4d565b92915050565b600080600060608486031215613c9257613c916135d3565b5b6000613ca086828701613805565b9350506020613cb186828701613c64565b9250506040613cc286828701613805565b9150509250925092565b60008060408385031215613ce357613ce26135d3565b5b6000613cf18582860161389a565b9250506020613d028582860161395d565b9150509250929050565b6000613d17826136e4565b9050919050565b613d2781613d0c565b82525050565b6000602082019050613d426000830184613d1e565b92915050565b6000613d5382613847565b9050919050565b613d6381613d48565b8114613d6e57600080fd5b50565b600081359050613d8081613d5a565b92915050565b600060208284031215613d9c57613d9b6135d3565b5b6000613daa84828501613d71565b91505092915050565b600067ffffffffffffffff821115613dce57613dcd613ac7565b5b613dd782613778565b9050602081019050919050565b6000613df7613df284613db3565b613b27565b905082815260208101848484011115613e1357613e12613ac2565b5b613e1e848285613b73565b509392505050565b600082601f830112613e3b57613e3a613abd565b5b8135613e4b848260208601613de4565b91505092915050565b60008060008060808587031215613e6e57613e6d6135d3565b5b6000613e7c8782880161389a565b9450506020613e8d8782880161389a565b9350506040613e9e87828801613805565b925050606085013567ffffffffffffffff811115613ebf57613ebe6135d8565b5b613ecb87828801613e26565b91505092959194509250565b60006040820190508181036000830152613ef18185613789565b9050613f0060208301846138ef565b9392505050565b60008060408385031215613f1e57613f1d6135d3565b5b6000613f2c8582860161389a565b9250506020613f3d8582860161389a565b9150509250929050565b60008060408385031215613f5e57613f5d6135d3565b5b6000613f6c85828601613805565b9250506020613f7d85828601613805565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fce57607f821691505b602082108103613fe157613fe0613f87565b5b50919050565b7f54686520636f6e7472616374206973206c6f636b656420647572696e6720746860008201527f6520696e697469616c206d696e74696e672e0000000000000000000000000000602082015250565b600061404360328361373d565b915061404e82613fe7565b604082019050919050565b6000602082019050818103600083015261407281614036565b9050919050565b7f4d7573742073656e6420746865206d696e742070726963650000000000000000600082015250565b60006140af60188361373d565b91506140ba82614079565b602082019050919050565b600060208201905081810360008301526140de816140a2565b9050919050565b7f546f6f206d616e7920746f6b656e730000000000000000000000000000000000600082015250565b600061411b600f8361373d565b9150614126826140e5565b602082019050919050565b6000602082019050818103600083015261414a8161410e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061418b826137e4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036141bd576141bc614151565b5b600182019050919050565b6000815190506141d781613883565b92915050565b6000602082840312156141f3576141f26135d3565b5b6000614201848285016141c8565b91505092915050565b600081519050614219816137ee565b92915050565b600060208284031215614235576142346135d3565b5b60006142438482850161420a565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614286826137e4565b9150614291836137e4565b9250826142a1576142a061424c565b5b828204905092915050565b60006142b7826137e4565b91506142c2836137e4565b92508282026142d0816137e4565b915082820484148315176142e7576142e6614151565b5b5092915050565b60006040820190506143036000830185613859565b6143106020830184613859565b9392505050565b60008151905061432681613946565b92915050565b600060208284031215614342576143416135d3565b5b600061435084828501614317565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f546f6b656e206973206e6f74206f6e2073616c65000000000000000000000000600082015250565b60006143be60148361373d565b91506143c982614388565b602082019050919050565b600060208201905081810360008301526143ed816143b1565b9050919050565b7f4e6f7420656e6f7567682066756e640000000000000000000000000000000000600082015250565b600061442a600f8361373d565b9150614435826143f4565b602082019050919050565b600060208201905081810360008301526144598161441d565b9050919050565b600061446b826137e4565b9150614476836137e4565b925082820390508181111561448e5761448d614151565b5b92915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006144ca60188361373d565b91506144d582614494565b602082019050919050565b600060208201905081810360008301526144f9816144bd565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061455c60298361373d565b915061456782614500565b604082019050919050565b6000602082019050818103600083015261458b8161454f565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026145f47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826145b7565b6145fe86836145b7565b95508019841693508086168417925050509392505050565b600061463161462c614627846137e4565b6136b8565b6137e4565b9050919050565b6000819050919050565b61464b83614616565b61465f61465782614638565b8484546145c4565b825550505050565b600090565b614674614667565b61467f818484614642565b505050565b5b818110156146a35761469860008261466c565b600181019050614685565b5050565b601f8211156146e8576146b981614592565b6146c2846145a7565b810160208510156146d1578190505b6146e56146dd856145a7565b830182614684565b50505b505050565b600082821c905092915050565b600061470b600019846008026146ed565b1980831691505092915050565b600061472483836146fa565b9150826002028217905092915050565b61473d82613732565b67ffffffffffffffff81111561475657614755613ac7565b5b6147608254613fb6565b61476b8282856146a7565b600060209050601f83116001811461479e576000841561478c578287015190505b6147968582614718565b8655506147fe565b601f1984166147ac86614592565b60005b828110156147d4578489015182556001820191506020850194506020810190506147af565b868310156147f157848901516147ed601f8916826146fa565b8355505b6001600288020188555050505b505050505050565b6000614811826136e4565b9050919050565b61482181614806565b82525050565b600060608201905061483c6000830186614818565b61484960208301856138ef565b61485660408301846138ef565b949350505050565b7f50726f7669646572546f6b656e2e746f6b656e5552493a206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006148ba60298361373d565b91506148c58261485e565b604082019050919050565b600060208201905081810360008301526148e9816148ad565b9050919050565b600081905092915050565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b60006149316009836148f0565b915061493c826148fb565b600982019050919050565b600061495282613732565b61495c81856148f0565b935061496c81856020860161374e565b80840191505092915050565b7f222c226465736372697074696f6e223a22000000000000000000000000000000600082015250565b60006149ae6011836148f0565b91506149b982614978565b601182019050919050565b600081546149d181613fb6565b6149db81866148f0565b945060018216600081146149f65760018114614a0b57614a3e565b60ff1983168652811515820286019350614a3e565b614a1485614592565b60005b83811015614a3657815481890152600182019150602081019050614a17565b838801955050505b50505092915050565b7f222c2261747472696275746573223a5b00000000000000000000000000000000600082015250565b6000614a7d6010836148f0565b9150614a8882614a47565b601082019050919050565b600081519050919050565b600081905092915050565b6000614ab482614a93565b614abe8185614a9e565b9350614ace81856020860161374e565b80840191505092915050565b7f5d2c22696d616765223a22646174613a696d6167652f7376672b786d6c3b626160008201527f736536342c000000000000000000000000000000000000000000000000000000602082015250565b6000614b366025836148f0565b9150614b4182614ada565b602582019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b6000614b826002836148f0565b9150614b8d82614b4c565b600282019050919050565b6000614ba382614924565b9150614baf8287614947565b9150614bba826149a1565b9150614bc682866149c4565b9150614bd182614a70565b9150614bdd8285614aa9565b9150614be882614b29565b9150614bf48284614947565b9150614bff82614b75565b915081905095945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000614c43601d836148f0565b9150614c4e82614c0d565b601d82019050919050565b6000614c6482614c36565b9150614c708284614947565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614cd760268361373d565b9150614ce282614c7b565b604082019050919050565b60006020820190508181036000830152614d0681614cca565b9050919050565b7f4f6e6c7920746865206f6e7765722063616e2073657420746865207072696365600082015250565b6000614d4360208361373d565b9150614d4e82614d0d565b602082019050919050565b60006020820190508181036000830152614d7281614d36565b9050919050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b6000614daf60088361373d565b9150614dba82614d79565b602082019050919050565b60006020820190508181036000830152614dde81614da2565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614e1b60208361373d565b9150614e2682614de5565b602082019050919050565b60006020820190508181036000830152614e4a81614e0e565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614ead602e8361373d565b9150614eb882614e51565b604082019050919050565b60006020820190508181036000830152614edc81614ea0565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614f3f60258361373d565b9150614f4a82614ee3565b604082019050919050565b60006020820190508181036000830152614f6e81614f32565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614fd160248361373d565b9150614fdc82614f75565b604082019050919050565b6000602082019050818103600083015261500081614fc4565b9050919050565b6000615012826137e4565b915061501d836137e4565b925082820190508082111561503557615034614151565b5b92915050565b600061504e61504984613b42565b613b27565b90508281526020810184848401111561506a57615069613ac2565b5b61507584828561374e565b509392505050565b600082601f83011261509257615091613abd565b5b81516150a284826020860161503b565b91505092915050565b600080604083850312156150c2576150c16135d3565b5b600083015167ffffffffffffffff8111156150e0576150df6135d8565b5b6150ec8582860161507d565b925050602083015167ffffffffffffffff81111561510d5761510c6135d8565b5b6151198582860161507d565b9150509250929050565b7f3c2f646566733e0a3c75736520687265663d2223000000000000000000000000600082015250565b60006151596014836148f0565b915061516482615123565b601482019050919050565b7f22202f3e0a3c2f7376673e0a0000000000000000000000000000000000000000600082015250565b60006151a5600c836148f0565b91506151b08261516f565b600c82019050919050565b60006151c78286614947565b91506151d38285614947565b91506151de8261514c565b91506151ea8284614947565b91506151f582615198565b9150819050949350505050565b7f5061706572204e6f756e73200000000000000000000000000000000000000000600082015250565b6000615238600c836148f0565b915061524382615202565b600c82019050919050565b60006152598261522b565b91506152658284614947565b915081905092915050565b600060208284031215615286576152856135d3565b5b600082015167ffffffffffffffff8111156152a4576152a36135d8565b5b6152b08482850161507d565b91505092915050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061531560218361373d565b9150615320826152b9565b604082019050919050565b6000602082019050818103600083015261534481615308565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006153a7603e8361373d565b91506153b28261534b565b604082019050919050565b600060208201905081810360008301526153d68161539a565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061543960328361373d565b9150615444826153dd565b604082019050919050565b600060208201905081810360008301526154688161542c565b9050919050565b600061547a826137e4565b9150615485836137e4565b9250826154955761549461424c565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006154d660208361373d565b91506154e1826154a0565b602082019050919050565b60006020820190508181036000830152615505816154c9565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615542601c8361373d565b915061554d8261550c565b602082019050919050565b6000602082019050818103600083015261557181615535565b9050919050565b600082825260208201905092915050565b600061559482614a93565b61559e8185615578565b93506155ae81856020860161374e565b6155b781613778565b840191505092915050565b60006080820190506155d76000830187613859565b6155e46020830186613859565b6155f160408301856138ef565b81810360608301526156038184615589565b905095945050505050565b60008151905061561d81613609565b92915050565b600060208284031215615639576156386135d3565b5b60006156478482850161560e565b91505092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061568660198361373d565b915061569182615650565b602082019050919050565b600060208201905081810360008301526156b581615679565b905091905056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c7376672076696577426f783d2230203020313032342031303234222020786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667223e0a3c646566733e0aa26469706673582212209210283d6b1078a3d6d5bf146e124f04818f67823cc6926f141b9070a9af67a764736f6c63430008110033

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

0000000000000000000000005c8d7748bf07709d3adc3f74fa0255f9f358c8b10000000000000000000000004b5794e4fd9b927ee76d74b2411fca9acedf03750000000000000000000000001e3516211fe0cb030802237b4c4ce8277733a3b9

-----Decoded View---------------
Arg [0] : _tokenGate (address): 0x5C8d7748bF07709D3adC3f74fa0255F9f358C8b1
Arg [1] : _assetProvider (address): 0x4b5794e4Fd9B927EE76d74B2411fCA9ACedF0375
Arg [2] : _dotNouns (address): 0x1e3516211Fe0CB030802237B4C4CE8277733a3B9

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000005c8d7748bf07709d3adc3f74fa0255f9f358c8b1
Arg [1] : 0000000000000000000000004b5794e4fd9b927ee76d74b2411fca9acedf0375
Arg [2] : 0000000000000000000000001e3516211fe0cb030802237b4c4ce8277733a3b9


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.