ETH Price: $3,241.69 (-1.00%)
Gas: 3 Gwei

Token

Chainlife (CHNLF)
 

Overview

Max Total Supply

0 CHNLF

Holders

126

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
0x1792.eth
Balance
6 CHNLF
0x17920C7Ee7701FE58D8eB4f5f57Ac3947561550e
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:
Chainlife

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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

/**


   □□□□    □□    □□     □□□     □□□□  □□□    □□  □□       □□□□  □□□□□□□  □□□□□□□
 □□    □□  □□    □□   □□   □□    □□   □□□□   □□  □□        □□   □□       □□     
□□         □□    □□  □□     □□   □□   □□ □□  □□  □□        □□   □□□□□    □□□□□  
□□         □□□□□□□□  □□□□□□□□□   □□   □□  □□ □□  □□        □□   □□       □□     
 □□    □□  □□    □□  □□     □□   □□   □□   □□□□  □□        □□   □□       □□     
   □□□□    □□    □□  □□     □□  □□□□  □□    □□□  □□□□□□□  □□□□  □□       □□□□□□□


                                                                        by Matto
*/

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

interface i_ArtBlocks {
    function ownerOf(uint256 fullTokenId) external view returns (address);
}

/** 
 * @title Chainlife
 * @notice This is a customized ERC-721 contract for Chainlife. All tokens
 * created and controlled by this contract are licensed CC BY-NC 4.0.
 * @author Matto
 * @custom:security-contact [email protected] / @MonkMatto on Twitter
 */ 
