ETH Price: $2,418.81 (+0.47%)

Token

NiftyWalls (WALLS)
 

Overview

Max Total Supply

8,192 WALLS

Holders

151

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 WALLS
0xA37DbfBa2f086187699d78d17Ec0750462bD0549
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
NiftyWalls

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : NiftyWalls.sol
/*
 _   _ _  __ _      __          __   _ _
| \ | (_)/ _| |     \ \        / /  | | |
|  \| |_| |_| |_ _   \ \  /\  / /_ _| | |___
| . ` | |  _| __| | | \ \/  \/ / _` | | / __|
| |\  | | | | |_| |_| |\  /\  / (_| | | \__ \
|_| \_|_|_|  \__|\__, | \/  \/ \__,_|_|_|___/
          __/ |
         |___/

An NFT project by vrypan.eth.

*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "./Base64.sol";
import "./ERC721WithShuffledIDs.sol";
import "./Metadata.sol";
import "./Whitelist.sol";


contract NiftyWalls is Ownable, ERC721WithShuffledIDs {

  uint256 private    _price = 0.05 ether;
  address public     metadata;
  address public     whitelist;
  uint256 public     minPrice = 0.01 ether; // create a setter
  uint256 public     mintsPerDay;
  uint256 public     mintPeriodStart = 0;
  uint256 public     mintedToday = 0;
  bool public        paused = false;

  constructor(
    address _metadata,
    uint256 _tokenCount,
    uint256 _mintsPerDay,
    uint _initialMint
  )
  ERC721WithShuffledIDs("NiftyWalls", "WALLS", uint16(_tokenCount))
  {
    metadata = _metadata;
    mintsPerDay = _mintsPerDay;
    for (uint i = 0; i<_initialMint; i++) {
      _safeMint(msg.sender);
    }
    mintPeriodStart = block.timestamp;
  }

  receive() external payable {}

  function updatePeriod() private {
    // If more than a day since minting period started.
    if ( (block.timestamp - mintPeriodStart) / (24 hours) != 0) {
      _price = price();
      mintPeriodStart = block.timestamp;
      mintedToday = 0;
    }
  }

  function _newPrice() private view returns (uint256) {
    uint256 newPrice = (mintedToday == mintsPerDay) ? _price+(_price/10) : _price;
    newPrice = (mintedToday < 3) ? _price-(_price/10) : newPrice;
    return (newPrice > minPrice) ? newPrice : minPrice;
  }

  function price() public view returns (uint256) {
    if ( (block.timestamp - mintPeriodStart) / (24 hours) == 0) {
      return _price;
    } else {
      return _newPrice();
    }
  }

  function _mint() private {
    require(!paused, "Contract is paused.");
    if ( (block.timestamp - mintPeriodStart) / (24 hours) == 0) {
      require(mintedToday < mintsPerDay, "Maximum limit of mints per period reached.");
      mintedToday += 1;
    } else {
      _price = _newPrice();
      mintPeriodStart = block.timestamp;
      mintedToday = 1;
    }
    _safeMint(msg.sender);
  }

  function mint() public payable {
    require(msg.value >= price(), "Pay up, fren.");
    _mint();
  }

  function mintAsFriend(address _contract) public {
    Whitelist wl = Whitelist(whitelist); // make it global?
    wl.update(_contract, msg.sender);
    _mint();
  }

  function tokenURI(uint256 tokenId) public view override(ERC721)returns (string memory) {
    require(_exists(tokenId), "NiftyWalls: URI query for nonexistent token");
    Metadata meta = Metadata(metadata);
    string memory json = meta.idToJson(tokenId);
    return string(abi.encodePacked("data:application/json;base64,", Base64.encode(bytes(json))));
  }

  function setMetadataContract(address _metadata) public onlyOwner {
    metadata = _metadata;
  }

  function setWhitelistContract(address _whitelist) public onlyOwner {
    whitelist = _whitelist;
  }

  // owner methods
  function setPrice(uint256 newPrice) public onlyOwner {
    _price = newPrice;
  }

  function setMinPrice(uint256 _minPrice) public onlyOwner {
    minPrice = _minPrice;
    if (_price < minPrice) {
      _price = minPrice;
    }
  }

  function withdraw() public onlyOwner {
    payable(msg.sender).transfer(address(this).balance);
  }

  function withdraw20(address _contract, address _to, uint256 _amount) public onlyOwner {
    IERC20(_contract).transfer(_to, _amount);
  }

  function withdraw721(address _contract, address _to, uint256 _id) public onlyOwner {
    IERC721(_contract).transferFrom(address(this), _to, _id);
  }

  function pause() public onlyOwner {
    paused = !paused;
  }

  /* Only on testnets
  function shutdown() public onlyOwner {
    selfdestruct(payable(owner()));
  }
  */
}

File 2 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

File 3 of 16 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        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);
}

File 4 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 5 of 16 : Base64.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

/// [MIT License]
/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>


library Base64 {
  bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

  /// @notice Encodes some bytes to the base64 representation
  function encode(bytes memory data) internal pure returns (string memory) {
    uint256 len = data.length;
    if (len == 0) {
      return "";
    }

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

    // Add some extra buffer at the end
    bytes memory result = new bytes(encodedLen + 32);

    bytes memory table = TABLE;

    assembly {
      let tablePtr := add(table, 1)
      let resultPtr := add(result, 32)

      for {
        let i := 0
      } lt(i, len) {

      } {
        i := add(i, 3)
        let input := and(mload(add(data, i)), 0xffffff)

        let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
        out := shl(8, out)
        out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF))
        out := shl(8, out)
        out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF))
        out := shl(8, out)
        out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF))
        out := shl(224, out)

        mstore(resultPtr, out)

        resultPtr := add(resultPtr, 4)
      }

      switch mod(len, 3)
      case 1 {
        mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
      }
      case 2 {
        mstore(sub(resultPtr, 1), shl(248, 0x3d))
      }

      mstore(result, encodedLen)
    }

    return string(result);
  }
}

File 6 of 16 : ERC721WithShuffledIDs.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";

// Get a random ID minted every time _safeMint is called.
// Credits to @PunkScapes project and @jalil.
// https://etherscan.io/address/0x51ae5e2533854495f6c587865af64119db8f59b4#code#F3#L1


contract ERC721WithShuffledIDs is ERC721 {
  uint16[8193] private tokens;
  uint16 private maxIndex;
  uint16 public maxSupply;
  uint16 public mintedTokens;

  constructor (string memory name_, string memory symbol_, uint16 _maxSupply)
    ERC721(name_, symbol_)
  {
    maxSupply = _maxSupply;
    maxIndex = _maxSupply;
  }

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

  function nextToken() internal returns (uint16) {
    require(tokensLeft()>0, "No more tokens left.");
    uint16 random = uint16(uint256(blockhash(block.number - 1)) % maxIndex)+1;
    uint16 value = (tokens[random] == 0) ? random : tokens[random];
    tokens[random] = (tokens[maxIndex] == 0) ? maxIndex : tokens[maxIndex];
    tokens[maxIndex] = value;
    // ^ This is nice: Tokens[maxSupply - maxIndex] hold the minted
    // token IDs in reverse order. tokenByIndex can be user to retrieve them.
    maxIndex -= 1;
    mintedTokens += 1;
    return(value);
  }

  function tokensLeft() public view returns (uint16) {
    return( maxSupply - mintedTokens );
  }

  function tokenByIndex(uint16 _index) public view returns (uint16) {
    require(_index < mintedTokens, "Not minted yet");
    return tokens[maxSupply - _index];
  }

  // Override _safeMint to make sure it can not be used to
  // mint a specific tokenId.
  // _tokenId is ignored now.
  function _safeMint(address _to, uint256 /* _tokenId */) internal override {
    uint256 id = nextToken();
    ERC721._safeMint(_to, id);
  }

  function _safeMint(address _to) internal {
    _safeMint(_to, 0);
  }

}

File 7 of 16 : Metadata.sol
/*
 _   _ _  __ _      __          __   _ _
| \ | (_)/ _| |     \ \        / /  | | |
|  \| |_| |_| |_ _   \ \  /\  / /_ _| | |___
| . ` | |  _| __| | | \ \/  \/ / _` | | / __|
| |\  | | | | |_| |_| |\  /\  / (_| | | \__ \
|_| \_|_|_|  \__|\__, | \/  \/ \__,_|_|_|___/
          __/ |
         |___/

An NFT project by vrypan.eth.

*/
//Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

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

