ETH Price: $2,286.98 (-3.38%)

Token

Portraits For People (PFP)
 

Overview

Max Total Supply

0 PFP

Holders

1

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
LFGCoinTokens: Deployer
Balance
1 PFP
0xf8d9056db2c2189155bc25a30269dc5dded15d46
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:
Portraits_For_People

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : PFP.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Royalty.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

/**
 * This contract is designed for javascript enhanced multimedia projects.
 * Metadata (traits) must be handled entirely in javascript based on tokenId.
 */

/** 
 * @title Portraits For People v1.2
 * @notice This is a customized ERC-721 contract for Portraits For People. 
 * This contract would be used for collections that are minted one at a time 
 * and require additional data stored for each NFT, like a preference. 
 * @author Matto
 * @custom:security-contact [email protected]
 */ 
contract Portraits_For_People is ERC721Royalty, Ownable, ReentrancyGuard {
  using Counters for Counters.Counter;
  using Strings for string;

  Counters.Counter public tokensMinted;
  string public baseURI;
  string public description;
  bool public projectLocked;
  uint8 public mintStage;
  uint16 public maxSupply = 65535;
  uint96 private platformBPS;
  uint96 private royaltyBPS;
  uint256 public mintFee;
  address private artistAddress;
  address private minterAddress;
  address private platformAddress;
  address private secondaryAddress;
  mapping(uint256 => address) secondaryAddressOf;
  mapping(uint256 => string) public projectData;
  mapping(uint256 => string) private mediaURIof;
  mapping(uint256 => string) private titleOf;
  mapping(uint256 => string) private descriptionOf;
  mapping(uint256 => string) private customDataOf;
  mapping(uint256 => string) public processDescription;
  mapping(uint256 => uint256) public tokenEntropyOf;

  constructor() ERC721("Portraits For People", "PFP") {}

  /** 
   * CUSTOM EVENTS
   * @notice These events are watched by the substratum.art platform.
   * @dev These will be monitored by the custom backend. They will trigger
   * updating the API with data stored in projectData, as well as data returned
   * by the scriptInputsOf() function.
   */

  /**
   * @notice The TokenUpdated event is emitted from multiple functions that 
   * that affect the rendering of traits/image of the token.
   * @dev indexed keyword is added to tokeId for searchability.
   * @param tokenId is the token that is being updated.
   * @param data is the new data regarding the change.
   */  
  event TokenUpdated(
      uint256 indexed tokenId,
      string data
  );

  /**
   * MODIFIERS
   * @notice These are reusable code to control function execution.
   */

  /**
   * @notice onlyMinters modifier controls accounts that can mint.
   * @dev This modifier will only allow transactions from the minter or
   * artist accounts.
   */
  modifier onlyMinters() {
      require(msg.sender == artistAddress || msg.sender == minterAddress);
      _;
  }

  /**
   * @notice onlyArtist restricts functions to the artist.
   */
  modifier onlyArtist() 
  {
      require(msg.sender == artistAddress);
      _;
  }

  /**
   * @notice onlyAuthorized restricts functions to the three accounts stored
   * on the contract, the owner, the artist, and the platform.
   */
  modifier onlyAuthorized()
  { 
      require(msg.sender == owner() || 
          msg.sender == artistAddress || 
          msg.sender == platformAddress);
      _;
  }

  /**
   * OVERRIDE FUNCTIONS
   * @notice These functions are declared as overrides because functions of the 
   * same name exist in imported contracts.
   * @dev 'super._transfer' calls the overridden function.
   */

  /** 
   * @notice _baseURI is an internal function that returns a state value.
   * @dev This override is needed when using a custom baseURI.
   * @return baseURI, which is a state value.
   */
  function _baseURI()
      internal 
      view 
      override 
      returns (string memory) 
  {
      return baseURI;
  }

  /**
   * @notice this override checks if a token has a specific royalty address set.
   * @dev as a mapping, if a token does not have an address set, it returns the
   * zero address, so a catch must be used to reset the returned address to the 
   * contract's default address.
   * @param _tokenId is the token to check its royalty information.
   * @param _salePrice is the price to calculate the royalty with.
   */
  function royaltyInfo(uint256 _tokenId, uint256 _salePrice)
      public 
      view 
      virtual 
      override
      returns (address, uint256) 
  {
      address receiver = secondaryAddressOf[_tokenId];
      if (receiver == address(0)) {
        receiver = secondaryAddress;
      }
      uint256 royaltyAmount = (_salePrice * royaltyBPS) / 10000;
      return (receiver, royaltyAmount);
  }

  /** 
   * RECEIVING FUNCTIONS
   * @notice These functions are required for the contract to be able to
   * receive Ether.
   */

  /**
   * @dev The receive() function receives Ether when msg.data is empty.
   * @dev The fallback() function receives Ether when msg.data is not empty.
   */
  receive() external payable {}
  fallback() external payable {}

  /**
   * CUSTOM VIEW FUNCTIONS
   * @notice These are custom view functions implemented for efficiency.
   */

  /**
   * @notice getAddresses returns all addresses and fee BPS details.
   * @dev These state variables are private to reduce contract file size
   * and to make it more efficient to check all addresses.
   */
  function getAddresses()
      external
      view
      returns (string memory)
  {
      return
          string(
              abi.encodePacked(
                  '{"artist_address":"',
                  Strings.toHexString(uint160(artistAddress), 20),
                  '","minter_address":"',
                  Strings.toHexString(uint160(minterAddress), 20),
                  '","platform_address":"',
                  Strings.toHexString(uint160(platformAddress), 20),
                  '","platformBPS":"',                      
                  Strings.toString(platformBPS),
                  '","default_royalty_address":"',
                  Strings.toHexString(uint160(secondaryAddress), 20),
                  '","royaltyBPS":"',
                  Strings.toString(royaltyBPS),
                  '"}'
              )
          );
  }

  /**
   * @notice scriptInputsOf returns the input data necessary for the generative
   * script to create/recreate a Portraits_For_People token. 
   * @dev For any given token, this function returns all the on-chain data that
   * is needed to be inputted into the generative script to deterministically 
   * reproduce both the token's artwork and metadata.
   * @dev entropyString is set outside of the return to standardize this code.
   * @param _tokenId is the token whose inputs will be returned.
   * @return scriptInputs are returned in JSON format.
   */
  function scriptInputsOf(
      uint256 _tokenId
  )
      external
      view
      returns (string memory)
  {
      string memory entropyString = Strings.toString(tokenEntropyOf[_tokenId]); // USE FOR DECINAL ENTROPY ONLY  
      return
          string(
              abi.encodePacked(
                  '{"token_id":"',
                  Strings.toString(_tokenId),
                  '","token_entropy":"',
                  entropyString,    
                  '","media_URI":"',
                  mediaURIof[_tokenId],
                  '","title":"',
                  titleOf[_tokenId],
                  '","description":"',
                  descriptionOf[_tokenId],
                  '","custom_data":"',
                  customDataOf[_tokenId],
                  '"}'
              )
          );
  }

  /**
   * OWNER CONTROLS
   * @notice These functions have various levels of owner control mechanisms in
   * place, and can have artist or platform overrides. 
   * @dev All functions should use appropriate 'msg.sender == address' checks.
   */  

  /** 
   * @notice setCustomData allows token owners to update information stored 
   * on-chain.
   * @dev artist is given access to assist owners for their safety.
   * @param _tokenId is the token to update.
   * @param _customData is the new data that is being stored.
   */
  function setCustomData(
      uint256 _tokenId,
      string memory _customData
  )
      external
  {
      require(msg.sender == ownerOf(_tokenId) || 
          msg.sender == artistAddress);
      customDataOf[_tokenId] = _customData;
      emit TokenUpdated(_tokenId, _customData);
  }

  /**
   * ARTIST CONTROLS
   * @notice These functions have various levels of artist-only control 
   * mechanisms in place. 
   * @dev All functions should use onlyArtist modifier.
   */

  /**
   * @notice changeMaxSupply allows changes to the maximum iteration count,
   * a value that is checked against during mint.
   * @dev This function will only update the maxSupply variable if the 
   * submitted value is greater than or equal to the current number of minted
   * tokens. maxSupply is used in the internal _minter function to cap the 
   * number of currently available tokens.
   * @param _maxSupply is the new maximum supply.
   */
  function changeMaxSupply(
      uint16 _maxSupply
  ) 
      external 
      onlyArtist 
  {
      require (!projectLocked);
      require(_maxSupply >= tokensMinted.current());
      maxSupply = _maxSupply;
  }

  /**
   * @notice setMintStage sets the stage of the mint.
   * @dev This is used instead of public view booleans to save contract size.
   * @param _mintStage is the new stage for the mint: 0 for disabled, 1 for 
   * public mint (following logic: 0-false, 1-true).
   * Other stages may be added as 2, 3, etc.
   */
  function setMintStage(
    uint8 _mintStage
  ) 
      external 
      onlyArtist 
  {
      mintStage = _mintStage;
  }

  /**
   * @notice setMintFee sets the price per mint.
   * @dev This function allows changes to the payment amount that is required 
   * for minting.
   * @param _mintFee is the cost per mint in Wei.
   */
  function setMintFee(
      uint256 _mintFee
  ) 
      external 
      onlyArtist 
  {
      mintFee = _mintFee;
  }

  /**
   * @notice setDescription updates the on-chain description.
   * @dev This is separate from other update functions because the description
   * size may be large and thus expensive to update.
   * @param _description is the new description. Quotation marks are not needed.
   */
  function setDescription(
      string memory _description
  ) 
      external 
      onlyArtist 
  {
      description = _description;
  }

  /** 
   * @notice writeProcessDescription stores the individual descriptions for the 
   * image modification scripts that can be used.
   * @dev The length of the processDescription array is used to restrict owner
   * selection via customData.
   * @param _index identifies where the description should be stored.
   * @param _processDescription is the new process description.
   */
  function writeProcessDescription(
      uint256 _index, 
      string memory _processDescription
  )
      external
      onlyArtist
  {
      require(!projectLocked);
      processDescription[_index] = _processDescription;
  }

  /**
   * @notice mintToAddress can only be called by the artist and the minter 
   * account, and it mints to a specified address.
   * @dev Variation of a mint function that uses a submitted address as the
   * account to mint to. The artist account can bypass the publicMintActive 
   * requirement.
   * @param _to is the address to send the token to.
   */
  function mintToAddress(
    address _to
  )
      external
      payable
      nonReentrant
      onlyMinters
  {
      require(mintStage == 1 || msg.sender == artistAddress);
      _minter(_to);
  }

  /**
   * ARTIST AND PLATFORM CONTROLS
   * @notice functions can be called by both the artist and platform address.
   * @dev the onlyAuthorized modifier used to check authorization.
   */

 /**
  * @notice reveal fills in data required to actualize a token with custom data.
  * @dev this is separated from MINT functions to allow flexibility in sales or
  * token distribution. Platform is allowed to access this function to assist
  * artists and to replace URI's as needed if decentralized storage fails.
  * Token must already be minted. tokensMinted.current() is always 1 more than 
  * the last token's Id (tokens start at index 0).
  * @param _tokenId is the token who's data is being set
  * @param _title is the title of the token
  * @param _mediaURI is the URI of the image
  * @param _description is the description of the NFT content
  * @param _customData is the selected image processing script/function
  */
  function reveal(
    uint256 _tokenId,
    string memory _title,
    string memory _mediaURI,
    string memory _description,
    string memory _customData
  ) 
      external 
      onlyAuthorized
  {
      require(!projectLocked);
      require(_tokenId < tokensMinted.current());
      mediaURIof[_tokenId] = _mediaURI;
      titleOf[_tokenId] = _title;
      descriptionOf[_tokenId] = _description;
      customDataOf[_tokenId] = _customData;
      emit TokenUpdated(_tokenId, string(abi.encodePacked(_mediaURI,_title,_description,_customData)));
  }

  /**
   * @notice pauseMint is a safeguard that pauses mint (only artist can unpause).
   * @dev onlyAuhtorized modifier gates access.
   */
  function pauseMint() 
      external 
      onlyAuthorized
  {
      mintStage = 0;
  }

  /**
   * @notice setMinterAddress sets/updates the project's approved minting address.
   * @dev minter can be a any type of account.
   * @param _minterAddress is the new account to be set as the minter.
   */
  function setMinterAddress(
      address _minterAddress
  ) 
      external 
      onlyAuthorized
  {
      minterAddress = _minterAddress;
  }

  /** 
   * @notice writeProjectData allows storage of the generative script on-chain.
   * @dev This will store the generative script needed to reproduce Portraits_For_People
   * tokens, along with other information and instructions. Vanilla JavaScript
   * and p5.js v1.0.0 are other dependencies.
   * @param _index identifies where the script data should be stored.
   * @param _newScript is the new script data.
   */
  function writeProjectData(
      uint256 _index, 
      string memory _newScript
  )
      external
      onlyAuthorized
  {
      require(!projectLocked);
      projectData[_index] = _newScript;
  }

  /**
   * @notice overrideDefaultRoyalty updates the royalty address per token.
   * @dev This updates a mapping that is used by royaltyInfo().
   * @param _tokenId is the token to update.
   * @param _secondaryAddress is the address for that token.
   */
  function overrideDefaultRoyalty(
      uint256 _tokenId,
      address _secondaryAddress
  )
      external
      onlyAuthorized
  {
      secondaryAddressOf[_tokenId] = _secondaryAddress;
  }

  /**
   * @notice withdraw is used to send funds to the payments addresses.
   * @dev Withdraw cannot be called if the payments addresses are not set. 
   */
  function withdraw() 
      external 
      onlyAuthorized
  {
      require(artistAddress != address(0));
      require(platformAddress != address(0));
      uint256 platformFee = address(this).balance * platformBPS / 10000;
      (bool sent1, bytes memory data1) = payable(platformAddress).call{value:platformFee}("");
      require(sent1, "Failed to send Ether");
      (bool sent2, bytes memory data2) = payable(artistAddress).call{value:address(this).balance}("");
      require(sent2, "Failed to send Ether");
  }

  /**
   * PLATFORM CONTROLS
   * @notice These are contract-level controls.
   * @dev all should use the onlyOwner modifier.
   */

  /**
   * @notice lockScripts freezes the projectData storage.
   * @dev The project must be fully minted before this function is callable.
   */
  function lockScripts() 
      external 
      onlyOwner 
  {
      require(tokensMinted.current() == maxSupply);
      projectLocked = true;
  }

  /**
   * @notice setPrimaryData supplies information needed for splitting mint funds.
   * @dev This must be set prior to withdrawl function use. 
   * @param _artistAddress is the new artist address.
   * @param _platformAddress is the new platform address.
   * @param _platformBPS is the platform fee amount, measured in base
   * percentage points.
   */
  function setPrimaryData(
      address _artistAddress, 
      address _platformAddress, 
      uint96 _platformBPS
  )
      external
      onlyOwner
  {
      artistAddress = _artistAddress;
      platformAddress = _platformAddress;
      platformBPS = _platformBPS;
  }

  /**
   * @notice setSecondaryData updates the royalty address and BPS for the project.
   * @dev This function allows changes to the payments address and secondary sale
   * royalty amount. After setting values, _setDefaultRoyalty is called in 
   * order to update the imported EIP-2981 contract functions.
   * @param _secondaryAddress is the new payments address.
   * @param _royaltyBPS is the new projet royalty amount, measured in 
   * base percentage points.
   */
  function setSecondaryData(
      address _secondaryAddress, 
      uint96 _royaltyBPS
  )
      external
      onlyOwner
  {
      secondaryAddress = _secondaryAddress;
      royaltyBPS = _royaltyBPS;
      _setDefaultRoyalty(_secondaryAddress, _royaltyBPS);
  }

  /**
   * @notice setURI sets/updates the project's baseURI.
   * @dev baseURI is appended with tokenId and is returned in tokenURI calls.
   * @dev _newBaseURI is used instead of _baseURI because an override function
   * with that name already exists.
   * @param _newBaseURI is the API endpoint base for tokenURI calls.
   */
  function setURI(
      string memory _newBaseURI
  ) 
      external 
      onlyOwner 
  {
      baseURI = _newBaseURI;
  }

  /**
   * INTERNAL FUNCTIONS
   * @notice these are helper functions that can only be called from within
   * this contract.
   */

  /**
   * @notice _minter is the internal function that generates mints.
   * @dev Minting function called by the public 'mintToAddress' function.
   * The artist can bypass the payment requirement.
   * @param _to is the address to send the token to.
   */
  function _minter(
      address _to
  ) 
      internal 
  {
      require(
          msg.value == mintFee || msg.sender == artistAddress,
          "Incorrect value."
      );
      require(
          tokensMinted.current() < maxSupply,
          "All minted."
      );
      uint256 tokenId = tokensMinted.current();
      tokensMinted.increment();
      _assignDecimalEntropy(tokenId);
      _safeMint(_to, tokenId);
  }

  /**     
   * @notice _assignDecimalEntropy generates the token's decimal entropy.
   * @dev This creates a series of digits used as token entropy, created
   * from various data inputs. Even with concurrent mints in a single block,
   * each _tokenId will be unique, resulting in unique hashes.
   * @param _tokenId is the token that the data will get assigned to.
   */
  function _assignDecimalEntropy(
      uint256 _tokenId
  ) 
      internal 
  {
      tokenEntropyOf[_tokenId] = uint256(
          keccak256(
              abi.encodePacked(
                  _tokenId,
                  "Portraits For People",
                  block.number,
                  block.timestamp,
                  tx.gasprice,
                  _tokenId
              )
          )
      );
  }
}