contract Chainlife is ERC721Royalty, Ownable, ReentrancyGuard {
  using Counters for Counters.Counter;
  using Strings for string;

  Counters.Counter public tokensMinted;
  string public baseURI;
  string public description;
  uint8 public mintStage;
  bool public scriptsLocked;
  address public paymentsAddress;
  uint96 public royaltyBPS;
  uint256 public mintFee;
  uint256 public shiftFee;
  uint16 public maxSupply = 4096;
  mapping(uint256 => string) public scriptData;
  mapping(uint256 => uint8) public preMintWithEnso;
  mapping(uint256 => uint8) public preMintWithFOCUS;
  mapping(uint256 => int256) public levelShiftOf;
  mapping(uint256 => string) public customRuleOf;
  mapping(uint256 => bytes32) private tokenEntropyOf;
  mapping(uint256 => address) private previousOwnerOf;
  mapping(uint256 => uint256) private transferCountOf;
  address private ABcontract = 0xa7d8d9ef8D8Ce8992Df33D8b8CF4Aebabd5bD270;

  constructor() ERC721("Chainlife", "CHNLF") {}

  /** 
   * CUSTOM EVENTS
   * @notice These events are emitted by functions 'SET_CUSTOM_RULE' and 
   * 'writeScriptData'.
   * @dev These will be monitored by the custom backend. They will trigger
   * updating the API with data stored in scriptData, as well as data returned
   * by the scriptInputsOf() function.
   *
   * CustomRule Event
   * @notice This is emitted whenever SET_CUSTOM_RULE is successfully called.
   * @dev indexed keyword is added for later searchability.
   * @param tokenId is the token that had a change to its CustomRule.
   * @param rule is the rule string that was written to chain.   
   * @param byAddress is the address that set the CustomRule (unless set by 
   * Matto on their behalf).
   */
  event CustomRule(
      uint256 indexed tokenId,
      string rule,
      address indexed byAddress
  );

  /**
   * ScriptData Event
   * @notice This is emitted whenever writeScriptData is successfully called.
   * @dev indexed keyword is added to scriptIndex for searchability.
   * @param scriptIndex is index in the mapping that is being updated.
   * @param oldScript is the data being replaced, potentially "".
   * @param newScript is the new data stored to chain.
   */  
  event ScriptData(
      uint256 indexed scriptIndex,
      string oldScript,
      string newScript
  );

  /**
   * ShiftLevel Event
   * @notice This is emitted whenever SHIFT_LEVEL is successfully called.
   * @dev indexed keyword is added for later searchability.
   * @param tokenId is the token that had a change to its level shift.
   * @param shift is the amount that the token is being shifted.
   * @param totalShift is the cumulative shift amount.
   * @param byAddress is the address that called SHIFT_LEVEL (unless set by 
   * Matto on their behalf).
   */  
  event ShiftLevel(
      uint256 indexed tokenId,
      int256 shift,
      int256 totalShift,
      address indexed byAddress
  );

  /**
   * MODIFIERS
   * @notice These are reusable code to control function execution.
   *
   * @notice callerIsUser modifier prohibits contracts.
   * @dev This modifier will cause transactions to fail if they come from a
   * contract because the transaction origin will not match the message sender.
   */
  modifier callerIsUser() {
      require(tx.origin == msg.sender);
      _;
  }

  /**
   * OVERRIDES
   * @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 _transfer override adds logic to track transfer counts as well as
   * the prior owner.
   * @dev This override updates mappings and then calls the overridden function.
   * @param  _from is the address the token is being sent from.
   * @param  _to is the address the token is being sent to.
   * @param  _tokenId is the token being transferred.
   */
  function _transfer(
      address _from,
      address _to,
      uint256 _tokenId
  ) 
      internal 
      virtual 
      override 
  {
      transferCountOf[_tokenId]++;
      previousOwnerOf[_tokenId] = _from;
      super._transfer(_from, _to, _tokenId);
  }

  /**
   * MINTING
   * @notice These are functions needed to mint tokens.
   * @dev various external functions call the same internal function (_minter)
   * if requirements are met.
   *
   * @notice PREMINT is the restricted access public mint function.
   * @dev This allows previous collectors of Art Blocks projects #34 and #181 to
   * mint at an earlier stage. Ownership is verified via the ArtBlocks contract
   * controlling these tokens. Art Blocks tokenIds are the
   * project number * 1 million, plus that project's token 'number.'
   * The preMintWith* mappings tracks tokens so they can only be used once.
   * The contract owner can bypass the perMintActive requirement.
   * MAINNET FOCUS tokenBase: 181000000 | GOERLI tokenBase: 94000000.
   * @param projectNumber is the Art Blocks project number of a Matto project,
   * either 34 or 181 are acceptable.
   * @param tokenNumber is the owned token from the project corresponding
   * to the projectNumber that is being used for the premint.
   */
  function PREMINT(
      uint256 projectNumber, 
      uint256 tokenNumber
  )
      external
      payable
      nonReentrant
      callerIsUser
  {
      require(mintStage == 1);
      require(projectNumber == 34 || projectNumber == 181);
      require(
          msg.sender ==
              i_ArtBlocks(ABcontract).ownerOf(
                  (projectNumber * 1000000) + tokenNumber
              )
      );
      if (projectNumber == 34) {
          require(
              preMintWithEnso[tokenNumber] == 0,
              "Enso already used."
          );
          preMintWithEnso[tokenNumber] = 1;
      } else {
          require(
              preMintWithFOCUS[tokenNumber] == 0,
              "FOCUS already used."
          );
          preMintWithFOCUS[tokenNumber] = 1;
      }
      _minter(msg.sender);
  }

  /**
   * @notice MINT is the regular access public mint function that mints to the
   * caller's address.
   * @dev Variation of a mint function that uses the msg.sender address as the
   * account to mint to. The contract owner can bypass the publicMintActive 
   * requirement.
   */
  function MINT() 
      external 
      payable 
      nonReentrant 
      callerIsUser 
  {
      require(mintStage == 2 || msg.sender == owner());
      _minter(msg.sender);
  }

  /**
   * @notice MINT_TO_ADDRESS is the regular access public mint function that 
   * mints to a specified address.
   * @dev Variation of a mint function that uses a submitted address as the
   * account to mint to. The contract owner can bypass the publicMintActive 
   * requirement.
   * @param to is the address to send the token to.
   */
  function MINT_TO_ADDRESS(
    address to
  )
      external
      payable
      nonReentrant
      callerIsUser
  {
      require(mintStage == 2 || msg.sender == owner());
      _minter(to);
  }

  /**
   * @notice _minter is the internal function that generates mints.
   * @dev Minting function called by all other public 'MINT' functions.
   * The contract owner 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 == owner(),
          "Incorrect value."
      );
      require(
          tokensMinted.current() < maxSupply,
          "All minted."
      );
      uint256 tokenId = tokensMinted.current();
      tokensMinted.increment();
      _assignTokenData(tokenId);
      _safeMint(_to, tokenId);
  }

  /**
   * @notice _assignTokenData generates the token's entropy.
   * @dev This creates a hash that will be 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 _assignTokenData(
      uint256 _tokenId
  ) 
      internal 
  {
      tokenEntropyOf[_tokenId] = keccak256(
          abi.encodePacked(
              "Chainlife",
              _tokenId,
              block.number,
              block.timestamp,
              tx.gasprice
          )
      );
  }

  /**
   * CUSTOM
   * @notice These are custom functions for Chainlife.
   * 
   * @notice CUSTOM_RULE allows owners to set a rule on-chain. 
   * @dev This allows token owners to submit and record data on the blockchain.
   * The contract owner can also set these rules on the token owner's behalf.
   * Each Chainlife token has the ability to utilize custom rules, but only
   * after evolution. Chainlife tokens use the B/S notation for rules:
   *
   * B{number list}/S{number list}
   *
   * For example, the rulestring for Conway's Game of Life is B3/S23, meaning 
   * that any dead cell with 3 living neighbors will be born (B3), and any 
   * live cells with 2 or 3 neighbors will survive (S23). All other cells 
   * will die or remain dead.
   * @param tokenId is the token whose CustomRule is being updated.
   * @param rule is a string that gets stored as a state value. The input string
   * should not include any quotation marks.
   */
  function CUSTOM_RULE(
      uint256 tokenId, 
      string memory rule
  ) 
      external 
  {
      require(
          msg.sender == ownerOf(tokenId) || msg.sender == owner(),
          "Unauthorized."
      );
      emit CustomRule(tokenId, rule, ownerOf(tokenId));
      customRuleOf[tokenId] = rule;
  }

  /**
   * @notice RESET_RULE allows owners to remove a custom rule. 
   * @dev This replaces the customRuleOf[tokenId] data with an empty string.
   * When the generative script receives an empty string, it uses the rule
   * that was determined by the token hash at mint.
   * @param tokenId is the token whose custom rule is being reset.
   */
  function RESET_RULE(
      uint256 tokenId
  ) 
      external 
  {
      require(
          msg.sender == ownerOf(tokenId) || msg.sender == owner(),
          "Unauthorized."
      );
      emit CustomRule(tokenId, "", ownerOf(tokenId));
      customRuleOf[tokenId] = "";
  }

  /**
   * @notice SHIFT_LEVEL allows owners to adjust the level shift value that is 
   * stored on-chain. Level shifts are additive, eg. submitting a transaction 
   * with shift value of -5 will subtract 5 from the current level shift value. 
   * @dev This allows token owners to submit and record data on the blockchain.
   * The contract owner can also set these rules on the token owner's behalf.
   * Each Chainlife token tracks its level, which is determined by transfer
   * count and shift amount.
   * @param tokenId is the token whose shift amount is being updated.
   * @param shift is a signed integer that gets stored as a state value.
   */
  function SHIFT_LEVEL(
      uint256 tokenId, 
      int256 shift
  ) 
      external 
      payable
      nonReentrant
      callerIsUser      
  {
      require(
          msg.sender == ownerOf(tokenId) || msg.sender == owner(),
          "Unauthorized."
      );
      uint256 absShift = (shift < 0) ? uint256(-shift) : uint256(shift);
      require(
          msg.value == absShift * shiftFee || msg.sender == owner(),
          "Incorrect value."
      );
      int256 totalShift = levelShiftOf[tokenId] + shift;
      emit ShiftLevel(tokenId, shift, totalShift, ownerOf(tokenId));
      levelShiftOf[tokenId] = totalShift;
  }

  /**
   * @notice writeScriptData allows storage of the generative script on-chain.
   * @dev This will store the generative script needed to reproduce Chainlife
   * 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 writeScriptData(
      uint256 index, 
      string memory newScript
  )
      external
      onlyOwner
  {
      require(!scriptsLocked);
      emit ScriptData(index, scriptData[index], newScript);
      scriptData[index] = newScript;
  }

  /**
   * @notice scriptInputsOf returns the input data necessary for the generative
   * script to create/recreate a Chainlife 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.
   * @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 = BytesToHexString.toHex(tokenEntropyOf[tokenId]);
      string memory sign = (levelShiftOf[tokenId] < 0) ? "-" : "";
      uint256 absLevelShift = (levelShiftOf[tokenId] < 0) ? uint256(-levelShiftOf[tokenId]) : uint256(levelShiftOf[tokenId]);
      return
          string(
              abi.encodePacked(
                  '{"token_id":"',
                  Strings.toString(tokenId),
                  '","token_entropy":"',
                  entropyString,
                  '","previous_owner":"',
                  Strings.toHexString(uint160(previousOwnerOf[tokenId]), 20),
                  '","current_owner":"',
                  Strings.toHexString(uint160(ownerOf(tokenId)), 20),
                  '","transfer_count":"',
                  Strings.toString(transferCountOf[tokenId]),
                  '","level_shift":"',
                  sign, Strings.toString(absLevelShift),                  
                  '","custom_rule":"',
                  customRuleOf[tokenId],
                  '"}'
              )
          );
  }

  /**
   * CONTROLS
   * @notice These are contract-level controls.
   * @dev all should use the onlyOwner modifier.
   *
   * @notice lockScripts freezes the scriptData storage.
   * @dev The project must be fully minted before this function is callable.
   */
  function lockScripts() 
      external 
      onlyOwner 
  {
      require(tokensMinted.current() == maxSupply);
      scriptsLocked = true;
  }

  /**
   * @notice lowerMaxSupply 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 lower. maxSupply is used in the internal _minter 
   * function to cap the number of available tokens.
   * @param _maxSupply is the new maximum supply.
   */
  function lowerMaxSupply(
      uint16 _maxSupply
  ) 
      external 
      onlyOwner 
  {
      require(_maxSupply < maxSupply && _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 
   * premint only, 2 for public mint.
   */
  function setMintStage(
    uint8 _mintStage
  ) 
      external 
      onlyOwner 
  {
      mintStage = _mintStage;
  }

  /**
   * @notice setRoyalties 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 _paymentsAddress is the new payments address.
   * @param _royaltyBPS is the new projet royalty amount, measured in 
   * base percentage points.
   */
  function setRoyalties(
      address _paymentsAddress, 
      uint96 _royaltyBPS
  )
      external
      onlyOwner
  {
      paymentsAddress = _paymentsAddress;
      royaltyBPS = _royaltyBPS;
      _setDefaultRoyalty(paymentsAddress, _royaltyBPS);
  }

  /**
   * @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 
      onlyOwner 
  {
      mintFee = _mintFee;
  }

  /**
   * @notice setShiftFee sets the price per level shift.
   * @dev This function allows changes to the payment amount that is required 
   * to shift a token's level.
   * @param _shiftFee is the cost per level shift in Wei.
   */
  function setShiftFee(
      uint256 _shiftFee
  ) 
      external 
      onlyOwner 
  {
      shiftFee = _shiftFee;
  }

  /**
   * @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 
      onlyOwner 
  {
      description = _description;
  }

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

  /**
   * @notice withdraw is used to send mint and shift funds to the payments
   * address.
   * @dev Withdraw cannot be called if the payments addresses is not set. 
   * If a receiving address is a contract using callbacks, the withdraw function
   * could run out of gas. Update the receiving address if necessary.
   */
  function withdraw() 
      external 
      onlyOwner 
  {
      require(paymentsAddress != address(0));
      payable(paymentsAddress).transfer(address(this).balance);
  }
}

/**
 * The following library is licensed CC BY-SA 4.0.
 * @title BytesToHexString Library
 * @notice Provides a function for converting bytes into a hexidecimal string.
 * @author Mikhail Vladimirov (with edits by Matto)
 * @dev Code in this library is based on the thorough example and walkthrough
 * posted by Mikhail Vladimirov on https://stackoverflow.com/ using the 
 * CC BY-SA 4.0 license.
 */
library BytesToHexString {

  /**
   * @notice toHex takes bytes data and returns the data as a string.
   * @dev This is needed to convert the token entropy (bytes) into a string for
   * return in the scriptInputsOf function. This is the function that is called
   * first, and it calls toHex16 while processing the return.
   * @param _data is the bytes data to convert.
   * @return (string)
   */
  function toHex(bytes32 _data)
    internal
    pure
    returns (string memory) 
  {
    return string(
        abi.encodePacked(
            "0x",
            toHex16(bytes16(_data)),
            toHex16(bytes16(_data << 128))
        )
    );
  }

  /**
   * @notice toHex16 is a helper function of toHex.
   * @dev For an explanation of the operations, see Mikhail Vladimirov's 
   * walkthrough for converting bytes to string on https://stackoverflow.com/.
   * @param _input is a bytes16 data chunk.
   * @return output is a bytes32 data chunk.
   */
  function toHex16(bytes16 _input)
    internal
    pure
    returns (bytes32 output) 
  {
    output = bytes32(_input) & 0xFFFFFFFFFFFFFFFF000000000000000000000000000000000000000000000000 |
      (bytes32(_input) & 0x0000000000000000FFFFFFFFFFFFFFFF00000000000000000000000000000000) >> 64;
    output = output & 0xFFFFFFFF000000000000000000000000FFFFFFFF000000000000000000000000 |
      (output & 0x00000000FFFFFFFF000000000000000000000000FFFFFFFF0000000000000000) >> 32;
    output = output & 0xFFFF000000000000FFFF000000000000FFFF000000000000FFFF000000000000 |
      (output & 0x0000FFFF000000000000FFFF000000000000FFFF000000000000FFFF00000000) >> 16;
    output = output & 0xFF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000 |
      (output & 0x00FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000) >> 8;
    output = (output & 0xF000F000F000F000F000F000F000F000F000F000F000F000F000F000F000F000) >> 4 |
      (output & 0x0F000F000F000F000F000F000F000F000F000F000F000F000F000F000F000F00) >> 8;
    output = bytes32 (0x3030303030303030303030303030303030303030303030303030303030303030 +
      uint256(output) +
      (uint256(output) + 0x0606060606060606060606060606060606060606060606060606060606060606 >> 4 &
      0x0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F) * 7);
  }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

File 3 of 16 : 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 16 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

        // 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 16 : 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 16 : ERC721Royalty.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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 {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_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 16 : 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 8 of 16 : 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 9 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

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

File 10 of 16 : 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 11 of 16 : 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 12 of 16 : 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 13 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 14 of 16 : 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 15 of 16 : 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 16 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"rule","type":"string"},{"indexed":true,"internalType":"address","name":"byAddress","type":"address"}],"name":"CustomRule","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":"scriptIndex","type":"uint256"},{"indexed":false,"internalType":"string","name":"oldScript","type":"string"},{"indexed":false,"internalType":"string","name":"newScript","type":"string"}],"name":"ScriptData","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"int256","name":"shift","type":"int256"},{"indexed":false,"internalType":"int256","name":"totalShift","type":"int256"},{"indexed":true,"internalType":"address","name":"byAddress","type":"address"}],"name":"ShiftLevel","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"rule","type":"string"}],"name":"CUSTOM_RULE","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"MINT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"MINT_TO_ADDRESS","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectNumber","type":"uint256"},{"internalType":"uint256","name":"tokenNumber","type":"uint256"}],"name":"PREMINT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"RESET_RULE","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"int256","name":"shift","type":"int256"}],"name":"SHIFT_LEVEL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"customRuleOf","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"description","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"levelShiftOf","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockScripts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_maxSupply","type":"uint16"}],"name":"lowerMaxSupply","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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paymentsAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"preMintWithEnso","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"preMintWithFOCUS","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyBPS","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","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":"","type":"uint256"}],"name":"scriptData","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"scriptInputsOf","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"scriptsLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"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":"_paymentsAddress","type":"address"},{"internalType":"uint96","name":"_royaltyBPS","type":"uint96"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shiftFee","type":"uint256"}],"name":"setShiftFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shiftFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":"newScript","type":"string"}],"name":"writeScriptData","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052611000601160006101000a81548161ffff021916908361ffff16021790555073a7d8d9ef8d8ce8992df33d8b8cf4aebabd5bd270601a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200008557600080fd5b506040518060400160405280600981526020017f436861696e6c69666500000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f43484e4c4600000000000000000000000000000000000000000000000000000081525081600290805190602001906200010a92919062000222565b5080600390805190602001906200012392919062000222565b505050620001466200013a6200015460201b60201c565b6200015c60201b60201c565b600160098190555062000337565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200023090620002d2565b90600052602060002090601f016020900481019282620002545760008555620002a0565b82601f106200026f57805160ff1916838001178555620002a0565b82800160010185558215620002a0579182015b828111156200029f57825182559160200191906001019062000282565b5b509050620002af9190620002b3565b5090565b5b80821115620002ce576000816000905550600101620002b4565b5090565b60006002820490506001821680620002eb57607f821691505b6020821081141562000302576200030162000308565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b615eae80620003476000396000f3fe6080604052600436106102ae5760003560e01c806377b9f9b111610175578063bb0ba35d116100dc578063dc144cd111610095578063e985e9c51161006f578063e985e9c514610a75578063eddd0d9c14610ab2578063f150a04914610adb578063f2fde38b14610b06576102ae565b8063dc144cd1146109f3578063dfeb562614610a30578063e8b95c9d14610a59576102ae565b8063bb0ba35d146108e7578063c21b471b14610910578063c2bb636214610939578063c3e9d08314610962578063c87b56dd1461098b578063d5abeb01146109c8576102ae565b806395d89b411161012e57806395d89b41146107f85780639f9b4cad14610823578063a22cb4651461084e578063b88d4fde14610877578063b9c9d93a146108a0578063bafd81b0146108cb576102ae565b806377b9f9b1146106fc578063863ed3101461071357806388399cdf1461073c5780638da5cb5b1461076757806390c3f38f1461079257806393ae76cf146107bb576102ae565b80633d1010cb11610219578063694d0473116101d2578063694d0473146105fc5780636c0360eb146106275780636de9f32b1461065257806370a082311461067d578063715018a6146106ba5780637284e416146106d1576102ae565b80633d1010cb146104f65780633e36f4c71461053357806342842e0e1461053d578063567018b6146105665780636352211e1461058257806364518f1d146105bf576102ae565b80630d9e23e61161026b5780630d9e23e6146103e757806313966db514610424578063235bfbe81461044f57806323b872dd146104785780632a55205a146104a15780633ccfd60b146104df576102ae565b806301ffc9a7146102b357806302d2312d146102f057806302fe53051461032d57806306fdde0314610356578063081812fc14610381578063095ea7b3146103be575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d5919061427a565b610b2f565b6040516102e79190614d4a565b60405180910390f35b3480156102fc57600080fd5b506103176004803603810190610312919061434a565b610b41565b6040516103249190615118565b60405180910390f35b34801561033957600080fd5b50610354600480360381019061034f91906142d4565b610b61565b005b34801561036257600080fd5b5061036b610b83565b6040516103789190614da9565b60405180910390f35b34801561038d57600080fd5b506103a860048036038101906103a3919061434a565b610c15565b6040516103b59190614cba565b60405180910390f35b3480156103ca57600080fd5b506103e560048036038101906103e091906141fa565b610c5b565b005b3480156103f357600080fd5b5061040e6004803603810190610409919061434a565b610d73565b60405161041b9190614da9565b60405180910390f35b34801561043057600080fd5b50610439610e13565b60405161044691906150fd565b60405180910390f35b34801561045b57600080fd5b506104766004803603810190610471919061434a565b610e19565b005b34801561048457600080fd5b5061049f600480360381019061049a91906140e4565b610e2b565b005b3480156104ad57600080fd5b506104c860048036038101906104c39190614413565b610e8b565b6040516104d6929190614d21565b60405180910390f35b3480156104eb57600080fd5b506104f4611076565b005b34801561050257600080fd5b5061051d6004803603810190610518919061434a565b611145565b60405161052a9190614da9565b60405180910390f35b61053b6111e5565b005b34801561054957600080fd5b50610564600480360381019061055f91906140e4565b6112da565b005b610580600480360381019061057b919061404a565b6112fa565b005b34801561058e57600080fd5b506105a960048036038101906105a4919061434a565b6113f0565b6040516105b69190614cba565b60405180910390f35b3480156105cb57600080fd5b506105e660048036038101906105e1919061434a565b6114a2565b6040516105f39190614d65565b60405180910390f35b34801561060857600080fd5b506106116114ba565b60405161061e9190614cba565b60405180910390f35b34801561063357600080fd5b5061063c6114e0565b6040516106499190614da9565b60405180910390f35b34801561065e57600080fd5b5061066761156e565b60405161067491906150fd565b60405180910390f35b34801561068957600080fd5b506106a4600480360381019061069f919061404a565b61157a565b6040516106b191906150fd565b60405180910390f35b3480156106c657600080fd5b506106cf611632565b005b3480156106dd57600080fd5b506106e6611646565b6040516106f39190614da9565b60405180910390f35b34801561070857600080fd5b506107116116d4565b005b34801561071f57600080fd5b5061073a6004803603810190610735919061431d565b611722565b005b34801561074857600080fd5b50610751611787565b60405161075e91906150fd565b60405180910390f35b34801561077357600080fd5b5061077c61178d565b6040516107899190614cba565b60405180910390f35b34801561079e57600080fd5b506107b960048036038101906107b491906142d4565b6117b7565b005b3480156107c757600080fd5b506107e260048036038101906107dd919061434a565b6117d9565b6040516107ef9190614da9565b60405180910390f35b34801561080457600080fd5b5061080d6119aa565b60405161081a9190614da9565b60405180910390f35b34801561082f57600080fd5b50610838611a3c565b6040516108459190614d4a565b60405180910390f35b34801561085a57600080fd5b50610875600480360381019061087091906141ba565b611a4f565b005b34801561088357600080fd5b5061089e60048036038101906108999190614137565b611a65565b005b3480156108ac57600080fd5b506108b5611ac7565b6040516108c29190615133565b60405180910390f35b6108e560048036038101906108e09190614377565b611ae5565b005b3480156108f357600080fd5b5061090e60048036038101906109099190614453565b611d68565b005b34801561091c57600080fd5b506109376004803603810190610932919061423a565b611d8e565b005b34801561094557600080fd5b50610960600480360381019061095b91906143b7565b611e38565b005b34801561096e57600080fd5b50610989600480360381019061098491906143b7565b611f6e565b005b34801561099757600080fd5b506109b260048036038101906109ad919061434a565b612008565b6040516109bf9190614da9565b60405180910390f35b3480156109d457600080fd5b506109dd612070565b6040516109ea91906150e2565b60405180910390f35b3480156109ff57600080fd5b50610a1a6004803603810190610a15919061434a565b612084565b604051610a279190615118565b60405180910390f35b348015610a3c57600080fd5b50610a576004803603810190610a52919061434a565b6120a4565b005b610a736004803603810190610a6e9190614413565b6121e6565b005b348015610a8157600080fd5b50610a9c6004803603810190610a9791906140a4565b6124e8565b604051610aa99190614d4a565b60405180910390f35b348015610abe57600080fd5b50610ad96004803603810190610ad4919061434a565b61257c565b005b348015610ae757600080fd5b50610af061258e565b604051610afd9190615118565b60405180910390f35b348015610b1257600080fd5b50610b2d6004803603810190610b28919061404a565b6125a1565b005b6000610b3a82612625565b9050919050565b60136020528060005260406000206000915054906101000a900460ff1681565b610b69612707565b80600b9080519060200190610b7f929190613df5565b5050565b606060028054610b92906154fd565b80601f0160208091040260200160405190810160405280929190818152602001828054610bbe906154fd565b8015610c0b5780601f10610be057610100808354040283529160200191610c0b565b820191906000526020600020905b815481529060010190602001808311610bee57829003601f168201915b5050505050905090565b6000610c2082612785565b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c66826113f0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cce90615002565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cf66127d0565b73ffffffffffffffffffffffffffffffffffffffff161480610d255750610d2481610d1f6127d0565b6124e8565b5b610d64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5b90614f22565b60405180910390fd5b610d6e83836127d8565b505050565b60126020528060005260406000206000915090508054610d92906154fd565b80601f0160208091040260200160405190810160405280929190818152602001828054610dbe906154fd565b8015610e0b5780601f10610de057610100808354040283529160200191610e0b565b820191906000526020600020905b815481529060010190602001808311610dee57829003601f168201915b505050505081565b600f5481565b610e21612707565b8060108190555050565b610e3c610e366127d0565b82612891565b610e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7290615062565b60405180910390fd5b610e86838383612926565b505050565b6000806000600160008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156110215760006040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061102b6129b1565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866110579190615348565b6110619190615317565b90508160000151819350935050509250929050565b61107e612707565b600073ffffffffffffffffffffffffffffffffffffffff16600d60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156110da57600080fd5b600d60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611142573d6000803e3d6000fd5b50565b60166020528060005260406000206000915090508054611164906154fd565b80601f0160208091040260200160405190810160405280929190818152602001828054611190906154fd565b80156111dd5780601f106111b2576101008083540402835291602001916111dd565b820191906000526020600020905b8154815290600101906020018083116111c057829003601f168201915b505050505081565b6002600954141561122b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122290615082565b60405180910390fd5b60026009819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461126b57600080fd5b6002600d60009054906101000a900460ff1660ff1614806112be575061128f61178d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6112c757600080fd5b6112d0336129bb565b6001600981905550565b6112f583838360405180602001604052806000815250611a65565b505050565b60026009541415611340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133790615082565b60405180910390fd5b60026009819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461138057600080fd5b6002600d60009054906101000a900460ff1660ff1614806113d357506113a461178d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6113dc57600080fd5b6113e5816129bb565b600160098190555050565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611499576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149090614fe2565b60405180910390fd5b80915050919050565b60156020528060005260406000206000915090505481565b600d60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b80546114ed906154fd565b80601f0160208091040260200160405190810160405280929190818152602001828054611519906154fd565b80156115665780601f1061153b57610100808354040283529160200191611566565b820191906000526020600020905b81548152906001019060200180831161154957829003601f168201915b505050505081565b600a8060000154905081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e290614ee2565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61163a612707565b6116446000612aca565b565b600c8054611653906154fd565b80601f016020809104026020016040519081016040528092919081815260200182805461167f906154fd565b80156116cc5780601f106116a1576101008083540402835291602001916116cc565b820191906000526020600020905b8154815290600101906020018083116116af57829003601f168201915b505050505081565b6116dc612707565b601160009054906101000a900461ffff1661ffff166116fb600a612b90565b1461170557600080fd5b6001600d60016101000a81548160ff021916908315150217905550565b61172a612707565b601160009054906101000a900461ffff1661ffff168161ffff1610801561175e5750611756600a612b90565b8161ffff1610155b61176757600080fd5b80601160006101000a81548161ffff021916908361ffff16021790555050565b60105481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117bf612707565b80600c90805190602001906117d5929190613df5565b5050565b606060006117f96017600085815260200190815260200160002054612b9e565b905060008060156000868152602001908152602001600020541261182c5760405180602001604052806000815250611863565b6040518060400160405280600181526020017f2d000000000000000000000000000000000000000000000000000000000000008152505b905060008060156000878152602001908152602001600020541261189a5760156000868152602001908152602001600020546118b8565b60156000868152602001908152602001600020546118b7906155ee565b5b90506118c385612bdd565b836119186018600089815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166014612d3e565b611941611924896113f0565b73ffffffffffffffffffffffffffffffffffffffff166014612d3e565b61195d601960008b815260200190815260200160002054612bdd565b8661196787612bdd565b601660008d8152602001908152602001600020604051602001611991989796959493929190614bf0565b6040516020818303038152906040529350505050919050565b6060600380546119b9906154fd565b80601f01602080910402602001604051908101604052809291908181526020018280546119e5906154fd565b8015611a325780601f10611a0757610100808354040283529160200191611a32565b820191906000526020600020905b815481529060010190602001808311611a1557829003601f168201915b5050505050905090565b600d60019054906101000a900460ff1681565b611a61611a5a6127d0565b8383612f7a565b5050565b611a76611a706127d0565b83612891565b611ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aac90615062565b60405180910390fd5b611ac1848484846130e7565b50505050565b600e60009054906101000a90046bffffffffffffffffffffffff1681565b60026009541415611b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2290615082565b60405180910390fd5b60026009819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611b6b57600080fd5b611b74826113f0565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611bdf5750611bb061178d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611c1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1590614f62565b60405180910390fd5b6000808212611c2d5781611c38565b81611c37906155ee565b5b905060105481611c489190615348565b341480611c875750611c5861178d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbd90614f82565b60405180910390fd5b6000826015600086815260200190815260200160002054611ce7919061522d565b9050611cf2846113f0565b73ffffffffffffffffffffffffffffffffffffffff16847f3eac481ac8667ef41f0a589e8c68257d5dd7b770817bac461bf3088a2c0875b18584604051611d3a929190614d80565b60405180910390a3806015600086815260200190815260200160002081905550505060016009819055505050565b611d70612707565b80600d60006101000a81548160ff021916908360ff16021790555050565b611d96612707565b81600d60026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600e60006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550611e34600d60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682613143565b5050565b611e41826113f0565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611eac5750611e7d61178d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee290614f62565b60405180910390fd5b611ef4826113f0565b73ffffffffffffffffffffffffffffffffffffffff16827f0e3077abc267d2df9aa5ed3421bd41cdb4590a93a93c4b166397b201c6440a6c83604051611f3a9190614da9565b60405180910390a380601660008481526020019081526020016000209080519060200190611f69929190613df5565b505050565b611f76612707565b600d60019054906101000a900460ff1615611f9057600080fd5b817f2279332cb203e67ef7d025e2b5297350b388beab7a0cd2201db5d56ab9ea89546012600085815260200190815260200160002083604051611fd4929190614dcb565b60405180910390a280601260008481526020019081526020016000209080519060200190612003929190613df5565b505050565b606061201382612785565b600061201d6132d8565b9050600081511161203d5760405180602001604052806000815250612068565b8061204784612bdd565b604051602001612058929190614b3c565b6040516020818303038152906040525b915050919050565b601160009054906101000a900461ffff1681565b60146020528060005260406000206000915054906101000a900460ff1681565b6120ad816113f0565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061211857506120e961178d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214e90614f62565b60405180910390fd5b612160816113f0565b73ffffffffffffffffffffffffffffffffffffffff16817f0e3077abc267d2df9aa5ed3421bd41cdb4590a93a93c4b166397b201c6440a6c6040516121a490615022565b60405180910390a3604051806020016040528060008152506016600083815260200190815260200160002090805190602001906121e2929190613df5565b5050565b6002600954141561222c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222390615082565b60405180910390fd5b60026009819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461226c57600080fd5b6001600d60009054906101000a900460ff1660ff161461228b57600080fd5b602282148061229a575060b582145b6122a357600080fd5b601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e82620f4240856122f19190615348565b6122fb91906152c1565b6040518263ffffffff1660e01b815260040161231791906150fd565b60206040518083038186803b15801561232f57600080fd5b505afa158015612343573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123679190614077565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461239e57600080fd5b602282141561243f5760006013600083815260200190815260200160002060009054906101000a900460ff1660ff161461240d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240490614f02565b60405180910390fd5b60016013600083815260200190815260200160002060006101000a81548160ff021916908360ff1602179055506124d3565b60006014600083815260200190815260200160002060009054906101000a900460ff1660ff16146124a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249c90614fc2565b60405180910390fd5b60016014600083815260200190815260200160002060006101000a81548160ff021916908360ff1602179055505b6124dc336129bb565b60016009819055505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612584612707565b80600f8190555050565b600d60009054906101000a900460ff1681565b6125a9612707565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612619576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261090614e42565b60405180910390fd5b61262281612aca565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806126f057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061270057506126ff8261336a565b5b9050919050565b61270f6127d0565b73ffffffffffffffffffffffffffffffffffffffff1661272d61178d565b73ffffffffffffffffffffffffffffffffffffffff1614612783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277a90614fa2565b60405180910390fd5b565b61278e816133e4565b6127cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c490614fe2565b60405180910390fd5b50565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661284b836113f0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061289d836113f0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806128df57506128de81856124e8565b5b8061291d57508373ffffffffffffffffffffffffffffffffffffffff1661290584610c15565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b60196000828152602001908152602001600020600081548092919061294a90615560565b9190505550826018600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506129ac838383613450565b505050565b6000612710905090565b600f543414806129fd57506129ce61178d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612a3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3390614f82565b60405180910390fd5b601160009054906101000a900461ffff1661ffff16612a5b600a612b90565b10612a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a92906150a2565b60405180910390fd5b6000612aa7600a612b90565b9050612ab3600a6136b7565b612abc816136cd565b612ac68282613714565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b6060612ba982613732565b612bb6608084901b613732565b604051602001612bc7929190614b60565b6040516020818303038152906040529050919050565b60606000821415612c25576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d39565b600082905060005b60008214612c57578080612c4090615560565b915050600a82612c509190615317565b9150612c2d565b60008167ffffffffffffffff811115612c7357612c726156f3565b5b6040519080825280601f01601f191660200182016040528015612ca55781602001600182028036833780820191505090505b5090505b60008514612d3257600182612cbe91906153a2565b9150600a85612ccd91906155bd565b6030612cd991906152c1565b60f81b818381518110612cef57612cee6156c4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d2b9190615317565b9450612ca9565b8093505050505b919050565b606060006002836002612d519190615348565b612d5b91906152c1565b67ffffffffffffffff811115612d7457612d736156f3565b5b6040519080825280601f01601f191660200182016040528015612da65781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612dde57612ddd6156c4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612e4257612e416156c4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612e829190615348565b612e8c91906152c1565b90505b6001811115612f2c577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612ece57612ecd6156c4565b5b1a60f81b828281518110612ee557612ee46156c4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612f25906154d3565b9050612e8f565b5060008414612f70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6790614e02565b60405180910390fd5b8091505092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fe090614ec2565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516130da9190614d4a565b60405180910390a3505050565b6130f2848484612926565b6130fe84848484613992565b61313d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313490614e22565b60405180910390fd5b50505050565b61314b6129b1565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156131a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a090615042565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613219576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613210906150c2565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6060600b80546132e7906154fd565b80601f0160208091040260200160405190810160405280929190818152602001828054613313906154fd565b80156133605780601f1061333557610100808354040283529160200191613360565b820191906000526020600020905b81548152906001019060200180831161334357829003601f168201915b5050505050905090565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806133dd57506133dc82613b29565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b8273ffffffffffffffffffffffffffffffffffffffff16613470826113f0565b73ffffffffffffffffffffffffffffffffffffffff16146134c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134bd90614e62565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352d90614ea2565b60405180910390fd5b613541838383613b93565b61354c6000826127d8565b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461359c91906153a2565b925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135f391906152c1565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46136b2838383613b98565b505050565b6001816000016000828254019250508190555050565b8043423a6040516020016136e49493929190614b97565b60405160208183030381529060405280519060200120601760008381526020019081526020016000208190555050565b61372e828260405180602001604052806000815250613b9d565b5050565b6000604077ffffffffffffffff0000000000000000000000000000000060001b836fffffffffffffffffffffffffffffffff191616901c7fffffffffffffffff00000000000000000000000000000000000000000000000060001b836fffffffffffffffffffffffffffffffff19161617905060207bffffffff000000000000000000000000ffffffff000000000000000060001b8216901c7fffffffff000000000000000000000000ffffffff00000000000000000000000060001b821617905060107dffff000000000000ffff000000000000ffff000000000000ffff0000000060001b8216901c7fffff000000000000ffff000000000000ffff000000000000ffff00000000000060001b821617905060087eff000000ff000000ff000000ff000000ff000000ff000000ff000000ff000060001b8216901c7fff000000ff000000ff000000ff000000ff000000ff000000ff000000ff00000060001b821617905060087f0f000f000f000f000f000f000f000f000f000f000f000f000f000f000f000f0060001b8216901c60047ff000f000f000f000f000f000f000f000f000f000f000f000f000f000f000f00060001b8316901c17905060077f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f60047f06060606060606060606060606060606060606060606060606060606060606068460001c61394291906152c1565b901c1661394f9190615348565b8160001c7f303030303030303030303030303030303030303030303030303030303030303061397e91906152c1565b61398891906152c1565b60001b9050919050565b60006139b38473ffffffffffffffffffffffffffffffffffffffff16613bf8565b15613b1c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026139dc6127d0565b8786866040518563ffffffff1660e01b81526004016139fe9493929190614cd5565b602060405180830381600087803b158015613a1857600080fd5b505af1925050508015613a4957506040513d601f19601f82011682018060405250810190613a4691906142a7565b60015b613acc573d8060008114613a79576040519150601f19603f3d011682016040523d82523d6000602084013e613a7e565b606091505b50600081511415613ac4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613abb90614e22565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613b21565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b505050565b613ba78383613c1b565b613bb46000848484613992565b613bf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bea90614e22565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c8290614f42565b60405180910390fd5b613c94816133e4565b15613cd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ccb90614e82565b60405180910390fd5b613ce060008383613b93565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613d3091906152c1565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613df160008383613b98565b5050565b828054613e01906154fd565b90600052602060002090601f016020900481019282613e235760008555613e6a565b82601f10613e3c57805160ff1916838001178555613e6a565b82800160010185558215613e6a579182015b82811115613e69578251825591602001919060010190613e4e565b5b509050613e779190613e7b565b5090565b5b80821115613e94576000816000905550600101613e7c565b5090565b6000613eab613ea684615173565b61514e565b905082815260208101848484011115613ec757613ec6615727565b5b613ed2848285615491565b509392505050565b6000613eed613ee8846151a4565b61514e565b905082815260208101848484011115613f0957613f08615727565b5b613f14848285615491565b509392505050565b600081359050613f2b81615dc0565b92915050565b600081519050613f4081615dc0565b92915050565b600081359050613f5581615dd7565b92915050565b600081359050613f6a81615dee565b92915050565b600081519050613f7f81615dee565b92915050565b600082601f830112613f9a57613f99615722565b5b8135613faa848260208601613e98565b91505092915050565b600081359050613fc281615e05565b92915050565b600082601f830112613fdd57613fdc615722565b5b8135613fed848260208601613eda565b91505092915050565b60008135905061400581615e1c565b92915050565b60008135905061401a81615e33565b92915050565b60008135905061402f81615e4a565b92915050565b60008135905061404481615e61565b92915050565b6000602082840312156140605761405f615731565b5b600061406e84828501613f1c565b91505092915050565b60006020828403121561408d5761408c615731565b5b600061409b84828501613f31565b91505092915050565b600080604083850312156140bb576140ba615731565b5b60006140c985828601613f1c565b92505060206140da85828601613f1c565b9150509250929050565b6000806000606084860312156140fd576140fc615731565b5b600061410b86828701613f1c565b935050602061411c86828701613f1c565b925050604061412d8682870161400b565b9150509250925092565b6000806000806080858703121561415157614150615731565b5b600061415f87828801613f1c565b945050602061417087828801613f1c565b93505060406141818782880161400b565b925050606085013567ffffffffffffffff8111156141a2576141a161572c565b5b6141ae87828801613f85565b91505092959194509250565b600080604083850312156141d1576141d0615731565b5b60006141df85828601613f1c565b92505060206141f085828601613f46565b9150509250929050565b6000806040838503121561421157614210615731565b5b600061421f85828601613f1c565b92505060206142308582860161400b565b9150509250929050565b6000806040838503121561425157614250615731565b5b600061425f85828601613f1c565b925050602061427085828601614035565b9150509250929050565b6000602082840312156142905761428f615731565b5b600061429e84828501613f5b565b91505092915050565b6000602082840312156142bd576142bc615731565b5b60006142cb84828501613f70565b91505092915050565b6000602082840312156142ea576142e9615731565b5b600082013567ffffffffffffffff8111156143085761430761572c565b5b61431484828501613fc8565b91505092915050565b60006020828403121561433357614332615731565b5b600061434184828501613ff6565b91505092915050565b6000602082840312156143605761435f615731565b5b600061436e8482850161400b565b91505092915050565b6000806040838503121561438e5761438d615731565b5b600061439c8582860161400b565b92505060206143ad85828601613fb3565b9150509250929050565b600080604083850312156143ce576143cd615731565b5b60006143dc8582860161400b565b925050602083013567ffffffffffffffff8111156143fd576143fc61572c565b5b61440985828601613fc8565b9150509250929050565b6000806040838503121561442a57614429615731565b5b60006144388582860161400b565b92505060206144498582860161400b565b9150509250929050565b60006020828403121561446957614468615731565b5b600061447784828501614020565b91505092915050565b614489816153d6565b82525050565b614498816153e8565b82525050565b6144af6144aa826153f4565b6155a9565b82525050565b60006144c0826151ea565b6144ca8185615200565b93506144da8185602086016154a0565b6144e381615736565b840191505092915050565b6144f78161542a565b82525050565b6000614508826151f5565b6145128185615211565b93506145228185602086016154a0565b61452b81615736565b840191505092915050565b6000614541826151f5565b61454b8185615222565b935061455b8185602086016154a0565b80840191505092915050565b60008154614574816154fd565b61457e8186615211565b9450600182166000811461459957600181146145ab576145de565b60ff19831686526020860193506145de565b6145b4856151d5565b60005b838110156145d6578154818901526001820191506020810190506145b7565b808801955050505b50505092915050565b600081546145f4816154fd565b6145fe8186615222565b94506001821660008114614619576001811461462a5761465d565b60ff1983168652818601935061465d565b614633856151d5565b60005b8381101561465557815481890152600182019150602081019050614636565b838801955050505b50505092915050565b6000614673602083615211565b915061467e82615747565b602082019050919050565b6000614696603283615211565b91506146a182615770565b604082019050919050565b60006146b9602683615211565b91506146c4826157bf565b604082019050919050565b60006146dc602583615211565b91506146e78261580e565b604082019050919050565b60006146ff601383615222565b915061470a8261585d565b601382019050919050565b6000614722601c83615211565b915061472d82615886565b602082019050919050565b6000614745600283615222565b9150614750826158af565b600282019050919050565b6000614768600983615222565b9150614773826158d8565b600982019050919050565b600061478b602483615211565b915061479682615901565b604082019050919050565b60006147ae601983615211565b91506147b982615950565b602082019050919050565b60006147d1601183615222565b91506147dc82615979565b601182019050919050565b60006147f4602983615211565b91506147ff826159a2565b604082019050919050565b6000614817601283615211565b9150614822826159f1565b602082019050919050565b600061483a600283615222565b915061484582615a1a565b600282019050919050565b600061485d603e83615211565b915061486882615a43565b604082019050919050565b6000614880602083615211565b915061488b82615a92565b602082019050919050565b60006148a3600d83615211565b91506148ae82615abb565b602082019050919050565b60006148c6601083615211565b91506148d182615ae4565b602082019050919050565b60006148e9602083615211565b91506148f482615b0d565b602082019050919050565b600061490c601383615211565b915061491782615b36565b602082019050919050565b600061492f601883615211565b915061493a82615b5f565b602082019050919050565b6000614952602183615211565b915061495d82615b88565b604082019050919050565b6000614975601483615222565b915061498082615bd7565b601482019050919050565b6000614998601183615222565b91506149a382615c00565b601182019050919050565b60006149bb600083615211565b91506149c682615c29565b600082019050919050565b60006149de601483615222565b91506149e982615c2c565b601482019050919050565b6000614a01600d83615222565b9150614a0c82615c55565b600d82019050919050565b6000614a24602a83615211565b9150614a2f82615c7e565b604082019050919050565b6000614a47602e83615211565b9150614a5282615ccd565b604082019050919050565b6000614a6a601f83615211565b9150614a7582615d1c565b602082019050919050565b6000614a8d600b83615211565b9150614a9882615d45565b602082019050919050565b6000614ab0601983615211565b9150614abb82615d6e565b602082019050919050565b6000614ad3601383615222565b9150614ade82615d97565b601382019050919050565b614af281615434565b82525050565b614b0181615462565b82525050565b614b18614b1382615462565b6155b3565b82525050565b614b278161546c565b82525050565b614b3681615479565b82525050565b6000614b488285614536565b9150614b548284614536565b91508190509392505050565b6000614b6b82614738565b9150614b77828561449e565b602082019150614b87828461449e565b6020820191508190509392505050565b6000614ba28261475b565b9150614bae8287614b07565b602082019150614bbe8286614b07565b602082019150614bce8285614b07565b602082019150614bde8284614b07565b60208201915081905095945050505050565b6000614bfb826149f4565b9150614c07828b614536565b9150614c12826146f2565b9150614c1e828a614536565b9150614c29826149d1565b9150614c358289614536565b9150614c4082614ac6565b9150614c4c8288614536565b9150614c5782614968565b9150614c638287614536565b9150614c6e8261498b565b9150614c7a8286614536565b9150614c868285614536565b9150614c91826147c4565b9150614c9d82846145e7565b9150614ca88261482d565b91508190509998505050505050505050565b6000602082019050614ccf6000830184614480565b92915050565b6000608082019050614cea6000830187614480565b614cf76020830186614480565b614d046040830185614af8565b8181036060830152614d1681846144b5565b905095945050505050565b6000604082019050614d366000830185614480565b614d436020830184614af8565b9392505050565b6000602082019050614d5f600083018461448f565b92915050565b6000602082019050614d7a60008301846144ee565b92915050565b6000604082019050614d9560008301856144ee565b614da260208301846144ee565b9392505050565b60006020820190508181036000830152614dc381846144fd565b905092915050565b60006040820190508181036000830152614de58185614567565b90508181036020830152614df981846144fd565b90509392505050565b60006020820190508181036000830152614e1b81614666565b9050919050565b60006020820190508181036000830152614e3b81614689565b9050919050565b60006020820190508181036000830152614e5b816146ac565b9050919050565b60006020820190508181036000830152614e7b816146cf565b9050919050565b60006020820190508181036000830152614e9b81614715565b9050919050565b60006020820190508181036000830152614ebb8161477e565b9050919050565b60006020820190508181036000830152614edb816147a1565b9050919050565b60006020820190508181036000830152614efb816147e7565b9050919050565b60006020820190508181036000830152614f1b8161480a565b9050919050565b60006020820190508181036000830152614f3b81614850565b9050919050565b60006020820190508181036000830152614f5b81614873565b9050919050565b60006020820190508181036000830152614f7b81614896565b9050919050565b60006020820190508181036000830152614f9b816148b9565b9050919050565b60006020820190508181036000830152614fbb816148dc565b9050919050565b60006020820190508181036000830152614fdb816148ff565b9050919050565b60006020820190508181036000830152614ffb81614922565b9050919050565b6000602082019050818103600083015261501b81614945565b9050919050565b6000602082019050818103600083015261503b816149ae565b9050919050565b6000602082019050818103600083015261505b81614a17565b9050919050565b6000602082019050818103600083015261507b81614a3a565b9050919050565b6000602082019050818103600083015261509b81614a5d565b9050919050565b600060208201905081810360008301526150bb81614a80565b9050919050565b600060208201905081810360008301526150db81614aa3565b9050919050565b60006020820190506150f76000830184614ae9565b92915050565b60006020820190506151126000830184614af8565b92915050565b600060208201905061512d6000830184614b1e565b92915050565b60006020820190506151486000830184614b2d565b92915050565b6000615158615169565b9050615164828261552f565b919050565b6000604051905090565b600067ffffffffffffffff82111561518e5761518d6156f3565b5b61519782615736565b9050602081019050919050565b600067ffffffffffffffff8211156151bf576151be6156f3565b5b6151c882615736565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006152388261542a565b91506152438361542a565b9250817f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0383136000831215161561527e5761527d615637565b5b817f80000000000000000000000000000000000000000000000000000000000000000383126000831216156152b6576152b5615637565b5b828201905092915050565b60006152cc82615462565b91506152d783615462565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561530c5761530b615637565b5b828201905092915050565b600061532282615462565b915061532d83615462565b92508261533d5761533c615666565b5b828204905092915050565b600061535382615462565b915061535e83615462565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561539757615396615637565b5b828202905092915050565b60006153ad82615462565b91506153b883615462565b9250828210156153cb576153ca615637565b5b828203905092915050565b60006153e182615442565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006bffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b838110156154be5780820151818401526020810190506154a3565b838111156154cd576000848401525b50505050565b60006154de82615462565b915060008214156154f2576154f1615637565b5b600182039050919050565b6000600282049050600182168061551557607f821691505b6020821081141561552957615528615695565b5b50919050565b61553882615736565b810181811067ffffffffffffffff82111715615557576155566156f3565b5b80604052505050565b600061556b82615462565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561559e5761559d615637565b5b600182019050919050565b6000819050919050565b6000819050919050565b60006155c882615462565b91506155d383615462565b9250826155e3576155e2615666565b5b828206905092915050565b60006155f98261542a565b91507f800000000000000000000000000000000000000000000000000000000000000082141561562c5761562b615637565b5b816000039050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f222c22746f6b656e5f656e74726f7079223a2200000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f3078000000000000000000000000000000000000000000000000000000000000600082015250565b7f436861696e6c6966650000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f222c22637573746f6d5f72756c65223a22000000000000000000000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f456e736f20616c726561647920757365642e0000000000000000000000000000600082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f556e617574686f72697a65642e00000000000000000000000000000000000000600082015250565b7f496e636f72726563742076616c75652e00000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f464f43555320616c726561647920757365642e00000000000000000000000000600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f222c227472616e736665725f636f756e74223a22000000000000000000000000600082015250565b7f222c226c6576656c5f7368696674223a22000000000000000000000000000000600082015250565b50565b7f222c2270726576696f75735f6f776e6572223a22000000000000000000000000600082015250565b7f7b22746f6b656e5f6964223a2200000000000000000000000000000000000000600082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f416c6c206d696e7465642e000000000000000000000000000000000000000000600082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b7f222c2263757272656e745f6f776e6572223a2200000000000000000000000000600082015250565b615dc9816153d6565b8114615dd457600080fd5b50565b615de0816153e8565b8114615deb57600080fd5b50565b615df7816153fe565b8114615e0257600080fd5b50565b615e0e8161542a565b8114615e1957600080fd5b50565b615e2581615434565b8114615e3057600080fd5b50565b615e3c81615462565b8114615e4757600080fd5b50565b615e538161546c565b8114615e5e57600080fd5b50565b615e6a81615479565b8114615e7557600080fd5b5056fea2646970667358221220bf3e08816b06949a2df717680a6d0aedfd66f017568a35d1fcc354f8adefa9c764736f6c63430008070033

Deployed Bytecode

0x6080604052600436106102ae5760003560e01c806377b9f9b111610175578063bb0ba35d116100dc578063dc144cd111610095578063e985e9c51161006f578063e985e9c514610a75578063eddd0d9c14610ab2578063f150a04914610adb578063f2fde38b14610b06576102ae565b8063dc144cd1146109f3578063dfeb562614610a30578063e8b95c9d14610a59576102ae565b8063bb0ba35d146108e7578063c21b471b14610910578063c2bb636214610939578063c3e9d08314610962578063c87b56dd1461098b578063d5abeb01146109c8576102ae565b806395d89b411161012e57806395d89b41146107f85780639f9b4cad14610823578063a22cb4651461084e578063b88d4fde14610877578063b9c9d93a146108a0578063bafd81b0146108cb576102ae565b806377b9f9b1146106fc578063863ed3101461071357806388399cdf1461073c5780638da5cb5b1461076757806390c3f38f1461079257806393ae76cf146107bb576102ae565b80633d1010cb11610219578063694d0473116101d2578063694d0473146105fc5780636c0360eb146106275780636de9f32b1461065257806370a082311461067d578063715018a6146106ba5780637284e416146106d1576102ae565b80633d1010cb146104f65780633e36f4c71461053357806342842e0e1461053d578063567018b6146105665780636352211e1461058257806364518f1d146105bf576102ae565b80630d9e23e61161026b5780630d9e23e6146103e757806313966db514610424578063235bfbe81461044f57806323b872dd146104785780632a55205a146104a15780633ccfd60b146104df576102ae565b806301ffc9a7146102b357806302d2312d146102f057806302fe53051461032d57806306fdde0314610356578063081812fc14610381578063095ea7b3146103be575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d5919061427a565b610b2f565b6040516102e79190614d4a565b60405180910390f35b3480156102fc57600080fd5b506103176004803603810190610312919061434a565b610b41565b6040516103249190615118565b60405180910390f35b34801561033957600080fd5b50610354600480360381019061034f91906142d4565b610b61565b005b34801561036257600080fd5b5061036b610b83565b6040516103789190614da9565b60405180910390f35b34801561038d57600080fd5b506103a860048036038101906103a3919061434a565b610c15565b6040516103b59190614cba565b60405180910390f35b3480156103ca57600080fd5b506103e560048036038101906103e091906141fa565b610c5b565b005b3480156103f357600080fd5b5061040e6004803603810190610409919061434a565b610d73565b60405161041b9190614da9565b60405180910390f35b34801561043057600080fd5b50610439610e13565b60405161044691906150fd565b60405180910390f35b34801561045b57600080fd5b506104766004803603810190610471919061434a565b610e19565b005b34801561048457600080fd5b5061049f600480360381019061049a91906140e4565b610e2b565b005b3480156104ad57600080fd5b506104c860048036038101906104c39190614413565b610e8b565b6040516104d6929190614d21565b60405180910390f35b3480156104eb57600080fd5b506104f4611076565b005b34801561050257600080fd5b5061051d6004803603810190610518919061434a565b611145565b60405161052a9190614da9565b60405180910390f35b61053b6111e5565b005b34801561054957600080fd5b50610564600480360381019061055f91906140e4565b6112da565b005b610580600480360381019061057b919061404a565b6112fa565b005b34801561058e57600080fd5b506105a960048036038101906105a4919061434a565b6113f0565b6040516105b69190614cba565b60405180910390f35b3480156105cb57600080fd5b506105e660048036038101906105e1919061434a565b6114a2565b6040516105f39190614d65565b60405180910390f35b34801561060857600080fd5b506106116114ba565b60405161061e9190614cba565b60405180910390f35b34801561063357600080fd5b5061063c6114e0565b6040516106499190614da9565b60405180910390f35b34801561065e57600080fd5b5061066761156e565b60405161067491906150fd565b60405180910390f35b34801561068957600080fd5b506106a4600480360381019061069f919061404a565b61157a565b6040516106b191906150fd565b60405180910390f35b3480156106c657600080fd5b506106cf611632565b005b3480156106dd57600080fd5b506106e6611646565b6040516106f39190614da9565b60405180910390f35b34801561070857600080fd5b506107116116d4565b005b34801561071f57600080fd5b5061073a6004803603810190610735919061431d565b611722565b005b34801561074857600080fd5b50610751611787565b60405161075e91906150fd565b60405180910390f35b34801561077357600080fd5b5061077c61178d565b6040516107899190614cba565b60405180910390f35b34801561079e57600080fd5b506107b960048036038101906107b491906142d4565b6117b7565b005b3480156107c757600080fd5b506107e260048036038101906107dd919061434a565b6117d9565b6040516107ef9190614da9565b60405180910390f35b34801561080457600080fd5b5061080d6119aa565b60405161081a9190614da9565b60405180910390f35b34801561082f57600080fd5b50610838611a3c565b6040516108459190614d4a565b60405180910390f35b34801561085a57600080fd5b50610875600480360381019061087091906141ba565b611a4f565b005b34801561088357600080fd5b5061089e60048036038101906108999190614137565b611a65565b005b3480156108ac57600080fd5b506108b5611ac7565b6040516108c29190615133565b60405180910390f35b6108e560048036038101906108e09190614377565b611ae5565b005b3480156108f357600080fd5b5061090e60048036038101906109099190614453565b611d68565b005b34801561091c57600080fd5b506109376004803603810190610932919061423a565b611d8e565b005b34801561094557600080fd5b50610960600480360381019061095b91906143b7565b611e38565b005b34801561096e57600080fd5b50610989600480360381019061098491906143b7565b611f6e565b005b34801561099757600080fd5b506109b260048036038101906109ad919061434a565b612008565b6040516109bf9190614da9565b60405180910390f35b3480156109d457600080fd5b506109dd612070565b6040516109ea91906150e2565b60405180910390f35b3480156109ff57600080fd5b50610a1a6004803603810190610a15919061434a565b612084565b604051610a279190615118565b60405180910390f35b348015610a3c57600080fd5b50610a576004803603810190610a52919061434a565b6120a4565b005b610a736004803603810190610a6e9190614413565b6121e6565b005b348015610a8157600080fd5b50610a9c6004803603810190610a9791906140a4565b6124e8565b604051610aa99190614d4a565b60405180910390f35b348015610abe57600080fd5b50610ad96004803603810190610ad4919061434a565b61257c565b005b348015610ae757600080fd5b50610af061258e565b604051610afd9190615118565b60405180910390f35b348015610b1257600080fd5b50610b2d6004803603810190610b28919061404a565b6125a1565b005b6000610b3a82612625565b9050919050565b60136020528060005260406000206000915054906101000a900460ff1681565b610b69612707565b80600b9080519060200190610b7f929190613df5565b5050565b606060028054610b92906154fd565b80601f0160208091040260200160405190810160405280929190818152602001828054610bbe906154fd565b8015610c0b5780601f10610be057610100808354040283529160200191610c0b565b820191906000526020600020905b815481529060010190602001808311610bee57829003601f168201915b5050505050905090565b6000610c2082612785565b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c66826113f0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cce90615002565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cf66127d0565b73ffffffffffffffffffffffffffffffffffffffff161480610d255750610d2481610d1f6127d0565b6124e8565b5b610d64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5b90614f22565b60405180910390fd5b610d6e83836127d8565b505050565b60126020528060005260406000206000915090508054610d92906154fd565b80601f0160208091040260200160405190810160405280929190818152602001828054610dbe906154fd565b8015610e0b5780601f10610de057610100808354040283529160200191610e0b565b820191906000526020600020905b815481529060010190602001808311610dee57829003601f168201915b505050505081565b600f5481565b610e21612707565b8060108190555050565b610e3c610e366127d0565b82612891565b610e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7290615062565b60405180910390fd5b610e86838383612926565b505050565b6000806000600160008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156110215760006040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061102b6129b1565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866110579190615348565b6110619190615317565b90508160000151819350935050509250929050565b61107e612707565b600073ffffffffffffffffffffffffffffffffffffffff16600d60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156110da57600080fd5b600d60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611142573d6000803e3d6000fd5b50565b60166020528060005260406000206000915090508054611164906154fd565b80601f0160208091040260200160405190810160405280929190818152602001828054611190906154fd565b80156111dd5780601f106111b2576101008083540402835291602001916111dd565b820191906000526020600020905b8154815290600101906020018083116111c057829003601f168201915b505050505081565b6002600954141561122b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122290615082565b60405180910390fd5b60026009819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461126b57600080fd5b6002600d60009054906101000a900460ff1660ff1614806112be575061128f61178d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6112c757600080fd5b6112d0336129bb565b6001600981905550565b6112f583838360405180602001604052806000815250611a65565b505050565b60026009541415611340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133790615082565b60405180910390fd5b60026009819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461138057600080fd5b6002600d60009054906101000a900460ff1660ff1614806113d357506113a461178d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6113dc57600080fd5b6113e5816129bb565b600160098190555050565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611499576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149090614fe2565b60405180910390fd5b80915050919050565b60156020528060005260406000206000915090505481565b600d60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b80546114ed906154fd565b80601f0160208091040260200160405190810160405280929190818152602001828054611519906154fd565b80156115665780601f1061153b57610100808354040283529160200191611566565b820191906000526020600020905b81548152906001019060200180831161154957829003601f168201915b505050505081565b600a8060000154905081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e290614ee2565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61163a612707565b6116446000612aca565b565b600c8054611653906154fd565b80601f016020809104026020016040519081016040528092919081815260200182805461167f906154fd565b80156116cc5780601f106116a1576101008083540402835291602001916116cc565b820191906000526020600020905b8154815290600101906020018083116116af57829003601f168201915b505050505081565b6116dc612707565b601160009054906101000a900461ffff1661ffff166116fb600a612b90565b1461170557600080fd5b6001600d60016101000a81548160ff021916908315150217905550565b61172a612707565b601160009054906101000a900461ffff1661ffff168161ffff1610801561175e5750611756600a612b90565b8161ffff1610155b61176757600080fd5b80601160006101000a81548161ffff021916908361ffff16021790555050565b60105481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117bf612707565b80600c90805190602001906117d5929190613df5565b5050565b606060006117f96017600085815260200190815260200160002054612b9e565b905060008060156000868152602001908152602001600020541261182c5760405180602001604052806000815250611863565b6040518060400160405280600181526020017f2d000000000000000000000000000000000000000000000000000000000000008152505b905060008060156000878152602001908152602001600020541261189a5760156000868152602001908152602001600020546118b8565b60156000868152602001908152602001600020546118b7906155ee565b5b90506118c385612bdd565b836119186018600089815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166014612d3e565b611941611924896113f0565b73ffffffffffffffffffffffffffffffffffffffff166014612d3e565b61195d601960008b815260200190815260200160002054612bdd565b8661196787612bdd565b601660008d8152602001908152602001600020604051602001611991989796959493929190614bf0565b6040516020818303038152906040529350505050919050565b6060600380546119b9906154fd565b80601f01602080910402602001604051908101604052809291908181526020018280546119e5906154fd565b8015611a325780601f10611a0757610100808354040283529160200191611a32565b820191906000526020600020905b815481529060010190602001808311611a1557829003601f168201915b5050505050905090565b600d60019054906101000a900460ff1681565b611a61611a5a6127d0565b8383612f7a565b5050565b611a76611a706127d0565b83612891565b611ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aac90615062565b60405180910390fd5b611ac1848484846130e7565b50505050565b600e60009054906101000a90046bffffffffffffffffffffffff1681565b60026009541415611b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2290615082565b60405180910390fd5b60026009819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611b6b57600080fd5b611b74826113f0565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611bdf5750611bb061178d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611c1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1590614f62565b60405180910390fd5b6000808212611c2d5781611c38565b81611c37906155ee565b5b905060105481611c489190615348565b341480611c875750611c5861178d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbd90614f82565b60405180910390fd5b6000826015600086815260200190815260200160002054611ce7919061522d565b9050611cf2846113f0565b73ffffffffffffffffffffffffffffffffffffffff16847f3eac481ac8667ef41f0a589e8c68257d5dd7b770817bac461bf3088a2c0875b18584604051611d3a929190614d80565b60405180910390a3806015600086815260200190815260200160002081905550505060016009819055505050565b611d70612707565b80600d60006101000a81548160ff021916908360ff16021790555050565b611d96612707565b81600d60026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600e60006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550611e34600d60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682613143565b5050565b611e41826113f0565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611eac5750611e7d61178d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee290614f62565b60405180910390fd5b611ef4826113f0565b73ffffffffffffffffffffffffffffffffffffffff16827f0e3077abc267d2df9aa5ed3421bd41cdb4590a93a93c4b166397b201c6440a6c83604051611f3a9190614da9565b60405180910390a380601660008481526020019081526020016000209080519060200190611f69929190613df5565b505050565b611f76612707565b600d60019054906101000a900460ff1615611f9057600080fd5b817f2279332cb203e67ef7d025e2b5297350b388beab7a0cd2201db5d56ab9ea89546012600085815260200190815260200160002083604051611fd4929190614dcb565b60405180910390a280601260008481526020019081526020016000209080519060200190612003929190613df5565b505050565b606061201382612785565b600061201d6132d8565b9050600081511161203d5760405180602001604052806000815250612068565b8061204784612bdd565b604051602001612058929190614b3c565b6040516020818303038152906040525b915050919050565b601160009054906101000a900461ffff1681565b60146020528060005260406000206000915054906101000a900460ff1681565b6120ad816113f0565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061211857506120e961178d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214e90614f62565b60405180910390fd5b612160816113f0565b73ffffffffffffffffffffffffffffffffffffffff16817f0e3077abc267d2df9aa5ed3421bd41cdb4590a93a93c4b166397b201c6440a6c6040516121a490615022565b60405180910390a3604051806020016040528060008152506016600083815260200190815260200160002090805190602001906121e2929190613df5565b5050565b6002600954141561222c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222390615082565b60405180910390fd5b60026009819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461226c57600080fd5b6001600d60009054906101000a900460ff1660ff161461228b57600080fd5b602282148061229a575060b582145b6122a357600080fd5b601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e82620f4240856122f19190615348565b6122fb91906152c1565b6040518263ffffffff1660e01b815260040161231791906150fd565b60206040518083038186803b15801561232f57600080fd5b505afa158015612343573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123679190614077565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461239e57600080fd5b602282141561243f5760006013600083815260200190815260200160002060009054906101000a900460ff1660ff161461240d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240490614f02565b60405180910390fd5b60016013600083815260200190815260200160002060006101000a81548160ff021916908360ff1602179055506124d3565b60006014600083815260200190815260200160002060009054906101000a900460ff1660ff16146124a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249c90614fc2565b60405180910390fd5b60016014600083815260200190815260200160002060006101000a81548160ff021916908360ff1602179055505b6124dc336129bb565b60016009819055505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612584612707565b80600f8190555050565b600d60009054906101000a900460ff1681565b6125a9612707565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612619576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261090614e42565b60405180910390fd5b61262281612aca565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806126f057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061270057506126ff8261336a565b5b9050919050565b61270f6127d0565b73ffffffffffffffffffffffffffffffffffffffff1661272d61178d565b73ffffffffffffffffffffffffffffffffffffffff1614612783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277a90614fa2565b60405180910390fd5b565b61278e816133e4565b6127cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c490614fe2565b60405180910390fd5b50565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661284b836113f0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061289d836113f0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806128df57506128de81856124e8565b5b8061291d57508373ffffffffffffffffffffffffffffffffffffffff1661290584610c15565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b60196000828152602001908152602001600020600081548092919061294a90615560565b9190505550826018600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506129ac838383613450565b505050565b6000612710905090565b600f543414806129fd57506129ce61178d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612a3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3390614f82565b60405180910390fd5b601160009054906101000a900461ffff1661ffff16612a5b600a612b90565b10612a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a92906150a2565b60405180910390fd5b6000612aa7600a612b90565b9050612ab3600a6136b7565b612abc816136cd565b612ac68282613714565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b6060612ba982613732565b612bb6608084901b613732565b604051602001612bc7929190614b60565b6040516020818303038152906040529050919050565b60606000821415612c25576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d39565b600082905060005b60008214612c57578080612c4090615560565b915050600a82612c509190615317565b9150612c2d565b60008167ffffffffffffffff811115612c7357612c726156f3565b5b6040519080825280601f01601f191660200182016040528015612ca55781602001600182028036833780820191505090505b5090505b60008514612d3257600182612cbe91906153a2565b9150600a85612ccd91906155bd565b6030612cd991906152c1565b60f81b818381518110612cef57612cee6156c4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d2b9190615317565b9450612ca9565b8093505050505b919050565b606060006002836002612d519190615348565b612d5b91906152c1565b67ffffffffffffffff811115612d7457612d736156f3565b5b6040519080825280601f01601f191660200182016040528015612da65781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612dde57612ddd6156c4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612e4257612e416156c4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612e829190615348565b612e8c91906152c1565b90505b6001811115612f2c577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612ece57612ecd6156c4565b5b1a60f81b828281518110612ee557612ee46156c4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612f25906154d3565b9050612e8f565b5060008414612f70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6790614e02565b60405180910390fd5b8091505092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fe090614ec2565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516130da9190614d4a565b60405180910390a3505050565b6130f2848484612926565b6130fe84848484613992565b61313d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313490614e22565b60405180910390fd5b50505050565b61314b6129b1565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156131a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a090615042565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613219576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613210906150c2565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6060600b80546132e7906154fd565b80601f0160208091040260200160405190810160405280929190818152602001828054613313906154fd565b80156133605780601f1061333557610100808354040283529160200191613360565b820191906000526020600020905b81548152906001019060200180831161334357829003601f168201915b5050505050905090565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806133dd57506133dc82613b29565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b8273ffffffffffffffffffffffffffffffffffffffff16613470826113f0565b73ffffffffffffffffffffffffffffffffffffffff16146134c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134bd90614e62565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352d90614ea2565b60405180910390fd5b613541838383613b93565b61354c6000826127d8565b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461359c91906153a2565b925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135f391906152c1565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46136b2838383613b98565b505050565b6001816000016000828254019250508190555050565b8043423a6040516020016136e49493929190614b97565b60405160208183030381529060405280519060200120601760008381526020019081526020016000208190555050565b61372e828260405180602001604052806000815250613b9d565b5050565b6000604077ffffffffffffffff0000000000000000000000000000000060001b836fffffffffffffffffffffffffffffffff191616901c7fffffffffffffffff00000000000000000000000000000000000000000000000060001b836fffffffffffffffffffffffffffffffff19161617905060207bffffffff000000000000000000000000ffffffff000000000000000060001b8216901c7fffffffff000000000000000000000000ffffffff00000000000000000000000060001b821617905060107dffff000000000000ffff000000000000ffff000000000000ffff0000000060001b8216901c7fffff000000000000ffff000000000000ffff000000000000ffff00000000000060001b821617905060087eff000000ff000000ff000000ff000000ff000000ff000000ff000000ff000060001b8216901c7fff000000ff000000ff000000ff000000ff000000ff000000ff000000ff00000060001b821617905060087f0f000f000f000f000f000f000f000f000f000f000f000f000f000f000f000f0060001b8216901c60047ff000f000f000f000f000f000f000f000f000f000f000f000f000f000f000f00060001b8316901c17905060077f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f60047f06060606060606060606060606060606060606060606060606060606060606068460001c61394291906152c1565b901c1661394f9190615348565b8160001c7f303030303030303030303030303030303030303030303030303030303030303061397e91906152c1565b61398891906152c1565b60001b9050919050565b60006139b38473ffffffffffffffffffffffffffffffffffffffff16613bf8565b15613b1c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026139dc6127d0565b8786866040518563ffffffff1660e01b81526004016139fe9493929190614cd5565b602060405180830381600087803b158015613a1857600080fd5b505af1925050508015613a4957506040513d601f19601f82011682018060405250810190613a4691906142a7565b60015b613acc573d8060008114613a79576040519150601f19603f3d011682016040523d82523d6000602084013e613a7e565b606091505b50600081511415613ac4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613abb90614e22565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613b21565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b505050565b613ba78383613c1b565b613bb46000848484613992565b613bf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bea90614e22565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c8290614f42565b60405180910390fd5b613c94816133e4565b15613cd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ccb90614e82565b60405180910390fd5b613ce060008383613b93565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613d3091906152c1565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613df160008383613b98565b5050565b828054613e01906154fd565b90600052602060002090601f016020900481019282613e235760008555613e6a565b82601f10613e3c57805160ff1916838001178555613e6a565b82800160010185558215613e6a579182015b82811115613e69578251825591602001919060010190613e4e565b5b509050613e779190613e7b565b5090565b5b80821115613e94576000816000905550600101613e7c565b5090565b6000613eab613ea684615173565b61514e565b905082815260208101848484011115613ec757613ec6615727565b5b613ed2848285615491565b509392505050565b6000613eed613ee8846151a4565b61514e565b905082815260208101848484011115613f0957613f08615727565b5b613f14848285615491565b509392505050565b600081359050613f2b81615dc0565b92915050565b600081519050613f4081615dc0565b92915050565b600081359050613f5581615dd7565b92915050565b600081359050613f6a81615dee565b92915050565b600081519050613f7f81615dee565b92915050565b600082601f830112613f9a57613f99615722565b5b8135613faa848260208601613e98565b91505092915050565b600081359050613fc281615e05565b92915050565b600082601f830112613fdd57613fdc615722565b5b8135613fed848260208601613eda565b91505092915050565b60008135905061400581615e1c565b92915050565b60008135905061401a81615e33565b92915050565b60008135905061402f81615e4a565b92915050565b60008135905061404481615e61565b92915050565b6000602082840312156140605761405f615731565b5b600061406e84828501613f1c565b91505092915050565b60006020828403121561408d5761408c615731565b5b600061409b84828501613f31565b91505092915050565b600080604083850312156140bb576140ba615731565b5b60006140c985828601613f1c565b92505060206140da85828601613f1c565b9150509250929050565b6000806000606084860312156140fd576140fc615731565b5b600061410b86828701613f1c565b935050602061411c86828701613f1c565b925050604061412d8682870161400b565b9150509250925092565b6000806000806080858703121561415157614150615731565b5b600061415f87828801613f1c565b945050602061417087828801613f1c565b93505060406141818782880161400b565b925050606085013567ffffffffffffffff8111156141a2576141a161572c565b5b6141ae87828801613f85565b91505092959194509250565b600080604083850312156141d1576141d0615731565b5b60006141df85828601613f1c565b92505060206141f085828601613f46565b9150509250929050565b6000806040838503121561421157614210615731565b5b600061421f85828601613f1c565b92505060206142308582860161400b565b9150509250929050565b6000806040838503121561425157614250615731565b5b600061425f85828601613f1c565b925050602061427085828601614035565b9150509250929050565b6000602082840312156142905761428f615731565b5b600061429e84828501613f5b565b91505092915050565b6000602082840312156142bd576142bc615731565b5b60006142cb84828501613f70565b91505092915050565b6000602082840312156142ea576142e9615731565b5b600082013567ffffffffffffffff8111156143085761430761572c565b5b61431484828501613fc8565b91505092915050565b60006020828403121561433357614332615731565b5b600061434184828501613ff6565b91505092915050565b6000602082840312156143605761435f615731565b5b600061436e8482850161400b565b91505092915050565b6000806040838503121561438e5761438d615731565b5b600061439c8582860161400b565b92505060206143ad85828601613fb3565b9150509250929050565b600080604083850312156143ce576143cd615731565b5b60006143dc8582860161400b565b925050602083013567ffffffffffffffff8111156143fd576143fc61572c565b5b61440985828601613fc8565b9150509250929050565b6000806040838503121561442a57614429615731565b5b60006144388582860161400b565b92505060206144498582860161400b565b9150509250929050565b60006020828403121561446957614468615731565b5b600061447784828501614020565b91505092915050565b614489816153d6565b82525050565b614498816153e8565b82525050565b6144af6144aa826153f4565b6155a9565b82525050565b60006144c0826151ea565b6144ca8185615200565b93506144da8185602086016154a0565b6144e381615736565b840191505092915050565b6144f78161542a565b82525050565b6000614508826151f5565b6145128185615211565b93506145228185602086016154a0565b61452b81615736565b840191505092915050565b6000614541826151f5565b61454b8185615222565b935061455b8185602086016154a0565b80840191505092915050565b60008154614574816154fd565b61457e8186615211565b9450600182166000811461459957600181146145ab576145de565b60ff19831686526020860193506145de565b6145b4856151d5565b60005b838110156145d6578154818901526001820191506020810190506145b7565b808801955050505b50505092915050565b600081546145f4816154fd565b6145fe8186615222565b94506001821660008114614619576001811461462a5761465d565b60ff1983168652818601935061465d565b614633856151d5565b60005b8381101561465557815481890152600182019150602081019050614636565b838801955050505b50505092915050565b6000614673602083615211565b915061467e82615747565b602082019050919050565b6000614696603283615211565b91506146a182615770565b604082019050919050565b60006146b9602683615211565b91506146c4826157bf565b604082019050919050565b60006146dc602583615211565b91506146e78261580e565b604082019050919050565b60006146ff601383615222565b915061470a8261585d565b601382019050919050565b6000614722601c83615211565b915061472d82615886565b602082019050919050565b6000614745600283615222565b9150614750826158af565b600282019050919050565b6000614768600983615222565b9150614773826158d8565b600982019050919050565b600061478b602483615211565b915061479682615901565b604082019050919050565b60006147ae601983615211565b91506147b982615950565b602082019050919050565b60006147d1601183615222565b91506147dc82615979565b601182019050919050565b60006147f4602983615211565b91506147ff826159a2565b604082019050919050565b6000614817601283615211565b9150614822826159f1565b602082019050919050565b600061483a600283615222565b915061484582615a1a565b600282019050919050565b600061485d603e83615211565b915061486882615a43565b604082019050919050565b6000614880602083615211565b915061488b82615a92565b602082019050919050565b60006148a3600d83615211565b91506148ae82615abb565b602082019050919050565b60006148c6601083615211565b91506148d182615ae4565b602082019050919050565b60006148e9602083615211565b91506148f482615b0d565b602082019050919050565b600061490c601383615211565b915061491782615b36565b602082019050919050565b600061492f601883615211565b915061493a82615b5f565b602082019050919050565b6000614952602183615211565b915061495d82615b88565b604082019050919050565b6000614975601483615222565b915061498082615bd7565b601482019050919050565b6000614998601183615222565b91506149a382615c00565b601182019050919050565b60006149bb600083615211565b91506149c682615c29565b600082019050919050565b60006149de601483615222565b91506149e982615c2c565b601482019050919050565b6000614a01600d83615222565b9150614a0c82615c55565b600d82019050919050565b6000614a24602a83615211565b9150614a2f82615c7e565b604082019050919050565b6000614a47602e83615211565b9150614a5282615ccd565b604082019050919050565b6000614a6a601f83615211565b9150614a7582615d1c565b602082019050919050565b6000614a8d600b83615211565b9150614a9882615d45565b602082019050919050565b6000614ab0601983615211565b9150614abb82615d6e565b602082019050919050565b6000614ad3601383615222565b9150614ade82615d97565b601382019050919050565b614af281615434565b82525050565b614b0181615462565b82525050565b614b18614b1382615462565b6155b3565b82525050565b614b278161546c565b82525050565b614b3681615479565b82525050565b6000614b488285614536565b9150614b548284614536565b91508190509392505050565b6000614b6b82614738565b9150614b77828561449e565b602082019150614b87828461449e565b6020820191508190509392505050565b6000614ba28261475b565b9150614bae8287614b07565b602082019150614bbe8286614b07565b602082019150614bce8285614b07565b602082019150614bde8284614b07565b60208201915081905095945050505050565b6000614bfb826149f4565b9150614c07828b614536565b9150614c12826146f2565b9150614c1e828a614536565b9150614c29826149d1565b9150614c358289614536565b9150614c4082614ac6565b9150614c4c8288614536565b9150614c5782614968565b9150614c638287614536565b9150614c6e8261498b565b9150614c7a8286614536565b9150614c868285614536565b9150614c91826147c4565b9150614c9d82846145e7565b9150614ca88261482d565b91508190509998505050505050505050565b6000602082019050614ccf6000830184614480565b92915050565b6000608082019050614cea6000830187614480565b614cf76020830186614480565b614d046040830185614af8565b8181036060830152614d1681846144b5565b905095945050505050565b6000604082019050614d366000830185614480565b614d436020830184614af8565b9392505050565b6000602082019050614d5f600083018461448f565b92915050565b6000602082019050614d7a60008301846144ee565b92915050565b6000604082019050614d9560008301856144ee565b614da260208301846144ee565b9392505050565b60006020820190508181036000830152614dc381846144fd565b905092915050565b60006040820190508181036000830152614de58185614567565b90508181036020830152614df981846144fd565b90509392505050565b60006020820190508181036000830152614e1b81614666565b9050919050565b60006020820190508181036000830152614e3b81614689565b9050919050565b60006020820190508181036000830152614e5b816146ac565b9050919050565b60006020820190508181036000830152614e7b816146cf565b9050919050565b60006020820190508181036000830152614e9b81614715565b9050919050565b60006020820190508181036000830152614ebb8161477e565b9050919050565b60006020820190508181036000830152614edb816147a1565b9050919050565b60006020820190508181036000830152614efb816147e7565b9050919050565b60006020820190508181036000830152614f1b8161480a565b9050919050565b60006020820190508181036000830152614f3b81614850565b9050919050565b60006020820190508181036000830152614f5b81614873565b9050919050565b60006020820190508181036000830152614f7b81614896565b9050919050565b60006020820190508181036000830152614f9b816148b9565b9050919050565b60006020820190508181036000830152614fbb816148dc565b9050919050565b60006020820190508181036000830152614fdb816148ff565b9050919050565b60006020820190508181036000830152614ffb81614922565b9050919050565b6000602082019050818103600083015261501b81614945565b9050919050565b6000602082019050818103600083015261503b816149ae565b9050919050565b6000602082019050818103600083015261505b81614a17565b9050919050565b6000602082019050818103600083015261507b81614a3a565b9050919050565b6000602082019050818103600083015261509b81614a5d565b9050919050565b600060208201905081810360008301526150bb81614a80565b9050919050565b600060208201905081810360008301526150db81614aa3565b9050919050565b60006020820190506150f76000830184614ae9565b92915050565b60006020820190506151126000830184614af8565b92915050565b600060208201905061512d6000830184614b1e565b92915050565b60006020820190506151486000830184614b2d565b92915050565b6000615158615169565b9050615164828261552f565b919050565b6000604051905090565b600067ffffffffffffffff82111561518e5761518d6156f3565b5b61519782615736565b9050602081019050919050565b600067ffffffffffffffff8211156151bf576151be6156f3565b5b6151c882615736565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006152388261542a565b91506152438361542a565b9250817f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0383136000831215161561527e5761527d615637565b5b817f80000000000000000000000000000000000000000000000000000000000000000383126000831216156152b6576152b5615637565b5b828201905092915050565b60006152cc82615462565b91506152d783615462565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561530c5761530b615637565b5b828201905092915050565b600061532282615462565b915061532d83615462565b92508261533d5761533c615666565b5b828204905092915050565b600061535382615462565b915061535e83615462565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561539757615396615637565b5b828202905092915050565b60006153ad82615462565b91506153b883615462565b9250828210156153cb576153ca615637565b5b828203905092915050565b60006153e182615442565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006bffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b838110156154be5780820151818401526020810190506154a3565b838111156154cd576000848401525b50505050565b60006154de82615462565b915060008214156154f2576154f1615637565b5b600182039050919050565b6000600282049050600182168061551557607f821691505b6020821081141561552957615528615695565b5b50919050565b61553882615736565b810181811067ffffffffffffffff82111715615557576155566156f3565b5b80604052505050565b600061556b82615462565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561559e5761559d615637565b5b600182019050919050565b6000819050919050565b6000819050919050565b60006155c882615462565b91506155d383615462565b9250826155e3576155e2615666565b5b828206905092915050565b60006155f98261542a565b91507f800000000000000000000000000000000000000000000000000000000000000082141561562c5761562b615637565b5b816000039050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f222c22746f6b656e5f656e74726f7079223a2200000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f3078000000000000000000000000000000000000000000000000000000000000600082015250565b7f436861696e6c6966650000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f222c22637573746f6d5f72756c65223a22000000000000000000000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f456e736f20616c726561647920757365642e0000000000000000000000000000600082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f556e617574686f72697a65642e00000000000000000000000000000000000000600082015250565b7f496e636f72726563742076616c75652e00000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f464f43555320616c726561647920757365642e00000000000000000000000000600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f222c227472616e736665725f636f756e74223a22000000000000000000000000600082015250565b7f222c226c6576656c5f7368696674223a22000000000000000000000000000000600082015250565b50565b7f222c2270726576696f75735f6f776e6572223a22000000000000000000000000600082015250565b7f7b22746f6b656e5f6964223a2200000000000000000000000000000000000000600082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f416c6c206d696e7465642e000000000000000000000000000000000000000000600082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b7f222c2263757272656e745f6f776e6572223a2200000000000000000000000000600082015250565b615dc9816153d6565b8114615dd457600080fd5b50565b615de0816153e8565b8114615deb57600080fd5b50565b615df7816153fe565b8114615e0257600080fd5b50565b615e0e8161542a565b8114615e1957600080fd5b50565b615e2581615434565b8114615e3057600080fd5b50565b615e3c81615462565b8114615e4757600080fd5b50565b615e538161546c565b8114615e5e57600080fd5b50565b615e6a81615479565b8114615e7557600080fd5b5056fea2646970667358221220bf3e08816b06949a2df717680a6d0aedfd66f017568a35d1fcc354f8adefa9c764736f6c63430008070033

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.