ETH Price: $2,974.46 (+3.95%)
Gas: 1 Gwei

Token

Dream Gardens NFT (DREAMGARDEN)
 

Overview

Max Total Supply

2 DREAMGARDEN

Holders

1

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
Dream Landscapes NFT: Deployer
Balance
2 DREAMGARDEN
0x6A58acF22dfCF85170e8004Fb67B48D71bfAf99c
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:
DreamGardensNFT

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : DreamGardensNFT.sol
//                _                                  
//               (`  ).                   _           
//              (     ).              .:(`  )`.       
// )           _(       '`.          :(   .    )      
//         .=(`(      .   )     .--  `.  (    ) )      
//        ((    (..__.:'-'   .+(   )   ` _`  ) )                 
// `.     `(       ) )       (   .  )     (   )  ._   
//   )      ` __.:'   )     (   (   ))     `-'.-(`  ) 
// )  )  ( )       --'       `- __.'         :(      )) 
// .-'  (_.'          .')                    `(    )  ))
//                   (_  )  dreaming gardens   ` __.:'          
//                                         
// --..,___.--,--'`,---..-.--+--.,,-,,..._.--..-._.-a:f--.
//
// by @eddietree

pragma solidity ^0.8.0;

import "./ERC721Tradable.sol";

contract DreamGardensNFT is ERC721Tradable {
  // JSONS
  string private _prerevealMetaURI = "https://gateway.pinata.cloud/ipfs/QmSX9UEjufVvifmszeUJENiCtMLFq8wA7jGhTJFdxeCACU/";
  string private _revealedMetaURI = "https://gateway.pinata.cloud/ipfs/QmRA71NveXF5EFUSds873WqxkVuT8HvvATgz65ev3ea9d5/";
  string private _nightmareMetaURI = "https://gateway.pinata.cloud/ipfs/QmbpWLqDtN3sdFtev4TkWca3tasGmAHgJkpXA21GBkLDke/";
  
  // states
  bool public saleIsActive = false;
  bool public isRevealed = false;

  uint256 public constant MAX_SUPPLY = 128;
  uint256 public constant MAX_PUBLIC_MINT = 16;
  uint256 public constant PRICE_PER_TOKEN = 0.064 ether;

  bool [MAX_SUPPLY] private _nightmareMap;
  mapping(address => uint8) private _allowList;

  constructor(address _proxyRegistryAddress) ERC721Tradable("Dream Gardens NFT", "DREAMGARDEN", _proxyRegistryAddress) public {  
    for(uint i = 0; i < MAX_SUPPLY; i+=1) {
      _nightmareMap[i] = false;
    }
  }

  function setSaleState(bool newState) public onlyOwner {
      saleIsActive = newState;
  }

  function setAllowList(address[] calldata addresses, uint8 numAllowedToMint) external onlyOwner {
      for (uint256 i = 0; i < addresses.length; i++) {
          _allowList[addresses[i]] = numAllowedToMint;
      }
  }

  function allowListNumAvailableToMint(address addr) external view returns (uint8) {
      return _allowList[addr];
  }

  function revealAll() public onlyOwner {
      isRevealed = true;
  }

  ///////////////////// URI

  function setPreRevealURI(string memory _value) public onlyOwner {
    _prerevealMetaURI = _value;
  }

  function setRevealedURI(string memory _value) public onlyOwner {
    _revealedMetaURI = _value;
  }

  function setNightmareURI(string memory _value) public onlyOwner {
    _nightmareMetaURI = _value;
  }

  function tokenURI(uint256 _tokenId) override public view returns (string memory) {
    require(_tokenId >= 0 && _tokenId < MAX_SUPPLY, "Not valid token range");

    if (!isRevealed) { // prereveal
      return string(abi.encodePacked(_prerevealMetaURI, Strings.toString(_tokenId), ".json"));
    } else if (isNightmare(_tokenId)) { // nightmare
      return string(abi.encodePacked(_nightmareMetaURI, Strings.toString(_tokenId), ".json"));
    } else { // revealed
      return string(abi.encodePacked(_revealedMetaURI, Strings.toString(_tokenId), ".json"));
    }
  }

  ///////////////  nightmare
  function isNightmare(uint256 _tokenId) public view returns (bool) {
    require(_tokenId >= 0 && _tokenId < MAX_SUPPLY, "Not valid token range");
    return _nightmareMap[_tokenId];
  }

  function setNightmareMode(uint256 _tokenId) public  {
    require(_tokenId >= 0 && _tokenId < MAX_SUPPLY, "Not valid token range");

    address ownerOfToken = ownerOf(_tokenId);
    require(ownerOfToken == msg.sender, "Not the owner");

    // make sure owner owns this token
    if (ownerOfToken == msg.sender) {
      _nightmareMap[_tokenId] = true;
    }
  }

  function forceNightmareMode(uint256 _tokenId, bool _nightmareMode) public onlyOwner {
    require(_tokenId >= 0 && _tokenId < MAX_SUPPLY, "Not valid token range");
    _nightmareMap[_tokenId] = _nightmareMode;
  }

  function nightmareCount() public view returns (uint) {
    uint count = 0;

    for(uint i = 0; i < MAX_SUPPLY; i+=1) {
      count += _nightmareMap[i] == true ? 1 : 0;
    }

    return count;
  }

  ///////////////  mint
  function reserveGarden(uint numberOfTokens) public onlyOwner {
    uint256 ts = totalSupply();
    require(ts + numberOfTokens <= MAX_SUPPLY, "Mint would exceed max tokens");

    for (uint256 i = 0; i < numberOfTokens; i++) {
      mintTo(msg.sender);
    }
  }

  function mintGardenAllowlist(uint8 numberOfTokens) public payable {
    uint256 ts = totalSupply();

    require(numberOfTokens > 0, "Need to mint at least 1 token");
    require(numberOfTokens <= MAX_PUBLIC_MINT, "Exceeded max token purchase");
    require(numberOfTokens <= _allowList[msg.sender], "Exceeded max available to purchase");
    require(ts + numberOfTokens <= MAX_SUPPLY, "Purchase would exceed max tokens");
    require(PRICE_PER_TOKEN * numberOfTokens <= msg.value, "Ether value sent is not correct");

    _allowList[msg.sender] -= numberOfTokens;

    for (uint256 i = 0; i < numberOfTokens; i++) {
        mintTo(msg.sender);
    }
  }

  ///////////////  nightmare
  function mintGarden(uint numberOfTokens) public payable {
    uint256 ts = totalSupply();

    require(saleIsActive, "Sale must be active to mint tokens");
    require(numberOfTokens <= MAX_PUBLIC_MINT, "Exceeded max token purchase");
    require(ts + numberOfTokens <= MAX_SUPPLY, "Purchase would exceed max tokens");
    require(PRICE_PER_TOKEN * numberOfTokens <= msg.value, "Ether value sent is not correct");

    for (uint256 i = 0; i < numberOfTokens; i++) {
        mintTo(msg.sender);
        //uint256 tokenIndex = ts + i;
        //_safeMint(msg.sender, tokenIndex);
    }
  }

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

File 2 of 18 : ERC721Tradable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

import "./common/meta-transactions/ContentMixin.sol";
import "./common/meta-transactions/NativeMetaTransaction.sol";

contract OwnableDelegateProxy {}

/**
 * Used to delegate ownership of a contract to another address, to save on unneeded transactions to approve contract use for users
 */
contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

/**
 * @title ERC721Tradable
 * ERC721Tradable - ERC721 contract that whitelists a trading address, and has minting functionality.
 */
abstract contract ERC721Tradable is ERC721, ContextMixin, NativeMetaTransaction, Ownable {
    using SafeMath for uint256;
    using Counters for Counters.Counter;


    Counters.Counter private _nextTokenId;
    address proxyRegistryAddress;

    constructor(
        string memory _name,
        string memory _symbol,
        address _proxyRegistryAddress
    ) ERC721(_name, _symbol) {
        proxyRegistryAddress = _proxyRegistryAddress;
        // nextTokenId is initialized to 1, since starting at 0 leads to higher gas cost for the first minter
        _nextTokenId.increment();
        _initializeEIP712(_name);
    }

    /**
     * @dev Mints a token to an address with a tokenURI.
     * @param _to address of the future owner of the token
     */
    function mintTo(address _to) internal {
        uint256 currentTokenId = _nextTokenId.current();
        _nextTokenId.increment();
        _safeMint(_to, currentTokenId);
    }

    /**
        @dev Returns the total tokens minted so far.
        1 is always subtracted from the Counter since it tracks the next available tokenId.
     */
    function totalSupply() public view returns (uint256) {
        return _nextTokenId.current() - 1;
    }

    /**
     * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
     */
    function isApprovedForAll(address owner, address operator)
        override
        public
        view
        returns (bool)
    {
        // Whitelist OpenSea proxy contract for easy trading.
        ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
        if (address(proxyRegistry.proxies(owner)) == operator) {
            return true;
        }

        return super.isApprovedForAll(owner, operator);
    }

    /**
     * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea.
     */
    function _msgSender()
        internal
        override
        view
        returns (address sender)
    {
        return ContextMixin.msgSender();
    }
}

File 3 of 18 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

File 4 of 18 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev 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 5 of 18 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 18 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 7 of 18 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 8 of 18 : ContentMixin.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

abstract contract ContextMixin {
    function msgSender()
        internal
        view
        returns (address payable sender)
    {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}

File 9 of 18 : NativeMetaTransaction.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import {SafeMath} from  "@openzeppelin/contracts/utils/math/SafeMath.sol";
import {EIP712Base} from "./EIP712Base.sol";

contract NativeMetaTransaction is EIP712Base {
    using SafeMath for uint256;
    bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(
        bytes(
            "MetaTransaction(uint256 nonce,address from,bytes functionSignature)"
        )
    );
    event MetaTransactionExecuted(
        address userAddress,
        address payable relayerAddress,
        bytes functionSignature
    );
    mapping(address => uint256) nonces;

    /*
     * Meta transaction structure.
     * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas
     * He should call the desired function directly in that case.
     */
    struct MetaTransaction {
        uint256 nonce;
        address from;
        bytes functionSignature;
    }

    function executeMetaTransaction(
        address userAddress,
        bytes memory functionSignature,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) public payable returns (bytes memory) {
        MetaTransaction memory metaTx = MetaTransaction({
            nonce: nonces[userAddress],
            from: userAddress,
            functionSignature: functionSignature
        });

        require(
            verify(userAddress, metaTx, sigR, sigS, sigV),
            "Signer and signature do not match"
        );

        // increase nonce for user (to avoid re-use)
        nonces[userAddress] = nonces[userAddress].add(1);

        emit MetaTransactionExecuted(
            userAddress,
            payable(msg.sender),
            functionSignature
        );

        // Append userAddress and relayer address at the end to extract it from calling context
        (bool success, bytes memory returnData) = address(this).call(
            abi.encodePacked(functionSignature, userAddress)
        );
        require(success, "Function call not successful");

        return returnData;
    }

    function hashMetaTransaction(MetaTransaction memory metaTx)
        internal
        pure
        returns (bytes32)
    {
        return
            keccak256(
                abi.encode(
                    META_TRANSACTION_TYPEHASH,
                    metaTx.nonce,
                    metaTx.from,
                    keccak256(metaTx.functionSignature)
                )
            );
    }

    function getNonce(address user) public view returns (uint256 nonce) {
        nonce = nonces[user];
    }

    function verify(
        address signer,
        MetaTransaction memory metaTx,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) internal view returns (bool) {
        require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER");
        return
            signer ==
            ecrecover(
                toTypedMessageHash(hashMetaTransaction(metaTx)),
                sigV,
                sigR,
                sigS
            );
    }
}

File 10 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 18 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 12 of 18 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 13 of 18 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 18 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 15 of 18 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 17 of 18 : EIP712Base.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import {Initializable} from "./Initializable.sol";

contract EIP712Base is Initializable {
    struct EIP712Domain {
        string name;
        string version;
        address verifyingContract;
        bytes32 salt;
    }

    string constant public ERC712_VERSION = "1";

    bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(
        bytes(
            "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)"
        )
    );
    bytes32 internal domainSeperator;

    // supposed to be called once while initializing.
    // one of the contracts that inherits this contract follows proxy pattern
    // so it is not possible to do this in a constructor
    function _initializeEIP712(
        string memory name
    )
        internal
        initializer
    {
        _setDomainSeperator(name);
    }

    function _setDomainSeperator(string memory name) internal {
        domainSeperator = keccak256(
            abi.encode(
                EIP712_DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                keccak256(bytes(ERC712_VERSION)),
                address(this),
                bytes32(getChainId())
            )
        );
    }

    function getDomainSeperator() public view returns (bytes32) {
        return domainSeperator;
    }

    function getChainId() public view returns (uint256) {
        uint256 id;
        assembly {
            id := chainid()
        }
        return id;
    }

    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function toTypedMessageHash(bytes32 messageHash)
        internal
        view
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)
            );
    }
}