File 2 of 17 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _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) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _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 3 of 17 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 4 of 17 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 5 of 17 : 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 6 of 17 : ERC721Royalty.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Royalty.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "../../common/ERC2981.sol";
import "../../../utils/introspection/ERC165.sol";

/**
 * @dev Extension of ERC721 with the ERC2981 NFT Royalty Standard, a standardized way to retrieve royalty payment
 * information.
 *
 * Royalty information can be specified globally for all token ids via {ERC2981-_setDefaultRoyalty}, and/or individually for
 * specific token ids via {ERC2981-_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC721Royalty is ERC2981, ERC721 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {ERC721-_burn}. This override additionally clears the royalty information for the token.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);
        _resetTokenRoyalty(tokenId);
    }
}

File 7 of 17 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 8 of 17 : 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 9 of 17 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 10 of 17 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 = _ownerOf(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 or 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 or 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 or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @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 _ownerOf(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, 1);

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

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

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

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

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

    /**
     * @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. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256, /* firstTokenId */
        uint256 batchSize
    ) internal virtual {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}
}

File 11 of 17 : 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 12 of 17 : 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 13 of 17 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 14 of 17 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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 15 of 17 : 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);
}

File 16 of 17 : 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 17 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"data","type":"string"}],"name":"TokenUpdated","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_maxSupply","type":"uint16"}],"name":"changeMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"description","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAddresses","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"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":"lockScripts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintStage","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"mintToAddress","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_secondaryAddress","type":"address"}],"name":"overrideDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","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":[],"name":"pauseMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"processDescription","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectData","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"projectLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_title","type":"string"},{"internalType":"string","name":"_mediaURI","type":"string"},{"internalType":"string","name":"_description","type":"string"},{"internalType":"string","name":"_customData","type":"string"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"scriptInputsOf","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_customData","type":"string"}],"name":"setCustomData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_description","type":"string"}],"name":"setDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintFee","type":"uint256"}],"name":"setMintFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_mintStage","type":"uint8"}],"name":"setMintStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_minterAddress","type":"address"}],"name":"setMinterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_artistAddress","type":"address"},{"internalType":"address","name":"_platformAddress","type":"address"},{"internalType":"uint96","name":"_platformBPS","type":"uint96"}],"name":"setPrimaryData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_secondaryAddress","type":"address"},{"internalType":"uint96","name":"_royaltyBPS","type":"uint96"}],"name":"setSecondaryData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setURI","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":"","type":"uint256"}],"name":"tokenEntropyOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensMinted","outputs":[{"internalType":"uint256","name":"_value","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"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"string","name":"_processDescription","type":"string"}],"name":"writeProcessDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"string","name":"_newScript","type":"string"}],"name":"writeProjectData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405261ffff600d60026101000a81548161ffff021916908361ffff1602179055503480156200003057600080fd5b506040518060400160405280601481526020017f506f7274726169747320466f722050656f706c650000000000000000000000008152506040518060400160405280600381526020017f50465000000000000000000000000000000000000000000000000000000000008152508160029080519060200190620000b5929190620001cd565b508060039080519060200190620000ce929190620001cd565b505050620000f1620000e5620000ff60201b60201c565b6200010760201b60201c565b6001600981905550620002e2565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001db906200027d565b90600052602060002090601f016020900481019282620001ff57600085556200024b565b82601f106200021a57805160ff19168380011785556200024b565b828001600101855582156200024b579182015b828111156200024a5782518255916020019190600101906200022d565b5b5090506200025a91906200025e565b5090565b5b80821115620002795760008160009055506001016200025f565b5090565b600060028204905060018216806200029657607f821691505b60208210811415620002ad57620002ac620002b3565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b615faa80620002f26000396000f3fe6080604052600436106102815760003560e01c80638903f70c1161014f578063b88d4fde116100c1578063d5abeb011161007a578063d5abeb0114610985578063e985e9c5146109b0578063eddd0d9c146109ed578063f150a04914610a16578063f2fde38b14610a41578063ffd4aa5514610a6a57610288565b8063b88d4fde14610879578063bb0ba35d146108a2578063c37f7770146108cb578063c87b56dd14610908578063cd85cdb514610945578063cf0853721461095c57610288565b806393ff4c811161011357806393ff4c811461077d57806395d89b41146107a8578063a22cb465146107d3578063a3106b95146107fc578063a39fac1214610825578063b2d32f691461085057610288565b80638903f70c146106865780638a679578146106c35780638da5cb5b146106ec57806390c3f38f1461071757806393ae76cf1461074057610288565b80632a55205a116101f35780636c0360eb116101ac5780636c0360eb1461059a5780636de9f32b146105c557806370a08231146105f0578063715018a61461062d5780637284e4161461064457806377b9f9b11461066f57610288565b80632a55205a1461048d57806335924eba146104cb5780633ccfd60b146104f457806342842e0e1461050b5780635b3b4f77146105345780636352211e1461055d57610288565b806313966db51161024557806313966db5146103815780631594901e146103ac578063208c2d41146103d557806321e32187146103fe57806323b872dd1461043b578063288a90691461046457610288565b806301ffc9a71461028a57806302fe5305146102c757806306fdde03146102f0578063081812fc1461031b578063095ea7b31461035857610288565b3661028857005b005b34801561029657600080fd5b506102b160048036038101906102ac9190614472565b610a86565b6040516102be919061506b565b60405180910390f35b3480156102d357600080fd5b506102ee60048036038101906102e991906144cc565b610a98565b005b3480156102fc57600080fd5b50610305610aba565b6040516103129190615086565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d9190614542565b610b4c565b60405161034f9190614fdb565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a91906143f2565b610b92565b005b34801561038d57600080fd5b50610396610caa565b6040516103a39190615343565b60405180910390f35b3480156103b857600080fd5b506103d360048036038101906103ce91906145af565b610cb0565b005b3480156103e157600080fd5b506103fc60048036038101906103f79190614515565b610dac565b005b34801561040a57600080fd5b5061042560048036038101906104209190614542565b610e5a565b6040516104329190615086565b60405180910390f35b34801561044757600080fd5b50610462600480360381019061045d9190614289565b610efa565b005b34801561047057600080fd5b5061048b6004803603810190610486919061435f565b610f5a565b005b34801561049957600080fd5b506104b460048036038101906104af91906146f6565b61101a565b6040516104c2929190615042565b60405180910390f35b3480156104d757600080fd5b506104f260048036038101906104ed919061460b565b611104565b005b34801561050057600080fd5b50610509611326565b005b34801561051757600080fd5b50610532600480360381019061052d9190614289565b6116b9565b005b34801561054057600080fd5b5061055b60048036038101906105569190614432565b6116d9565b005b34801561056957600080fd5b50610584600480360381019061057f9190614542565b611761565b6040516105919190614fdb565b60405180910390f35b3480156105a657600080fd5b506105af6117e8565b6040516105bc9190615086565b60405180910390f35b3480156105d157600080fd5b506105da611876565b6040516105e79190615343565b60405180910390f35b3480156105fc57600080fd5b506106176004803603810190610612919061421c565b611882565b6040516106249190615343565b60405180910390f35b34801561063957600080fd5b5061064261193a565b005b34801561065057600080fd5b5061065961194e565b6040516106669190615086565b60405180910390f35b34801561067b57600080fd5b506106846119dc565b005b34801561069257600080fd5b506106ad60048036038101906106a89190614542565b611a2a565b6040516106ba9190615086565b60405180910390f35b3480156106cf57600080fd5b506106ea60048036038101906106e5919061456f565b611aca565b005b3480156106f857600080fd5b50610701611c0f565b60405161070e9190614fdb565b60405180910390f35b34801561072357600080fd5b5061073e600480360381019061073991906144cc565b611c39565b005b34801561074c57600080fd5b5061076760048036038101906107629190614542565b611cad565b6040516107749190615086565b60405180910390f35b34801561078957600080fd5b50610792611d51565b60405161079f919061506b565b60405180910390f35b3480156107b457600080fd5b506107bd611d64565b6040516107ca9190615086565b60405180910390f35b3480156107df57600080fd5b506107fa60048036038101906107f591906143b2565b611df6565b005b34801561080857600080fd5b50610823600480360381019061081e919061421c565b611e0c565b005b34801561083157600080fd5b5061083a611f3f565b6040516108479190615086565b60405180910390f35b34801561085c57600080fd5b50610877600480360381019061087291906145af565b6120d8565b005b34801561088557600080fd5b506108a0600480360381019061089b91906142dc565b61220d565b005b3480156108ae57600080fd5b506108c960048036038101906108c49190614736565b61226f565b005b3480156108d757600080fd5b506108f260048036038101906108ed9190614542565b6122e7565b6040516108ff9190615343565b60405180910390f35b34801561091457600080fd5b5061092f600480360381019061092a9190614542565b6122ff565b60405161093c9190615086565b60405180910390f35b34801561095157600080fd5b5061095a612367565b005b34801561096857600080fd5b50610983600480360381019061097e91906145af565b612474565b005b34801561099157600080fd5b5061099a612514565b6040516109a79190615328565b60405180910390f35b3480156109bc57600080fd5b506109d760048036038101906109d29190614249565b612528565b6040516109e4919061506b565b60405180910390f35b3480156109f957600080fd5b50610a146004803603810190610a0f9190614542565b6125bc565b005b348015610a2257600080fd5b50610a2b612620565b604051610a38919061535e565b60405180910390f35b348015610a4d57600080fd5b50610a686004803603810190610a63919061421c565b612633565b005b610a846004803603810190610a7f919061421c565b6126b7565b005b6000610a91826127fc565b9050919050565b610aa06128de565b80600b9080519060200190610ab6929190613ff1565b5050565b606060028054610ac99061568b565b80601f0160208091040260200160405190810160405280929190818152602001828054610af59061568b565b8015610b425780601f10610b1757610100808354040283529160200191610b42565b820191906000526020600020905b815481529060010190602001808311610b2557829003601f168201915b5050505050905090565b6000610b578261295c565b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b9d82611761565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0590615268565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c2d6129a7565b73ffffffffffffffffffffffffffffffffffffffff161480610c5c5750610c5b81610c566129a7565b612528565b5b610c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9290615288565b60405180910390fd5b610ca583836129af565b505050565b600e5481565b610cb982611761565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610d3f5750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610d4857600080fd5b80601860008481526020019081526020016000209080519060200190610d6f929190613ff1565b50817fc6cad9e996e0821deea2cbff24c7675346ff70ecb9e88648c62bb0c1c575e12782604051610da09190615086565b60405180910390a25050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e0657600080fd5b600d60009054906101000a900460ff1615610e2057600080fd5b610e2a600a612a68565b8161ffff161015610e3a57600080fd5b80600d60026101000a81548161ffff021916908361ffff16021790555050565b60196020528060005260406000206000915090508054610e799061568b565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea59061568b565b8015610ef25780601f10610ec757610100808354040283529160200191610ef2565b820191906000526020600020905b815481529060010190602001808311610ed557829003601f168201915b505050505081565b610f0b610f056129a7565b82612a76565b610f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f41906150c8565b60405180910390fd5b610f55838383612b0b565b505050565b610f626128de565b82600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d60046101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550505050565b60008060006013600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110b057601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505b6000612710600d60109054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16866110e991906154ea565b6110f391906154b9565b905081819350935050509250929050565b61110c611c0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806111925750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b806111ea5750601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6111f357600080fd5b600d60009054906101000a900460ff161561120d57600080fd5b611217600a612a68565b851061122257600080fd5b82601560008781526020019081526020016000209080519060200190611249929190613ff1565b5083601660008781526020019081526020016000209080519060200190611271929190613ff1565b5081601760008781526020019081526020016000209080519060200190611299929190613ff1565b50806018600087815260200190815260200160002090805190602001906112c1929190613ff1565b50847fc6cad9e996e0821deea2cbff24c7675346ff70ecb9e88648c62bb0c1c575e127848685856040516020016112fb9493929190614dd4565b6040516020818303038152906040526040516113179190615086565b60405180910390a25050505050565b61132e611c0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806113b45750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b8061140c5750601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61141557600080fd5b600073ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561147157600080fd5b600073ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156114cd57600080fd5b6000612710600d60049054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff164761150691906154ea565b61151091906154b9565b9050600080601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168360405161155b90614eb7565b60006040518083038185875af1925050503d8060008114611598576040519150601f19603f3d011682016040523d82523d6000602084013e61159d565b606091505b5091509150816115e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d990615168565b60405180910390fd5b600080600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff164760405161162b90614eb7565b60006040518083038185875af1925050503d8060008114611668576040519150601f19603f3d011682016040523d82523d6000602084013e61166d565b606091505b5091509150816116b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a990615168565b60405180910390fd5b5050505050565b6116d48383836040518060200160405280600081525061220d565b505050565b6116e16128de565b81601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d60106101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555061175d8282612e05565b5050565b60008061176d83612f9a565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d690615248565b60405180910390fd5b80915050919050565b600b80546117f59061568b565b80601f01602080910402602001604051908101604052809291908181526020018280546118219061568b565b801561186e5780601f106118435761010080835404028352916020019161186e565b820191906000526020600020905b81548152906001019060200180831161185157829003601f168201915b505050505081565b600a8060000154905081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ea906151c8565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6119426128de565b61194c6000612fd7565b565b600c805461195b9061568b565b80601f01602080910402602001604051908101604052809291908181526020018280546119879061568b565b80156119d45780601f106119a9576101008083540402835291602001916119d4565b820191906000526020600020905b8154815290600101906020018083116119b757829003601f168201915b505050505081565b6119e46128de565b600d60029054906101000a900461ffff1661ffff16611a03600a612a68565b14611a0d57600080fd5b6001600d60006101000a81548160ff021916908315150217905550565b60146020528060005260406000206000915090508054611a499061568b565b80601f0160208091040260200160405190810160405280929190818152602001828054611a759061568b565b8015611ac25780601f10611a9757610100808354040283529160200191611ac2565b820191906000526020600020905b815481529060010190602001808311611aa557829003601f168201915b505050505081565b611ad2611c0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611b585750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b80611bb05750601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611bb957600080fd5b806013600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c9357600080fd5b80600c9080519060200190611ca9929190613ff1565b5050565b60606000611ccd601a60008581526020019081526020016000205461309d565b9050611cd88361309d565b8160156000868152602001908152602001600020601660008781526020019081526020016000206017600088815260200190815260200160002060186000898152602001908152602001600020604051602001611d3a96959493929190614ecc565b604051602081830303815290604052915050919050565b600d60009054906101000a900460ff1681565b606060038054611d739061568b565b80601f0160208091040260200160405190810160405280929190818152602001828054611d9f9061568b565b8015611dec5780601f10611dc157610100808354040283529160200191611dec565b820191906000526020600020905b815481529060010190602001808311611dcf57829003601f168201915b5050505050905090565b611e08611e016129a7565b8383613175565b5050565b611e14611c0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611e9a5750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b80611ef25750601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611efb57600080fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060611f84600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660146132e2565b611fc7601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660146132e2565b61200a601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660146132e2565b61203b600d60049054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1661309d565b61207e601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660146132e2565b6120af600d60109054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1661309d565b6040516020016120c496959493929190614e12565b604051602081830303815290604052905090565b6120e0611c0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806121665750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b806121be5750601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6121c757600080fd5b600d60009054906101000a900460ff16156121e157600080fd5b80601460008481526020019081526020016000209080519060200190612208929190613ff1565b505050565b61221e6122186129a7565b83612a76565b61225d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612254906150c8565b60405180910390fd5b6122698484848461351e565b50505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146122c957600080fd5b80600d60016101000a81548160ff021916908360ff16021790555050565b601a6020528060005260406000206000915090505481565b606061230a8261295c565b600061231461357a565b90506000815111612334576040518060200160405280600081525061235f565b8061233e8461309d565b60405160200161234f929190614db0565b6040516020818303038152906040525b915050919050565b61236f611c0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806123f55750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b8061244d5750601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61245657600080fd5b6000600d60016101000a81548160ff021916908360ff160217905550565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146124ce57600080fd5b600d60009054906101000a900460ff16156124e857600080fd5b8060196000848152602001908152602001600020908051906020019061250f929190613ff1565b505050565b600d60029054906101000a900461ffff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461261657600080fd5b80600e8190555050565b600d60019054906101000a900460ff1681565b61263b6128de565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156126ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a290615108565b60405180910390fd5b6126b481612fd7565b50565b6126bf61360c565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806127685750601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61277157600080fd5b6001600d60019054906101000a900460ff1660ff1614806127df5750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6127e857600080fd5b6127f18161365c565b6127f9613786565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128c757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128d757506128d682613790565b5b9050919050565b6128e66129a7565b73ffffffffffffffffffffffffffffffffffffffff16612904611c0f565b73ffffffffffffffffffffffffffffffffffffffff161461295a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295190615228565b60405180910390fd5b565b6129658161380a565b6129a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299b90615248565b60405180910390fd5b50565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612a2283611761565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b600080612a8283611761565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ac45750612ac38185612528565b5b80612b0257508373ffffffffffffffffffffffffffffffffffffffff16612aea84610b4c565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b2b82611761565b73ffffffffffffffffffffffffffffffffffffffff1614612b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7890615128565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be890615188565b60405180910390fd5b612bfe838383600161384b565b8273ffffffffffffffffffffffffffffffffffffffff16612c1e82611761565b73ffffffffffffffffffffffffffffffffffffffff1614612c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6b90615128565b60405180910390fd5b6006600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e008383836001613971565b505050565b612e0d613977565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e62906152a8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed290615308565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60006004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6060600060016130ac84613981565b01905060008167ffffffffffffffff8111156130cb576130ca6157b4565b5b6040519080825280601f01601f1916602001820160405280156130fd5781602001600182028036833780820191505090505b509050600082602001820190505b60011561316a578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161315457613153615727565b5b04945060008514156131655761316a565b61310b565b819350505050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131db906151a8565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516132d5919061506b565b60405180910390a3505050565b6060600060028360026132f591906154ea565b6132ff9190615463565b67ffffffffffffffff811115613318576133176157b4565b5b6040519080825280601f01601f19166020018201604052801561334a5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061338257613381615785565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106133e6576133e5615785565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261342691906154ea565b6134309190615463565b90505b60018111156134d0577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061347257613471615785565b5b1a60f81b82828151811061348957613488615785565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806134c990615661565b9050613433565b5060008414613514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350b906150a8565b60405180910390fd5b8091505092915050565b613529848484612b0b565b61353584848484613ad4565b613574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356b906150e8565b60405180910390fd5b50505050565b6060600b80546135899061568b565b80601f01602080910402602001604051908101604052809291908181526020018280546135b59061568b565b80156136025780601f106135d757610100808354040283529160200191613602565b820191906000526020600020905b8154815290600101906020018083116135e557829003601f168201915b5050505050905090565b60026009541415613652576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613649906152c8565b60405180910390fd5b6002600981905550565b600e543414806136b95750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6136f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136ef90615208565b60405180910390fd5b600d60029054906101000a900461ffff1661ffff16613717600a612a68565b10613757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374e906152e8565b60405180910390fd5b6000613763600a612a68565b905061376f600a613c6b565b61377881613c81565b6137828282613ccd565b5050565b6001600981905550565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613803575061380282613ceb565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff1661382c83612f9a565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600181111561396b57600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146138df5780600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138d79190615544565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461396a5780600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139629190615463565b925050819055505b5b50505050565b50505050565b6000612710905090565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106139df577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816139d5576139d4615727565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613a1c576d04ee2d6d415b85acef81000000008381613a1257613a11615727565b5b0492506020810190505b662386f26fc100008310613a4b57662386f26fc100008381613a4157613a40615727565b5b0492506010810190505b6305f5e1008310613a74576305f5e1008381613a6a57613a69615727565b5b0492506008810190505b6127108310613a99576127108381613a8f57613a8e615727565b5b0492506004810190505b60648310613abc5760648381613ab257613ab1615727565b5b0492506002810190505b600a8310613acb576001810190505b80915050919050565b6000613af58473ffffffffffffffffffffffffffffffffffffffff16613d55565b15613c5e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613b1e6129a7565b8786866040518563ffffffff1660e01b8152600401613b409493929190614ff6565b602060405180830381600087803b158015613b5a57600080fd5b505af1925050508015613b8b57506040513d601f19601f82011682018060405250810190613b88919061449f565b60015b613c0e573d8060008114613bbb576040519150601f19603f3d011682016040523d82523d6000602084013e613bc0565b606091505b50600081511415613c06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bfd906150e8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613c63565b600190505b949350505050565b6001816000016000828254019250508190555050565b8043423a84604051602001613c9a959493929190614f71565b6040516020818303038152906040528051906020012060001c601a60008381526020019081526020016000208190555050565b613ce7828260405180602001604052806000815250613d78565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b613d828383613dd3565b613d8f6000848484613ad4565b613dce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dc5906150e8565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e3a906151e8565b60405180910390fd5b613e4c8161380a565b15613e8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e8390615148565b60405180910390fd5b613e9a60008383600161384b565b613ea38161380a565b15613ee3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613eda90615148565b60405180910390fd5b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613fed600083836001613971565b5050565b828054613ffd9061568b565b90600052602060002090601f01602090048101928261401f5760008555614066565b82601f1061403857805160ff1916838001178555614066565b82800160010185558215614066579182015b8281111561406557825182559160200191906001019061404a565b5b5090506140739190614077565b5090565b5b80821115614090576000816000905550600101614078565b5090565b60006140a76140a28461539e565b615379565b9050828152602081018484840111156140c3576140c26157e8565b5b6140ce84828561561f565b509392505050565b60006140e96140e4846153cf565b615379565b905082815260208101848484011115614105576141046157e8565b5b61411084828561561f565b509392505050565b60008135905061412781615ed3565b92915050565b60008135905061413c81615eea565b92915050565b60008135905061415181615f01565b92915050565b60008151905061416681615f01565b92915050565b600082601f830112614181576141806157e3565b5b8135614191848260208601614094565b91505092915050565b600082601f8301126141af576141ae6157e3565b5b81356141bf8482602086016140d6565b91505092915050565b6000813590506141d781615f18565b92915050565b6000813590506141ec81615f2f565b92915050565b60008135905061420181615f46565b92915050565b60008135905061421681615f5d565b92915050565b600060208284031215614232576142316157f2565b5b600061424084828501614118565b91505092915050565b600080604083850312156142605761425f6157f2565b5b600061426e85828601614118565b925050602061427f85828601614118565b9150509250929050565b6000806000606084860312156142a2576142a16157f2565b5b60006142b086828701614118565b93505060206142c186828701614118565b92505060406142d2868287016141dd565b9150509250925092565b600080600080608085870312156142f6576142f56157f2565b5b600061430487828801614118565b945050602061431587828801614118565b9350506040614326878288016141dd565b925050606085013567ffffffffffffffff811115614347576143466157ed565b5b6143538782880161416c565b91505092959194509250565b600080600060608486031215614378576143776157f2565b5b600061438686828701614118565b935050602061439786828701614118565b92505060406143a886828701614207565b9150509250925092565b600080604083850312156143c9576143c86157f2565b5b60006143d785828601614118565b92505060206143e88582860161412d565b9150509250929050565b60008060408385031215614409576144086157f2565b5b600061441785828601614118565b9250506020614428858286016141dd565b9150509250929050565b60008060408385031215614449576144486157f2565b5b600061445785828601614118565b925050602061446885828601614207565b9150509250929050565b600060208284031215614488576144876157f2565b5b600061449684828501614142565b91505092915050565b6000602082840312156144b5576144b46157f2565b5b60006144c384828501614157565b91505092915050565b6000602082840312156144e2576144e16157f2565b5b600082013567ffffffffffffffff811115614500576144ff6157ed565b5b61450c8482850161419a565b91505092915050565b60006020828403121561452b5761452a6157f2565b5b6000614539848285016141c8565b91505092915050565b600060208284031215614558576145576157f2565b5b6000614566848285016141dd565b91505092915050565b60008060408385031215614586576145856157f2565b5b6000614594858286016141dd565b92505060206145a585828601614118565b9150509250929050565b600080604083850312156145c6576145c56157f2565b5b60006145d4858286016141dd565b925050602083013567ffffffffffffffff8111156145f5576145f46157ed565b5b6146018582860161419a565b9150509250929050565b600080600080600060a08688031215614627576146266157f2565b5b6000614635888289016141dd565b955050602086013567ffffffffffffffff811115614656576146556157ed565b5b6146628882890161419a565b945050604086013567ffffffffffffffff811115614683576146826157ed565b5b61468f8882890161419a565b935050606086013567ffffffffffffffff8111156146b0576146af6157ed565b5b6146bc8882890161419a565b925050608086013567ffffffffffffffff8111156146dd576146dc6157ed565b5b6146e98882890161419a565b9150509295509295909350565b6000806040838503121561470d5761470c6157f2565b5b600061471b858286016141dd565b925050602061472c858286016141dd565b9150509250929050565b60006020828403121561474c5761474b6157f2565b5b600061475a848285016141f2565b91505092915050565b61476c81615578565b82525050565b61477b8161558a565b82525050565b600061478c82615415565b614796818561542b565b93506147a681856020860161562e565b6147af816157f7565b840191505092915050565b60006147c582615420565b6147cf8185615447565b93506147df81856020860161562e565b6147e8816157f7565b840191505092915050565b60006147fe82615420565b6148088185615458565b935061481881856020860161562e565b80840191505092915050565b600081546148318161568b565b61483b8186615458565b9450600182166000811461485657600181146148675761489a565b60ff1983168652818601935061489a565b61487085615400565b60005b8381101561489257815481890152600182019150602081019050614873565b838801955050505b50505092915050565b60006148b0602083615447565b91506148bb82615808565b602082019050919050565b60006148d3600f83615458565b91506148de82615831565b600f82019050919050565b60006148f6602d83615447565b91506149018261585a565b604082019050919050565b6000614919603283615447565b9150614924826158a9565b604082019050919050565b600061493c602683615447565b9150614947826158f8565b604082019050919050565b600061495f602583615447565b915061496a82615947565b604082019050919050565b6000614982601383615458565b915061498d82615996565b601382019050919050565b60006149a5601c83615447565b91506149b0826159bf565b602082019050919050565b60006149c8601183615458565b91506149d3826159e8565b601182019050919050565b60006149eb601483615447565b91506149f682615a11565b602082019050919050565b6000614a0e602483615447565b9150614a1982615a3a565b604082019050919050565b6000614a31601983615447565b9150614a3c82615a89565b602082019050919050565b6000614a54601183615458565b9150614a5f82615ab2565b601182019050919050565b6000614a77602983615447565b9150614a8282615adb565b604082019050919050565b6000614a9a601483615458565b9150614aa582615b2a565b601482019050919050565b6000614abd601483615458565b9150614ac882615b53565b601482019050919050565b6000614ae0600283615458565b9150614aeb82615b7c565b600282019050919050565b6000614b03601d83615458565b9150614b0e82615ba5565b601d82019050919050565b6000614b26602083615447565b9150614b3182615bce565b602082019050919050565b6000614b49601083615447565b9150614b5482615bf7565b602082019050919050565b6000614b6c602083615447565b9150614b7782615c20565b602082019050919050565b6000614b8f601383615458565b9150614b9a82615c49565b601382019050919050565b6000614bb2600b83615458565b9150614bbd82615c72565b600b82019050919050565b6000614bd5601883615447565b9150614be082615c9b565b602082019050919050565b6000614bf8602183615447565b9150614c0382615cc4565b604082019050919050565b6000614c1b60008361543c565b9150614c2682615d13565b600082019050919050565b6000614c3e603d83615447565b9150614c4982615d16565b604082019050919050565b6000614c61600d83615458565b9150614c6c82615d65565b600d82019050919050565b6000614c84601183615458565b9150614c8f82615d8e565b601182019050919050565b6000614ca7602a83615447565b9150614cb282615db7565b604082019050919050565b6000614cca601683615458565b9150614cd582615e06565b601682019050919050565b6000614ced601f83615447565b9150614cf882615e2f565b602082019050919050565b6000614d10600b83615447565b9150614d1b82615e58565b602082019050919050565b6000614d33601083615458565b9150614d3e82615e81565b601082019050919050565b6000614d56601983615447565b9150614d6182615eaa565b602082019050919050565b614d75816155c2565b82525050565b614d84816155f0565b82525050565b614d9b614d96826155f0565b6156ee565b82525050565b614daa816155fa565b82525050565b6000614dbc82856147f3565b9150614dc882846147f3565b91508190509392505050565b6000614de082876147f3565b9150614dec82866147f3565b9150614df882856147f3565b9150614e0482846147f3565b915081905095945050505050565b6000614e1d82614b82565b9150614e2982896147f3565b9150614e3482614a8d565b9150614e4082886147f3565b9150614e4b82614cbd565b9150614e5782876147f3565b9150614e62826149bb565b9150614e6e82866147f3565b9150614e7982614af6565b9150614e8582856147f3565b9150614e9082614d26565b9150614e9c82846147f3565b9150614ea782614ad3565b9150819050979650505050505050565b6000614ec282614c0e565b9150819050919050565b6000614ed782614c54565b9150614ee382896147f3565b9150614eee82614975565b9150614efa82886147f3565b9150614f05826148c6565b9150614f118287614824565b9150614f1c82614ba5565b9150614f288286614824565b9150614f3382614a47565b9150614f3f8285614824565b9150614f4a82614c77565b9150614f568284614824565b9150614f6182614ad3565b9150819050979650505050505050565b6000614f7d8288614d8a565b602082019150614f8c82614ab0565b9150614f988287614d8a565b602082019150614fa88286614d8a565b602082019150614fb88285614d8a565b602082019150614fc88284614d8a565b6020820191508190509695505050505050565b6000602082019050614ff06000830184614763565b92915050565b600060808201905061500b6000830187614763565b6150186020830186614763565b6150256040830185614d7b565b81810360608301526150378184614781565b905095945050505050565b60006040820190506150576000830185614763565b6150646020830184614d7b565b9392505050565b60006020820190506150806000830184614772565b92915050565b600060208201905081810360008301526150a081846147ba565b905092915050565b600060208201905081810360008301526150c1816148a3565b9050919050565b600060208201905081810360008301526150e1816148e9565b9050919050565b600060208201905081810360008301526151018161490c565b9050919050565b600060208201905081810360008301526151218161492f565b9050919050565b6000602082019050818103600083015261514181614952565b9050919050565b6000602082019050818103600083015261516181614998565b9050919050565b60006020820190508181036000830152615181816149de565b9050919050565b600060208201905081810360008301526151a181614a01565b9050919050565b600060208201905081810360008301526151c181614a24565b9050919050565b600060208201905081810360008301526151e181614a6a565b9050919050565b6000602082019050818103600083015261520181614b19565b9050919050565b6000602082019050818103600083015261522181614b3c565b9050919050565b6000602082019050818103600083015261524181614b5f565b9050919050565b6000602082019050818103600083015261526181614bc8565b9050919050565b6000602082019050818103600083015261528181614beb565b9050919050565b600060208201905081810360008301526152a181614c31565b9050919050565b600060208201905081810360008301526152c181614c9a565b9050919050565b600060208201905081810360008301526152e181614ce0565b9050919050565b6000602082019050818103600083015261530181614d03565b9050919050565b6000602082019050818103600083015261532181614d49565b9050919050565b600060208201905061533d6000830184614d6c565b92915050565b60006020820190506153586000830184614d7b565b92915050565b60006020820190506153736000830184614da1565b92915050565b6000615383615394565b905061538f82826156bd565b919050565b6000604051905090565b600067ffffffffffffffff8211156153b9576153b86157b4565b5b6153c2826157f7565b9050602081019050919050565b600067ffffffffffffffff8211156153ea576153e96157b4565b5b6153f3826157f7565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061546e826155f0565b9150615479836155f0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156154ae576154ad6156f8565b5b828201905092915050565b60006154c4826155f0565b91506154cf836155f0565b9250826154df576154de615727565b5b828204905092915050565b60006154f5826155f0565b9150615500836155f0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615539576155386156f8565b5b828202905092915050565b600061554f826155f0565b915061555a836155f0565b92508282101561556d5761556c6156f8565b5b828203905092915050565b6000615583826155d0565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006bffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b8381101561564c578082015181840152602081019050615631565b8381111561565b576000848401525b50505050565b600061566c826155f0565b915060008214156156805761567f6156f8565b5b600182039050919050565b600060028204905060018216806156a357607f821691505b602082108114156156b7576156b6615756565b5b50919050565b6156c6826157f7565b810181811067ffffffffffffffff821117156156e5576156e46157b4565b5b80604052505050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f222c226d656469615f555249223a220000000000000000000000000000000000600082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f222c22746f6b656e5f656e74726f7079223a2200000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f222c22706c6174666f726d425053223a22000000000000000000000000000000600082015250565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f222c226465736372697074696f6e223a22000000000000000000000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f222c226d696e7465725f61646472657373223a22000000000000000000000000600082015250565b7f506f7274726169747320466f722050656f706c65000000000000000000000000600082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f222c2264656661756c745f726f79616c74795f61646472657373223a22000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f496e636f72726563742076616c75652e00000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f7b226172746973745f61646472657373223a2200000000000000000000000000600082015250565b7f222c227469746c65223a22000000000000000000000000000000000000000000600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b7f7b22746f6b656e5f6964223a2200000000000000000000000000000000000000600082015250565b7f222c22637573746f6d5f64617461223a22000000000000000000000000000000600082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f222c22706c6174666f726d5f61646472657373223a2200000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f416c6c206d696e7465642e000000000000000000000000000000000000000000600082015250565b7f222c22726f79616c7479425053223a2200000000000000000000000000000000600082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b615edc81615578565b8114615ee757600080fd5b50565b615ef38161558a565b8114615efe57600080fd5b50565b615f0a81615596565b8114615f1557600080fd5b50565b615f21816155c2565b8114615f2c57600080fd5b50565b615f38816155f0565b8114615f4357600080fd5b50565b615f4f816155fa565b8114615f5a57600080fd5b50565b615f6681615607565b8114615f7157600080fd5b5056fea2646970667358221220c82a6fc2f36b5c1b427bc0623dbf74e973c50e48877cab4b2c2e70311fedde1a64736f6c63430008070033

