Token EllerianHeroes

 

Overview ERC-721

Total Supply:
0 EllerianHeroes

Holders:
1,836 addresses

Transfers:
-

Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
EllerianHero

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
byzantium EvmVersion
File 1 of 14 : EllerianHero.sol
pragma solidity ^0.8.0;
//SPDX-License-Identifier: UNLICENSED

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./interfaces/IEllerianHeroUpgradeable.sol";
import "./interfaces/IVRFHelper.sol";
import "./interfaces/IHeroBridge.sol";

// Interface for Whitelist Verifier using Merkle Tree
contract IWhitelistVerifier {
  function verify(bytes32 leaf, bytes32[] memory proof) external view returns (bool) {}
} 

contract ITokenUriHelper {
  function GetTokenUri(uint256 _tokenId) external view returns (string memory) {}
  function GetClassName(uint256 _class) external view returns (string memory) {}
}




/** 
 * Tales of Elleria
*/
contract EllerianHero is ERC721 {


  uint256 private currentSupply;  // Keeps track of the current supply.
  bool private globalMintOpened;  // Can minting happen?

  // Variables to make the pre-sales go smoothly. 
  // Mint will be locked on deployment, and needs to be manually enabled by the owner.
  mapping (address => bool) private isWhitelisted;
  mapping (address => uint256) private presalesMinted;
  bool private requiresWhitelist;
  bool private presalesMintOpened;
  uint256 private mintCostInWEI;
  uint256 private maximumMintable;
  uint256 private maximumMintsPerWallet;

  // We define the initial minimum stats for minting.
  // Caters for different 'banners', for expansion, and for different options in the future.
  uint256[][] private minStats = [
  [0, 0, 0, 0, 0, 0],
  [20, 1, 10, 1, 1, 1],
  [10, 20, 1, 1, 1, 1],
  [1, 1, 1, 1, 20, 10],
  [20, 10, 1, 1, 1, 1]];

  // We define the initial maximum stats for minting.
  // Maximum stats cannot be adjusted after a class is added.
  uint256[][] private maxStats = [
  [0, 0, 0, 0, 0, 0],
  [100, 75, 90, 80, 50, 50],
  [90, 100, 75, 50, 50, 80],
  [50, 80, 50, 75, 100, 90],
  [100, 90, 75, 50, 50, 80]];

  // Keeps track of the main and secondary stats for each class.
  uint256[] private mainStatIndex = [ 0, 0, 1, 4, 0 ];
  uint256[] private subStatIndex = [ 0, 2, 0, 5, 1 ];

  // Keeps track of the possibilities of minting each class,
  // Can be adjusted for each banner during minting events, after presales, etc.
  // or to introduce legendary characters, exclusive banners, etc.
  uint256[][] private classPossibilities = [[0, 2500, 5000, 7500, 10000], 
  [0, 7000, 8000, 9000, 10000], [0, 1000, 2000, 3000, 10000]];

  uint256[] private maximumMintsForClass = [0, 0, 0, 0, 0]; // Allows certain classes to have a maximum mint cap for rarity.
  mapping(uint256 => uint256) private currentMintsForClass; // Keeps track of the number of mints.

  // Keeps track of admin addresses.
  mapping (address => bool) private _approvedAddresses;

  address private ownerAddress;             // The contract owner's address.
  address private tokenMinterAddress;       // Reference to the NFT's minting logic.

  IEllerianHeroUpgradeable upgradeableAbi;  // Reference to the NFT's upgrade logic.
  IVRFHelper vrfAbi;                        // Reference to the Randomizer.
  IWhitelistVerifier verifierAbi;           // Reference to the Whitelist
  ITokenUriHelper uriAbi;                   // Reference to the tokenUri handler.
  IHeroBridge bridgeAbi;                    // Reference to the ERC721 bridge.

  constructor() 
    ERC721("EllerianHeroes", "EllerianHeroes") {
      ownerAddress = msg.sender;
    }
    
    function _onlyOwner() private view {
      require(msg.sender == ownerAddress, "O");
    }

    modifier onlyOwner() {
      _onlyOwner();
      _;
    }


  /**
    * Returns the number of global remaining mints.
    */
  function GetRemainingMints() external view returns (uint256) {
    return maximumMintable - currentSupply;
  }

  /**
    * Returns the number of remaining wallet mints.
  */
  function GetRemainingPresalesMints() external view returns (uint256) {
    if ( presalesMinted[msg.sender] >= maximumMintsPerWallet)
      return 0;
      
    return maximumMintsPerWallet - presalesMinted[msg.sender];
  }
  
  /*
  * Custom tokenURI to allow for customisability.
  * Returns imageUri, 
  * str, agi, vit, end, int, wil, 
  * totalAttr, class name, summonedTime,
  * level
  * 
  */
  function tokenURI(uint256 tokenId) public view override returns (string memory) {
    return uriAbi.GetTokenUri(tokenId);
  }

  /**
    * Allows the ownership of the contract to be transferred to a safer multi-sig wallet once deployed.
    */ 
  function TransferOwnership(address _newOwner) external onlyOwner {
    require(_newOwner != address(0));
    ownerAddress = _newOwner;
  }

  /**
    * Allows presales minting variables to be adjusted.
    */
  function SetMintable(bool _presalesOpened, uint256 _newMintCostInWEI, uint256 _maxMints,  bool _requireWhitelist, uint256 _max) external onlyOwner {
    presalesMintOpened = _presalesOpened;
    requiresWhitelist = _requireWhitelist;
    mintCostInWEI = _newMintCostInWEI;
    maximumMintable = _max;
    maximumMintsPerWallet = _maxMints;
    globalMintOpened = false; // Locks the mint in case of accidents. To be manually enabled again.
  }

  /**
    * Allows the owner to add new classes. 
    * When a new class is added, minting will automatically be locked.
    */
  function AddNewClass(uint256[6] memory _new_class_min, uint256[6] memory _new_class_max, uint256 _main_stat, uint256 _sub_stat, uint256[][] memory _classPossibilities, uint256[] memory _maximumClassMints) external onlyOwner {
    minStats.push(_new_class_min);
    maxStats.push(_new_class_max);
    mainStatIndex.push(_main_stat);
    subStatIndex.push(_sub_stat);
    UpdateClassPossibilities(_classPossibilities, _maximumClassMints);
    globalMintOpened = false; // Locks the mint in case of accidents. Remember to re-open!
  }

  /*
   * Allows the owner to block or allow minting.
   */
  function SetGlobalMint(bool _allow) external onlyOwner {
    globalMintOpened = _allow;
  }

  /*
   * Allows the owner to modify the possibilities for getting different classes, as well as impose a limit on different classes.
   *  Classes 1-4 (the OG ones) are exempted from the limit.
   */
  function UpdateClassPossibilities(uint256[][] memory _classPossibilities, uint256[] memory _maximumClassMint) public onlyOwner {
    for (uint256 i = 0; i < _classPossibilities.length; i++) {
      require(_classPossibilities[i].length == maxStats.length, "12");
    }
    
    require(_maximumClassMint.length == maxStats.length, "12");
    classPossibilities = _classPossibilities;
    maximumMintsForClass = _maximumClassMint;
  }
 
  /*
   * Allows the owner to modify minimum stats for different events if necessary.
   */
  function SetRandomStatMinimums(uint256[][] memory _newMinStats) external onlyOwner {
    require(minStats.length == _newMinStats.length);
    minStats = _newMinStats;
  }

  /*
   * Link with other contracts necessary for this to function.
   */
  function SetAddresses(address _upgradeableAddr, address _tokenMinterAddr, address _vrfAddr, address _verifierAddr, address _uriAddr) external onlyOwner {
    tokenMinterAddress = _tokenMinterAddr;

    upgradeableAbi = IEllerianHeroUpgradeable(_upgradeableAddr);
    vrfAbi = IVRFHelper(_vrfAddr);
    verifierAbi = IWhitelistVerifier(_verifierAddr);
    uriAbi = ITokenUriHelper(_uriAddr);
  }

  /**
    * Allows approval of certain contracts
    * for transfers. (bridge, marketplace, staking)
    */
  function SetApprovedAddress(address _address, bool _allowed) public onlyOwner {
      _approvedAddresses[_address] = _allowed;
  }   

  /**
  *  Allows batch minting of Heroes! (for presales only).
  */
  function mintPresales (address _owner, uint256 _amount, uint256 _variant, bytes32[] memory _proof) public payable {
      require (currentSupply + _amount < maximumMintable + 1, "8");
      require (tx.origin == msg.sender, "9");
      require (msg.sender == _owner, "9");
      require (globalMintOpened, "20");
      require (presalesMintOpened, "11");
      require (presalesMinted[msg.sender] + _amount < maximumMintsPerWallet + 1, "39");
      require (msg.value == mintCostInWEI * _amount, "19");

      if (requiresWhitelist) {
        require (verifierAbi.verify(keccak256(abi.encode(_owner)), _proof), "13");
      }
      
      presalesMinted[msg.sender] = presalesMinted[msg.sender] + _amount;

      for (uint256 a = 0; a < _amount; a++) {
          uint256 id = currentSupply;
          _safeMint(msg.sender, id);
          _processMintedToken(id, _variant);
      }
  }

  /**
  * Allows the minting of NFTs using tokens.
  * This function must be called by a delegated minter contract.
  */
  function mintUsingToken(address _recipient, uint256 _amount, uint256 _variant) public {
    require (currentSupply + _amount < maximumMintable + 1, "8");
    require(tokenMinterAddress == msg.sender, "15");
    require (globalMintOpened, "20");

    for (uint256 a = 0; a < _amount; a++) {
          uint256 id = currentSupply;
          _safeMint(_recipient, id);
          _processMintedToken(id, _variant);
    }
  }
  
  /*
  * Allows the owner to airdrop NFTs for distributions/rewards/team.
  * Cannot airdrop exceeding maximum supply!
  */ 
  function airdrop (address _to, uint256 _amount, uint256 _variant) public onlyOwner {
    require( currentSupply + _amount < maximumMintable + 1, "8");
    for (uint256 a = 0; a < _amount; a++) {
        uint256 id = currentSupply;
        _safeMint(_to, id);
        _processMintedToken(id, _variant);
    }
  }

  function safeTransferFrom (address _from, address _to, uint256 _tokenId) public override {
    safeTransferFrom(_from, _to, _tokenId, "");
  }

  /* 
   * Do not allow transfers to non approved addresses.
   */
  function safeTransferFrom (address _from, address _to, uint256 _tokenId, bytes memory _data) public override {
    require(_isApprovedOrOwner(_msgSender(), _tokenId), "SFF");
    require(!upgradeableAbi.IsStaked(_tokenId), "41");

    if (_approvedAddresses[_from] || _approvedAddresses[_to]) {
    } else if (_to != address(0)) {
      // Reset experience for non-exempted addresses.
      upgradeableAbi.ResetHeroExperience(_tokenId, 0);
    }

    _safeTransfer(_from, _to, _tokenId, _data);
  }

  /* 
   * Allows burning and approval check for heroes.
   */
  function burn (uint256 _tokenId, bool _isBurnt) public {
    require(_isApprovedOrOwner(_msgSender(), _tokenId), "22");
    if (_isBurnt) {
      _burn(_tokenId);
    }
  }

  /* 
   * Allows the withdrawal of presale funds into the owner's wallet.
   * For fund allocation, refer to the whitepaper.
   */
  function withdraw() public onlyOwner {
    (bool success, ) = (msg.sender).call{value:address(this).balance}("");
    require(success, "2");
  }

  /* 
   * Internal function to generate stats. 
   * Owner must have enabled global minting.
   */
  function _processMintedToken(uint256 id, uint256 _variant) internal {

    uint256 randomClass = _getClass(id, _variant); // Base Classes = 1: Warrior, 2: Assassin, 3: Mage, 4: Ranger
    if (randomClass > 4 && (currentMintsForClass[randomClass] > maximumMintsForClass[randomClass])) {
      randomClass = (vrfAbi.GetVRF(id) % 4) + 1; 
    }

    uint256[6] memory placeholderStats = [uint256(0), 0, 0, 0, 0, 0];

    for (uint256 b = 0; b < 6; b++) {
      placeholderStats[b] = (vrfAbi.GetVRF(id * randomClass * b) % (maxStats[randomClass][b] - minStats[randomClass][b] + 1)) + minStats[randomClass][b];
    }
    
    upgradeableAbi.initHero(id, placeholderStats[0], placeholderStats[1], placeholderStats[2],
    placeholderStats[3],placeholderStats[4],placeholderStats[5],
    placeholderStats[0] + placeholderStats[1] + placeholderStats[2] + placeholderStats[3] + placeholderStats[4] + placeholderStats[5],
    randomClass);

    ++currentSupply;
    ++currentMintsForClass[randomClass];
  }

  /* 
   * Random function to allow weighted randomness for classes.
   * Will kick in when legendary/rare characters are introduced further into the game.
   */
  function _getClass(uint256 _seed, uint256 _variant) internal view returns (uint256) {
    uint256 classRandom = vrfAbi.GetVRF(_seed) % 10000;
    for (uint256 i = 0; i < classPossibilities[_variant].length; i++) {
      if (classRandom < classPossibilities[_variant][i])
        return i;
      }

      return classPossibilities[_variant].length - 1;
  }
}