File 18 of 18 : Initializable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

contract Initializable {
    bool inited = false;

    modifier initializer() {
        require(!inited, "already inited");
        _;
        inited = true;
    }
}

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":"_proxyRegistryAddress","type":"address"}],"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":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_PER_TOKEN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"allowListNumAvailableToMint","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bool","name":"_nightmareMode","type":"bool"}],"name":"forceNightmareMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"isNightmare","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintGarden","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"numberOfTokens","type":"uint8"}],"name":"mintGardenAllowlist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nightmareCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"reserveGarden","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealAll","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint8","name":"numAllowedToMint","type":"uint8"}],"name":"setAllowList","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":"uint256","name":"_tokenId","type":"uint256"}],"name":"setNightmareMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_value","type":"string"}],"name":"setNightmareURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_value","type":"string"}],"name":"setPreRevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_value","type":"string"}],"name":"setRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newState","type":"bool"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600660006101000a81548160ff02191690831515021790555060405180608001604052806051815260200162005cbf60519139600c908051906020019062000050929190620005be565b5060405180608001604052806051815260200162005c1d60519139600d908051906020019062000082929190620005be565b5060405180608001604052806051815260200162005c6e60519139600e9080519060200190620000b4929190620005be565b506000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff021916908315150217905550348015620000f857600080fd5b5060405162005d1038038062005d1083398181016040528101906200011e919062000685565b6040518060400160405280601181526020017f447265616d2047617264656e73204e46540000000000000000000000000000008152506040518060400160405280600b81526020017f445245414d47415244454e0000000000000000000000000000000000000000008152508282828160009080519060200190620001a5929190620005be565b508060019080519060200190620001be929190620005be565b505050620001e1620001d5620002d560201b60201c565b620002f160201b60201c565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000239600a620003b760201b620024d21760201c565b6200024a83620003cd60201b60201c565b50505060005b6080811015620002cd5760006010826080811062000297577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190066101000a81548160ff021916908315150217905550600181620002c59190620007a5565b905062000250565b5050620008f8565b6000620002ec6200044f60201b620024e81760201c565b905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b600660009054906101000a900460ff161562000420576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004179062000772565b60405180910390fd5b62000431816200050260201b60201c565b6001600660006101000a81548160ff02191690831515021790555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415620004fb57600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050620004ff565b3390505b90565b6040518060800160405280604f815260200162005bce604f91398051906020012081805190602001206040518060400160405280600181526020017f3100000000000000000000000000000000000000000000000000000000000000815250805190602001203062000579620005b160201b60201c565b60001b6040516020016200059295949392919062000715565b6040516020818303038152906040528051906020012060078190555050565b6000804690508091505090565b828054620005cc906200084a565b90600052602060002090601f016020900481019282620005f057600085556200063c565b82601f106200060b57805160ff19168380011785556200063c565b828001600101855582156200063c579182015b828111156200063b5782518255916020019190600101906200061e565b5b5090506200064b91906200064f565b5090565b5b808211156200066a57600081600090555060010162000650565b5090565b6000815190506200067f81620008de565b92915050565b6000602082840312156200069857600080fd5b6000620006a8848285016200066e565b91505092915050565b620006bc8162000802565b82525050565b620006cd8162000816565b82525050565b6000620006e2600e8362000794565b91507f616c726561647920696e697465640000000000000000000000000000000000006000830152602082019050919050565b600060a0820190506200072c6000830188620006c2565b6200073b6020830187620006c2565b6200074a6040830186620006c2565b620007596060830185620006b1565b620007686080830184620006c2565b9695505050505050565b600060208201905081810360008301526200078d81620006d3565b9050919050565b600082825260208201905092915050565b6000620007b28262000840565b9150620007bf8362000840565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620007f757620007f662000880565b5b828201905092915050565b60006200080f8262000820565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060028204905060018216806200086357607f821691505b602082108114156200087a5762000879620008af565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b620008e98162000802565b8114620008f557600080fd5b50565b6152c680620009086000396000f3fe6080604052600436106102515760003560e01c806354214f6911610139578063993a917e116100b6578063c87b56dd1161007a578063c87b56dd14610880578063e985e9c5146108bd578063eb8d2444146108fa578063ef43340614610925578063f2fde38b14610950578063f6dfd49e1461097957610251565b8063993a917e146107c0578063a02c5fbc146107dc578063a22cb46514610805578063b88d4fde1461082e578063c4e370951461085757610251565b80638295784d116100fd5780638295784d146106ed578063833b9499146107165780638ac466e4146107415780638da5cb5b1461076a57806395d89b411461079557610251565b806354214f69146106065780636352211e1461063157806365f130971461066e57806370a0823114610699578063715018a6146106d657610251565b80632778a78a116101d257806332cb6b0c1161019657806332cb6b0c146105305780633408e4701461055b578063373c0457146105865780633ccfd60b146105af57806342842e0e146105c657806342d0e74e146105ef57610251565b80632778a78a1461043b57806328c77f70146104785780632a85db55146104a15780632d0335ab146104ca578063326d43881461050757610251565b80630c53c51c116102195780630c53c51c146103615780630f7e59701461039157806318160ddd146103bc57806320379ee5146103e757806323b872dd1461041257610251565b806301ffc9a71461025657806306fdde031461029357806307f3e9e5146102be578063081812fc146102fb578063095ea7b314610338575b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190613a47565b610995565b60405161028a9190614830565b60405180910390f35b34801561029f57600080fd5b506102a8610a77565b6040516102b59190614912565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190613790565b610b09565b6040516102f29190614caf565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d9190613b03565b610b5f565b60405161032f919061478b565b60405180910390f35b34801561034457600080fd5b5061035f600480360381019061035a919061398a565b610be4565b005b61037b600480360381019061037691906138fb565b610cfc565b60405161038891906148f0565b60405180910390f35b34801561039d57600080fd5b506103a6610f6e565b6040516103b39190614912565b60405180910390f35b3480156103c857600080fd5b506103d1610fa7565b6040516103de9190614c94565b60405180910390f35b3480156103f357600080fd5b506103fc610fc4565b604051610409919061484b565b60405180910390f35b34801561041e57600080fd5b50610439600480360381019061043491906137f5565b610fce565b005b34801561044757600080fd5b50610462600480360381019061045d9190613b03565b61102e565b60405161046f9190614830565b60405180910390f35b34801561048457600080fd5b5061049f600480360381019061049a9190613b03565b6110d6565b005b3480156104ad57600080fd5b506104c860048036038101906104c39190613ac2565b6111d9565b005b3480156104d657600080fd5b506104f160048036038101906104ec9190613790565b61126f565b6040516104fe9190614c94565b60405180910390f35b34801561051357600080fd5b5061052e60048036038101906105299190613ac2565b6112b8565b005b34801561053c57600080fd5b5061054561134e565b6040516105529190614c94565b60405180910390f35b34801561056757600080fd5b50610570611353565b60405161057d9190614c94565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a89190613b2c565b611360565b005b3480156105bb57600080fd5b506105c461148a565b005b3480156105d257600080fd5b506105ed60048036038101906105e891906137f5565b611555565b005b3480156105fb57600080fd5b50610604611575565b005b34801561061257600080fd5b5061061b61160e565b6040516106289190614830565b60405180910390f35b34801561063d57600080fd5b5061065860048036038101906106539190613b03565b611621565b604051610665919061478b565b60405180910390f35b34801561067a57600080fd5b506106836116d3565b6040516106909190614c94565b60405180910390f35b3480156106a557600080fd5b506106c060048036038101906106bb9190613790565b6116d8565b6040516106cd9190614c94565b60405180910390f35b3480156106e257600080fd5b506106eb611790565b005b3480156106f957600080fd5b50610714600480360381019061070f91906139c6565b611818565b005b34801561072257600080fd5b5061072b611960565b6040516107389190614c94565b60405180910390f35b34801561074d57600080fd5b5061076860048036038101906107639190613ac2565b61196b565b005b34801561077657600080fd5b5061077f611a01565b60405161078c919061478b565b60405180910390f35b3480156107a157600080fd5b506107aa611a2b565b6040516107b79190614912565b60405180910390f35b6107da60048036038101906107d59190613b68565b611abd565b005b3480156107e857600080fd5b5061080360048036038101906107fe9190613b03565b611d37565b005b34801561081157600080fd5b5061082c600480360381019061082791906138bf565b611e96565b005b34801561083a57600080fd5b5061085560048036038101906108509190613844565b611eac565b005b34801561086357600080fd5b5061087e60048036038101906108799190613a1e565b611f0e565b005b34801561088c57600080fd5b506108a760048036038101906108a29190613b03565b611fa7565b6040516108b49190614912565b60405180910390f35b3480156108c957600080fd5b506108e460048036038101906108df91906137b9565b6120b2565b6040516108f19190614830565b60405180910390f35b34801561090657600080fd5b5061090f6121b4565b60405161091c9190614830565b60405180910390f35b34801561093157600080fd5b5061093a6121c7565b6040516109479190614c94565b60405180910390f35b34801561095c57600080fd5b5061097760048036038101906109729190613790565b61226b565b005b610993600480360381019061098e9190613b03565b612363565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a6057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a705750610a6f82612599565b5b9050919050565b606060008054610a8690614ff8565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab290614ff8565b8015610aff5780601f10610ad457610100808354040283529160200191610aff565b820191906000526020600020905b815481529060010190602001808311610ae257829003601f168201915b5050505050905090565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000610b6a82612603565b610ba9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba090614b54565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bef82611621565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5790614bf4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c7f61266f565b73ffffffffffffffffffffffffffffffffffffffff161480610cae5750610cad81610ca861266f565b6120b2565b5b610ced576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce490614ab4565b60405180910390fd5b610cf7838361267e565b505050565b606060006040518060600160405280600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610d7f8782878787612737565b610dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db590614bb4565b60405180910390fd5b610e116001600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461284090919063ffffffff16565b600860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610e87939291906147a6565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610ebc9291906146fd565b604051602081830303815290604052604051610ed891906146e6565b6000604051808303816000865af19150503d8060008114610f15576040519150601f19603f3d011682016040523d82523d6000602084013e610f1a565b606091505b509150915081610f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5690614974565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b60006001610fb5600a612856565b610fbf9190614e9f565b905090565b6000600754905090565b610fdf610fd961266f565b82612864565b61101e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101590614c74565b60405180910390fd5b611029838383612942565b505050565b60008082101580156110405750608082105b61107f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611076906149f4565b60405180910390fd5b601082608081106110b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190069054906101000a900460ff169050919050565b6110de61266f565b73ffffffffffffffffffffffffffffffffffffffff166110fc611a01565b73ffffffffffffffffffffffffffffffffffffffff1614611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114990614b74565b60405180910390fd5b600061115c610fa7565b90506080828261116c9190614dbe565b11156111ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a4906149b4565b60405180910390fd5b60005b828110156111d4576111c133612b9e565b80806111cc9061502a565b9150506111b0565b505050565b6111e161266f565b73ffffffffffffffffffffffffffffffffffffffff166111ff611a01565b73ffffffffffffffffffffffffffffffffffffffff1614611255576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124c90614b74565b60405180910390fd5b80600c908051906020019061126b92919061352b565b5050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112c061266f565b73ffffffffffffffffffffffffffffffffffffffff166112de611a01565b73ffffffffffffffffffffffffffffffffffffffff1614611334576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132b90614b74565b60405180910390fd5b80600d908051906020019061134a92919061352b565b5050565b608081565b6000804690508091505090565b61136861266f565b73ffffffffffffffffffffffffffffffffffffffff16611386611a01565b73ffffffffffffffffffffffffffffffffffffffff16146113dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d390614b74565b60405180910390fd5b600082101580156113ed5750608082105b61142c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611423906149f4565b60405180910390fd5b8060108360808110611467577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190066101000a81548160ff0219169083151502179055505050565b61149261266f565b73ffffffffffffffffffffffffffffffffffffffff166114b0611a01565b73ffffffffffffffffffffffffffffffffffffffff1614611506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fd90614b74565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611551573d6000803e3d6000fd5b5050565b61157083838360405180602001604052806000815250611eac565b505050565b61157d61266f565b73ffffffffffffffffffffffffffffffffffffffff1661159b611a01565b73ffffffffffffffffffffffffffffffffffffffff16146115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e890614b74565b60405180910390fd5b6001600f60016101000a81548160ff021916908315150217905550565b600f60019054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c190614b14565b60405180910390fd5b80915050919050565b601081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611749576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174090614af4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61179861266f565b73ffffffffffffffffffffffffffffffffffffffff166117b6611a01565b73ffffffffffffffffffffffffffffffffffffffff161461180c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180390614b74565b60405180910390fd5b6118166000612bc4565b565b61182061266f565b73ffffffffffffffffffffffffffffffffffffffff1661183e611a01565b73ffffffffffffffffffffffffffffffffffffffff1614611894576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188b90614b74565b60405180910390fd5b60005b8383905081101561195a5781601460008686858181106118e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906118f59190613790565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff16021790555080806119529061502a565b915050611897565b50505050565b66e35fa931a0000081565b61197361266f565b73ffffffffffffffffffffffffffffffffffffffff16611991611a01565b73ffffffffffffffffffffffffffffffffffffffff16146119e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119de90614b74565b60405180910390fd5b80600e90805190602001906119fd92919061352b565b5050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611a3a90614ff8565b80601f0160208091040260200160405190810160405280929190818152602001828054611a6690614ff8565b8015611ab35780601f10611a8857610100808354040283529160200191611ab3565b820191906000526020600020905b815481529060010190602001808311611a9657829003601f168201915b5050505050905090565b6000611ac7610fa7565b905060008260ff1611611b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0690614c54565b60405180910390fd5b60108260ff161115611b56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4d90614c14565b60405180910390fd5b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff168260ff161115611beb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be290614c34565b60405180910390fd5b60808260ff1682611bfc9190614dbe565b1115611c3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3490614994565b60405180910390fd5b348260ff1666e35fa931a00000611c549190614e45565b1115611c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8c90614a54565b60405180910390fd5b81601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff16611cf09190614ed3565b92506101000a81548160ff021916908360ff16021790555060005b8260ff16811015611d3257611d1f33612b9e565b8080611d2a9061502a565b915050611d0b565b505050565b60008110158015611d485750608081105b611d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7e906149f4565b60405180910390fd5b6000611d9282611621565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611e02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df990614ad4565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e9257600160108360808110611e72577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190066101000a81548160ff0219169083151502179055505b5050565b611ea8611ea161266f565b8383612c8a565b5050565b611ebd611eb761266f565b83612864565b611efc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef390614c74565b60405180910390fd5b611f0884848484612df7565b50505050565b611f1661266f565b73ffffffffffffffffffffffffffffffffffffffff16611f34611a01565b73ffffffffffffffffffffffffffffffffffffffff1614611f8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8190614b74565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b606060008210158015611fba5750608082105b611ff9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff0906149f4565b60405180910390fd5b600f60019054906101000a900460ff1661203f57600c61201883612e53565b604051602001612029929190614725565b60405160208183030381529060405290506120ad565b6120488261102e565b1561207f57600e61205883612e53565b604051602001612069929190614725565b60405160208183030381529060405290506120ad565b600d61208a83612e53565b60405160200161209b929190614725565b60405160208183030381529060405290505b919050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b815260040161212a919061478b565b60206040518083038186803b15801561214257600080fd5b505afa158015612156573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217a9190613a99565b73ffffffffffffffffffffffffffffffffffffffff1614156121a05760019150506121ae565b6121aa8484613000565b9150505b92915050565b600f60009054906101000a900460ff1681565b6000806000905060005b6080811015612263576001151560108260808110612218577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190069054906101000a900460ff1615151461223c57600061223f565b60015b60ff168261224d9190614dbe565b915060018161225c9190614dbe565b90506121d1565b508091505090565b61227361266f565b73ffffffffffffffffffffffffffffffffffffffff16612291611a01565b73ffffffffffffffffffffffffffffffffffffffff16146122e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122de90614b74565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612357576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234e90614954565b60405180910390fd5b61236081612bc4565b50565b600061236d610fa7565b9050600f60009054906101000a900460ff166123be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b590614bd4565b60405180910390fd5b6010821115612402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f990614c14565b60405180910390fd5b608082826124109190614dbe565b1115612451576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244890614994565b60405180910390fd5b348266e35fa931a000006124659190614e45565b11156124a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249d90614a54565b60405180910390fd5b60005b828110156124cd576124ba33612b9e565b80806124c59061502a565b9150506124a9565b505050565b6001816000016000828254019250508190555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561259257600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050612596565b3390505b90565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60006126796124e8565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166126f183611621565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156127a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279f90614a94565b60405180910390fd5b60016127bb6127b687613094565b6130fc565b838686604051600081526020016040526040516127db94939291906148ab565b6020604051602081039080840390855afa1580156127fd573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b6000818361284e9190614dbe565b905092915050565b600081600001549050919050565b600061286f82612603565b6128ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a590614a74565b60405180910390fd5b60006128b983611621565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061292857508373ffffffffffffffffffffffffffffffffffffffff1661291084610b5f565b73ffffffffffffffffffffffffffffffffffffffff16145b80612939575061293881856120b2565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661296282611621565b73ffffffffffffffffffffffffffffffffffffffff16146129b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129af90614b94565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1f90614a14565b60405180910390fd5b612a33838383613135565b612a3e60008261267e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a8e9190614e9f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ae59190614dbe565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612baa600a612856565b9050612bb6600a6124d2565b612bc0828261313a565b5050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf090614a34565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612dea9190614830565b60405180910390a3505050565b612e02848484612942565b612e0e84848484613158565b612e4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4490614934565b60405180910390fd5b50505050565b60606000821415612e9b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ffb565b600082905060005b60008214612ecd578080612eb69061502a565b915050600a82612ec69190614e14565b9150612ea3565b60008167ffffffffffffffff811115612f0f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612f415781602001600182028036833780820191505090505b5090505b60008514612ff457600182612f5a9190614e9f565b9150600a85612f6991906150a1565b6030612f759190614dbe565b60f81b818381518110612fb1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fed9190614e14565b9450612f45565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600060405180608001604052806043815260200161524e6043913980519060200120826000015183602001518460400151805190602001206040516020016130df9493929190614866565b604051602081830303815290604052805190602001209050919050565b6000613106610fc4565b82604051602001613118929190614754565b604051602081830303815290604052805190602001209050919050565b505050565b6131548282604051806020016040528060008152506132ef565b5050565b60006131798473ffffffffffffffffffffffffffffffffffffffff1661334a565b156132e2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026131a261266f565b8786866040518563ffffffff1660e01b81526004016131c494939291906147e4565b602060405180830381600087803b1580156131de57600080fd5b505af192505050801561320f57506040513d601f19601f8201168201806040525081019061320c9190613a70565b60015b613292573d806000811461323f576040519150601f19603f3d011682016040523d82523d6000602084013e613244565b606091505b5060008151141561328a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328190614934565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506132e7565b600190505b949350505050565b6132f9838361335d565b6133066000848484613158565b613345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333c90614934565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133c490614b34565b60405180910390fd5b6133d681612603565b15613416576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340d906149d4565b60405180910390fd5b61342260008383613135565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546134729190614dbe565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461353790614ff8565b90600052602060002090601f01602090048101928261355957600085556135a0565b82601f1061357257805160ff19168380011785556135a0565b828001600101855582156135a0579182015b8281111561359f578251825591602001919060010190613584565b5b5090506135ad91906135b1565b5090565b5b808211156135ca5760008160009055506001016135b2565b5090565b60006135e16135dc84614cfb565b614cca565b9050828152602081018484840111156135f957600080fd5b613604848285614fb6565b509392505050565b600061361f61361a84614d2b565b614cca565b90508281526020810184848401111561363757600080fd5b613642848285614fb6565b509392505050565b600081359050613659816151ac565b92915050565b60008083601f84011261367157600080fd5b8235905067ffffffffffffffff81111561368a57600080fd5b6020830191508360208202830111156136a257600080fd5b9250929050565b6000813590506136b8816151c3565b92915050565b6000813590506136cd816151da565b92915050565b6000813590506136e2816151f1565b92915050565b6000815190506136f7816151f1565b92915050565b600082601f83011261370e57600080fd5b813561371e8482602086016135ce565b91505092915050565b60008151905061373681615208565b92915050565b600082601f83011261374d57600080fd5b813561375d84826020860161360c565b91505092915050565b6000813590506137758161521f565b92915050565b60008135905061378a81615236565b92915050565b6000602082840312156137a257600080fd5b60006137b08482850161364a565b91505092915050565b600080604083850312156137cc57600080fd5b60006137da8582860161364a565b92505060206137eb8582860161364a565b9150509250929050565b60008060006060848603121561380a57600080fd5b60006138188682870161364a565b93505060206138298682870161364a565b925050604061383a86828701613766565b9150509250925092565b6000806000806080858703121561385a57600080fd5b60006138688782880161364a565b94505060206138798782880161364a565b935050604061388a87828801613766565b925050606085013567ffffffffffffffff8111156138a757600080fd5b6138b3878288016136fd565b91505092959194509250565b600080604083850312156138d257600080fd5b60006138e08582860161364a565b92505060206138f1858286016136a9565b9150509250929050565b600080600080600060a0868803121561391357600080fd5b60006139218882890161364a565b955050602086013567ffffffffffffffff81111561393e57600080fd5b61394a888289016136fd565b945050604061395b888289016136be565b935050606061396c888289016136be565b925050608061397d8882890161377b565b9150509295509295909350565b6000806040838503121561399d57600080fd5b60006139ab8582860161364a565b92505060206139bc85828601613766565b9150509250929050565b6000806000604084860312156139db57600080fd5b600084013567ffffffffffffffff8111156139f557600080fd5b613a018682870161365f565b93509350506020613a148682870161377b565b9150509250925092565b600060208284031215613a3057600080fd5b6000613a3e848285016136a9565b91505092915050565b600060208284031215613a5957600080fd5b6000613a67848285016136d3565b91505092915050565b600060208284031215613a8257600080fd5b6000613a90848285016136e8565b91505092915050565b600060208284031215613aab57600080fd5b6000613ab984828501613727565b91505092915050565b600060208284031215613ad457600080fd5b600082013567ffffffffffffffff811115613aee57600080fd5b613afa8482850161373c565b91505092915050565b600060208284031215613b1557600080fd5b6000613b2384828501613766565b91505092915050565b60008060408385031215613b3f57600080fd5b6000613b4d85828601613766565b9250506020613b5e858286016136a9565b9150509250929050565b600060208284031215613b7a57600080fd5b6000613b888482850161377b565b91505092915050565b613b9a81614f19565b82525050565b613ba981614f07565b82525050565b613bc0613bbb82614f07565b615073565b82525050565b613bcf81614f2b565b82525050565b613bde81614f37565b82525050565b613bf5613bf082614f37565b615085565b82525050565b6000613c0682614d70565b613c108185614d86565b9350613c20818560208601614fc5565b613c298161518e565b840191505092915050565b6000613c3f82614d70565b613c498185614d97565b9350613c59818560208601614fc5565b80840191505092915050565b6000613c7082614d7b565b613c7a8185614da2565b9350613c8a818560208601614fc5565b613c938161518e565b840191505092915050565b6000613ca982614d7b565b613cb38185614db3565b9350613cc3818560208601614fc5565b80840191505092915050565b60008154613cdc81614ff8565b613ce68186614db3565b94506001821660008114613d015760018114613d1257613d45565b60ff19831686528186019350613d45565b613d1b85614d5b565b60005b83811015613d3d57815481890152600182019150602081019050613d1e565b838801955050505b50505092915050565b6000613d5b603283614da2565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613dc1602683614da2565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e27601c83614da2565b91507f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006000830152602082019050919050565b6000613e67602083614da2565b91507f507572636861736520776f756c6420657863656564206d617820746f6b656e736000830152602082019050919050565b6000613ea7601c83614da2565b91507f4d696e7420776f756c6420657863656564206d617820746f6b656e73000000006000830152602082019050919050565b6000613ee7601c83614da2565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613f27600283614db3565b91507f19010000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b6000613f67601583614da2565b91507f4e6f742076616c696420746f6b656e2072616e676500000000000000000000006000830152602082019050919050565b6000613fa7602483614da2565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061400d601983614da2565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b600061404d601f83614da2565b91507f45746865722076616c75652073656e74206973206e6f7420636f7272656374006000830152602082019050919050565b600061408d602c83614da2565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006140f3602583614da2565b91507f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008301527f49474e45520000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614159603883614da2565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006141bf600d83614da2565b91507f4e6f7420746865206f776e6572000000000000000000000000000000000000006000830152602082019050919050565b60006141ff602a83614da2565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614265602983614da2565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006142cb602083614da2565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b600061430b602c83614da2565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614371600583614db3565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b60006143b1602083614da2565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006143f1602983614da2565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614457602183614da2565b91507f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008301527f68000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006144bd602283614da2565b91507f53616c65206d7573742062652061637469766520746f206d696e7420746f6b6560008301527f6e730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614523602183614da2565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614589601b83614da2565b91507f4578636565646564206d617820746f6b656e20707572636861736500000000006000830152602082019050919050565b60006145c9602283614da2565b91507f4578636565646564206d617820617661696c61626c6520746f2070757263686160008301527f73650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061462f601d83614da2565b91507f4e65656420746f206d696e74206174206c65617374203120746f6b656e0000006000830152602082019050919050565b600061466f603183614da2565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6146d181614f9f565b82525050565b6146e081614fa9565b82525050565b60006146f28284613c34565b915081905092915050565b60006147098285613c34565b91506147158284613baf565b6014820191508190509392505050565b60006147318285613ccf565b915061473d8284613c9e565b915061474882614364565b91508190509392505050565b600061475f82613f1a565b915061476b8285613be4565b60208201915061477b8284613be4565b6020820191508190509392505050565b60006020820190506147a06000830184613ba0565b92915050565b60006060820190506147bb6000830186613ba0565b6147c86020830185613b91565b81810360408301526147da8184613bfb565b9050949350505050565b60006080820190506147f96000830187613ba0565b6148066020830186613ba0565b61481360408301856146c8565b81810360608301526148258184613bfb565b905095945050505050565b60006020820190506148456000830184613bc6565b92915050565b60006020820190506148606000830184613bd5565b92915050565b600060808201905061487b6000830187613bd5565b61488860208301866146c8565b6148956040830185613ba0565b6148a26060830184613bd5565b95945050505050565b60006080820190506148c06000830187613bd5565b6148cd60208301866146d7565b6148da6040830185613bd5565b6148e76060830184613bd5565b95945050505050565b6000602082019050818103600083015261490a8184613bfb565b905092915050565b6000602082019050818103600083015261492c8184613c65565b905092915050565b6000602082019050818103600083015261494d81613d4e565b9050919050565b6000602082019050818103600083015261496d81613db4565b9050919050565b6000602082019050818103600083015261498d81613e1a565b9050919050565b600060208201905081810360008301526149ad81613e5a565b9050919050565b600060208201905081810360008301526149cd81613e9a565b9050919050565b600060208201905081810360008301526149ed81613eda565b9050919050565b60006020820190508181036000830152614a0d81613f5a565b9050919050565b60006020820190508181036000830152614a2d81613f9a565b9050919050565b60006020820190508181036000830152614a4d81614000565b9050919050565b60006020820190508181036000830152614a6d81614040565b9050919050565b60006020820190508181036000830152614a8d81614080565b9050919050565b60006020820190508181036000830152614aad816140e6565b9050919050565b60006020820190508181036000830152614acd8161414c565b9050919050565b60006020820190508181036000830152614aed816141b2565b9050919050565b60006020820190508181036000830152614b0d816141f2565b9050919050565b60006020820190508181036000830152614b2d81614258565b9050919050565b60006020820190508181036000830152614b4d816142be565b9050919050565b60006020820190508181036000830152614b6d816142fe565b9050919050565b60006020820190508181036000830152614b8d816143a4565b9050919050565b60006020820190508181036000830152614bad816143e4565b9050919050565b60006020820190508181036000830152614bcd8161444a565b9050919050565b60006020820190508181036000830152614bed816144b0565b9050919050565b60006020820190508181036000830152614c0d81614516565b9050919050565b60006020820190508181036000830152614c2d8161457c565b9050919050565b60006020820190508181036000830152614c4d816145bc565b9050919050565b60006020820190508181036000830152614c6d81614622565b9050919050565b60006020820190508181036000830152614c8d81614662565b9050919050565b6000602082019050614ca960008301846146c8565b92915050565b6000602082019050614cc460008301846146d7565b92915050565b6000604051905081810181811067ffffffffffffffff82111715614cf157614cf061515f565b5b8060405250919050565b600067ffffffffffffffff821115614d1657614d1561515f565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614d4657614d4561515f565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614dc982614f9f565b9150614dd483614f9f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e0957614e086150d2565b5b828201905092915050565b6000614e1f82614f9f565b9150614e2a83614f9f565b925082614e3a57614e39615101565b5b828204905092915050565b6000614e5082614f9f565b9150614e5b83614f9f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e9457614e936150d2565b5b828202905092915050565b6000614eaa82614f9f565b9150614eb583614f9f565b925082821015614ec857614ec76150d2565b5b828203905092915050565b6000614ede82614fa9565b9150614ee983614fa9565b925082821015614efc57614efb6150d2565b5b828203905092915050565b6000614f1282614f7f565b9050919050565b6000614f2482614f7f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614f7882614f07565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614fe3578082015181840152602081019050614fc8565b83811115614ff2576000848401525b50505050565b6000600282049050600182168061501057607f821691505b6020821081141561502457615023615130565b5b50919050565b600061503582614f9f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615068576150676150d2565b5b600182019050919050565b600061507e8261508f565b9050919050565b6000819050919050565b600061509a8261519f565b9050919050565b60006150ac82614f9f565b91506150b783614f9f565b9250826150c7576150c6615101565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b6151b581614f07565b81146151c057600080fd5b50565b6151cc81614f2b565b81146151d757600080fd5b50565b6151e381614f37565b81146151ee57600080fd5b50565b6151fa81614f41565b811461520557600080fd5b50565b61521181614f6d565b811461521c57600080fd5b50565b61522881614f9f565b811461523357600080fd5b50565b61523f81614fa9565b811461524a57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a2646970667358221220826bd0f2c9752824b4409c9cadb1c4f82487ea9448aa83d15261981472f6e0f864736f6c63430008000033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c742968747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d524137314e76655846354546555364733837335771786b567554384876764154677a363565763365613964352f68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d6270574c7144744e3373644674657634546b57636133746173476d4148674a6b705841323147426b4c446b652f68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d53583955456a7566567669666d737a65554a454e6943744d4c4671387741376a4768544a46647865434143552f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