contract Metadata is Ownable{
    using Strings for uint256;
    using Strings for uint8;

    string  public     baseURI = "https://arweave.net/zUr8QLeAV136LzRA7sNpR843-t-HF5HMLCA3BwGqnDk/";

    string[4] private     turmitesDict = ['LRR','LRL','LRRR','LRRL'];
    string[8] private     patternDict = ['Block','T-shape','C-shape','Stripes','Squares','Thorns','Inverse-L','O-shape'];
    string[68] private    color =      ['000000', '004b23', '007200', '38b000', '9ef01a', 'ffdd00', 'ffa200', 'ff8800',
                                        'ff7b00', '3c096c', '5a189a', '7b2cbf', '9d4edd', '48bfe3', '56cfe1', '64dfdf',
                                        '5aedc9', '9b2226', 'ae2012', 'bb3e03', 'ca6702', '582f0e', '7f4f24', '936639',
                                        'a68a64', 'b6ad90', '414833', 'bcbcbc', 'b1b1b1', '7d7d7d', '4d4d4d', 'ffc2d1',
                                        'ffb3c6', 'ff8fab', 'fb6f92', 'd62828', 'f77f00', 'fcbf49', 'eae2b7', '87bfff',
                                        '3f8efc', '2667ff', '3b28cc', 'ee9b00', 'ffffff', '780000', '660000', '520000',
                                        '3d0000', 'ffd700', '283035', '3b4c61', '569aaa', '6B8f6f', 'd7decd', 'fff963',
                                        '019d51', 'fb3195', '51b1cc', 'dab183', '573f77', '506a78', 'ad8b64', '703f21',
                                        '205947', 'ffd627', 'ff7626', '4e577e'];
    uint8[5][32] private colorDict = [
        [0, 1, 2, 3, 4],        [0, 5, 6, 7, 8],        [0, 9, 10, 11, 12],     [0, 13, 14, 15, 16],
        [0, 17, 18, 19, 20],    [0, 21, 22, 23, 24],    [0, 25, 26, 23, 22],    [0, 27, 28, 29, 30],
        [0, 31, 32, 33, 34],    [0, 35, 36, 37, 38],    [0, 39, 40, 41, 42],    [0, 43, 19, 18, 17],
        [44, 1, 2, 3, 4],       [44, 5, 6, 7, 8],       [44, 9, 10, 11, 12],    [44, 13, 14, 15, 16],
        [44, 17, 18, 19, 20],   [44, 21, 22, 23, 24],   [44, 25, 26, 23, 22],   [44, 27, 28, 29, 30],
        [44, 31, 32, 33, 34],   [44, 45, 46, 47, 48],   [44, 35, 36, 37, 38],   [44, 39, 40, 41, 42],
        [44, 43, 19, 18, 17],   [49, 9, 10, 11, 12],    [49, 21, 22, 23, 24],   [49, 39, 40, 41, 42],
        [50, 51, 52, 53, 54],   [0, 55, 56, 57, 58],    [59, 60, 61, 62, 63],   [0, 64, 65, 66, 67]
    ];
    
    struct Wall{
        uint8        turmite;
        uint8        pattern;
        string       background;
        string[4]    colors;
        uint8        fx;
        string       imageURL;
    }

    constructor() {}

    function setBaseURI(string memory _URI) public onlyOwner {
        baseURI = _URI;
    }
    
    function idToWall(uint _id) private view returns (Wall memory) {
        // Given any integer between 0 and 8191, there is a one way mapping to 
        // NiftyWall metadata.
        uint8 turmiteId = uint8(_id & 0x03);
        uint8 patternId = uint8( (_id >> 2)  & 0x07 );
        uint256 colorId = uint8( (_id >> 5)  & 0x1f );
        uint8 fxId      = uint8( (_id >> 10) & 0x07 );

        string memory background = color[colorDict[colorId][0]];
        string[4] memory colors = [
            color[colorDict[colorId][1]], color[colorDict[colorId][2]], color[colorDict[colorId][3]], color[colorDict[colorId][4]]
        ];

        if (patternId == 0) {
            // Block pattern has no empty space for background
            // We use -1 to indicate no value.
            background = '';
        }

        if (turmiteId <2) {
            // LRR and LRL only use 3 colors
            colors[3] = '';
        }

        if ( (turmiteId>1) && ( (fxId == 2) || (fxId == 6) ) ) {
            // LRRR and LRRL in FX3 and FX8 loose the 4th color.
            colors[3] = '';
        }

        return Wall(
            turmiteId,
            patternId,
            background,
            colors,
            fxId,
            ''
        );
    }
    function imageURI(uint _id) public view returns (string memory) {
        return( string( abi.encodePacked(baseURI, _id.toString(), '.png' )) );
    }
    function _traitToJson(string memory _type, string memory _value) private pure returns (string memory) {
        return( string(abi.encodePacked('{"trait_type":"', _type  ,'","value":"', _value, '"}')) );
    }
    function idToJson(uint _id) external view returns (string memory) {
        Wall memory w = idToWall(_id);        
        string memory turmite     = _traitToJson('Turmite', turmitesDict[w.turmite]);
        string memory pattern     = _traitToJson('Pattern', patternDict[w.pattern]);
        string memory fx          = _traitToJson('Effect', (w.fx+1).toString() );
        string memory background  = _traitToJson('background', bytes(w.background).length > 0 ? w.background : 'None');
        string memory colors;
        string memory image       = imageURI(_id);
        string memory id_to_str   = _id.toString();
        if (bytes(w.colors[3]).length > 0) {
            colors = string( abi.encodePacked(
                _traitToJson('color', w.colors[0]), ',',
                _traitToJson('color', w.colors[1]), ',',
                _traitToJson('color', w.colors[2]), ',',
                _traitToJson('color', w.colors[3])
            ));
        } else {
            colors = string( abi.encodePacked(
                _traitToJson('color', w.colors[0]), ',',
                _traitToJson('color', w.colors[1]), ',',
                _traitToJson('color', w.colors[2])
            ) );
        }
        string memory name = string(abi.encodePacked('NiftyWall #', id_to_str));
        string memory json = string(abi.encodePacked(
            '{"attributes":[', turmite, ',', pattern, ',', fx, ',', background, ',', colors, '],',
            '"description":"', 
                "Each NiftyWall is a unique, 3000x3000 algorithmically generated background. https://niftywalls.xyz/wall/",
                id_to_str,'",',
            '"image":"', image, '",',
            '"external_url":"https://niftywalls.xyz/wall/', id_to_str, '",',
            '"name":"', name ,'"}'
        ));
        return( json );
    }

    /* Only on testnets
    function shutdown() public onlyOwner {
        selfdestruct( payable(owner()) );
    }
    */
}

File 8 of 16 : Whitelist.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";


contract Whitelist is Ownable {
  mapping(address => uint) private entries;
  mapping(address => bool) private graylist;
  address public operator;

  event SetContractEntries(address _contract, uint256 _newSupply);
  event WhitelistUsed(address _wallet, string _symbol, string _name);

  function setOperator(address _operator) public onlyOwner {
    operator = _operator;
  }

  function setEntries(address _contract, uint _entries) public onlyOwner {
    entries[_contract] = _entries;
    emit SetContractEntries(_contract, _entries);
  }

  function getEntries(address _contract) public view returns( uint ) {
    return( entries[_contract]);
  }

  function isWhitelisted(address _contract, address _user) public view returns (bool) {
    if (entries[_contract] == 0) {
      return(false);
    }
    if (graylist[_user]) {
      return(false);
    }
    IERC721Metadata externalNft = IERC721Metadata(_contract);
    return ( (externalNft.balanceOf(_user) > 0)? true : false );
  }

  function update(address _contract, address _user) public {
    require(msg.sender == operator, "You are not the operator");
    require(!graylist[_user], "Address already used the whitelist");
    require(entries[_contract] > 0, "Contract provided has no entries left");
    entries[_contract] -= 1;
    graylist[_user] = true;
    IERC721Metadata externalNft = IERC721Metadata(_contract);
    emit WhitelistUsed(_user, externalNft.symbol(), externalNft.name());
  }

}

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

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

pragma solidity ^0.8.0;

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