File 2 of 14 : IVRFHelper.sol
pragma solidity ^0.8.0;
//SPDX-License-Identifier: MIT

// Interface for the randomizer.
contract IVRFHelper {
    function GetVRF(uint256) external view returns (uint256) {}
}

File 3 of 14 : IHeroBridge.sol
pragma solidity ^0.8.0;
//SPDX-License-Identifier: UNLICENSED

// Interface for Elleria's Heroes.
contract IHeroBridge {
  function GetOwnerOfTokenId(uint256 _tokenId) external view returns (address) {}
}

File 4 of 14 : IEllerianHeroUpgradeable.sol
pragma solidity ^0.8.0;
//SPDX-License-Identifier: MIT

// Interface for upgradeable logic.
contract IEllerianHeroUpgradeable {

    function GetHeroDetails(uint256 _tokenId) external view returns (uint256[9] memory) {}
    function GetHeroClass(uint256 _tokenId) external view returns (uint256) {}
    function GetHeroLevel(uint256 _tokenId) external view returns (uint256) {}
    function GetHeroName(uint256 _tokenId) external view returns (string memory) {}
    function GetHeroExperience(uint256 _tokenId) external view returns (uint256[2] memory) {}
    function GetAttributeRarity(uint256 _tokenId) external view returns (uint256) {}

    function GetUpgradeCost(uint256 _level) external view returns (uint256[2] memory) {}
    function GetUpgradeCostFromTokenId(uint256 _tokenId) public view returns (uint256[2] memory) {}

    function ResetHeroExperience(uint256 _tokenId, uint256 _exp) external {}
    function UpdateHeroExperience(uint256 _tokenId, uint256 _exp) external {}

    function SetHeroLevel (uint256 _tokenId, uint256 _level) external {}
    function SetNameChangeFee(uint256 _feeInWEI) external {}
    function SetHeroName(uint256 _tokenId, string memory _name) public {}

    function SynchronizeHero (bytes memory _signature, uint256[] memory _data) external {}
    function IsStaked(uint256 _tokenId) external view returns (bool) {}
    function Stake(uint256 _tokenId) external {}
    function Unstake(uint256 _tokenId) external {}

    function initHero(uint256 _tokenId, uint256 _str, uint256 _agi, uint256 _vit, uint256 _end, uint256 _intel, uint256 _will, uint256 _total, uint256 _class) external {}

    function AttemptHeroUpgrade(address sender, uint256 tokenId, uint256 goldAmountInEther, uint256 tokenAmountInEther) public {}
}