Deployed Bytecode

0x6080604052600436106102515760003560e01c806354214f6911610139578063993a917e116100b6578063c87b56dd1161007a578063c87b56dd14610880578063e985e9c5146108bd578063eb8d2444146108fa578063ef43340614610925578063f2fde38b14610950578063f6dfd49e1461097957610251565b8063993a917e146107c0578063a02c5fbc146107dc578063a22cb46514610805578063b88d4fde1461082e578063c4e370951461085757610251565b80638295784d116100fd5780638295784d146106ed578063833b9499146107165780638ac466e4146107415780638da5cb5b1461076a57806395d89b411461079557610251565b806354214f69146106065780636352211e1461063157806365f130971461066e57806370a0823114610699578063715018a6146106d657610251565b80632778a78a116101d257806332cb6b0c1161019657806332cb6b0c146105305780633408e4701461055b578063373c0457146105865780633ccfd60b146105af57806342842e0e146105c657806342d0e74e146105ef57610251565b80632778a78a1461043b57806328c77f70146104785780632a85db55146104a15780632d0335ab146104ca578063326d43881461050757610251565b80630c53c51c116102195780630c53c51c146103615780630f7e59701461039157806318160ddd146103bc57806320379ee5146103e757806323b872dd1461041257610251565b806301ffc9a71461025657806306fdde031461029357806307f3e9e5146102be578063081812fc146102fb578063095ea7b314610338575b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190613a47565b610995565b60405161028a9190614830565b60405180910390f35b34801561029f57600080fd5b506102a8610a77565b6040516102b59190614912565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190613790565b610b09565b6040516102f29190614caf565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d9190613b03565b610b5f565b60405161032f919061478b565b60405180910390f35b34801561034457600080fd5b5061035f600480360381019061035a919061398a565b610be4565b005b61037b600480360381019061037691906138fb565b610cfc565b60405161038891906148f0565b60405180910390f35b34801561039d57600080fd5b506103a6610f6e565b6040516103b39190614912565b60405180910390f35b3480156103c857600080fd5b506103d1610fa7565b6040516103de9190614c94565b60405180910390f35b3480156103f357600080fd5b506103fc610fc4565b604051610409919061484b565b60405180910390f35b34801561041e57600080fd5b50610439600480360381019061043491906137f5565b610fce565b005b34801561044757600080fd5b50610462600480360381019061045d9190613b03565b61102e565b60405161046f9190614830565b60405180910390f35b34801561048457600080fd5b5061049f600480360381019061049a9190613b03565b6110d6565b005b3480156104ad57600080fd5b506104c860048036038101906104c39190613ac2565b6111d9565b005b3480156104d657600080fd5b506104f160048036038101906104ec9190613790565b61126f565b6040516104fe9190614c94565b60405180910390f35b34801561051357600080fd5b5061052e60048036038101906105299190613ac2565b6112b8565b005b34801561053c57600080fd5b5061054561134e565b6040516105529190614c94565b60405180910390f35b34801561056757600080fd5b50610570611353565b60405161057d9190614c94565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a89190613b2c565b611360565b005b3480156105bb57600080fd5b506105c461148a565b005b3480156105d257600080fd5b506105ed60048036038101906105e891906137f5565b611555565b005b3480156105fb57600080fd5b50610604611575565b005b34801561061257600080fd5b5061061b61160e565b6040516106289190614830565b60405180910390f35b34801561063d57600080fd5b5061065860048036038101906106539190613b03565b611621565b604051610665919061478b565b60405180910390f35b34801561067a57600080fd5b506106836116d3565b6040516106909190614c94565b60405180910390f35b3480156106a557600080fd5b506106c060048036038101906106bb9190613790565b6116d8565b6040516106cd9190614c94565b60405180910390f35b3480156106e257600080fd5b506106eb611790565b005b3480156106f957600080fd5b50610714600480360381019061070f91906139c6565b611818565b005b34801561072257600080fd5b5061072b611960565b6040516107389190614c94565b60405180910390f35b34801561074d57600080fd5b5061076860048036038101906107639190613ac2565b61196b565b005b34801561077657600080fd5b5061077f611a01565b60405161078c919061478b565b60405180910390f35b3480156107a157600080fd5b506107aa611a2b565b6040516107b79190614912565b60405180910390f35b6107da60048036038101906107d59190613b68565b611abd565b005b3480156107e857600080fd5b5061080360048036038101906107fe9190613b03565b611d37565b005b34801561081157600080fd5b5061082c600480360381019061082791906138bf565b611e96565b005b34801561083a57600080fd5b5061085560048036038101906108509190613844565b611eac565b005b34801561086357600080fd5b5061087e60048036038101906108799190613a1e565b611f0e565b005b34801561088c57600080fd5b506108a760048036038101906108a29190613b03565b611fa7565b6040516108b49190614912565b60405180910390f35b3480156108c957600080fd5b506108e460048036038101906108df91906137b9565b6120b2565b6040516108f19190614830565b60405180910390f35b34801561090657600080fd5b5061090f6121b4565b60405161091c9190614830565b60405180910390f35b34801561093157600080fd5b5061093a6121c7565b6040516109479190614c94565b60405180910390f35b34801561095c57600080fd5b5061097760048036038101906109729190613790565b61226b565b005b610993600480360381019061098e9190613b03565b612363565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a6057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a705750610a6f82612599565b5b9050919050565b606060008054610a8690614ff8565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab290614ff8565b8015610aff5780601f10610ad457610100808354040283529160200191610aff565b820191906000526020600020905b815481529060010190602001808311610ae257829003601f168201915b5050505050905090565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000610b6a82612603565b610ba9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba090614b54565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bef82611621565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5790614bf4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c7f61266f565b73ffffffffffffffffffffffffffffffffffffffff161480610cae5750610cad81610ca861266f565b6120b2565b5b610ced576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce490614ab4565b60405180910390fd5b610cf7838361267e565b505050565b606060006040518060600160405280600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610d7f8782878787612737565b610dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db590614bb4565b60405180910390fd5b610e116001600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461284090919063ffffffff16565b600860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610e87939291906147a6565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610ebc9291906146fd565b604051602081830303815290604052604051610ed891906146e6565b6000604051808303816000865af19150503d8060008114610f15576040519150601f19603f3d011682016040523d82523d6000602084013e610f1a565b606091505b509150915081610f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5690614974565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b60006001610fb5600a612856565b610fbf9190614e9f565b905090565b6000600754905090565b610fdf610fd961266f565b82612864565b61101e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101590614c74565b60405180910390fd5b611029838383612942565b505050565b60008082101580156110405750608082105b61107f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611076906149f4565b60405180910390fd5b601082608081106110b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190069054906101000a900460ff169050919050565b6110de61266f565b73ffffffffffffffffffffffffffffffffffffffff166110fc611a01565b73ffffffffffffffffffffffffffffffffffffffff1614611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114990614b74565b60405180910390fd5b600061115c610fa7565b90506080828261116c9190614dbe565b11156111ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a4906149b4565b60405180910390fd5b60005b828110156111d4576111c133612b9e565b80806111cc9061502a565b9150506111b0565b505050565b6111e161266f565b73ffffffffffffffffffffffffffffffffffffffff166111ff611a01565b73ffffffffffffffffffffffffffffffffffffffff1614611255576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124c90614b74565b60405180910390fd5b80600c908051906020019061126b92919061352b565b5050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112c061266f565b73ffffffffffffffffffffffffffffffffffffffff166112de611a01565b73ffffffffffffffffffffffffffffffffffffffff1614611334576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132b90614b74565b60405180910390fd5b80600d908051906020019061134a92919061352b565b5050565b608081565b6000804690508091505090565b61136861266f565b73ffffffffffffffffffffffffffffffffffffffff16611386611a01565b73ffffffffffffffffffffffffffffffffffffffff16146113dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d390614b74565b60405180910390fd5b600082101580156113ed5750608082105b61142c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611423906149f4565b60405180910390fd5b8060108360808110611467577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190066101000a81548160ff0219169083151502179055505050565b61149261266f565b73ffffffffffffffffffffffffffffffffffffffff166114b0611a01565b73ffffffffffffffffffffffffffffffffffffffff1614611506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fd90614b74565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611551573d6000803e3d6000fd5b5050565b61157083838360405180602001604052806000815250611eac565b505050565b61157d61266f565b73ffffffffffffffffffffffffffffffffffffffff1661159b611a01565b73ffffffffffffffffffffffffffffffffffffffff16146115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e890614b74565b60405180910390fd5b6001600f60016101000a81548160ff021916908315150217905550565b600f60019054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c190614b14565b60405180910390fd5b80915050919050565b601081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611749576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174090614af4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61179861266f565b73ffffffffffffffffffffffffffffffffffffffff166117b6611a01565b73ffffffffffffffffffffffffffffffffffffffff161461180c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180390614b74565b60405180910390fd5b6118166000612bc4565b565b61182061266f565b73ffffffffffffffffffffffffffffffffffffffff1661183e611a01565b73ffffffffffffffffffffffffffffffffffffffff1614611894576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188b90614b74565b60405180910390fd5b60005b8383905081101561195a5781601460008686858181106118e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906118f59190613790565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff16021790555080806119529061502a565b915050611897565b50505050565b66e35fa931a0000081565b61197361266f565b73ffffffffffffffffffffffffffffffffffffffff16611991611a01565b73ffffffffffffffffffffffffffffffffffffffff16146119e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119de90614b74565b60405180910390fd5b80600e90805190602001906119fd92919061352b565b5050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611a3a90614ff8565b80601f0160208091040260200160405190810160405280929190818152602001828054611a6690614ff8565b8015611ab35780601f10611a8857610100808354040283529160200191611ab3565b820191906000526020600020905b815481529060010190602001808311611a9657829003601f168201915b5050505050905090565b6000611ac7610fa7565b905060008260ff1611611b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0690614c54565b60405180910390fd5b60108260ff161115611b56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4d90614c14565b60405180910390fd5b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff168260ff161115611beb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be290614c34565b60405180910390fd5b60808260ff1682611bfc9190614dbe565b1115611c3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3490614994565b60405180910390fd5b348260ff1666e35fa931a00000611c549190614e45565b1115611c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8c90614a54565b60405180910390fd5b81601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff16611cf09190614ed3565b92506101000a81548160ff021916908360ff16021790555060005b8260ff16811015611d3257611d1f33612b9e565b8080611d2a9061502a565b915050611d0b565b505050565b60008110158015611d485750608081105b611d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7e906149f4565b60405180910390fd5b6000611d9282611621565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611e02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df990614ad4565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e9257600160108360808110611e72577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190066101000a81548160ff0219169083151502179055505b5050565b611ea8611ea161266f565b8383612c8a565b5050565b611ebd611eb761266f565b83612864565b611efc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef390614c74565b60405180910390fd5b611f0884848484612df7565b50505050565b611f1661266f565b73ffffffffffffffffffffffffffffffffffffffff16611f34611a01565b73ffffffffffffffffffffffffffffffffffffffff1614611f8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8190614b74565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b606060008210158015611fba5750608082105b611ff9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff0906149f4565b60405180910390fd5b600f60019054906101000a900460ff1661203f57600c61201883612e53565b604051602001612029929190614725565b60405160208183030381529060405290506120ad565b6120488261102e565b1561207f57600e61205883612e53565b604051602001612069929190614725565b60405160208183030381529060405290506120ad565b600d61208a83612e53565b60405160200161209b929190614725565b60405160208183030381529060405290505b919050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b815260040161212a919061478b565b60206040518083038186803b15801561214257600080fd5b505afa158015612156573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217a9190613a99565b73ffffffffffffffffffffffffffffffffffffffff1614156121a05760019150506121ae565b6121aa8484613000565b9150505b92915050565b600f60009054906101000a900460ff1681565b6000806000905060005b6080811015612263576001151560108260808110612218577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190069054906101000a900460ff1615151461223c57600061223f565b60015b60ff168261224d9190614dbe565b915060018161225c9190614dbe565b90506121d1565b508091505090565b61227361266f565b73ffffffffffffffffffffffffffffffffffffffff16612291611a01565b73ffffffffffffffffffffffffffffffffffffffff16146122e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122de90614b74565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612357576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234e90614954565b60405180910390fd5b61236081612bc4565b50565b600061236d610fa7565b9050600f60009054906101000a900460ff166123be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b590614bd4565b60405180910390fd5b6010821115612402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f990614c14565b60405180910390fd5b608082826124109190614dbe565b1115612451576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244890614994565b60405180910390fd5b348266e35fa931a000006124659190614e45565b11156124a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249d90614a54565b60405180910390fd5b60005b828110156124cd576124ba33612b9e565b80806124c59061502a565b9150506124a9565b505050565b6001816000016000828254019250508190555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561259257600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050612596565b3390505b90565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60006126796124e8565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166126f183611621565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156127a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279f90614a94565b60405180910390fd5b60016127bb6127b687613094565b6130fc565b838686604051600081526020016040526040516127db94939291906148ab565b6020604051602081039080840390855afa1580156127fd573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b6000818361284e9190614dbe565b905092915050565b600081600001549050919050565b600061286f82612603565b6128ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a590614a74565b60405180910390fd5b60006128b983611621565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061292857508373ffffffffffffffffffffffffffffffffffffffff1661291084610b5f565b73ffffffffffffffffffffffffffffffffffffffff16145b80612939575061293881856120b2565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661296282611621565b73ffffffffffffffffffffffffffffffffffffffff16146129b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129af90614b94565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1f90614a14565b60405180910390fd5b612a33838383613135565b612a3e60008261267e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a8e9190614e9f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ae59190614dbe565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612baa600a612856565b9050612bb6600a6124d2565b612bc0828261313a565b5050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf090614a34565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612dea9190614830565b60405180910390a3505050565b612e02848484612942565b612e0e84848484613158565b612e4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4490614934565b60405180910390fd5b50505050565b60606000821415612e9b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ffb565b600082905060005b60008214612ecd578080612eb69061502a565b915050600a82612ec69190614e14565b9150612ea3565b60008167ffffffffffffffff811115612f0f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612f415781602001600182028036833780820191505090505b5090505b60008514612ff457600182612f5a9190614e9f565b9150600a85612f6991906150a1565b6030612f759190614dbe565b60f81b818381518110612fb1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fed9190614e14565b9450612f45565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600060405180608001604052806043815260200161524e6043913980519060200120826000015183602001518460400151805190602001206040516020016130df9493929190614866565b604051602081830303815290604052805190602001209050919050565b6000613106610fc4565b82604051602001613118929190614754565b604051602081830303815290604052805190602001209050919050565b505050565b6131548282604051806020016040528060008152506132ef565b5050565b60006131798473ffffffffffffffffffffffffffffffffffffffff1661334a565b156132e2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026131a261266f565b8786866040518563ffffffff1660e01b81526004016131c494939291906147e4565b602060405180830381600087803b1580156131de57600080fd5b505af192505050801561320f57506040513d601f19601f8201168201806040525081019061320c9190613a70565b60015b613292573d806000811461323f576040519150601f19603f3d011682016040523d82523d6000602084013e613244565b606091505b5060008151141561328a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328190614934565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506132e7565b600190505b949350505050565b6132f9838361335d565b6133066000848484613158565b613345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333c90614934565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133c490614b34565b60405180910390fd5b6133d681612603565b15613416576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340d906149d4565b60405180910390fd5b61342260008383613135565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546134729190614dbe565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461353790614ff8565b90600052602060002090601f01602090048101928261355957600085556135a0565b82601f1061357257805160ff19168380011785556135a0565b828001600101855582156135a0579182015b8281111561359f578251825591602001919060010190613584565b5b5090506135ad91906135b1565b5090565b5b808211156135ca5760008160009055506001016135b2565b5090565b60006135e16135dc84614cfb565b614cca565b9050828152602081018484840111156135f957600080fd5b613604848285614fb6565b509392505050565b600061361f61361a84614d2b565b614cca565b90508281526020810184848401111561363757600080fd5b613642848285614fb6565b509392505050565b600081359050613659816151ac565b92915050565b60008083601f84011261367157600080fd5b8235905067ffffffffffffffff81111561368a57600080fd5b6020830191508360208202830111156136a257600080fd5b9250929050565b6000813590506136b8816151c3565b92915050565b6000813590506136cd816151da565b92915050565b6000813590506136e2816151f1565b92915050565b6000815190506136f7816151f1565b92915050565b600082601f83011261370e57600080fd5b813561371e8482602086016135ce565b91505092915050565b60008151905061373681615208565b92915050565b600082601f83011261374d57600080fd5b813561375d84826020860161360c565b91505092915050565b6000813590506137758161521f565b92915050565b60008135905061378a81615236565b92915050565b6000602082840312156137a257600080fd5b60006137b08482850161364a565b91505092915050565b600080604083850312156137cc57600080fd5b60006137da8582860161364a565b92505060206137eb8582860161364a565b9150509250929050565b60008060006060848603121561380a57600080fd5b60006138188682870161364a565b93505060206138298682870161364a565b925050604061383a86828701613766565b9150509250925092565b6000806000806080858703121561385a57600080fd5b60006138688782880161364a565b94505060206138798782880161364a565b935050604061388a87828801613766565b925050606085013567ffffffffffffffff8111156138a757600080fd5b6138b3878288016136fd565b91505092959194509250565b600080604083850312156138d257600080fd5b60006138e08582860161364a565b92505060206138f1858286016136a9565b9150509250929050565b600080600080600060a0868803121561391357600080fd5b60006139218882890161364a565b955050602086013567ffffffffffffffff81111561393e57600080fd5b61394a888289016136fd565b945050604061395b888289016136be565b935050606061396c888289016136be565b925050608061397d8882890161377b565b9150509295509295909350565b6000806040838503121561399d57600080fd5b60006139ab8582860161364a565b92505060206139bc85828601613766565b9150509250929050565b6000806000604084860312156139db57600080fd5b600084013567ffffffffffffffff8111156139f557600080fd5b613a018682870161365f565b93509350506020613a148682870161377b565b9150509250925092565b600060208284031215613a3057600080fd5b6000613a3e848285016136a9565b91505092915050565b600060208284031215613a5957600080fd5b6000613a67848285016136d3565b91505092915050565b600060208284031215613a8257600080fd5b6000613a90848285016136e8565b91505092915050565b600060208284031215613aab57600080fd5b6000613ab984828501613727565b91505092915050565b600060208284031215613ad457600080fd5b600082013567ffffffffffffffff811115613aee57600080fd5b613afa8482850161373c565b91505092915050565b600060208284031215613b1557600080fd5b6000613b2384828501613766565b91505092915050565b60008060408385031215613b3f57600080fd5b6000613b4d85828601613766565b9250506020613b5e858286016136a9565b9150509250929050565b600060208284031215613b7a57600080fd5b6000613b888482850161377b565b91505092915050565b613b9a81614f19565b82525050565b613ba981614f07565b82525050565b613bc0613bbb82614f07565b615073565b82525050565b613bcf81614f2b565b82525050565b613bde81614f37565b82525050565b613bf5613bf082614f37565b615085565b82525050565b6000613c0682614d70565b613c108185614d86565b9350613c20818560208601614fc5565b613c298161518e565b840191505092915050565b6000613c3f82614d70565b613c498185614d97565b9350613c59818560208601614fc5565b80840191505092915050565b6000613c7082614d7b565b613c7a8185614da2565b9350613c8a818560208601614fc5565b613c938161518e565b840191505092915050565b6000613ca982614d7b565b613cb38185614db3565b9350613cc3818560208601614fc5565b80840191505092915050565b60008154613cdc81614ff8565b613ce68186614db3565b94506001821660008114613d015760018114613d1257613d45565b60ff19831686528186019350613d45565b613d1b85614d5b565b60005b83811015613d3d57815481890152600182019150602081019050613d1e565b838801955050505b50505092915050565b6000613d5b603283614da2565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613dc1602683614da2565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e27601c83614da2565b91507f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006000830152602082019050919050565b6000613e67602083614da2565b91507f507572636861736520776f756c6420657863656564206d617820746f6b656e736000830152602082019050919050565b6000613ea7601c83614da2565b91507f4d696e7420776f756c6420657863656564206d617820746f6b656e73000000006000830152602082019050919050565b6000613ee7601c83614da2565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613f27600283614db3565b91507f19010000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b6000613f67601583614da2565b91507f4e6f742076616c696420746f6b656e2072616e676500000000000000000000006000830152602082019050919050565b6000613fa7602483614da2565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061400d601983614da2565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b600061404d601f83614da2565b91507f45746865722076616c75652073656e74206973206e6f7420636f7272656374006000830152602082019050919050565b600061408d602c83614da2565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006140f3602583614da2565b91507f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008301527f49474e45520000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614159603883614da2565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006141bf600d83614da2565b91507f4e6f7420746865206f776e6572000000000000000000000000000000000000006000830152602082019050919050565b60006141ff602a83614da2565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614265602983614da2565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006142cb602083614da2565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b600061430b602c83614da2565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614371600583614db3565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b60006143b1602083614da2565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006143f1602983614da2565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614457602183614da2565b91507f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008301527f68000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006144bd602283614da2565b91507f53616c65206d7573742062652061637469766520746f206d696e7420746f6b6560008301527f6e730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614523602183614da2565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614589601b83614da2565b91507f4578636565646564206d617820746f6b656e20707572636861736500000000006000830152602082019050919050565b60006145c9602283614da2565b91507f4578636565646564206d617820617661696c61626c6520746f2070757263686160008301527f73650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061462f601d83614da2565b91507f4e65656420746f206d696e74206174206c65617374203120746f6b656e0000006000830152602082019050919050565b600061466f603183614da2565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6146d181614f9f565b82525050565b6146e081614fa9565b82525050565b60006146f28284613c34565b915081905092915050565b60006147098285613c34565b91506147158284613baf565b6014820191508190509392505050565b60006147318285613ccf565b915061473d8284613c9e565b915061474882614364565b91508190509392505050565b600061475f82613f1a565b915061476b8285613be4565b60208201915061477b8284613be4565b6020820191508190509392505050565b60006020820190506147a06000830184613ba0565b92915050565b60006060820190506147bb6000830186613ba0565b6147c86020830185613b91565b81810360408301526147da8184613bfb565b9050949350505050565b60006080820190506147f96000830187613ba0565b6148066020830186613ba0565b61481360408301856146c8565b81810360608301526148258184613bfb565b905095945050505050565b60006020820190506148456000830184613bc6565b92915050565b60006020820190506148606000830184613bd5565b92915050565b600060808201905061487b6000830187613bd5565b61488860208301866146c8565b6148956040830185613ba0565b6148a26060830184613bd5565b95945050505050565b60006080820190506148c06000830187613bd5565b6148cd60208301866146d7565b6148da6040830185613bd5565b6148e76060830184613bd5565b95945050505050565b6000602082019050818103600083015261490a8184613bfb565b905092915050565b6000602082019050818103600083015261492c8184613c65565b905092915050565b6000602082019050818103600083015261494d81613d4e565b9050919050565b6000602082019050818103600083015261496d81613db4565b9050919050565b6000602082019050818103600083015261498d81613e1a565b9050919050565b600060208201905081810360008301526149ad81613e5a565b9050919050565b600060208201905081810360008301526149cd81613e9a565b9050919050565b600060208201905081810360008301526149ed81613eda565b9050919050565b60006020820190508181036000830152614a0d81613f5a565b9050919050565b60006020820190508181036000830152614a2d81613f9a565b9050919050565b60006020820190508181036000830152614a4d81614000565b9050919050565b60006020820190508181036000830152614a6d81614040565b9050919050565b60006020820190508181036000830152614a8d81614080565b9050919050565b60006020820190508181036000830152614aad816140e6565b9050919050565b60006020820190508181036000830152614acd8161414c565b9050919050565b60006020820190508181036000830152614aed816141b2565b9050919050565b60006020820190508181036000830152614b0d816141f2565b9050919050565b60006020820190508181036000830152614b2d81614258565b9050919050565b60006020820190508181036000830152614b4d816142be565b9050919050565b60006020820190508181036000830152614b6d816142fe565b9050919050565b60006020820190508181036000830152614b8d816143a4565b9050919050565b60006020820190508181036000830152614bad816143e4565b9050919050565b60006020820190508181036000830152614bcd8161444a565b9050919050565b60006020820190508181036000830152614bed816144b0565b9050919050565b60006020820190508181036000830152614c0d81614516565b9050919050565b60006020820190508181036000830152614c2d8161457c565b9050919050565b60006020820190508181036000830152614c4d816145bc565b9050919050565b60006020820190508181036000830152614c6d81614622565b9050919050565b60006020820190508181036000830152614c8d81614662565b9050919050565b6000602082019050614ca960008301846146c8565b92915050565b6000602082019050614cc460008301846146d7565b92915050565b6000604051905081810181811067ffffffffffffffff82111715614cf157614cf061515f565b5b8060405250919050565b600067ffffffffffffffff821115614d1657614d1561515f565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614d4657614d4561515f565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614dc982614f9f565b9150614dd483614f9f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e0957614e086150d2565b5b828201905092915050565b6000614e1f82614f9f565b9150614e2a83614f9f565b925082614e3a57614e39615101565b5b828204905092915050565b6000614e5082614f9f565b9150614e5b83614f9f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e9457614e936150d2565b5b828202905092915050565b6000614eaa82614f9f565b9150614eb583614f9f565b925082821015614ec857614ec76150d2565b5b828203905092915050565b6000614ede82614fa9565b9150614ee983614fa9565b925082821015614efc57614efb6150d2565b5b828203905092915050565b6000614f1282614f7f565b9050919050565b6000614f2482614f7f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614f7882614f07565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614fe3578082015181840152602081019050614fc8565b83811115614ff2576000848401525b50505050565b6000600282049050600182168061501057607f821691505b6020821081141561502457615023615130565b5b50919050565b600061503582614f9f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615068576150676150d2565b5b600182019050919050565b600061507e8261508f565b9050919050565b6000819050919050565b600061509a8261519f565b9050919050565b60006150ac82614f9f565b91506150b783614f9f565b9250826150c7576150c6615101565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b6151b581614f07565b81146151c057600080fd5b50565b6151cc81614f2b565b81146151d757600080fd5b50565b6151e381614f37565b81146151ee57600080fd5b50565b6151fa81614f41565b811461520557600080fd5b50565b61521181614f6d565b811461521c57600080fd5b50565b61522881614f9f565b811461523357600080fd5b50565b61523f81614fa9565b811461524a57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a2646970667358221220826bd0f2c9752824b4409c9cadb1c4f82487ea9448aa83d15261981472f6e0f864736f6c63430008000033

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

000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1


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.