Deployed Bytecode

0x6080604052600436106102815760003560e01c80638903f70c1161014f578063b88d4fde116100c1578063d5abeb011161007a578063d5abeb0114610985578063e985e9c5146109b0578063eddd0d9c146109ed578063f150a04914610a16578063f2fde38b14610a41578063ffd4aa5514610a6a57610288565b8063b88d4fde14610879578063bb0ba35d146108a2578063c37f7770146108cb578063c87b56dd14610908578063cd85cdb514610945578063cf0853721461095c57610288565b806393ff4c811161011357806393ff4c811461077d57806395d89b41146107a8578063a22cb465146107d3578063a3106b95146107fc578063a39fac1214610825578063b2d32f691461085057610288565b80638903f70c146106865780638a679578146106c35780638da5cb5b146106ec57806390c3f38f1461071757806393ae76cf1461074057610288565b80632a55205a116101f35780636c0360eb116101ac5780636c0360eb1461059a5780636de9f32b146105c557806370a08231146105f0578063715018a61461062d5780637284e4161461064457806377b9f9b11461066f57610288565b80632a55205a1461048d57806335924eba146104cb5780633ccfd60b146104f457806342842e0e1461050b5780635b3b4f77146105345780636352211e1461055d57610288565b806313966db51161024557806313966db5146103815780631594901e146103ac578063208c2d41146103d557806321e32187146103fe57806323b872dd1461043b578063288a90691461046457610288565b806301ffc9a71461028a57806302fe5305146102c757806306fdde03146102f0578063081812fc1461031b578063095ea7b31461035857610288565b3661028857005b005b34801561029657600080fd5b506102b160048036038101906102ac9190614472565b610a86565b6040516102be919061506b565b60405180910390f35b3480156102d357600080fd5b506102ee60048036038101906102e991906144cc565b610a98565b005b3480156102fc57600080fd5b50610305610aba565b6040516103129190615086565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d9190614542565b610b4c565b60405161034f9190614fdb565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a91906143f2565b610b92565b005b34801561038d57600080fd5b50610396610caa565b6040516103a39190615343565b60405180910390f35b3480156103b857600080fd5b506103d360048036038101906103ce91906145af565b610cb0565b005b3480156103e157600080fd5b506103fc60048036038101906103f79190614515565b610dac565b005b34801561040a57600080fd5b5061042560048036038101906104209190614542565b610e5a565b6040516104329190615086565b60405180910390f35b34801561044757600080fd5b50610462600480360381019061045d9190614289565b610efa565b005b34801561047057600080fd5b5061048b6004803603810190610486919061435f565b610f5a565b005b34801561049957600080fd5b506104b460048036038101906104af91906146f6565b61101a565b6040516104c2929190615042565b60405180910390f35b3480156104d757600080fd5b506104f260048036038101906104ed919061460b565b611104565b005b34801561050057600080fd5b50610509611326565b005b34801561051757600080fd5b50610532600480360381019061052d9190614289565b6116b9565b005b34801561054057600080fd5b5061055b60048036038101906105569190614432565b6116d9565b005b34801561056957600080fd5b50610584600480360381019061057f9190614542565b611761565b6040516105919190614fdb565b60405180910390f35b3480156105a657600080fd5b506105af6117e8565b6040516105bc9190615086565b60405180910390f35b3480156105d157600080fd5b506105da611876565b6040516105e79190615343565b60405180910390f35b3480156105fc57600080fd5b506106176004803603810190610612919061421c565b611882565b6040516106249190615343565b60405180910390f35b34801561063957600080fd5b5061064261193a565b005b34801561065057600080fd5b5061065961194e565b6040516106669190615086565b60405180910390f35b34801561067b57600080fd5b506106846119dc565b005b34801561069257600080fd5b506106ad60048036038101906106a89190614542565b611a2a565b6040516106ba9190615086565b60405180910390f35b3480156106cf57600080fd5b506106ea60048036038101906106e5919061456f565b611aca565b005b3480156106f857600080fd5b50610701611c0f565b60405161070e9190614fdb565b60405180910390f35b34801561072357600080fd5b5061073e600480360381019061073991906144cc565b611c39565b005b34801561074c57600080fd5b5061076760048036038101906107629190614542565b611cad565b6040516107749190615086565b60405180910390f35b34801561078957600080fd5b50610792611d51565b60405161079f919061506b565b60405180910390f35b3480156107b457600080fd5b506107bd611d64565b6040516107ca9190615086565b60405180910390f35b3480156107df57600080fd5b506107fa60048036038101906107f591906143b2565b611df6565b005b34801561080857600080fd5b50610823600480360381019061081e919061421c565b611e0c565b005b34801561083157600080fd5b5061083a611f3f565b6040516108479190615086565b60405180910390f35b34801561085c57600080fd5b50610877600480360381019061087291906145af565b6120d8565b005b34801561088557600080fd5b506108a0600480360381019061089b91906142dc565b61220d565b005b3480156108ae57600080fd5b506108c960048036038101906108c49190614736565b61226f565b005b3480156108d757600080fd5b506108f260048036038101906108ed9190614542565b6122e7565b6040516108ff9190615343565b60405180910390f35b34801561091457600080fd5b5061092f600480360381019061092a9190614542565b6122ff565b60405161093c9190615086565b60405180910390f35b34801561095157600080fd5b5061095a612367565b005b34801561096857600080fd5b50610983600480360381019061097e91906145af565b612474565b005b34801561099157600080fd5b5061099a612514565b6040516109a79190615328565b60405180910390f35b3480156109bc57600080fd5b506109d760048036038101906109d29190614249565b612528565b6040516109e4919061506b565b60405180910390f35b3480156109f957600080fd5b50610a146004803603810190610a0f9190614542565b6125bc565b005b348015610a2257600080fd5b50610a2b612620565b604051610a38919061535e565b60405180910390f35b348015610a4d57600080fd5b50610a686004803603810190610a63919061421c565b612633565b005b610a846004803603810190610a7f919061421c565b6126b7565b005b6000610a91826127fc565b9050919050565b610aa06128de565b80600b9080519060200190610ab6929190613ff1565b5050565b606060028054610ac99061568b565b80601f0160208091040260200160405190810160405280929190818152602001828054610af59061568b565b8015610b425780601f10610b1757610100808354040283529160200191610b42565b820191906000526020600020905b815481529060010190602001808311610b2557829003601f168201915b5050505050905090565b6000610b578261295c565b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b9d82611761565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0590615268565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c2d6129a7565b73ffffffffffffffffffffffffffffffffffffffff161480610c5c5750610c5b81610c566129a7565b612528565b5b610c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9290615288565b60405180910390fd5b610ca583836129af565b505050565b600e5481565b610cb982611761565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610d3f5750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610d4857600080fd5b80601860008481526020019081526020016000209080519060200190610d6f929190613ff1565b50817fc6cad9e996e0821deea2cbff24c7675346ff70ecb9e88648c62bb0c1c575e12782604051610da09190615086565b60405180910390a25050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e0657600080fd5b600d60009054906101000a900460ff1615610e2057600080fd5b610e2a600a612a68565b8161ffff161015610e3a57600080fd5b80600d60026101000a81548161ffff021916908361ffff16021790555050565b60196020528060005260406000206000915090508054610e799061568b565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea59061568b565b8015610ef25780601f10610ec757610100808354040283529160200191610ef2565b820191906000526020600020905b815481529060010190602001808311610ed557829003601f168201915b505050505081565b610f0b610f056129a7565b82612a76565b610f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f41906150c8565b60405180910390fd5b610f55838383612b0b565b505050565b610f626128de565b82600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d60046101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550505050565b60008060006013600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110b057601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505b6000612710600d60109054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16866110e991906154ea565b6110f391906154b9565b905081819350935050509250929050565b61110c611c0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806111925750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b806111ea5750601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6111f357600080fd5b600d60009054906101000a900460ff161561120d57600080fd5b611217600a612a68565b851061122257600080fd5b82601560008781526020019081526020016000209080519060200190611249929190613ff1565b5083601660008781526020019081526020016000209080519060200190611271929190613ff1565b5081601760008781526020019081526020016000209080519060200190611299929190613ff1565b50806018600087815260200190815260200160002090805190602001906112c1929190613ff1565b50847fc6cad9e996e0821deea2cbff24c7675346ff70ecb9e88648c62bb0c1c575e127848685856040516020016112fb9493929190614dd4565b6040516020818303038152906040526040516113179190615086565b60405180910390a25050505050565b61132e611c0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806113b45750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b8061140c5750601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61141557600080fd5b600073ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561147157600080fd5b600073ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156114cd57600080fd5b6000612710600d60049054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff164761150691906154ea565b61151091906154b9565b9050600080601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168360405161155b90614eb7565b60006040518083038185875af1925050503d8060008114611598576040519150601f19603f3d011682016040523d82523d6000602084013e61159d565b606091505b5091509150816115e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d990615168565b60405180910390fd5b600080600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff164760405161162b90614eb7565b60006040518083038185875af1925050503d8060008114611668576040519150601f19603f3d011682016040523d82523d6000602084013e61166d565b606091505b5091509150816116b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a990615168565b60405180910390fd5b5050505050565b6116d48383836040518060200160405280600081525061220d565b505050565b6116e16128de565b81601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d60106101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555061175d8282612e05565b5050565b60008061176d83612f9a565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d690615248565b60405180910390fd5b80915050919050565b600b80546117f59061568b565b80601f01602080910402602001604051908101604052809291908181526020018280546118219061568b565b801561186e5780601f106118435761010080835404028352916020019161186e565b820191906000526020600020905b81548152906001019060200180831161185157829003601f168201915b505050505081565b600a8060000154905081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ea906151c8565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6119426128de565b61194c6000612fd7565b565b600c805461195b9061568b565b80601f01602080910402602001604051908101604052809291908181526020018280546119879061568b565b80156119d45780601f106119a9576101008083540402835291602001916119d4565b820191906000526020600020905b8154815290600101906020018083116119b757829003601f168201915b505050505081565b6119e46128de565b600d60029054906101000a900461ffff1661ffff16611a03600a612a68565b14611a0d57600080fd5b6001600d60006101000a81548160ff021916908315150217905550565b60146020528060005260406000206000915090508054611a499061568b565b80601f0160208091040260200160405190810160405280929190818152602001828054611a759061568b565b8015611ac25780601f10611a9757610100808354040283529160200191611ac2565b820191906000526020600020905b815481529060010190602001808311611aa557829003601f168201915b505050505081565b611ad2611c0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611b585750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b80611bb05750601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611bb957600080fd5b806013600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c9357600080fd5b80600c9080519060200190611ca9929190613ff1565b5050565b60606000611ccd601a60008581526020019081526020016000205461309d565b9050611cd88361309d565b8160156000868152602001908152602001600020601660008781526020019081526020016000206017600088815260200190815260200160002060186000898152602001908152602001600020604051602001611d3a96959493929190614ecc565b604051602081830303815290604052915050919050565b600d60009054906101000a900460ff1681565b606060038054611d739061568b565b80601f0160208091040260200160405190810160405280929190818152602001828054611d9f9061568b565b8015611dec5780601f10611dc157610100808354040283529160200191611dec565b820191906000526020600020905b815481529060010190602001808311611dcf57829003601f168201915b5050505050905090565b611e08611e016129a7565b8383613175565b5050565b611e14611c0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611e9a5750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b80611ef25750601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611efb57600080fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060611f84600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660146132e2565b611fc7601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660146132e2565b61200a601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660146132e2565b61203b600d60049054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1661309d565b61207e601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660146132e2565b6120af600d60109054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1661309d565b6040516020016120c496959493929190614e12565b604051602081830303815290604052905090565b6120e0611c0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806121665750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b806121be5750601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6121c757600080fd5b600d60009054906101000a900460ff16156121e157600080fd5b80601460008481526020019081526020016000209080519060200190612208929190613ff1565b505050565b61221e6122186129a7565b83612a76565b61225d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612254906150c8565b60405180910390fd5b6122698484848461351e565b50505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146122c957600080fd5b80600d60016101000a81548160ff021916908360ff16021790555050565b601a6020528060005260406000206000915090505481565b606061230a8261295c565b600061231461357a565b90506000815111612334576040518060200160405280600081525061235f565b8061233e8461309d565b60405160200161234f929190614db0565b6040516020818303038152906040525b915050919050565b61236f611c0f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806123f55750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b8061244d5750601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61245657600080fd5b6000600d60016101000a81548160ff021916908360ff160217905550565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146124ce57600080fd5b600d60009054906101000a900460ff16156124e857600080fd5b8060196000848152602001908152602001600020908051906020019061250f929190613ff1565b505050565b600d60029054906101000a900461ffff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461261657600080fd5b80600e8190555050565b600d60019054906101000a900460ff1681565b61263b6128de565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156126ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a290615108565b60405180910390fd5b6126b481612fd7565b50565b6126bf61360c565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806127685750601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61277157600080fd5b6001600d60019054906101000a900460ff1660ff1614806127df5750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6127e857600080fd5b6127f18161365c565b6127f9613786565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128c757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128d757506128d682613790565b5b9050919050565b6128e66129a7565b73ffffffffffffffffffffffffffffffffffffffff16612904611c0f565b73ffffffffffffffffffffffffffffffffffffffff161461295a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295190615228565b60405180910390fd5b565b6129658161380a565b6129a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299b90615248565b60405180910390fd5b50565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612a2283611761565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b600080612a8283611761565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ac45750612ac38185612528565b5b80612b0257508373ffffffffffffffffffffffffffffffffffffffff16612aea84610b4c565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b2b82611761565b73ffffffffffffffffffffffffffffffffffffffff1614612b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7890615128565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be890615188565b60405180910390fd5b612bfe838383600161384b565b8273ffffffffffffffffffffffffffffffffffffffff16612c1e82611761565b73ffffffffffffffffffffffffffffffffffffffff1614612c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6b90615128565b60405180910390fd5b6006600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e008383836001613971565b505050565b612e0d613977565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e62906152a8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed290615308565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60006004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6060600060016130ac84613981565b01905060008167ffffffffffffffff8111156130cb576130ca6157b4565b5b6040519080825280601f01601f1916602001820160405280156130fd5781602001600182028036833780820191505090505b509050600082602001820190505b60011561316a578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161315457613153615727565b5b04945060008514156131655761316a565b61310b565b819350505050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131db906151a8565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516132d5919061506b565b60405180910390a3505050565b6060600060028360026132f591906154ea565b6132ff9190615463565b67ffffffffffffffff811115613318576133176157b4565b5b6040519080825280601f01601f19166020018201604052801561334a5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061338257613381615785565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106133e6576133e5615785565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261342691906154ea565b6134309190615463565b90505b60018111156134d0577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061347257613471615785565b5b1a60f81b82828151811061348957613488615785565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806134c990615661565b9050613433565b5060008414613514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350b906150a8565b60405180910390fd5b8091505092915050565b613529848484612b0b565b61353584848484613ad4565b613574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356b906150e8565b60405180910390fd5b50505050565b6060600b80546135899061568b565b80601f01602080910402602001604051908101604052809291908181526020018280546135b59061568b565b80156136025780601f106135d757610100808354040283529160200191613602565b820191906000526020600020905b8154815290600101906020018083116135e557829003601f168201915b5050505050905090565b60026009541415613652576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613649906152c8565b60405180910390fd5b6002600981905550565b600e543414806136b95750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6136f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136ef90615208565b60405180910390fd5b600d60029054906101000a900461ffff1661ffff16613717600a612a68565b10613757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374e906152e8565b60405180910390fd5b6000613763600a612a68565b905061376f600a613c6b565b61377881613c81565b6137828282613ccd565b5050565b6001600981905550565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613803575061380282613ceb565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff1661382c83612f9a565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600181111561396b57600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146138df5780600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138d79190615544565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461396a5780600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139629190615463565b925050819055505b5b50505050565b50505050565b6000612710905090565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106139df577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816139d5576139d4615727565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613a1c576d04ee2d6d415b85acef81000000008381613a1257613a11615727565b5b0492506020810190505b662386f26fc100008310613a4b57662386f26fc100008381613a4157613a40615727565b5b0492506010810190505b6305f5e1008310613a74576305f5e1008381613a6a57613a69615727565b5b0492506008810190505b6127108310613a99576127108381613a8f57613a8e615727565b5b0492506004810190505b60648310613abc5760648381613ab257613ab1615727565b5b0492506002810190505b600a8310613acb576001810190505b80915050919050565b6000613af58473ffffffffffffffffffffffffffffffffffffffff16613d55565b15613c5e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613b1e6129a7565b8786866040518563ffffffff1660e01b8152600401613b409493929190614ff6565b602060405180830381600087803b158015613b5a57600080fd5b505af1925050508015613b8b57506040513d601f19601f82011682018060405250810190613b88919061449f565b60015b613c0e573d8060008114613bbb576040519150601f19603f3d011682016040523d82523d6000602084013e613bc0565b606091505b50600081511415613c06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bfd906150e8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613c63565b600190505b949350505050565b6001816000016000828254019250508190555050565b8043423a84604051602001613c9a959493929190614f71565b6040516020818303038152906040528051906020012060001c601a60008381526020019081526020016000208190555050565b613ce7828260405180602001604052806000815250613d78565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b613d828383613dd3565b613d8f6000848484613ad4565b613dce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dc5906150e8565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e3a906151e8565b60405180910390fd5b613e4c8161380a565b15613e8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e8390615148565b60405180910390fd5b613e9a60008383600161384b565b613ea38161380a565b15613ee3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613eda90615148565b60405180910390fd5b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613fed600083836001613971565b5050565b828054613ffd9061568b565b90600052602060002090601f01602090048101928261401f5760008555614066565b82601f1061403857805160ff1916838001178555614066565b82800160010185558215614066579182015b8281111561406557825182559160200191906001019061404a565b5b5090506140739190614077565b5090565b5b80821115614090576000816000905550600101614078565b5090565b60006140a76140a28461539e565b615379565b9050828152602081018484840111156140c3576140c26157e8565b5b6140ce84828561561f565b509392505050565b60006140e96140e4846153cf565b615379565b905082815260208101848484011115614105576141046157e8565b5b61411084828561561f565b509392505050565b60008135905061412781615ed3565b92915050565b60008135905061413c81615eea565b92915050565b60008135905061415181615f01565b92915050565b60008151905061416681615f01565b92915050565b600082601f830112614181576141806157e3565b5b8135614191848260208601614094565b91505092915050565b600082601f8301126141af576141ae6157e3565b5b81356141bf8482602086016140d6565b91505092915050565b6000813590506141d781615f18565b92915050565b6000813590506141ec81615f2f565b92915050565b60008135905061420181615f46565b92915050565b60008135905061421681615f5d565b92915050565b600060208284031215614232576142316157f2565b5b600061424084828501614118565b91505092915050565b600080604083850312156142605761425f6157f2565b5b600061426e85828601614118565b925050602061427f85828601614118565b9150509250929050565b6000806000606084860312156142a2576142a16157f2565b5b60006142b086828701614118565b93505060206142c186828701614118565b92505060406142d2868287016141dd565b9150509250925092565b600080600080608085870312156142f6576142f56157f2565b5b600061430487828801614118565b945050602061431587828801614118565b9350506040614326878288016141dd565b925050606085013567ffffffffffffffff811115614347576143466157ed565b5b6143538782880161416c565b91505092959194509250565b600080600060608486031215614378576143776157f2565b5b600061438686828701614118565b935050602061439786828701614118565b92505060406143a886828701614207565b9150509250925092565b600080604083850312156143c9576143c86157f2565b5b60006143d785828601614118565b92505060206143e88582860161412d565b9150509250929050565b60008060408385031215614409576144086157f2565b5b600061441785828601614118565b9250506020614428858286016141dd565b9150509250929050565b60008060408385031215614449576144486157f2565b5b600061445785828601614118565b925050602061446885828601614207565b9150509250929050565b600060208284031215614488576144876157f2565b5b600061449684828501614142565b91505092915050565b6000602082840312156144b5576144b46157f2565b5b60006144c384828501614157565b91505092915050565b6000602082840312156144e2576144e16157f2565b5b600082013567ffffffffffffffff811115614500576144ff6157ed565b5b61450c8482850161419a565b91505092915050565b60006020828403121561452b5761452a6157f2565b5b6000614539848285016141c8565b91505092915050565b600060208284031215614558576145576157f2565b5b6000614566848285016141dd565b91505092915050565b60008060408385031215614586576145856157f2565b5b6000614594858286016141dd565b92505060206145a585828601614118565b9150509250929050565b600080604083850312156145c6576145c56157f2565b5b60006145d4858286016141dd565b925050602083013567ffffffffffffffff8111156145f5576145f46157ed565b5b6146018582860161419a565b9150509250929050565b600080600080600060a08688031215614627576146266157f2565b5b6000614635888289016141dd565b955050602086013567ffffffffffffffff811115614656576146556157ed565b5b6146628882890161419a565b945050604086013567ffffffffffffffff811115614683576146826157ed565b5b61468f8882890161419a565b935050606086013567ffffffffffffffff8111156146b0576146af6157ed565b5b6146bc8882890161419a565b925050608086013567ffffffffffffffff8111156146dd576146dc6157ed565b5b6146e98882890161419a565b9150509295509295909350565b6000806040838503121561470d5761470c6157f2565b5b600061471b858286016141dd565b925050602061472c858286016141dd565b9150509250929050565b60006020828403121561474c5761474b6157f2565b5b600061475a848285016141f2565b91505092915050565b61476c81615578565b82525050565b61477b8161558a565b82525050565b600061478c82615415565b614796818561542b565b93506147a681856020860161562e565b6147af816157f7565b840191505092915050565b60006147c582615420565b6147cf8185615447565b93506147df81856020860161562e565b6147e8816157f7565b840191505092915050565b60006147fe82615420565b6148088185615458565b935061481881856020860161562e565b80840191505092915050565b600081546148318161568b565b61483b8186615458565b9450600182166000811461485657600181146148675761489a565b60ff1983168652818601935061489a565b61487085615400565b60005b8381101561489257815481890152600182019150602081019050614873565b838801955050505b50505092915050565b60006148b0602083615447565b91506148bb82615808565b602082019050919050565b60006148d3600f83615458565b91506148de82615831565b600f82019050919050565b60006148f6602d83615447565b91506149018261585a565b604082019050919050565b6000614919603283615447565b9150614924826158a9565b604082019050919050565b600061493c602683615447565b9150614947826158f8565b604082019050919050565b600061495f602583615447565b915061496a82615947565b604082019050919050565b6000614982601383615458565b915061498d82615996565b601382019050919050565b60006149a5601c83615447565b91506149b0826159bf565b602082019050919050565b60006149c8601183615458565b91506149d3826159e8565b601182019050919050565b60006149eb601483615447565b91506149f682615a11565b602082019050919050565b6000614a0e602483615447565b9150614a1982615a3a565b604082019050919050565b6000614a31601983615447565b9150614a3c82615a89565b602082019050919050565b6000614a54601183615458565b9150614a5f82615ab2565b601182019050919050565b6000614a77602983615447565b9150614a8282615adb565b604082019050919050565b6000614a9a601483615458565b9150614aa582615b2a565b601482019050919050565b6000614abd601483615458565b9150614ac882615b53565b601482019050919050565b6000614ae0600283615458565b9150614aeb82615b7c565b600282019050919050565b6000614b03601d83615458565b9150614b0e82615ba5565b601d82019050919050565b6000614b26602083615447565b9150614b3182615bce565b602082019050919050565b6000614b49601083615447565b9150614b5482615bf7565b602082019050919050565b6000614b6c602083615447565b9150614b7782615c20565b602082019050919050565b6000614b8f601383615458565b9150614b9a82615c49565b601382019050919050565b6000614bb2600b83615458565b9150614bbd82615c72565b600b82019050919050565b6000614bd5601883615447565b9150614be082615c9b565b602082019050919050565b6000614bf8602183615447565b9150614c0382615cc4565b604082019050919050565b6000614c1b60008361543c565b9150614c2682615d13565b600082019050919050565b6000614c3e603d83615447565b9150614c4982615d16565b604082019050919050565b6000614c61600d83615458565b9150614c6c82615d65565b600d82019050919050565b6000614c84601183615458565b9150614c8f82615d8e565b601182019050919050565b6000614ca7602a83615447565b9150614cb282615db7565b604082019050919050565b6000614cca601683615458565b9150614cd582615e06565b601682019050919050565b6000614ced601f83615447565b9150614cf882615e2f565b602082019050919050565b6000614d10600b83615447565b9150614d1b82615e58565b602082019050919050565b6000614d33601083615458565b9150614d3e82615e81565b601082019050919050565b6000614d56601983615447565b9150614d6182615eaa565b602082019050919050565b614d75816155c2565b82525050565b614d84816155f0565b82525050565b614d9b614d96826155f0565b6156ee565b82525050565b614daa816155fa565b82525050565b6000614dbc82856147f3565b9150614dc882846147f3565b91508190509392505050565b6000614de082876147f3565b9150614dec82866147f3565b9150614df882856147f3565b9150614e0482846147f3565b915081905095945050505050565b6000614e1d82614b82565b9150614e2982896147f3565b9150614e3482614a8d565b9150614e4082886147f3565b9150614e4b82614cbd565b9150614e5782876147f3565b9150614e62826149bb565b9150614e6e82866147f3565b9150614e7982614af6565b9150614e8582856147f3565b9150614e9082614d26565b9150614e9c82846147f3565b9150614ea782614ad3565b9150819050979650505050505050565b6000614ec282614c0e565b9150819050919050565b6000614ed782614c54565b9150614ee382896147f3565b9150614eee82614975565b9150614efa82886147f3565b9150614f05826148c6565b9150614f118287614824565b9150614f1c82614ba5565b9150614f288286614824565b9150614f3382614a47565b9150614f3f8285614824565b9150614f4a82614c77565b9150614f568284614824565b9150614f6182614ad3565b9150819050979650505050505050565b6000614f7d8288614d8a565b602082019150614f8c82614ab0565b9150614f988287614d8a565b602082019150614fa88286614d8a565b602082019150614fb88285614d8a565b602082019150614fc88284614d8a565b6020820191508190509695505050505050565b6000602082019050614ff06000830184614763565b92915050565b600060808201905061500b6000830187614763565b6150186020830186614763565b6150256040830185614d7b565b81810360608301526150378184614781565b905095945050505050565b60006040820190506150576000830185614763565b6150646020830184614d7b565b9392505050565b60006020820190506150806000830184614772565b92915050565b600060208201905081810360008301526150a081846147ba565b905092915050565b600060208201905081810360008301526150c1816148a3565b9050919050565b600060208201905081810360008301526150e1816148e9565b9050919050565b600060208201905081810360008301526151018161490c565b9050919050565b600060208201905081810360008301526151218161492f565b9050919050565b6000602082019050818103600083015261514181614952565b9050919050565b6000602082019050818103600083015261516181614998565b9050919050565b60006020820190508181036000830152615181816149de565b9050919050565b600060208201905081810360008301526151a181614a01565b9050919050565b600060208201905081810360008301526151c181614a24565b9050919050565b600060208201905081810360008301526151e181614a6a565b9050919050565b6000602082019050818103600083015261520181614b19565b9050919050565b6000602082019050818103600083015261522181614b3c565b9050919050565b6000602082019050818103600083015261524181614b5f565b9050919050565b6000602082019050818103600083015261526181614bc8565b9050919050565b6000602082019050818103600083015261528181614beb565b9050919050565b600060208201905081810360008301526152a181614c31565b9050919050565b600060208201905081810360008301526152c181614c9a565b9050919050565b600060208201905081810360008301526152e181614ce0565b9050919050565b6000602082019050818103600083015261530181614d03565b9050919050565b6000602082019050818103600083015261532181614d49565b9050919050565b600060208201905061533d6000830184614d6c565b92915050565b60006020820190506153586000830184614d7b565b92915050565b60006020820190506153736000830184614da1565b92915050565b6000615383615394565b905061538f82826156bd565b919050565b6000604051905090565b600067ffffffffffffffff8211156153b9576153b86157b4565b5b6153c2826157f7565b9050602081019050919050565b600067ffffffffffffffff8211156153ea576153e96157b4565b5b6153f3826157f7565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061546e826155f0565b9150615479836155f0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156154ae576154ad6156f8565b5b828201905092915050565b60006154c4826155f0565b91506154cf836155f0565b9250826154df576154de615727565b5b828204905092915050565b60006154f5826155f0565b9150615500836155f0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615539576155386156f8565b5b828202905092915050565b600061554f826155f0565b915061555a836155f0565b92508282101561556d5761556c6156f8565b5b828203905092915050565b6000615583826155d0565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006bffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b8381101561564c578082015181840152602081019050615631565b8381111561565b576000848401525b50505050565b600061566c826155f0565b915060008214156156805761567f6156f8565b5b600182039050919050565b600060028204905060018216806156a357607f821691505b602082108114156156b7576156b6615756565b5b50919050565b6156c6826157f7565b810181811067ffffffffffffffff821117156156e5576156e46157b4565b5b80604052505050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f222c226d656469615f555249223a220000000000000000000000000000000000600082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f222c22746f6b656e5f656e74726f7079223a2200000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f222c22706c6174666f726d425053223a22000000000000000000000000000000600082015250565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f222c226465736372697074696f6e223a22000000000000000000000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f222c226d696e7465725f61646472657373223a22000000000000000000000000600082015250565b7f506f7274726169747320466f722050656f706c65000000000000000000000000600082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f222c2264656661756c745f726f79616c74795f61646472657373223a22000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f496e636f72726563742076616c75652e00000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f7b226172746973745f61646472657373223a2200000000000000000000000000600082015250565b7f222c227469746c65223a22000000000000000000000000000000000000000000600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b7f7b22746f6b656e5f6964223a2200000000000000000000000000000000000000600082015250565b7f222c22637573746f6d5f64617461223a22000000000000000000000000000000600082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f222c22706c6174666f726d5f61646472657373223a2200000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f416c6c206d696e7465642e000000000000000000000000000000000000000000600082015250565b7f222c22726f79616c7479425053223a2200000000000000000000000000000000600082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b615edc81615578565b8114615ee757600080fd5b50565b615ef38161558a565b8114615efe57600080fd5b50565b615f0a81615596565b8114615f1557600080fd5b50565b615f21816155c2565b8114615f2c57600080fd5b50565b615f38816155f0565b8114615f4357600080fd5b50565b615f4f816155fa565b8114615f5a57600080fd5b50565b615f6681615607565b8114615f7157600080fd5b5056fea2646970667358221220c82a6fc2f36b5c1b427bc0623dbf74e973c50e48877cab4b2c2e70311fedde1a64736f6c63430008070033

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.