File 5 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 6 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 7 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

File 8 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 9 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

        (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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 10 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 11 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 12 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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`, 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 be 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

File 13 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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: balance query for the zero address");
        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: owner query for nonexistent token");
        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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        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 overriden 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 owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        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: transfer caller is not 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: transfer caller is not 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) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, 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);
    }

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

    /**
     * @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 of token that is not own");
        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);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {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 a {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 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 {
                    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 {}
}

File 14 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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[6]","name":"_new_class_min","type":"uint256[6]"},{"internalType":"uint256[6]","name":"_new_class_max","type":"uint256[6]"},{"internalType":"uint256","name":"_main_stat","type":"uint256"},{"internalType":"uint256","name":"_sub_stat","type":"uint256"},{"internalType":"uint256[][]","name":"_classPossibilities","type":"uint256[][]"},{"internalType":"uint256[]","name":"_maximumClassMints","type":"uint256[]"}],"name":"AddNewClass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"GetRemainingMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GetRemainingPresalesMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_upgradeableAddr","type":"address"},{"internalType":"address","name":"_tokenMinterAddr","type":"address"},{"internalType":"address","name":"_vrfAddr","type":"address"},{"internalType":"address","name":"_verifierAddr","type":"address"},{"internalType":"address","name":"_uriAddr","type":"address"}],"name":"SetAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_allowed","type":"bool"}],"name":"SetApprovedAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_allow","type":"bool"}],"name":"SetGlobalMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_presalesOpened","type":"bool"},{"internalType":"uint256","name":"_newMintCostInWEI","type":"uint256"},{"internalType":"uint256","name":"_maxMints","type":"uint256"},{"internalType":"bool","name":"_requireWhitelist","type":"bool"},{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"SetMintable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[][]","name":"_newMinStats","type":"uint256[][]"}],"name":"SetRandomStatMinimums","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"TransferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[][]","name":"_classPossibilities","type":"uint256[][]"},{"internalType":"uint256[]","name":"_maximumClassMint","type":"uint256[]"}],"name":"UpdateClassPossibilities","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_variant","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bool","name":"_isBurnt","type":"bool"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","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":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_variant","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"mintPresales","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_variant","type":"uint256"}],"name":"mintUsingToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":[{"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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526040518060a001604052806040518060c00160405280600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff1681525081526020016040518060c00160405280601460ff168152602001600160ff168152602001600a60ff168152602001600160ff168152602001600160ff168152602001600160ff1681525081526020016040518060c00160405280600a60ff168152602001601460ff168152602001600160ff168152602001600160ff168152602001600160ff168152602001600160ff1681525081526020016040518060c00160405280600160ff168152602001600160ff168152602001600160ff168152602001600160ff168152602001601460ff168152602001600a60ff1681525081526020016040518060c00160405280601460ff168152602001600a60ff168152602001600160ff168152602001600160ff168152602001600160ff168152602001600160ff16815250815250600e90600562000191929190620005f6565b506040518060a001604052806040518060c00160405280600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff1681525081526020016040518060c00160405280606460ff168152602001604b60ff168152602001605a60ff168152602001605060ff168152602001603260ff168152602001603260ff1681525081526020016040518060c00160405280605a60ff168152602001606460ff168152602001604b60ff168152602001603260ff168152602001603260ff168152602001605060ff1681525081526020016040518060c00160405280603260ff168152602001605060ff168152602001603260ff168152602001604b60ff168152602001606460ff168152602001605a60ff1681525081526020016040518060c00160405280606460ff168152602001605a60ff168152602001604b60ff168152602001603260ff168152602001603260ff168152602001605060ff16815250815250600f9060056200031f929190620005f6565b506040518060a00160405280600060ff168152602001600060ff168152602001600160ff168152602001600460ff168152602001600060ff1681525060109060056200036d92919062000658565b506040518060a00160405280600060ff168152602001600260ff168152602001600060ff168152602001600560ff168152602001600160ff168152506011906005620003bb92919062000658565b5060405180606001604052806040518060a00160405280600061ffff1681526020016109c461ffff16815260200161138861ffff168152602001611d4c61ffff16815260200161271061ffff1681525081526020016040518060a00160405280600061ffff168152602001611b5861ffff168152602001611f4061ffff16815260200161232861ffff16815260200161271061ffff1681525081526020016040518060a00160405280600061ffff1681526020016103e861ffff1681526020016107d061ffff168152602001610bb861ffff16815260200161271061ffff168152508152506012906003620004b2929190620006af565b506040518060a00160405280600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff1681525060139060056200050092919062000658565b503480156200050e57600080fd5b506040518060400160405280600e81526020017f456c6c657269616e4865726f65730000000000000000000000000000000000008152506040518060400160405280600e81526020017f456c6c657269616e4865726f657300000000000000000000000000000000000081525081600090805190602001906200059392919062000711565b508060019080519060200190620005ac92919062000711565b50505033601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000920565b82805482825590600052602060002090810192821562000645579160200282015b82811115620006445782518290600662000633929190620007a2565b509160200191906001019062000617565b5b509050620006549190620007f9565b5090565b8280548282559060005260206000209081019282156200069c579160200282015b828111156200069b578251829060ff1690559160200191906001019062000679565b5b509050620006ab919062000821565b5090565b828054828255906000526020600020908101928215620006fe579160200282015b82811115620006fd57825182906005620006ec92919062000840565b5091602001919060010190620006d0565b5b5090506200070d9190620007f9565b5090565b8280546200071f90620008bb565b90600052602060002090601f0160209004810192826200074357600085556200078f565b82601f106200075e57805160ff19168380011785556200078f565b828001600101855582156200078f579182015b828111156200078e57825182559160200191906001019062000771565b5b5090506200079e919062000821565b5090565b828054828255906000526020600020908101928215620007e6579160200282015b82811115620007e5578251829060ff16905591602001919060010190620007c3565b5b509050620007f5919062000821565b5090565b5b808211156200081d576000818162000813919062000898565b50600101620007fa565b5090565b5b808211156200083c57600081600090555060010162000822565b5090565b82805482825590600052602060002090810192821562000885579160200282015b8281111562000884578251829061ffff1690559160200191906001019062000861565b5b50905062000894919062000821565b5090565b5080546000825590600052602060002090810190620008b8919062000821565b50565b60006002820490506001821680620008d457607f821691505b60208210811415620008eb57620008ea620008f1565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61559d80620009306000396000f3fe6080604052600436106101d4576000357c01000000000000000000000000000000000000000000000000000000009004806395d89b4111610109578063cfaaa266116100a7578063e285e8a311610081578063e285e8a3146105fe578063e74853f314610627578063e82f51f714610650578063e985e9c514610679576101d4565b8063cfaaa26614610583578063d9930688146105ac578063e1bc2967146105d5576101d4565b8063a22cb465116100e3578063a22cb465146104c9578063b88d4fde146104f2578063c0a7f6471461051b578063c87b56dd14610546576101d4565b806395d89b411461044c5780639fac68cb14610477578063a10c70a2146104a0576101d4565b806335940852116101765780635904e236116101505780635904e2361461038d5780636352211e146103a957806370a08231146103e65780638f5e0c4f14610423576101d4565b806335940852146103245780633ccfd60b1461034d57806342842e0e14610364576101d4565b8063095ea7b3116101b2578063095ea7b31461027e5780630d56e688146102a757806312ee4668146102d057806323b872dd146102fb576101d4565b806301ffc9a7146101d957806306fdde0314610216578063081812fc14610241575b600080fd5b3480156101e557600080fd5b5061020060048036038101906101fb919061403b565b6106b6565b60405161020d9190614b70565b60405180910390f35b34801561022257600080fd5b5061022b610798565b6040516102389190614bbb565b60405180910390f35b34801561024d57600080fd5b50610268600480360381019061026391906140ce565b61082a565b6040516102759190614b09565b60405180910390f35b34801561028a57600080fd5b506102a560048036038101906102a09190613d01565b6108af565b005b3480156102b357600080fd5b506102ce60048036038101906102c99190613e07565b6109c7565b005b3480156102dc57600080fd5b506102e56109fb565b6040516102f29190614f3d565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d9190613bfb565b610aa1565b005b34801561033057600080fd5b5061034b60048036038101906103469190613eb4565b610b01565b005b34801561035957600080fd5b50610362610bf6565b005b34801561037057600080fd5b5061038b60048036038101906103869190613bfb565b610cc4565b005b6103a760048036038101906103a29190613d8c565b610ce4565b005b3480156103b557600080fd5b506103d060048036038101906103cb91906140ce565b6111b7565b6040516103dd9190614b09565b60405180910390f35b3480156103f257600080fd5b5061040d60048036038101906104089190613b1f565b611269565b60405161041a9190614f3d565b60405180910390f35b34801561042f57600080fd5b5061044a60048036038101906104459190613d3d565b611321565b005b34801561045857600080fd5b5061046161149d565b60405161046e9190614bbb565b60405180910390f35b34801561048357600080fd5b5061049e60048036038101906104999190614120565b61152f565b005b3480156104ac57600080fd5b506104c760048036038101906104c29190613b84565b611593565b005b3480156104d557600080fd5b506104f060048036038101906104eb9190613cc5565b6116e7565b005b3480156104fe57600080fd5b5061051960048036038101906105149190613c4a565b6116fd565b005b34801561052757600080fd5b506105306119f3565b60405161053d9190614f3d565b60405180910390f35b34801561055257600080fd5b5061056d600480360381019061056891906140ce565b611a0a565b60405161057a9190614bbb565b60405180910390f35b34801561058f57600080fd5b506105aa60048036038101906105a59190613b1f565b611adf565b005b3480156105b857600080fd5b506105d360048036038101906105ce9190613fc4565b611b65565b005b3480156105e157600080fd5b506105fc60048036038101906105f79190613d3d565b611bd8565b005b34801561060a57600080fd5b5061062560048036038101906106209190613cc5565b611c7d565b005b34801561063357600080fd5b5061064e60048036038101906106499190613e48565b611ce0565b005b34801561065c57600080fd5b5061067760048036038101906106729190613f72565b611e0a565b005b34801561068557600080fd5b506106a0600480360381019061069b9190613b48565b611e2f565b6040516106ad9190614b70565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061078157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610791575061079082611ec3565b5b9050919050565b6060600080546107a79061537b565b80601f01602080910402602001604051908101604052809291908181526020018280546107d39061537b565b80156108205780601f106107f557610100808354040283529160200191610820565b820191906000526020600020905b81548152906001019060200180831161080357829003601f168201915b5050505050905090565b600061083582611f2d565b610874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086b90614dfd565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108ba826111b7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561092b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092290614e7d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661094a611f99565b73ffffffffffffffffffffffffffffffffffffffff161480610979575061097881610973611f99565b611e2f565b5b6109b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109af90614cfd565b60405180910390fd5b6109c28383611fa1565b505050565b6109cf61205a565b8051600e80549050146109e157600080fd5b80600e90805190602001906109f792919061360e565b5050565b6000600d54600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610a4e5760009050610a9e565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d54610a9b9190615275565b90505b90565b610ab2610aac611f99565b826120ec565b610af1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae890614ebd565b60405180910390fd5b610afc8383836121ca565b505050565b610b0961205a565b600e8690806001815401808255809150506001900390600052602060002001600090919091909150906006610b3f92919061366e565b50600f8590806001815401808255809150506001900390600052602060002001600090919091909150906006610b7692919061366e565b5060108490806001815401808255809150506001900390600052602060002001600090919091909150556011839080600181540180825580915050600190039060005260206000200160009091909190915055610bd38282611ce0565b6000600760006101000a81548160ff021916908315150217905550505050505050565b610bfe61205a565b60003373ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1631604051610c3b90614af4565b60006040518083038185875af1925050503d8060008114610c78576040519150601f19603f3d011682016040523d82523d6000602084013e610c7d565b606091505b5050905080610cc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb890614e5d565b60405180910390fd5b50565b610cdf838383604051806020016040528060008152506116fd565b505050565b6001600c54610cf391906151c5565b83600654610d0191906151c5565b10610d41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3890614f1d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610daf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da690614edd565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1490614edd565b60405180910390fd5b600760009054906101000a900460ff16610e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6390614d1d565b60405180910390fd5b600a60019054906101000a900460ff16610ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb290614d7d565b60405180910390fd5b6001600d54610eca91906151c5565b83600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f1591906151c5565b10610f55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4c90614c3d565b60405180910390fd5b82600b54610f63919061521b565b3414610fa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9b90614e1d565b60405180910390fd5b600a60009054906101000a900460ff16156110e857601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636df4d241856040516020016110089190614b09565b60405160208183030381529060405280519060200120836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611058929190614b8b565b60206040518083038186803b15801561107057600080fd5b505afa158015611084573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a89190613f9b565b6110e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110de90614d9d565b60405180910390fd5b5b82600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461113391906151c5565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b838110156111b057600060065490506111923382612426565b61119c8185612444565b5080806111a8906153ad565b915050611179565b5050505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125790614d5d565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d190614d3d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6001600c5461133091906151c5565b8260065461133e91906151c5565b1061137e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137590614f1d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461140e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140590614bdd565b60405180910390fd5b600760009054906101000a900460ff1661145d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145490614d1d565b60405180910390fd5b60005b8281101561149757600060065490506114798582612426565b6114838184612444565b50808061148f906153ad565b915050611460565b50505050565b6060600180546114ac9061537b565b80601f01602080910402602001604051908101604052809291908181526020018280546114d89061537b565b80156115255780601f106114fa57610100808354040283529160200191611525565b820191906000526020600020905b81548152906001019060200180831161150857829003601f168201915b5050505050905090565b61154061153a611f99565b836120ec565b61157f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157690614efd565b60405180910390fd5b801561158f5761158e82612cef565b5b5050565b61159b61205a565b83601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084601860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050565b6116f96116f2611f99565b8383612e00565b5050565b61170e611708611f99565b836120ec565b61174d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174490614cbd565b60405180910390fd5b601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166397ca1042836040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016117c49190614f3d565b60206040518083038186803b1580156117dc57600080fd5b505afa1580156117f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118149190613f9b565b15611854576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184b90614cdd565b60405180910390fd5b601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806118f55750601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156118ff576119e1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146119e057601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636897fbe88360006040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016119ad929190614f58565b600060405180830381600087803b1580156119c757600080fd5b505af11580156119db573d6000803e3d6000fd5b505050505b5b6119ed84848484612f6d565b50505050565b6000600654600c54611a059190615275565b905090565b6060601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e5ec00fa836040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611a839190614f3d565b60006040518083038186803b158015611a9b57600080fd5b505afa158015611aaf573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611ad8919061408d565b9050919050565b611ae761205a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b2157600080fd5b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611b6d61205a565b84600a60016101000a81548160ff02191690831515021790555081600a60006101000a81548160ff02191690831515021790555083600b8190555080600c8190555082600d819055506000600760006101000a81548160ff0219169083151502179055505050505050565b611be061205a565b6001600c54611bef91906151c5565b82600654611bfd91906151c5565b10611c3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3490614f1d565b60405180910390fd5b60005b82811015611c775760006006549050611c598582612426565b611c638184612444565b508080611c6f906153ad565b915050611c40565b50505050565b611c8561205a565b80601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b611ce861205a565b60005b8251811015611d8f57600f80549050838281518110611d33577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101515114611d7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7390614dbd565b60405180910390fd5b8080611d87906153ad565b915050611ceb565b50600f80549050815114611dd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dcf90614dbd565b60405180910390fd5b8160129080519060200190611dee92919061360e565b508060139080519060200190611e059291906136bb565b505050565b611e1261205a565b80600760006101000a81548160ff02191690831515021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612014836111b7565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146120ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e190614e9d565b60405180910390fd5b565b60006120f782611f2d565b612136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212d90614c9d565b60405180910390fd5b6000612141836111b7565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806121b057508373ffffffffffffffffffffffffffffffffffffffff166121988461082a565b73ffffffffffffffffffffffffffffffffffffffff16145b806121c157506121c08185611e2f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121ea826111b7565b73ffffffffffffffffffffffffffffffffffffffff1614612240576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223790614e3d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a790614c5d565b60405180910390fd5b6122bb838383612fc9565b6122c6600082611fa1565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123169190615275565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461236d91906151c5565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612440828260405180602001604052806000815250612fce565b5050565b60006124508383613029565b90506004811180156124b8575060138181548110612497577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001546014600083815260200190815260200160002054115b1561259f5760016004601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e59606f4866040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016125389190614f3d565b60206040518083038186803b15801561255057600080fd5b505afa158015612564573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061258891906140f7565b61259291906153f6565b61259c91906151c5565b90505b60006040518060c0016040528060008152602001600081526020016000815260200160008152602001600081526020016000815250905060005b60068110156128d357600e838154811061261c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001818154811061265e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001546001600e85815481106126a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200183815481106126e7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154600f868154811061272c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001848154811061276e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001546127839190615275565b61278d91906151c5565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e59606f484878a6127d8919061521b565b6127e2919061521b565b6040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040161281a9190614f3d565b60206040518083038186803b15801561283257600080fd5b505afa158015612846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061286a91906140f7565b61287491906153f6565b61287e91906151c5565b8282600681106128b7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201818152505080806128cb906153ad565b9150506125d9565b50601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166332eb9f86858360006006811061294d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201518460016006811061298c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151856002600681106129cb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015186600360068110612a0a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015187600460068110612a49577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015188600560068110612a88577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015189600560068110612ac7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201518a600460068110612b06577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201518b600360068110612b45577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201518c600260068110612b84577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201518d600160068110612bc3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201518e600060068110612c02577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151612c1191906151c5565b612c1b91906151c5565b612c2591906151c5565b612c2f91906151c5565b612c3991906151c5565b8b6040518a63ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401612c7a99989796959493929190614f81565b600060405180830381600087803b158015612c9457600080fd5b505af1158015612ca8573d6000803e3d6000fd5b50505050600660008154612cbb906153ad565b919050819055506014600083815260200190815260200160002060008154612ce2906153ad565b9190508190555050505050565b6000612cfa826111b7565b9050612d0881600084612fc9565b612d13600083611fa1565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d639190615275565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e6690614c7d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612f609190614b70565b60405180910390a3505050565b612f788484846121ca565b612f848484848461325e565b612fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fba90614bfd565b60405180910390fd5b50505050565b505050565b612fd8838361342d565b612fe5600084848461325e565b613024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301b90614bfd565b60405180910390fd5b505050565b600080612710601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e59606f4866040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016130a69190614f3d565b60206040518083038186803b1580156130be57600080fd5b505afa1580156130d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130f691906140f7565b61310091906153f6565b905060005b6012848154811061313f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001805490508110156131ff576012848154811061318e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181815481106131d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001548210156131ec578092505050613258565b80806131f7906153ad565b915050613105565b5060016012848154811061323c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001805490506132549190615275565b9150505b92915050565b600061327f8473ffffffffffffffffffffffffffffffffffffffff166135fb565b15613420578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132a8611f99565b8786866040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016132e69493929190614b24565b602060405180830381600087803b15801561330057600080fd5b505af192505050801561333157506040513d601f19601f8201168201806040525081019061332e9190614064565b60015b6133b4573d8060008114613361576040519150601f19603f3d011682016040523d82523d6000602084013e613366565b606091505b506000815114156133ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133a390614bfd565b60405180910390fd5b805181602001fd5b63150b7a027c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613425565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561349d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349490614ddd565b60405180910390fd5b6134a681611f2d565b156134e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134dd90614c1d565b60405180910390fd5b6134f260008383612fc9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461354291906151c5565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805482825590600052602060002090810192821561365d579160200282015b8281111561365c57825182908051906020019061364c9291906136bb565b509160200191906001019061362e565b5b50905061366a9190613708565b5090565b8280548282559060005260206000209081019282156136aa579160200282015b828111156136a957825182559160200191906001019061368e565b5b5090506136b7919061372c565b5090565b8280548282559060005260206000209081019282156136f7579160200282015b828111156136f65782518255916020019190600101906136db565b5b509050613704919061372c565b5090565b5b80821115613728576000818161371f9190613749565b50600101613709565b5090565b5b8082111561374557600081600090555060010161372d565b5090565b5080546000825590600052602060002090810190613767919061372c565b50565b600061377d6137788461503f565b61500e565b9050808382526020820190508260005b858110156137bd57813585016137a38882613a0e565b84526020840193506020830192505060018101905061378d565b5050509392505050565b60006137da6137d58461506b565b61500e565b905080838252602082019050828560208602820111156137f957600080fd5b60005b85811015613829578161380f8882613a62565b8452602084019350602083019250506001810190506137fc565b5050509392505050565b600061384661384184615097565b61500e565b9050808285602086028201111561385c57600080fd5b60005b8581101561388c57816138728882613af5565b84526020840193506020830192505060018101905061385f565b5050509392505050565b60006138a96138a4846150bd565b61500e565b905080838252602082019050828560208602820111156138c857600080fd5b60005b858110156138f857816138de8882613af5565b8452602084019350602083019250506001810190506138cb565b5050509392505050565b6000613915613910846150e9565b61500e565b90508281526020810184848401111561392d57600080fd5b613938848285615339565b509392505050565b600061395361394e84615119565b61500e565b90508281526020810184848401111561396b57600080fd5b613976848285615348565b509392505050565b60008135905061398d816154f4565b92915050565b600082601f8301126139a457600080fd5b81356139b484826020860161376a565b91505092915050565b600082601f8301126139ce57600080fd5b81356139de8482602086016137c7565b91505092915050565b600082601f8301126139f857600080fd5b6006613a05848285613833565b91505092915050565b600082601f830112613a1f57600080fd5b8135613a2f848260208601613896565b91505092915050565b600081359050613a478161550b565b92915050565b600081519050613a5c8161550b565b92915050565b600081359050613a7181615522565b92915050565b600081359050613a8681615539565b92915050565b600081519050613a9b81615539565b92915050565b600082601f830112613ab257600080fd5b8135613ac2848260208601613902565b91505092915050565b600082601f830112613adc57600080fd5b8151613aec848260208601613940565b91505092915050565b600081359050613b0481615550565b92915050565b600081519050613b1981615550565b92915050565b600060208284031215613b3157600080fd5b6000613b3f8482850161397e565b91505092915050565b60008060408385031215613b5b57600080fd5b6000613b698582860161397e565b9250506020613b7a8582860161397e565b9150509250929050565b600080600080600060a08688031215613b9c57600080fd5b6000613baa8882890161397e565b9550506020613bbb8882890161397e565b9450506040613bcc8882890161397e565b9350506060613bdd8882890161397e565b9250506080613bee8882890161397e565b9150509295509295909350565b600080600060608486031215613c1057600080fd5b6000613c1e8682870161397e565b9350506020613c2f8682870161397e565b9250506040613c4086828701613af5565b9150509250925092565b60008060008060808587031215613c6057600080fd5b6000613c6e8782880161397e565b9450506020613c7f8782880161397e565b9350506040613c9087828801613af5565b925050606085013567ffffffffffffffff811115613cad57600080fd5b613cb987828801613aa1565b91505092959194509250565b60008060408385031215613cd857600080fd5b6000613ce68582860161397e565b9250506020613cf785828601613a38565b9150509250929050565b60008060408385031215613d1457600080fd5b6000613d228582860161397e565b9250506020613d3385828601613af5565b9150509250929050565b600080600060608486031215613d5257600080fd5b6000613d608682870161397e565b9350506020613d7186828701613af5565b9250506040613d8286828701613af5565b9150509250925092565b60008060008060808587031215613da257600080fd5b6000613db08782880161397e565b9450506020613dc187828801613af5565b9350506040613dd287828801613af5565b925050606085013567ffffffffffffffff811115613def57600080fd5b613dfb878288016139bd565b91505092959194509250565b600060208284031215613e1957600080fd5b600082013567ffffffffffffffff811115613e3357600080fd5b613e3f84828501613993565b91505092915050565b60008060408385031215613e5b57600080fd5b600083013567ffffffffffffffff811115613e7557600080fd5b613e8185828601613993565b925050602083013567ffffffffffffffff811115613e9e57600080fd5b613eaa85828601613a0e565b9150509250929050565b6000806000806000806102008789031215613ece57600080fd5b6000613edc89828a016139e7565b96505060c0613eed89828a016139e7565b955050610180613eff89828a01613af5565b9450506101a0613f1189828a01613af5565b9350506101c087013567ffffffffffffffff811115613f2f57600080fd5b613f3b89828a01613993565b9250506101e087013567ffffffffffffffff811115613f5957600080fd5b613f6589828a01613a0e565b9150509295509295509295565b600060208284031215613f8457600080fd5b6000613f9284828501613a38565b91505092915050565b600060208284031215613fad57600080fd5b6000613fbb84828501613a4d565b91505092915050565b600080600080600060a08688031215613fdc57600080fd5b6000613fea88828901613a38565b9550506020613ffb88828901613af5565b945050604061400c88828901613af5565b935050606061401d88828901613a38565b925050608061402e88828901613af5565b9150509295509295909350565b60006020828403121561404d57600080fd5b600061405b84828501613a77565b91505092915050565b60006020828403121561407657600080fd5b600061408484828501613a8c565b91505092915050565b60006020828403121561409f57600080fd5b600082015167ffffffffffffffff8111156140b957600080fd5b6140c584828501613acb565b91505092915050565b6000602082840312156140e057600080fd5b60006140ee84828501613af5565b91505092915050565b60006020828403121561410957600080fd5b600061411784828501613b0a565b91505092915050565b6000806040838503121561413357600080fd5b600061414185828601613af5565b925050602061415285828601613a38565b9150509250929050565b600061416883836141f0565b60208301905092915050565b61417d816152a9565b82525050565b600061418e82615159565b6141988185615187565b93506141a383615149565b8060005b838110156141d45781516141bb888261415c565b97506141c68361517a565b9250506001810190506141a7565b5085935050505092915050565b6141ea816152bb565b82525050565b6141f9816152c7565b82525050565b614208816152c7565b82525050565b600061421982615164565b6142238185615198565b9350614233818560208601615348565b61423c816154e3565b840191505092915050565b61425081615327565b82525050565b60006142618261516f565b61426b81856151b4565b935061427b818560208601615348565b614284816154e3565b840191505092915050565b600061429c6002836151b4565b91507f31350000000000000000000000000000000000000000000000000000000000006000830152602082019050919050565b60006142dc6032836151b4565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614342601c836151b4565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006143826002836151b4565b91507f33390000000000000000000000000000000000000000000000000000000000006000830152602082019050919050565b60006143c26024836151b4565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006144286019836151b4565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614468602c836151b4565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006144ce6003836151b4565b91507f53464600000000000000000000000000000000000000000000000000000000006000830152602082019050919050565b600061450e6002836151b4565b91507f34310000000000000000000000000000000000000000000000000000000000006000830152602082019050919050565b600061454e6038836151b4565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006145b46002836151b4565b91507f32300000000000000000000000000000000000000000000000000000000000006000830152602082019050919050565b60006145f4602a836151b4565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061465a6029836151b4565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006146c06002836151b4565b91507f31310000000000000000000000000000000000000000000000000000000000006000830152602082019050919050565b60006147006002836151b4565b91507f31330000000000000000000000000000000000000000000000000000000000006000830152602082019050919050565b60006147406002836151b4565b91507f31320000000000000000000000000000000000000000000000000000000000006000830152602082019050919050565b60006147806020836151b4565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006147c0602c836151b4565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006148266002836151b4565b91507f31390000000000000000000000000000000000000000000000000000000000006000830152602082019050919050565b60006148666029836151b4565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006148cc6001836151b4565b91507f32000000000000000000000000000000000000000000000000000000000000006000830152602082019050919050565b600061490c6021836151b4565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006149726000836151a9565b9150600082019050919050565b600061498c6001836151b4565b91507f4f000000000000000000000000000000000000000000000000000000000000006000830152602082019050919050565b60006149cc6031836151b4565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614a326001836151b4565b91507f39000000000000000000000000000000000000000000000000000000000000006000830152602082019050919050565b6000614a726002836151b4565b91507f32320000000000000000000000000000000000000000000000000000000000006000830152602082019050919050565b6000614ab26001836151b4565b91507f38000000000000000000000000000000000000000000000000000000000000006000830152602082019050919050565b614aee8161531d565b82525050565b6000614aff82614965565b9150819050919050565b6000602082019050614b1e6000830184614174565b92915050565b6000608082019050614b396000830187614174565b614b466020830186614174565b614b536040830185614ae5565b8181036060830152614b65818461420e565b905095945050505050565b6000602082019050614b8560008301846141e1565b92915050565b6000604082019050614ba060008301856141ff565b8181036020830152614bb28184614183565b90509392505050565b60006020820190508181036000830152614bd58184614256565b905092915050565b60006020820190508181036000830152614bf68161428f565b9050919050565b60006020820190508181036000830152614c16816142cf565b9050919050565b60006020820190508181036000830152614c3681614335565b9050919050565b60006020820190508181036000830152614c5681614375565b9050919050565b60006020820190508181036000830152614c76816143b5565b9050919050565b60006020820190508181036000830152614c968161441b565b9050919050565b60006020820190508181036000830152614cb68161445b565b9050919050565b60006020820190508181036000830152614cd6816144c1565b9050919050565b60006020820190508181036000830152614cf681614501565b9050919050565b60006020820190508181036000830152614d1681614541565b9050919050565b60006020820190508181036000830152614d36816145a7565b9050919050565b60006020820190508181036000830152614d56816145e7565b9050919050565b60006020820190508181036000830152614d768161464d565b9050919050565b60006020820190508181036000830152614d96816146b3565b9050919050565b60006020820190508181036000830152614db6816146f3565b9050919050565b60006020820190508181036000830152614dd681614733565b9050919050565b60006020820190508181036000830152614df681614773565b9050919050565b60006020820190508181036000830152614e16816147b3565b9050919050565b60006020820190508181036000830152614e3681614819565b9050919050565b60006020820190508181036000830152614e5681614859565b9050919050565b60006020820190508181036000830152614e76816148bf565b9050919050565b60006020820190508181036000830152614e96816148ff565b9050919050565b60006020820190508181036000830152614eb68161497f565b9050919050565b60006020820190508181036000830152614ed6816149bf565b9050919050565b60006020820190508181036000830152614ef681614a25565b9050919050565b60006020820190508181036000830152614f1681614a65565b9050919050565b60006020820190508181036000830152614f3681614aa5565b9050919050565b6000602082019050614f526000830184614ae5565b92915050565b6000604082019050614f6d6000830185614ae5565b614f7a6020830184614247565b9392505050565b600061012082019050614f97600083018c614ae5565b614fa4602083018b614ae5565b614fb1604083018a614ae5565b614fbe6060830189614ae5565b614fcb6080830188614ae5565b614fd860a0830187614ae5565b614fe560c0830186614ae5565b614ff260e0830185614ae5565b615000610100830184614ae5565b9a9950505050505050505050565b6000604051905081810181811067ffffffffffffffff82111715615035576150346154b4565b5b8060405250919050565b600067ffffffffffffffff82111561505a576150596154b4565b5b602082029050602081019050919050565b600067ffffffffffffffff821115615086576150856154b4565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156150b2576150b16154b4565b5b602082029050919050565b600067ffffffffffffffff8211156150d8576150d76154b4565b5b602082029050602081019050919050565b600067ffffffffffffffff821115615104576151036154b4565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115615134576151336154b4565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b60006151d08261531d565b91506151db8361531d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156152105761520f615427565b5b828201905092915050565b60006152268261531d565b91506152318361531d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561526a57615269615427565b5b828202905092915050565b60006152808261531d565b915061528b8361531d565b92508282101561529e5761529d615427565b5b828203905092915050565b60006152b4826152fd565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006153328261531d565b9050919050565b82818337600083830152505050565b60005b8381101561536657808201518184015260208101905061534b565b83811115615375576000848401525b50505050565b6000600282049050600182168061539357607f821691505b602082108114156153a7576153a6615485565b5b50919050565b60006153b88261531d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153eb576153ea615427565b5b600182019050919050565b60006154018261531d565b915061540c8361531d565b92508261541c5761541b615456565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6154fd816152a9565b811461550857600080fd5b50565b615514816152bb565b811461551f57600080fd5b50565b61552b816152c7565b811461553657600080fd5b50565b615542816152d1565b811461554d57600080fd5b50565b6155598161531d565b811461556457600080fd5b5056fea26469706673582212206d176b1f10bcdc0ea5dd26957c86b4204e9f73eea0c9f1ad06f8256ed3165c9f64736f6c63430008000033

Loading