File 11 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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);

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 14 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 15 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 16 of 16 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_metadata","type":"address"},{"internalType":"uint256","name":"_tokenCount","type":"uint256"},{"internalType":"uint256","name":"_mintsPerDay","type":"uint256"},{"internalType":"uint256","name":"_initialMint","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":"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"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadata","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"mintAsFriend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPeriodStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintedToday","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintedTokens","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintsPerDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_metadata","type":"address"}],"name":"setMetadataContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minPrice","type":"uint256"}],"name":"setMinPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_whitelist","type":"address"}],"name":"setWhitelistContract","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":"uint16","name":"_index","type":"uint16"}],"name":"tokenByIndex","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensLeft","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"withdraw721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405266b1a2bc2ec5000061020955662386f26fc1000061020c55600061020e55600061020f55600061021060006101000a81548160ff0219169083151502179055503480156200005157600080fd5b50604051620058ca380380620058ca833981810160405281019062000077919062000cf1565b6040518060400160405280600a81526020017f4e6966747957616c6c73000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f57414c4c5300000000000000000000000000000000000000000000000000000081525084828262000106620000fa6200020960201b60201c565b6200021160201b60201c565b81600190805190602001906200011e92919062000bfc565b5080600290805190602001906200013792919062000bfc565b5050508061020860026101000a81548161ffff021916908361ffff1602179055508061020860006101000a81548161ffff021916908361ffff1602179055505050508361020a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508161020d8190555060005b81811015620001f657620001e033620002d560201b60201c565b8080620001ed9062001187565b915050620001c6565b504261020e8190555050505050620013c3565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002e8816000620002eb60201b60201c565b50565b6000620002fd6200031f60201b60201c565b61ffff1690506200031a8382620006e460201b62001b6a1760201c565b505050565b600080620003326200070a60201b60201c565b61ffff161162000379576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003709062000edc565b60405180910390fd5b6000600161020860009054906101000a900461ffff1661ffff16600143620003a2919062001068565b4060001c620003b29190620011d5565b620003be919062000f91565b905060008060078361ffff16612001811062000403577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601091828204019190066002029054906101000a900461ffff1661ffff1614620004875760078261ffff16612001811062000467577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601091828204019190066002029054906101000a900461ffff1662000489565b815b90506000600761020860009054906101000a900461ffff1661ffff166120018110620004de577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601091828204019190066002029054906101000a900461ffff1661ffff16146200057357600761020860009054906101000a900461ffff1661ffff16612001811062000553577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601091828204019190066002029054906101000a900461ffff1662000586565b61020860009054906101000a900461ffff165b60078361ffff166120018110620005c6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601091828204019190066002026101000a81548161ffff021916908361ffff16021790555080600761020860009054906101000a900461ffff1661ffff1661200181106200063d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601091828204019190066002026101000a81548161ffff021916908361ffff160217905550600161020860008282829054906101000a900461ffff166200068591906200102d565b92506101000a81548161ffff021916908361ffff160217905550600161020860048282829054906101000a900461ffff16620006c2919062000f91565b92506101000a81548161ffff021916908361ffff160217905550809250505090565b620007068282604051806020016040528060008152506200074160201b60201c565b5050565b600061020860049054906101000a900461ffff1661020860029054906101000a900461ffff166200073c91906200102d565b905090565b620007538383620007af60201b60201c565b620007686000848484620009a960201b60201c565b620007aa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007a19062000efe565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000822576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008199062000f42565b60405180910390fd5b620008338162000b6360201b60201c565b1562000876576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200086d9062000f20565b60405180910390fd5b6200088a6000838362000bcf60201b60201c565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620008dc919062000fd0565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4620009a56000838362000bd460201b60201c565b5050565b6000620009d78473ffffffffffffffffffffffffffffffffffffffff1662000bd960201b62001b881760201c565b1562000b56578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0262000a096200020960201b60201c565b8786866040518563ffffffff1660e01b815260040162000a2d949392919062000e88565b602060405180830381600087803b15801562000a4857600080fd5b505af192505050801562000a7c57506040513d601f19601f8201168201806040525081019062000a79919062000d5d565b60015b62000b05573d806000811462000aaf576040519150601f19603f3d011682016040523d82523d6000602084013e62000ab4565b606091505b5060008151141562000afd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000af49062000efe565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505062000b5b565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805462000c0a9062001151565b90600052602060002090601f01602090048101928262000c2e576000855562000c7a565b82601f1062000c4957805160ff191683800117855562000c7a565b8280016001018555821562000c7a579182015b8281111562000c7957825182559160200191906001019062000c5c565b5b50905062000c89919062000c8d565b5090565b5b8082111562000ca857600081600090555060010162000c8e565b5090565b60008151905062000cbd8162001375565b92915050565b60008151905062000cd4816200138f565b92915050565b60008151905062000ceb81620013a9565b92915050565b6000806000806080858703121562000d0857600080fd5b600062000d188782880162000cac565b945050602062000d2b8782880162000cda565b935050604062000d3e8782880162000cda565b925050606062000d518782880162000cda565b91505092959194509250565b60006020828403121562000d7057600080fd5b600062000d808482850162000cc3565b91505092915050565b62000d9481620010a3565b82525050565b600062000da78262000f64565b62000db3818562000f6f565b935062000dc58185602086016200111b565b62000dd0816200129a565b840191505092915050565b600062000dea60148362000f80565b915062000df782620012ab565b602082019050919050565b600062000e1160328362000f80565b915062000e1e82620012d4565b604082019050919050565b600062000e38601c8362000f80565b915062000e458262001323565b602082019050919050565b600062000e5f60208362000f80565b915062000e6c826200134c565b602082019050919050565b62000e828162001111565b82525050565b600060808201905062000e9f600083018762000d89565b62000eae602083018662000d89565b62000ebd604083018562000e77565b818103606083015262000ed1818462000d9a565b905095945050505050565b6000602082019050818103600083015262000ef78162000ddb565b9050919050565b6000602082019050818103600083015262000f198162000e02565b9050919050565b6000602082019050818103600083015262000f3b8162000e29565b9050919050565b6000602082019050818103600083015262000f5d8162000e50565b9050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600062000f9e82620010e3565b915062000fab83620010e3565b92508261ffff0382111562000fc55762000fc46200120d565b5b828201905092915050565b600062000fdd8262001111565b915062000fea8362001111565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200102257620010216200120d565b5b828201905092915050565b60006200103a82620010e3565b91506200104783620010e3565b9250828210156200105d576200105c6200120d565b5b828203905092915050565b6000620010758262001111565b9150620010828362001111565b9250828210156200109857620010976200120d565b5b828203905092915050565b6000620010b082620010f1565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200113b5780820151818401526020810190506200111e565b838111156200114b576000848401525b50505050565b600060028204905060018216806200116a57607f821691505b602082108114156200118157620011806200126b565b5b50919050565b6000620011948262001111565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415620011ca57620011c96200120d565b5b600182019050919050565b6000620011e28262001111565b9150620011ef8362001111565b9250826200120257620012016200123c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b7f4e6f206d6f726520746f6b656e73206c6566742e000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6200138081620010a3565b81146200138c57600080fd5b50565b6200139a81620010b7565b8114620013a657600080fd5b50565b620013b48162001111565b8114620013c057600080fd5b50565b6144f780620013d36000396000f3fe6080604052600436106102345760003560e01c80638d75fe051161012e578063b88d4fde116100ab578063da6174d01161006f578063da6174d0146107ef578063e45be8eb1461081a578063e5187f4314610845578063e985e9c51461086e578063f2fde38b146108ab5761023b565b8063b88d4fde1461070c578063b8c1e3e014610735578063c87b56dd1461075e578063cc920aff1461079b578063d5abeb01146107c45761023b565b8063a035b1fe116100f2578063a035b1fe14610625578063a22cb46514610650578063a89b1d6114610679578063b31f8f93146106b6578063b7c140dd146106e15761023b565b80638d75fe05146105505780638da5cb5b1461057b57806391b7f5ed146105a657806393e59dc1146105cf57806395d89b41146105fa5761023b565b8063355007f9116101bc5780635ea8cd12116101805780635ea8cd121461047f5780636352211e146104a857806370a08231146104e5578063715018a6146105225780638456cb59146105395761023b565b8063355007f9146103c0578063392f37e9146103e95780633ccfd60b1461041457806342842e0e1461042b5780635c975abb146104545761023b565b80631249c58b116102035780631249c58b1461030e57806312f261401461031857806316ac4f3c1461034157806318160ddd1461036c57806323b872dd146103975761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e55761023b565b3661023b57005b600080fd5b34801561024c57600080fd5b506102676004803603810190610262919061313f565b6108d4565b6040516102749190613717565b60405180910390f35b34801561028957600080fd5b506102926109b6565b60405161029f9190613732565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca91906131fb565b610a48565b6040516102dc9190613627565b60405180910390f35b3480156102f157600080fd5b5061030c600480360381019061030791906130da565b610acd565b005b610316610be5565b005b34801561032457600080fd5b5061033f600480360381019061033a9190612f6f565b610c39565b005b34801561034d57600080fd5b50610356610cfa565b6040516103639190613a0f565b60405180910390f35b34801561037857600080fd5b50610381610d01565b60405161038e9190613a0f565b60405180910390f35b3480156103a357600080fd5b506103be60048036038101906103b99190612fd4565b610d1e565b005b3480156103cc57600080fd5b506103e760048036038101906103e29190612fd4565b610d7e565b005b3480156103f557600080fd5b506103fe610e6e565b60405161040b9190613627565b60405180910390f35b34801561042057600080fd5b50610429610e95565b005b34801561043757600080fd5b50610452600480360381019061044d9190612fd4565b610f5a565b005b34801561046057600080fd5b50610469610f7a565b6040516104769190613717565b60405180910390f35b34801561048b57600080fd5b506104a660048036038101906104a191906131fb565b610f8e565b005b3480156104b457600080fd5b506104cf60048036038101906104ca91906131fb565b61102f565b6040516104dc9190613627565b60405180910390f35b3480156104f157600080fd5b5061050c60048036038101906105079190612f6f565b6110e1565b6040516105199190613a0f565b60405180910390f35b34801561052e57600080fd5b50610537611199565b005b34801561054557600080fd5b5061054e611221565b005b34801561055c57600080fd5b506105656112cb565b60405161057291906139f4565b60405180910390f35b34801561058757600080fd5b506105906112e0565b60405161059d9190613627565b60405180910390f35b3480156105b257600080fd5b506105cd60048036038101906105c891906131fb565b611309565b005b3480156105db57600080fd5b506105e4611390565b6040516105f19190613627565b60405180910390f35b34801561060657600080fd5b5061060f6113b7565b60405161061c9190613732565b60405180910390f35b34801561063157600080fd5b5061063a611449565b6040516106479190613a0f565b60405180910390f35b34801561065c57600080fd5b506106776004803603810190610672919061309e565b611488565b005b34801561068557600080fd5b506106a0600480360381019061069b91906131d2565b61149e565b6040516106ad91906139f4565b60405180910390f35b3480156106c257600080fd5b506106cb611577565b6040516106d891906139f4565b60405180910390f35b3480156106ed57600080fd5b506106f66115ac565b6040516107039190613a0f565b60405180910390f35b34801561071857600080fd5b50610733600480360381019061072e9190613023565b6115b3565b005b34801561074157600080fd5b5061075c60048036038101906107579190612fd4565b611615565b005b34801561076a57600080fd5b50610785600480360381019061078091906131fb565b611724565b6040516107929190613732565b60405180910390f35b3480156107a757600080fd5b506107c260048036038101906107bd9190612f6f565b611859565b005b3480156107d057600080fd5b506107d96118fa565b6040516107e691906139f4565b60405180910390f35b3480156107fb57600080fd5b5061080461190f565b6040516108119190613a0f565b60405180910390f35b34801561082657600080fd5b5061082f611916565b60405161083c9190613a0f565b60405180910390f35b34801561085157600080fd5b5061086c60048036038101906108679190612f6f565b61191d565b005b34801561087a57600080fd5b5061089560048036038101906108909190612f98565b6119de565b6040516108a29190613717565b60405180910390f35b3480156108b757600080fd5b506108d260048036038101906108cd9190612f6f565b611a72565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061099f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109af57506109ae82611bab565b5b9050919050565b6060600180546109c590613d39565b80601f01602080910402602001604051908101604052809291908181526020018280546109f190613d39565b8015610a3e5780601f10610a1357610100808354040283529160200191610a3e565b820191906000526020600020905b815481529060010190602001808311610a2157829003601f168201915b5050505050905090565b6000610a5382611c15565b610a92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8990613934565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ad88261102f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4090613994565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b68611c81565b73ffffffffffffffffffffffffffffffffffffffff161480610b975750610b9681610b91611c81565b6119de565b5b610bd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcd906138b4565b60405180910390fd5b610be08383611c89565b505050565b610bed611449565b341015610c2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2690613754565b60405180910390fd5b610c37611d42565b565b610c41611c81565b73ffffffffffffffffffffffffffffffffffffffff16610c5f6112e0565b73ffffffffffffffffffffffffffffffffffffffff1614610cb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cac90613954565b60405180910390fd5b8061020b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61020d5481565b600061020860029054906101000a900461ffff1661ffff16905090565b610d2f610d29611c81565b82611e4c565b610d6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d65906139b4565b60405180910390fd5b610d79838383611f2a565b505050565b610d86611c81565b73ffffffffffffffffffffffffffffffffffffffff16610da46112e0565b73ffffffffffffffffffffffffffffffffffffffff1614610dfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df190613954565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3084846040518463ffffffff1660e01b8152600401610e379392919061366b565b600060405180830381600087803b158015610e5157600080fd5b505af1158015610e65573d6000803e3d6000fd5b50505050505050565b61020a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610e9d611c81565b73ffffffffffffffffffffffffffffffffffffffff16610ebb6112e0565b73ffffffffffffffffffffffffffffffffffffffff1614610f11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0890613954565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f57573d6000803e3d6000fd5b50565b610f75838383604051806020016040528060008152506115b3565b505050565b61021060009054906101000a900460ff1681565b610f96611c81565b73ffffffffffffffffffffffffffffffffffffffff16610fb46112e0565b73ffffffffffffffffffffffffffffffffffffffff161461100a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100190613954565b60405180910390fd5b8061020c8190555061020c5461020954101561102c5761020c54610209819055505b50565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cf906138f4565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611152576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611149906138d4565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111a1611c81565b73ffffffffffffffffffffffffffffffffffffffff166111bf6112e0565b73ffffffffffffffffffffffffffffffffffffffff1614611215576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120c90613954565b60405180910390fd5b61121f6000612191565b565b611229611c81565b73ffffffffffffffffffffffffffffffffffffffff166112476112e0565b73ffffffffffffffffffffffffffffffffffffffff161461129d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129490613954565b60405180910390fd5b61021060009054906101000a900460ff161561021060006101000a81548160ff021916908315150217905550565b61020860049054906101000a900461ffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611311611c81565b73ffffffffffffffffffffffffffffffffffffffff1661132f6112e0565b73ffffffffffffffffffffffffffffffffffffffff1614611385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137c90613954565b60405180910390fd5b806102098190555050565b61020b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600280546113c690613d39565b80601f01602080910402602001604051908101604052809291908181526020018280546113f290613d39565b801561143f5780601f106114145761010080835404028352916020019161143f565b820191906000526020600020905b81548152906001019060200180831161142257829003601f168201915b5050505050905090565b6000806201518061020e544261145f9190613c41565b6114699190613b82565b141561147a57610209549050611485565b611482612255565b90505b90565b61149a611493611c81565b83836122dc565b5050565b600061020860049054906101000a900461ffff1661ffff168261ffff16106114fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f2906137b4565b60405180910390fd5b60078261020860029054906101000a900461ffff1661151a9190613c0d565b61ffff166120018110611556577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601091828204019190066002029054906101000a900461ffff169050919050565b600061020860049054906101000a900461ffff1661020860029054906101000a900461ffff166115a79190613c0d565b905090565b61020f5481565b6115c46115be611c81565b83611e4c565b611603576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fa906139b4565b60405180910390fd5b61160f84848484612449565b50505050565b61161d611c81565b73ffffffffffffffffffffffffffffffffffffffff1661163b6112e0565b73ffffffffffffffffffffffffffffffffffffffff1614611691576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168890613954565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b81526004016116cc9291906136ee565b602060405180830381600087803b1580156116e657600080fd5b505af11580156116fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171e9190613116565b50505050565b606061172f82611c15565b61176e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176590613974565b60405180910390fd5b600061020a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166325f394b8856040518263ffffffff1660e01b81526004016117d19190613a0f565b60006040518083038186803b1580156117e957600080fd5b505afa1580156117fd573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906118269190613191565b9050611831816124a5565b6040516020016118419190613605565b60405160208183030381529060405292505050919050565b600061020b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663c640752d83336040518363ffffffff1660e01b81526004016118bc929190613642565b600060405180830381600087803b1580156118d657600080fd5b505af11580156118ea573d6000803e3d6000fd5b505050506118f6611d42565b5050565b61020860029054906101000a900461ffff1681565b61020e5481565b61020c5481565b611925611c81565b73ffffffffffffffffffffffffffffffffffffffff166119436112e0565b73ffffffffffffffffffffffffffffffffffffffff1614611999576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199090613954565b60405180910390fd5b8061020a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a7a611c81565b73ffffffffffffffffffffffffffffffffffffffff16611a986112e0565b73ffffffffffffffffffffffffffffffffffffffff1614611aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae590613954565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b55906137d4565b60405180910390fd5b611b6781612191565b50565b611b84828260405180602001604052806000815250612663565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611cfc8361102f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61021060009054906101000a900460ff1615611d93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8a906139d4565b60405180910390fd5b60006201518061020e5442611da89190613c41565b611db29190613b82565b1415611e205761020d5461020f5410611e00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df790613874565b60405180910390fd5b600161020f6000828254611e149190613b2c565b92505081905550611e41565b611e28612255565b610209819055504261020e81905550600161020f819055505b611e4a336126be565b565b6000611e5782611c15565b611e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8d90613894565b60405180910390fd5b6000611ea18361102f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f1057508373ffffffffffffffffffffffffffffffffffffffff16611ef884610a48565b73ffffffffffffffffffffffffffffffffffffffff16145b80611f215750611f2081856119de565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f4a8261102f565b73ffffffffffffffffffffffffffffffffffffffff1614611fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f97906137f4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612010576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200790613834565b60405180910390fd5b61201b8383836126cc565b612026600082611c89565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120769190613c41565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120cd9190613b2c565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461218c8383836126d1565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008061020d5461020f541461226e576102095461228d565b600a6102095461227e9190613b82565b6102095461228c9190613b2c565b5b9050600361020f54106122a057806122bf565b600a610209546122b09190613b82565b610209546122be9190613c41565b5b905061020c5481116122d45761020c546122d6565b805b91505090565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561234b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234290613854565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161243c9190613717565b60405180910390a3505050565b612454848484611f2a565b612460848484846126d6565b61249f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249690613794565b60405180910390fd5b50505050565b606060008251905060008114156124ce576040518060200160405280600081525091505061265e565b600060036002836124df9190613b2c565b6124e99190613b82565b60046124f59190613bb3565b905060006020826125069190613b2c565b67ffffffffffffffff811115612545577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156125775781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001614482604091399050600181016020830160005b8681101561261b5760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b905080845260048401935050506125a2565b506003860660018114612635576002811461264557612650565b613d3d60f01b6002830352612650565b603d60f81b60018303525b508484525050819450505050505b919050565b61266d838361286d565b61267a60008484846126d6565b6126b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b090613794565b60405180910390fd5b505050565b6126c9816000612a47565b50565b505050565b505050565b60006126f78473ffffffffffffffffffffffffffffffffffffffff16611b88565b15612860578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612720611c81565b8786866040518563ffffffff1660e01b815260040161274294939291906136a2565b602060405180830381600087803b15801561275c57600080fd5b505af192505050801561278d57506040513d601f19601f8201168201806040525081019061278a9190613168565b60015b612810573d80600081146127bd576040519150601f19603f3d011682016040523d82523d6000602084013e6127c2565b606091505b50600081511415612808576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ff90613794565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612865565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d490613914565b60405180910390fd5b6128e681611c15565b15612926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291d90613814565b60405180910390fd5b612932600083836126cc565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129829190613b2c565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a43600083836126d1565b5050565b6000612a51612a66565b61ffff169050612a618382611b6a565b505050565b600080612a71611577565b61ffff1611612ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aac90613774565b60405180910390fd5b6000600161020860009054906101000a900461ffff1661ffff16600143612adc9190613c41565b4060001c612aea9190613d9c565b612af49190613af4565b905060008060078361ffff166120018110612b38577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601091828204019190066002029054906101000a900461ffff1661ffff1614612bb95760078261ffff166120018110612b9a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601091828204019190066002029054906101000a900461ffff16612bbb565b815b90506000600761020860009054906101000a900461ffff1661ffff166120018110612c0f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601091828204019190066002029054906101000a900461ffff1661ffff1614612ca157600761020860009054906101000a900461ffff1661ffff166120018110612c82577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601091828204019190066002029054906101000a900461ffff16612cb4565b61020860009054906101000a900461ffff165b60078361ffff166120018110612cf3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601091828204019190066002026101000a81548161ffff021916908361ffff16021790555080600761020860009054906101000a900461ffff1661ffff166120018110612d69577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601091828204019190066002026101000a81548161ffff021916908361ffff160217905550600161020860008282829054906101000a900461ffff16612daf9190613c0d565b92506101000a81548161ffff021916908361ffff160217905550600161020860048282829054906101000a900461ffff16612dea9190613af4565b92506101000a81548161ffff021916908361ffff160217905550809250505090565b6000612e1f612e1a84613a4f565b613a2a565b905082815260208101848484011115612e3757600080fd5b612e42848285613cf7565b509392505050565b6000612e5d612e5884613a80565b613a2a565b905082815260208101848484011115612e7557600080fd5b612e80848285613d06565b509392505050565b600081359050612e978161440e565b92915050565b600081359050612eac81614425565b92915050565b600081519050612ec181614425565b92915050565b600081359050612ed68161443c565b92915050565b600081519050612eeb8161443c565b92915050565b600082601f830112612f0257600080fd5b8135612f12848260208601612e0c565b91505092915050565b600082601f830112612f2c57600080fd5b8151612f3c848260208601612e4a565b91505092915050565b600081359050612f5481614453565b92915050565b600081359050612f698161446a565b92915050565b600060208284031215612f8157600080fd5b6000612f8f84828501612e88565b91505092915050565b60008060408385031215612fab57600080fd5b6000612fb985828601612e88565b9250506020612fca85828601612e88565b9150509250929050565b600080600060608486031215612fe957600080fd5b6000612ff786828701612e88565b935050602061300886828701612e88565b925050604061301986828701612f5a565b9150509250925092565b6000806000806080858703121561303957600080fd5b600061304787828801612e88565b945050602061305887828801612e88565b935050604061306987828801612f5a565b925050606085013567ffffffffffffffff81111561308657600080fd5b61309287828801612ef1565b91505092959194509250565b600080604083850312156130b157600080fd5b60006130bf85828601612e88565b92505060206130d085828601612e9d565b9150509250929050565b600080604083850312156130ed57600080fd5b60006130fb85828601612e88565b925050602061310c85828601612f5a565b9150509250929050565b60006020828403121561312857600080fd5b600061313684828501612eb2565b91505092915050565b60006020828403121561315157600080fd5b600061315f84828501612ec7565b91505092915050565b60006020828403121561317a57600080fd5b600061318884828501612edc565b91505092915050565b6000602082840312156131a357600080fd5b600082015167ffffffffffffffff8111156131bd57600080fd5b6131c984828501612f1b565b91505092915050565b6000602082840312156131e457600080fd5b60006131f284828501612f45565b91505092915050565b60006020828403121561320d57600080fd5b600061321b84828501612f5a565b91505092915050565b61322d81613c75565b82525050565b61323c81613c87565b82525050565b600061324d82613ab1565b6132578185613ac7565b9350613267818560208601613d06565b61327081613e89565b840191505092915050565b600061328682613abc565b6132908185613ad8565b93506132a0818560208601613d06565b6132a981613e89565b840191505092915050565b60006132bf82613abc565b6132c98185613ae9565b93506132d9818560208601613d06565b80840191505092915050565b60006132f2600d83613ad8565b91506132fd82613e9a565b602082019050919050565b6000613315601483613ad8565b915061332082613ec3565b602082019050919050565b6000613338603283613ad8565b915061334382613eec565b604082019050919050565b600061335b600e83613ad8565b915061336682613f3b565b602082019050919050565b600061337e602683613ad8565b915061338982613f64565b604082019050919050565b60006133a1602583613ad8565b91506133ac82613fb3565b604082019050919050565b60006133c4601c83613ad8565b91506133cf82614002565b602082019050919050565b60006133e7602483613ad8565b91506133f28261402b565b604082019050919050565b600061340a601983613ad8565b91506134158261407a565b602082019050919050565b600061342d602a83613ad8565b9150613438826140a3565b604082019050919050565b6000613450602c83613ad8565b915061345b826140f2565b604082019050919050565b6000613473603883613ad8565b915061347e82614141565b604082019050919050565b6000613496602a83613ad8565b91506134a182614190565b604082019050919050565b60006134b9602983613ad8565b91506134c4826141df565b604082019050919050565b60006134dc602083613ad8565b91506134e78261422e565b602082019050919050565b60006134ff602c83613ad8565b915061350a82614257565b604082019050919050565b6000613522602083613ad8565b915061352d826142a6565b602082019050919050565b6000613545602b83613ad8565b9150613550826142cf565b604082019050919050565b6000613568602183613ad8565b91506135738261431e565b604082019050919050565b600061358b601d83613ae9565b91506135968261436d565b601d82019050919050565b60006135ae603183613ad8565b91506135b982614396565b604082019050919050565b60006135d1601383613ad8565b91506135dc826143e5565b602082019050919050565b6135f081613cbf565b82525050565b6135ff81613ced565b82525050565b60006136108261357e565b915061361c82846132b4565b915081905092915050565b600060208201905061363c6000830184613224565b92915050565b60006040820190506136576000830185613224565b6136646020830184613224565b9392505050565b60006060820190506136806000830186613224565b61368d6020830185613224565b61369a60408301846135f6565b949350505050565b60006080820190506136b76000830187613224565b6136c46020830186613224565b6136d160408301856135f6565b81810360608301526136e38184613242565b905095945050505050565b60006040820190506137036000830185613224565b61371060208301846135f6565b9392505050565b600060208201905061372c6000830184613233565b92915050565b6000602082019050818103600083015261374c818461327b565b905092915050565b6000602082019050818103600083015261376d816132e5565b9050919050565b6000602082019050818103600083015261378d81613308565b9050919050565b600060208201905081810360008301526137ad8161332b565b9050919050565b600060208201905081810360008301526137cd8161334e565b9050919050565b600060208201905081810360008301526137ed81613371565b9050919050565b6000602082019050818103600083015261380d81613394565b9050919050565b6000602082019050818103600083015261382d816133b7565b9050919050565b6000602082019050818103600083015261384d816133da565b9050919050565b6000602082019050818103600083015261386d816133fd565b9050919050565b6000602082019050818103600083015261388d81613420565b9050919050565b600060208201905081810360008301526138ad81613443565b9050919050565b600060208201905081810360008301526138cd81613466565b9050919050565b600060208201905081810360008301526138ed81613489565b9050919050565b6000602082019050818103600083015261390d816134ac565b9050919050565b6000602082019050818103600083015261392d816134cf565b9050919050565b6000602082019050818103600083015261394d816134f2565b9050919050565b6000602082019050818103600083015261396d81613515565b9050919050565b6000602082019050818103600083015261398d81613538565b9050919050565b600060208201905081810360008301526139ad8161355b565b9050919050565b600060208201905081810360008301526139cd816135a1565b9050919050565b600060208201905081810360008301526139ed816135c4565b9050919050565b6000602082019050613a0960008301846135e7565b92915050565b6000602082019050613a2460008301846135f6565b92915050565b6000613a34613a45565b9050613a408282613d6b565b919050565b6000604051905090565b600067ffffffffffffffff821115613a6a57613a69613e5a565b5b613a7382613e89565b9050602081019050919050565b600067ffffffffffffffff821115613a9b57613a9a613e5a565b5b613aa482613e89565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613aff82613cbf565b9150613b0a83613cbf565b92508261ffff03821115613b2157613b20613dcd565b5b828201905092915050565b6000613b3782613ced565b9150613b4283613ced565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b7757613b76613dcd565b5b828201905092915050565b6000613b8d82613ced565b9150613b9883613ced565b925082613ba857613ba7613dfc565b5b828204905092915050565b6000613bbe82613ced565b9150613bc983613ced565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c0257613c01613dcd565b5b828202905092915050565b6000613c1882613cbf565b9150613c2383613cbf565b925082821015613c3657613c35613dcd565b5b828203905092915050565b6000613c4c82613ced565b9150613c5783613ced565b925082821015613c6a57613c69613dcd565b5b828203905092915050565b6000613c8082613ccd565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613d24578082015181840152602081019050613d09565b83811115613d33576000848401525b50505050565b60006002820490506001821680613d5157607f821691505b60208210811415613d6557613d64613e2b565b5b50919050565b613d7482613e89565b810181811067ffffffffffffffff82111715613d9357613d92613e5a565b5b80604052505050565b6000613da782613ced565b9150613db283613ced565b925082613dc257613dc1613dfc565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061792075702c206672656e2e00000000000000000000000000000000000000600082015250565b7f4e6f206d6f726520746f6b656e73206c6566742e000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4e6f74206d696e74656420796574000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d6178696d756d206c696d6974206f66206d696e74732070657220706572696f60008201527f6420726561636865642e00000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4e6966747957616c6c733a2055524920717565727920666f72206e6f6e65786960008201527f7374656e7420746f6b656e000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f436f6e7472616374206973207061757365642e00000000000000000000000000600082015250565b61441781613c75565b811461442257600080fd5b50565b61442e81613c87565b811461443957600080fd5b50565b61444581613c93565b811461445057600080fd5b50565b61445c81613cbf565b811461446757600080fd5b50565b61447381613ced565b811461447e57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220d357e644b73fab72356d665dc20e939738632e17481fa56bdb23bee373c7233464736f6c634300080200330000000000000000000000006448792a6c2597e1d0b73c82aa666a684807b45f000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000008

Deployed Bytecode

0x6080604052600436106102345760003560e01c80638d75fe051161012e578063b88d4fde116100ab578063da6174d01161006f578063da6174d0146107ef578063e45be8eb1461081a578063e5187f4314610845578063e985e9c51461086e578063f2fde38b146108ab5761023b565b8063b88d4fde1461070c578063b8c1e3e014610735578063c87b56dd1461075e578063cc920aff1461079b578063d5abeb01146107c45761023b565b8063a035b1fe116100f2578063a035b1fe14610625578063a22cb46514610650578063a89b1d6114610679578063b31f8f93146106b6578063b7c140dd146106e15761023b565b80638d75fe05146105505780638da5cb5b1461057b57806391b7f5ed146105a657806393e59dc1146105cf57806395d89b41146105fa5761023b565b8063355007f9116101bc5780635ea8cd12116101805780635ea8cd121461047f5780636352211e146104a857806370a08231146104e5578063715018a6146105225780638456cb59146105395761023b565b8063355007f9146103c0578063392f37e9146103e95780633ccfd60b1461041457806342842e0e1461042b5780635c975abb146104545761023b565b80631249c58b116102035780631249c58b1461030e57806312f261401461031857806316ac4f3c1461034157806318160ddd1461036c57806323b872dd146103975761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e55761023b565b3661023b57005b600080fd5b34801561024c57600080fd5b506102676004803603810190610262919061313f565b6108d4565b6040516102749190613717565b60405180910390f35b34801561028957600080fd5b506102926109b6565b60405161029f9190613732565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca91906131fb565b610a48565b6040516102dc9190613627565b60405180910390f35b3480156102f157600080fd5b5061030c600480360381019061030791906130da565b610acd565b005b610316610be5565b005b34801561032457600080fd5b5061033f600480360381019061033a9190612f6f565b610c39565b005b34801561034d57600080fd5b50610356610cfa565b6040516103639190613a0f565b60405180910390f35b34801561037857600080fd5b50610381610d01565b60405161038e9190613a0f565b60405180910390f35b3480156103a357600080fd5b506103be60048036038101906103b99190612fd4565b610d1e565b005b3480156103cc57600080fd5b506103e760048036038101906103e29190612fd4565b610d7e565b005b3480156103f557600080fd5b506103fe610e6e565b60405161040b9190613627565b60405180910390f35b34801561042057600080fd5b50610429610e95565b005b34801561043757600080fd5b50610452600480360381019061044d9190612fd4565b610f5a565b005b34801561046057600080fd5b50610469610f7a565b6040516104769190613717565b60405180910390f35b34801561048b57600080fd5b506104a660048036038101906104a191906131fb565b610f8e565b005b3480156104b457600080fd5b506104cf60048036038101906104ca91906131fb565b61102f565b6040516104dc9190613627565b60405180910390f35b3480156104f157600080fd5b5061050c60048036038101906105079190612f6f565b6110e1565b6040516105199190613a0f565b60405180910390f35b34801561052e57600080fd5b50610537611199565b005b34801561054557600080fd5b5061054e611221565b005b34801561055c57600080fd5b506105656112cb565b60405161057291906139f4565b60405180910390f35b34801561058757600080fd5b506105906112e0565b60405161059d9190613627565b60405180910390f35b3480156105b257600080fd5b506105cd60048036038101906105c891906131fb565b611309565b005b3480156105db57600080fd5b506105e4611390565b6040516105f19190613627565b60405180910390f35b34801561060657600080fd5b5061060f6113b7565b60405161061c9190613732565b60405180910390f35b34801561063157600080fd5b5061063a611449565b6040516106479190613a0f565b60405180910390f35b34801561065c57600080fd5b506106776004803603810190610672919061309e565b611488565b005b34801561068557600080fd5b506106a0600480360381019061069b91906131d2565b61149e565b6040516106ad91906139f4565b60405180910390f35b3480156106c257600080fd5b506106cb611577565b6040516106d891906139f4565b60405180910390f35b3480156106ed57600080fd5b506106f66115ac565b6040516107039190613a0f565b60405180910390f35b34801561071857600080fd5b50610733600480360381019061072e9190613023565b6115b3565b005b34801561074157600080fd5b5061075c60048036038101906107579190612fd4565b611615565b005b34801561076a57600080fd5b50610785600480360381019061078091906131fb565b611724565b6040516107929190613732565b60405180910390f35b3480156107a757600080fd5b506107c260048036038101906107bd9190612f6f565b611859565b005b3480156107d057600080fd5b506107d96118fa565b6040516107e691906139f4565b60405180910390f35b3480156107fb57600080fd5b5061080461190f565b6040516108119190613a0f565b60405180910390f35b34801561082657600080fd5b5061082f611916565b60405161083c9190613a0f565b60405180910390f35b34801561085157600080fd5b5061086c60048036038101906108679190612f6f565b61191d565b005b34801561087a57600080fd5b5061089560048036038101906108909190612f98565b6119de565b6040516108a29190613717565b60405180910390f35b3480156108b757600080fd5b506108d260048036038101906108cd9190612f6f565b611a72565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061099f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109af57506109ae82611bab565b5b9050919050565b6060600180546109c590613d39565b80601f01602080910402602001604051908101604052809291908181526020018280546109f190613d39565b8015610a3e5780601f10610a1357610100808354040283529160200191610a3e565b820191906000526020600020905b815481529060010190602001808311610a2157829003601f168201915b5050505050905090565b6000610a5382611c15565b610a92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8990613934565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ad88261102f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4090613994565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b68611c81565b73ffffffffffffffffffffffffffffffffffffffff161480610b975750610b9681610b91611c81565b6119de565b5b610bd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcd906138b4565b60405180910390fd5b610be08383611c89565b505050565b610bed611449565b341015610c2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2690613754565b60405180910390fd5b610c37611d42565b565b610c41611c81565b73ffffffffffffffffffffffffffffffffffffffff16610c5f6112e0565b73ffffffffffffffffffffffffffffffffffffffff1614610cb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cac90613954565b60405180910390fd5b8061020b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61020d5481565b600061020860029054906101000a900461ffff1661ffff16905090565b610d2f610d29611c81565b82611e4c565b610d6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d65906139b4565b60405180910390fd5b610d79838383611f2a565b505050565b610d86611c81565b73ffffffffffffffffffffffffffffffffffffffff16610da46112e0565b73ffffffffffffffffffffffffffffffffffffffff1614610dfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df190613954565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3084846040518463ffffffff1660e01b8152600401610e379392919061366b565b600060405180830381600087803b158015610e5157600080fd5b505af1158015610e65573d6000803e3d6000fd5b50505050505050565b61020a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610e9d611c81565b73ffffffffffffffffffffffffffffffffffffffff16610ebb6112e0565b73ffffffffffffffffffffffffffffffffffffffff1614610f11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0890613954565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f57573d6000803e3d6000fd5b50565b610f75838383604051806020016040528060008152506115b3565b505050565b61021060009054906101000a900460ff1681565b610f96611c81565b73ffffffffffffffffffffffffffffffffffffffff16610fb46112e0565b73ffffffffffffffffffffffffffffffffffffffff161461100a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100190613954565b60405180910390fd5b8061020c8190555061020c5461020954101561102c5761020c54610209819055505b50565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cf906138f4565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611152576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611149906138d4565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111a1611c81565b73ffffffffffffffffffffffffffffffffffffffff166111bf6112e0565b73ffffffffffffffffffffffffffffffffffffffff1614611215576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120c90613954565b60405180910390fd5b61121f6000612191565b565b611229611c81565b73ffffffffffffffffffffffffffffffffffffffff166112476112e0565b73ffffffffffffffffffffffffffffffffffffffff161461129d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129490613954565b60405180910390fd5b61021060009054906101000a900460ff161561021060006101000a81548160ff021916908315150217905550565b61020860049054906101000a900461ffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611311611c81565b73ffffffffffffffffffffffffffffffffffffffff1661132f6112e0565b73ffffffffffffffffffffffffffffffffffffffff1614611385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137c90613954565b60405180910390fd5b806102098190555050565b61020b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600280546113c690613d39565b80601f01602080910402602001604051908101604052809291908181526020018280546113f290613d39565b801561143f5780601f106114145761010080835404028352916020019161143f565b820191906000526020600020905b81548152906001019060200180831161142257829003601f168201915b5050505050905090565b6000806201518061020e544261145f9190613c41565b6114699190613b82565b141561147a57610209549050611485565b611482612255565b90505b90565b61149a611493611c81565b83836122dc565b5050565b600061020860049054906101000a900461ffff1661ffff168261ffff16106114fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f2906137b4565b60405180910390fd5b60078261020860029054906101000a900461ffff1661151a9190613c0d565b61ffff166120018110611556577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601091828204019190066002029054906101000a900461ffff169050919050565b600061020860049054906101000a900461ffff1661020860029054906101000a900461ffff166115a79190613c0d565b905090565b61020f5481565b6115c46115be611c81565b83611e4c565b611603576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fa906139b4565b60405180910390fd5b61160f84848484612449565b50505050565b61161d611c81565b73ffffffffffffffffffffffffffffffffffffffff1661163b6112e0565b73ffffffffffffffffffffffffffffffffffffffff1614611691576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168890613954565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b81526004016116cc9291906136ee565b602060405180830381600087803b1580156116e657600080fd5b505af11580156116fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171e9190613116565b50505050565b606061172f82611c15565b61176e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176590613974565b60405180910390fd5b600061020a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166325f394b8856040518263ffffffff1660e01b81526004016117d19190613a0f565b60006040518083038186803b1580156117e957600080fd5b505afa1580156117fd573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906118269190613191565b9050611831816124a5565b6040516020016118419190613605565b60405160208183030381529060405292505050919050565b600061020b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663c640752d83336040518363ffffffff1660e01b81526004016118bc929190613642565b600060405180830381600087803b1580156118d657600080fd5b505af11580156118ea573d6000803e3d6000fd5b505050506118f6611d42565b5050565b61020860029054906101000a900461ffff1681565b61020e5481565b61020c5481565b611925611c81565b73ffffffffffffffffffffffffffffffffffffffff166119436112e0565b73ffffffffffffffffffffffffffffffffffffffff1614611999576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199090613954565b60405180910390fd5b8061020a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a7a611c81565b73ffffffffffffffffffffffffffffffffffffffff16611a986112e0565b73ffffffffffffffffffffffffffffffffffffffff1614611aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae590613954565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b55906137d4565b60405180910390fd5b611b6781612191565b50565b611b84828260405180602001604052806000815250612663565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611cfc8361102f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61021060009054906101000a900460ff1615611d93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8a906139d4565b60405180910390fd5b60006201518061020e5442611da89190613c41565b611db29190613b82565b1415611e205761020d5461020f5410611e00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df790613874565b60405180910390fd5b600161020f6000828254611e149190613b2c565b92505081905550611e41565b611e28612255565b610209819055504261020e81905550600161020f819055505b611e4a336126be565b565b6000611e5782611c15565b611e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8d90613894565b60405180910390fd5b6000611ea18361102f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f1057508373ffffffffffffffffffffffffffffffffffffffff16611ef884610a48565b73ffffffffffffffffffffffffffffffffffffffff16145b80611f215750611f2081856119de565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f4a8261102f565b73ffffffffffffffffffffffffffffffffffffffff1614611fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f97906137f4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612010576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200790613834565b60405180910390fd5b61201b8383836126cc565b612026600082611c89565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120769190613c41565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120cd9190613b2c565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461218c8383836126d1565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008061020d5461020f541461226e576102095461228d565b600a6102095461227e9190613b82565b6102095461228c9190613b2c565b5b9050600361020f54106122a057806122bf565b600a610209546122b09190613b82565b610209546122be9190613c41565b5b905061020c5481116122d45761020c546122d6565b805b91505090565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561234b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234290613854565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161243c9190613717565b60405180910390a3505050565b612454848484611f2a565b612460848484846126d6565b61249f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249690613794565b60405180910390fd5b50505050565b606060008251905060008114156124ce576040518060200160405280600081525091505061265e565b600060036002836124df9190613b2c565b6124e99190613b82565b60046124f59190613bb3565b905060006020826125069190613b2c565b67ffffffffffffffff811115612545577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156125775781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001614482604091399050600181016020830160005b8681101561261b5760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b905080845260048401935050506125a2565b506003860660018114612635576002811461264557612650565b613d3d60f01b6002830352612650565b603d60f81b60018303525b508484525050819450505050505b919050565b61266d838361286d565b61267a60008484846126d6565b6126b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b090613794565b60405180910390fd5b505050565b6126c9816000612a47565b50565b505050565b505050565b60006126f78473ffffffffffffffffffffffffffffffffffffffff16611b88565b15612860578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612720611c81565b8786866040518563ffffffff1660e01b815260040161274294939291906136a2565b602060405180830381600087803b15801561275c57600080fd5b505af192505050801561278d57506040513d601f19601f8201168201806040525081019061278a9190613168565b60015b612810573d80600081146127bd576040519150601f19603f3d011682016040523d82523d6000602084013e6127c2565b606091505b50600081511415612808576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ff90613794565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612865565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d490613914565b60405180910390fd5b6128e681611c15565b15612926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291d90613814565b60405180910390fd5b612932600083836126cc565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129829190613b2c565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a43600083836126d1565b5050565b6000612a51612a66565b61ffff169050612a618382611b6a565b505050565b600080612a71611577565b61ffff1611612ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aac90613774565b60405180910390fd5b6000600161020860009054906101000a900461ffff1661ffff16600143612adc9190613c41565b4060001c612aea9190613d9c565b612af49190613af4565b905060008060078361ffff166120018110612b38577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601091828204019190066002029054906101000a900461ffff1661ffff1614612bb95760078261ffff166120018110612b9a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601091828204019190066002029054906101000a900461ffff16612bbb565b815b90506000600761020860009054906101000a900461ffff1661ffff166120018110612c0f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601091828204019190066002029054906101000a900461ffff1661ffff1614612ca157600761020860009054906101000a900461ffff1661ffff166120018110612c82577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601091828204019190066002029054906101000a900461ffff16612cb4565b61020860009054906101000a900461ffff165b60078361ffff166120018110612cf3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601091828204019190066002026101000a81548161ffff021916908361ffff16021790555080600761020860009054906101000a900461ffff1661ffff166120018110612d69577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b601091828204019190066002026101000a81548161ffff021916908361ffff160217905550600161020860008282829054906101000a900461ffff16612daf9190613c0d565b92506101000a81548161ffff021916908361ffff160217905550600161020860048282829054906101000a900461ffff16612dea9190613af4565b92506101000a81548161ffff021916908361ffff160217905550809250505090565b6000612e1f612e1a84613a4f565b613a2a565b905082815260208101848484011115612e3757600080fd5b612e42848285613cf7565b509392505050565b6000612e5d612e5884613a80565b613a2a565b905082815260208101848484011115612e7557600080fd5b612e80848285613d06565b509392505050565b600081359050612e978161440e565b92915050565b600081359050612eac81614425565b92915050565b600081519050612ec181614425565b92915050565b600081359050612ed68161443c565b92915050565b600081519050612eeb8161443c565b92915050565b600082601f830112612f0257600080fd5b8135612f12848260208601612e0c565b91505092915050565b600082601f830112612f2c57600080fd5b8151612f3c848260208601612e4a565b91505092915050565b600081359050612f5481614453565b92915050565b600081359050612f698161446a565b92915050565b600060208284031215612f8157600080fd5b6000612f8f84828501612e88565b91505092915050565b60008060408385031215612fab57600080fd5b6000612fb985828601612e88565b9250506020612fca85828601612e88565b9150509250929050565b600080600060608486031215612fe957600080fd5b6000612ff786828701612e88565b935050602061300886828701612e88565b925050604061301986828701612f5a565b9150509250925092565b6000806000806080858703121561303957600080fd5b600061304787828801612e88565b945050602061305887828801612e88565b935050604061306987828801612f5a565b925050606085013567ffffffffffffffff81111561308657600080fd5b61309287828801612ef1565b91505092959194509250565b600080604083850312156130b157600080fd5b60006130bf85828601612e88565b92505060206130d085828601612e9d565b9150509250929050565b600080604083850312156130ed57600080fd5b60006130fb85828601612e88565b925050602061310c85828601612f5a565b9150509250929050565b60006020828403121561312857600080fd5b600061313684828501612eb2565b91505092915050565b60006020828403121561315157600080fd5b600061315f84828501612ec7565b91505092915050565b60006020828403121561317a57600080fd5b600061318884828501612edc565b91505092915050565b6000602082840312156131a357600080fd5b600082015167ffffffffffffffff8111156131bd57600080fd5b6131c984828501612f1b565b91505092915050565b6000602082840312156131e457600080fd5b60006131f284828501612f45565b91505092915050565b60006020828403121561320d57600080fd5b600061321b84828501612f5a565b91505092915050565b61322d81613c75565b82525050565b61323c81613c87565b82525050565b600061324d82613ab1565b6132578185613ac7565b9350613267818560208601613d06565b61327081613e89565b840191505092915050565b600061328682613abc565b6132908185613ad8565b93506132a0818560208601613d06565b6132a981613e89565b840191505092915050565b60006132bf82613abc565b6132c98185613ae9565b93506132d9818560208601613d06565b80840191505092915050565b60006132f2600d83613ad8565b91506132fd82613e9a565b602082019050919050565b6000613315601483613ad8565b915061332082613ec3565b602082019050919050565b6000613338603283613ad8565b915061334382613eec565b604082019050919050565b600061335b600e83613ad8565b915061336682613f3b565b602082019050919050565b600061337e602683613ad8565b915061338982613f64565b604082019050919050565b60006133a1602583613ad8565b91506133ac82613fb3565b604082019050919050565b60006133c4601c83613ad8565b91506133cf82614002565b602082019050919050565b60006133e7602483613ad8565b91506133f28261402b565b604082019050919050565b600061340a601983613ad8565b91506134158261407a565b602082019050919050565b600061342d602a83613ad8565b9150613438826140a3565b604082019050919050565b6000613450602c83613ad8565b915061345b826140f2565b604082019050919050565b6000613473603883613ad8565b915061347e82614141565b604082019050919050565b6000613496602a83613ad8565b91506134a182614190565b604082019050919050565b60006134b9602983613ad8565b91506134c4826141df565b604082019050919050565b60006134dc602083613ad8565b91506134e78261422e565b602082019050919050565b60006134ff602c83613ad8565b915061350a82614257565b604082019050919050565b6000613522602083613ad8565b915061352d826142a6565b602082019050919050565b6000613545602b83613ad8565b9150613550826142cf565b604082019050919050565b6000613568602183613ad8565b91506135738261431e565b604082019050919050565b600061358b601d83613ae9565b91506135968261436d565b601d82019050919050565b60006135ae603183613ad8565b91506135b982614396565b604082019050919050565b60006135d1601383613ad8565b91506135dc826143e5565b602082019050919050565b6135f081613cbf565b82525050565b6135ff81613ced565b82525050565b60006136108261357e565b915061361c82846132b4565b915081905092915050565b600060208201905061363c6000830184613224565b92915050565b60006040820190506136576000830185613224565b6136646020830184613224565b9392505050565b60006060820190506136806000830186613224565b61368d6020830185613224565b61369a60408301846135f6565b949350505050565b60006080820190506136b76000830187613224565b6136c46020830186613224565b6136d160408301856135f6565b81810360608301526136e38184613242565b905095945050505050565b60006040820190506137036000830185613224565b61371060208301846135f6565b9392505050565b600060208201905061372c6000830184613233565b92915050565b6000602082019050818103600083015261374c818461327b565b905092915050565b6000602082019050818103600083015261376d816132e5565b9050919050565b6000602082019050818103600083015261378d81613308565b9050919050565b600060208201905081810360008301526137ad8161332b565b9050919050565b600060208201905081810360008301526137cd8161334e565b9050919050565b600060208201905081810360008301526137ed81613371565b9050919050565b6000602082019050818103600083015261380d81613394565b9050919050565b6000602082019050818103600083015261382d816133b7565b9050919050565b6000602082019050818103600083015261384d816133da565b9050919050565b6000602082019050818103600083015261386d816133fd565b9050919050565b6000602082019050818103600083015261388d81613420565b9050919050565b600060208201905081810360008301526138ad81613443565b9050919050565b600060208201905081810360008301526138cd81613466565b9050919050565b600060208201905081810360008301526138ed81613489565b9050919050565b6000602082019050818103600083015261390d816134ac565b9050919050565b6000602082019050818103600083015261392d816134cf565b9050919050565b6000602082019050818103600083015261394d816134f2565b9050919050565b6000602082019050818103600083015261396d81613515565b9050919050565b6000602082019050818103600083015261398d81613538565b9050919050565b600060208201905081810360008301526139ad8161355b565b9050919050565b600060208201905081810360008301526139cd816135a1565b9050919050565b600060208201905081810360008301526139ed816135c4565b9050919050565b6000602082019050613a0960008301846135e7565b92915050565b6000602082019050613a2460008301846135f6565b92915050565b6000613a34613a45565b9050613a408282613d6b565b919050565b6000604051905090565b600067ffffffffffffffff821115613a6a57613a69613e5a565b5b613a7382613e89565b9050602081019050919050565b600067ffffffffffffffff821115613a9b57613a9a613e5a565b5b613aa482613e89565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613aff82613cbf565b9150613b0a83613cbf565b92508261ffff03821115613b2157613b20613dcd565b5b828201905092915050565b6000613b3782613ced565b9150613b4283613ced565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b7757613b76613dcd565b5b828201905092915050565b6000613b8d82613ced565b9150613b9883613ced565b925082613ba857613ba7613dfc565b5b828204905092915050565b6000613bbe82613ced565b9150613bc983613ced565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c0257613c01613dcd565b5b828202905092915050565b6000613c1882613cbf565b9150613c2383613cbf565b925082821015613c3657613c35613dcd565b5b828203905092915050565b6000613c4c82613ced565b9150613c5783613ced565b925082821015613c6a57613c69613dcd565b5b828203905092915050565b6000613c8082613ccd565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613d24578082015181840152602081019050613d09565b83811115613d33576000848401525b50505050565b60006002820490506001821680613d5157607f821691505b60208210811415613d6557613d64613e2b565b5b50919050565b613d7482613e89565b810181811067ffffffffffffffff82111715613d9357613d92613e5a565b5b80604052505050565b6000613da782613ced565b9150613db283613ced565b925082613dc257613dc1613dfc565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061792075702c206672656e2e00000000000000000000000000000000000000600082015250565b7f4e6f206d6f726520746f6b656e73206c6566742e000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4e6f74206d696e74656420796574000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d6178696d756d206c696d6974206f66206d696e74732070657220706572696f60008201527f6420726561636865642e00000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4e6966747957616c6c733a2055524920717565727920666f72206e6f6e65786960008201527f7374656e7420746f6b656e000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f436f6e7472616374206973207061757365642e00000000000000000000000000600082015250565b61441781613c75565b811461442257600080fd5b50565b61442e81613c87565b811461443957600080fd5b50565b61444581613c93565b811461445057600080fd5b50565b61445c81613cbf565b811461446757600080fd5b50565b61447381613ced565b811461447e57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220d357e644b73fab72356d665dc20e939738632e17481fa56bdb23bee373c7233464736f6c63430008020033

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

0000000000000000000000006448792a6c2597e1d0b73c82aa666a684807b45f000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000008

-----Decoded View---------------
Arg [0] : _metadata (address): 0x6448792a6C2597E1D0b73C82AA666a684807b45F
Arg [1] : _tokenCount (uint256): 8192
Arg [2] : _mintsPerDay (uint256): 8
Arg [3] : _initialMint (uint256): 8

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000006448792a6c2597e1d0b73c82aa666a684807b45f
Arg [1] : 0000000000000000000000000000000000000000000000000000000000002000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000008


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.