ETH Price: $3,291.59 (-3.52%)
Gas: 18 Gwei

Token

Battle Derps (BD)
 

Overview

Max Total Supply

4,200 BD

Holders

493

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 BD
0x0279797ee0627d64ffa0d86f4f111f90e233b090
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:
BattleDerps

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : battlederps.sol
pragma solidity ^0.8.0;
//SPDX-License-Identifier: MIT
/*   

   ____    ____    
U | __")u |  _"\   
 \|  _ \//| | | |  
  | |_) |U| |_| |\ 
  |____/  |____/ u 
 _|| \\_   |||_    
(__) (__) (__)_)     */

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@1001-digital/erc721-extensions/contracts/RandomlyAssigned.sol";

contract BattleDerps is ERC721, Ownable, RandomlyAssigned {
  using Strings for uint256;
  // uint256 public requested;
  uint256 public currentSupply = 0;
  
  string public baseURI = "unset";

  mapping(address => uint256) public amountPerWallets;

  bool public paused = true;

  constructor() 
    ERC721("Battle Derps", "BD")
    RandomlyAssigned(4200,1) // Max. 4200 NFTs available; Start counting from 1 (instead of 0)
    {
       
    }

  function _baseURI() internal view virtual override returns (string memory) {
    return baseURI;
  }

    
  function mint (uint256 _amount)
      public
      payable
  {
      require( tokenCount() + _amount <= totalSupply(), "YOU CAN'T MINT MORE THAN MAXIMUM SUPPLY");
      require( availableTokenCount() - _amount >= 0, "YOU CAN'T MINT MORE THAN AVALABLE TOKEN COUNT"); 
      require( tx.origin == msg.sender, "CANNOT MINT THROUGH A CUSTOM CONTRACT");

      if (msg.sender != owner()) {  
        require( msg.value >= _amount * 0.0069 ether, "NOT ENOUGH FEE");
        require(
				  amountPerWallets[msg.sender] + _amount <= 20,
				  "CAN'T MINT MORE THAN 20 PER WALLET"
			  );
        require(
			    paused == false,
			    "MINTING PAUSED"
		    );
      }

      

      for (uint256 i = 0; i < _amount; i++) {
        currentSupply++;
        amountPerWallets[msg.sender] ++;
        uint256 id = nextToken();
        _safeMint(msg.sender, id);
      } 
  }

  function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
    require(
      _exists(tokenId),
      "ERC721Metadata: URI query for nonexistant token"
    );

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

  function setBaseUri(string memory _baseURI) external onlyOwner {
		baseURI = _baseURI;
  }

  function pause(bool _paused) external onlyOwner {
		paused = _paused;
	}

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

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

import "./WithLimitedSupply.sol";

/// @author 1001.digital
/// @title Randomly assign tokenIDs from a given set of tokens.
abstract contract RandomlyAssigned is WithLimitedSupply {
    // Used for random index assignment
    mapping(uint256 => uint256) private tokenMatrix;

    // The initial token ID
    uint256 private startFrom;

    /// Instanciate the contract
    /// @param _totalSupply how many tokens this collection should hold
    /// @param _startFrom the tokenID with which to start counting
    constructor (uint256 _totalSupply, uint256 _startFrom)
        WithLimitedSupply(_totalSupply)
    {
        startFrom = _startFrom;
    }

    /// Get the next token ID
    /// @dev Randomly gets a new token ID and keeps track of the ones that are still available.
    /// @return the next token ID
    function nextToken() internal override ensureAvailability returns (uint256) {
        uint256 maxIndex = totalSupply() - tokenCount();
        uint256 random = uint256(keccak256(
            abi.encodePacked(
                msg.sender,
                block.coinbase,
                block.difficulty,
                block.gaslimit,
                block.timestamp
            )
        )) % maxIndex;

        uint256 value = 0;
        if (tokenMatrix[random] == 0) {
            // If this matrix position is empty, set the value to the generated random number.
            value = random;
        } else {
            // Otherwise, use the previously stored number from the matrix.
            value = tokenMatrix[random];
        }

        // If the last available tokenID is still unused...
        if (tokenMatrix[maxIndex - 1] == 0) {
            // ...store that ID in the current matrix position.
            tokenMatrix[random] = maxIndex - 1;
        } else {
            // ...otherwise copy over the stored number to the current matrix position.
            tokenMatrix[random] = tokenMatrix[maxIndex - 1];
        }

        // Increment counts
        super.nextToken();

        return value + startFrom;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 5 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 8 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 9 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 11 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

import "@openzeppelin/contracts/utils/Counters.sol";

/// @author 1001.digital
/// @title A token tracker that limits the token supply and increments token IDs on each new mint.
abstract contract WithLimitedSupply {
    using Counters for Counters.Counter;

    /// @dev Emitted when the supply of this collection changes
    event SupplyChanged(uint256 indexed supply);

    // Keeps track of how many we have minted
    Counters.Counter private _tokenCount;

    /// @dev The maximum count of tokens this token tracker will hold.
    uint256 private _totalSupply;

    /// Instanciate the contract
    /// @param totalSupply_ how many tokens this collection should hold
    constructor (uint256 totalSupply_) {
        _totalSupply = totalSupply_;
    }

    /// @dev Get the max Supply
    /// @return the maximum token count
    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    /// @dev Get the current token count
    /// @return the created token count
    function tokenCount() public view returns (uint256) {
        return _tokenCount.current();
    }

    /// @dev Check whether tokens are still available
    /// @return the available token count
    function availableTokenCount() public view returns (uint256) {
        return totalSupply() - tokenCount();
    }

    /// @dev Increment the token count and fetch the latest count
    /// @return the next token id
    function nextToken() internal virtual returns (uint256) {
        uint256 token = _tokenCount.current();

        _tokenCount.increment();

        return token;
    }

    /// @dev Check whether another token is still available
    modifier ensureAvailability() {
        require(availableTokenCount() > 0, "No more tokens available");
        _;
    }

    /// @param amount Check whether number of tokens are still available
    /// @dev Check whether tokens are still available
    modifier ensureAvailabilityFor(uint256 amount) {
        require(availableTokenCount() >= amount, "Requested number of tokens not available");
        _;
    }

    /// Update the supply for the collection
    /// @param _supply the new token supply.
    /// @dev create additional token supply for this collection.
    function _setSupply(uint256 _supply) internal virtual {
        require(_supply > tokenCount(), "Can't set the supply to less than the current token count");
        _totalSupply = _supply;

        emit SupplyChanged(totalSupply());
    }
}

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

pragma solidity ^0.8.0;

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

File 14 of 14 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"supply","type":"uint256"}],"name":"SupplyChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"amountPerWallets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"availableTokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseUri","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":[],"name":"tokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"payable","type":"function"}]

60806040526000600b556040518060400160405280600581526020017f756e736574000000000000000000000000000000000000000000000000000000815250600c9080519060200190620000569291906200022b565b506001600e60006101000a81548160ff0219169083151502179055503480156200007f57600080fd5b506110686001816040518060400160405280600c81526020017f426174746c6520446572707300000000000000000000000000000000000000008152506040518060400160405280600281526020017f424400000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200010a9291906200022b565b508060019080519060200190620001239291906200022b565b505050620001466200013a6200015d60201b60201c565b6200016560201b60201c565b806008819055505080600a81905550505062000340565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200023990620002db565b90600052602060002090601f0160209004810192826200025d5760008555620002a9565b82601f106200027857805160ff1916838001178555620002a9565b82800160010185558215620002a9579182015b82811115620002a85782518255916020019190600101906200028b565b5b509050620002b89190620002bc565b5090565b5b80821115620002d7576000816000905550600101620002bd565b5090565b60006002820490506001821680620002f457607f821691505b602082108114156200030b576200030a62000311565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b613d1f80620003506000396000f3fe60806040526004361061019c5760003560e01c8063715018a6116100ec578063a22cb4651161008a578063dbaae91311610064578063dbaae91314610586578063e14ca353146105c3578063e985e9c5146105ee578063f2fde38b1461062b5761019c565b8063a22cb465146104f7578063b88d4fde14610520578063c87b56dd146105495761019c565b806395d89b41116100c657806395d89b411461045c5780639f181b5e14610487578063a0712d68146104b2578063a0bcfc7f146104ce5761019c565b8063715018a6146103ef578063771282f6146104065780638da5cb5b146104315761019c565b806323b872dd116101595780635c975abb116101335780635c975abb1461031f5780636352211e1461034a5780636c0360eb1461038757806370a08231146103b25761019c565b806323b872dd146102c35780633ccfd60b146102ec57806342842e0e146102f65761019c565b806301ffc9a7146101a157806302329a29146101de57806306fdde0314610207578063081812fc14610232578063095ea7b31461026f57806318160ddd14610298575b600080fd5b3480156101ad57600080fd5b506101c860048036038101906101c39190612871565b610654565b6040516101d59190612e7f565b60405180910390f35b3480156101ea57600080fd5b5061020560048036038101906102009190612848565b610736565b005b34801561021357600080fd5b5061021c6107cf565b6040516102299190612e9a565b60405180910390f35b34801561023e57600080fd5b5061025960048036038101906102549190612904565b610861565b6040516102669190612e18565b60405180910390f35b34801561027b57600080fd5b506102966004803603810190610291919061280c565b6108e6565b005b3480156102a457600080fd5b506102ad6109fe565b6040516102ba919061319c565b60405180910390f35b3480156102cf57600080fd5b506102ea60048036038101906102e59190612706565b610a08565b005b6102f4610a68565b005b34801561030257600080fd5b5061031d60048036038101906103189190612706565b610b24565b005b34801561032b57600080fd5b50610334610b44565b6040516103419190612e7f565b60405180910390f35b34801561035657600080fd5b50610371600480360381019061036c9190612904565b610b57565b60405161037e9190612e18565b60405180910390f35b34801561039357600080fd5b5061039c610c09565b6040516103a99190612e9a565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906126a1565b610c97565b6040516103e6919061319c565b60405180910390f35b3480156103fb57600080fd5b50610404610d4f565b005b34801561041257600080fd5b5061041b610dd7565b604051610428919061319c565b60405180910390f35b34801561043d57600080fd5b50610446610ddd565b6040516104539190612e18565b60405180910390f35b34801561046857600080fd5b50610471610e07565b60405161047e9190612e9a565b60405180910390f35b34801561049357600080fd5b5061049c610e99565b6040516104a9919061319c565b60405180910390f35b6104cc60048036038101906104c79190612904565b610eaa565b005b3480156104da57600080fd5b506104f560048036038101906104f091906128c3565b6111e4565b005b34801561050357600080fd5b5061051e600480360381019061051991906127d0565b61127a565b005b34801561052c57600080fd5b5061054760048036038101906105429190612755565b611290565b005b34801561055557600080fd5b50610570600480360381019061056b9190612904565b6112f2565b60405161057d9190612e9a565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a891906126a1565b611399565b6040516105ba919061319c565b60405180910390f35b3480156105cf57600080fd5b506105d86113b1565b6040516105e5919061319c565b60405180910390f35b3480156105fa57600080fd5b50610615600480360381019061061091906126ca565b6113d2565b6040516106229190612e7f565b60405180910390f35b34801561063757600080fd5b50610652600480360381019061064d91906126a1565b611466565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061071f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061072f575061072e8261155e565b5b9050919050565b61073e6115c8565b73ffffffffffffffffffffffffffffffffffffffff1661075c610ddd565b73ffffffffffffffffffffffffffffffffffffffff16146107b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a9906130dc565b60405180910390fd5b80600e60006101000a81548160ff02191690831515021790555050565b6060600080546107de9061345e565b80601f016020809104026020016040519081016040528092919081815260200182805461080a9061345e565b80156108575780601f1061082c57610100808354040283529160200191610857565b820191906000526020600020905b81548152906001019060200180831161083a57829003601f168201915b5050505050905090565b600061086c826115d0565b6108ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a2906130bc565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108f182610b57565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610962576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109599061315c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109816115c8565b73ffffffffffffffffffffffffffffffffffffffff1614806109b057506109af816109aa6115c8565b6113d2565b5b6109ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e69061301c565b60405180910390fd5b6109f9838361163c565b505050565b6000600854905090565b610a19610a136115c8565b826116f5565b610a58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4f9061317c565b60405180910390fd5b610a638383836117d3565b505050565b610a706115c8565b73ffffffffffffffffffffffffffffffffffffffff16610a8e610ddd565b73ffffffffffffffffffffffffffffffffffffffff1614610ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adb906130dc565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610b2257600080fd5b565b610b3f83838360405180602001604052806000815250611290565b505050565b600e60009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf79061305c565b60405180910390fd5b80915050919050565b600c8054610c169061345e565b80601f0160208091040260200160405190810160405280929190818152602001828054610c429061345e565b8015610c8f5780601f10610c6457610100808354040283529160200191610c8f565b820191906000526020600020905b815481529060010190602001808311610c7257829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cff9061303c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d576115c8565b73ffffffffffffffffffffffffffffffffffffffff16610d75610ddd565b73ffffffffffffffffffffffffffffffffffffffff1614610dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc2906130dc565b60405180910390fd5b610dd56000611a2f565b565b600b5481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610e169061345e565b80601f0160208091040260200160405190810160405280929190818152602001828054610e429061345e565b8015610e8f5780601f10610e6457610100808354040283529160200191610e8f565b820191906000526020600020905b815481529060010190602001808311610e7257829003601f168201915b5050505050905090565b6000610ea56007611af5565b905090565b610eb26109fe565b81610ebb610e99565b610ec59190613281565b1115610f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efd9061307c565b60405180910390fd5b600081610f116113b1565b610f1b9190613362565b1015610f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5390612f7c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610fca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc190612f5c565b60405180910390fd5b610fd2610ddd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461113e576618838370f34000816110179190613308565b341015611059576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105090612f3c565b60405180910390fd5b601481600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110a69190613281565b11156110e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110de9061313c565b60405180910390fd5b60001515600e60009054906101000a900460ff1615151461113d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113490612ebc565b60405180910390fd5b5b60005b818110156111e057600b600081548092919061115c906134c1565b9190505550600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906111b1906134c1565b919050555060006111c0611b03565b90506111cc3382611c91565b5080806111d8906134c1565b915050611141565b5050565b6111ec6115c8565b73ffffffffffffffffffffffffffffffffffffffff1661120a610ddd565b73ffffffffffffffffffffffffffffffffffffffff1614611260576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611257906130dc565b60405180910390fd5b80600c90805190602001906112769291906124c5565b5050565b61128c6112856115c8565b8383611caf565b5050565b6112a161129b6115c8565b836116f5565b6112e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d79061317c565b60405180910390fd5b6112ec84848484611e1c565b50505050565b60606112fd826115d0565b61133c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611333906130fc565b60405180910390fd5b6000611346611e78565b905060008151116113665760405180602001604052806000815250611391565b8061137084611f0a565b604051602001611381929190612de9565b6040516020818303038152906040525b915050919050565b600d6020528060005260406000206000915090505481565b60006113bb610e99565b6113c36109fe565b6113cd9190613362565b905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61146e6115c8565b73ffffffffffffffffffffffffffffffffffffffff1661148c610ddd565b73ffffffffffffffffffffffffffffffffffffffff16146114e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d9906130dc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611552576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154990612efc565b60405180910390fd5b61155b81611a2f565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166116af83610b57565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611700826115d0565b61173f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173690612ffc565b60405180910390fd5b600061174a83610b57565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806117b957508373ffffffffffffffffffffffffffffffffffffffff166117a184610861565b73ffffffffffffffffffffffffffffffffffffffff16145b806117ca57506117c981856113d2565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166117f382610b57565b73ffffffffffffffffffffffffffffffffffffffff1614611849576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118409061311c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b090612f9c565b60405180910390fd5b6118c48383836120b7565b6118cf60008261163c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461191f9190613362565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119769190613281565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b600080611b0e6113b1565b11611b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4590612fdc565b60405180910390fd5b6000611b58610e99565b611b606109fe565b611b6a9190613362565b90506000813341444542604051602001611b88959493929190612d8a565b6040516020818303038152906040528051906020012060001c611bab919061354a565b905060008060096000848152602001908152602001600020541415611bd257819050611be9565b600960008381526020019081526020016000205490505b600060096000600186611bfc9190613362565b8152602001908152602001600020541415611c3a57600183611c1e9190613362565b6009600084815260200190815260200160002081905550611c72565b60096000600185611c4b9190613362565b81526020019081526020016000205460096000848152602001908152602001600020819055505b611c7a6120bc565b50600a5481611c899190613281565b935050505090565b611cab8282604051806020016040528060008152506120dc565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1590612fbc565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e0f9190612e7f565b60405180910390a3505050565b611e278484846117d3565b611e3384848484612137565b611e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6990612edc565b60405180910390fd5b50505050565b6060600c8054611e879061345e565b80601f0160208091040260200160405190810160405280929190818152602001828054611eb39061345e565b8015611f005780601f10611ed557610100808354040283529160200191611f00565b820191906000526020600020905b815481529060010190602001808311611ee357829003601f168201915b5050505050905090565b60606000821415611f52576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506120b2565b600082905060005b60008214611f84578080611f6d906134c1565b915050600a82611f7d91906132d7565b9150611f5a565b60008167ffffffffffffffff811115611fc6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611ff85781602001600182028036833780820191505090505b5090505b600085146120ab576001826120119190613362565b9150600a85612020919061354a565b603061202c9190613281565b60f81b818381518110612068577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120a491906132d7565b9450611ffc565b8093505050505b919050565b505050565b6000806120c96007611af5565b90506120d560076122ce565b8091505090565b6120e683836122e4565b6120f36000848484612137565b612132576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212990612edc565b60405180910390fd5b505050565b60006121588473ffffffffffffffffffffffffffffffffffffffff166124b2565b156122c1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121816115c8565b8786866040518563ffffffff1660e01b81526004016121a39493929190612e33565b602060405180830381600087803b1580156121bd57600080fd5b505af19250505080156121ee57506040513d601f19601f820116820180604052508101906121eb919061289a565b60015b612271573d806000811461221e576040519150601f19603f3d011682016040523d82523d6000602084013e612223565b606091505b50600081511415612269576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226090612edc565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506122c6565b600190505b949350505050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234b9061309c565b60405180910390fd5b61235d816115d0565b1561239d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239490612f1c565b60405180910390fd5b6123a9600083836120b7565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123f99190613281565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546124d19061345e565b90600052602060002090601f0160209004810192826124f3576000855561253a565b82601f1061250c57805160ff191683800117855561253a565b8280016001018555821561253a579182015b8281111561253957825182559160200191906001019061251e565b5b509050612547919061254b565b5090565b5b8082111561256457600081600090555060010161254c565b5090565b600061257b612576846131dc565b6131b7565b90508281526020810184848401111561259357600080fd5b61259e84828561341c565b509392505050565b60006125b96125b48461320d565b6131b7565b9050828152602081018484840111156125d157600080fd5b6125dc84828561341c565b509392505050565b6000813590506125f381613c8d565b92915050565b60008135905061260881613ca4565b92915050565b60008135905061261d81613cbb565b92915050565b60008151905061263281613cbb565b92915050565b600082601f83011261264957600080fd5b8135612659848260208601612568565b91505092915050565b600082601f83011261267357600080fd5b81356126838482602086016125a6565b91505092915050565b60008135905061269b81613cd2565b92915050565b6000602082840312156126b357600080fd5b60006126c1848285016125e4565b91505092915050565b600080604083850312156126dd57600080fd5b60006126eb858286016125e4565b92505060206126fc858286016125e4565b9150509250929050565b60008060006060848603121561271b57600080fd5b6000612729868287016125e4565b935050602061273a868287016125e4565b925050604061274b8682870161268c565b9150509250925092565b6000806000806080858703121561276b57600080fd5b6000612779878288016125e4565b945050602061278a878288016125e4565b935050604061279b8782880161268c565b925050606085013567ffffffffffffffff8111156127b857600080fd5b6127c487828801612638565b91505092959194509250565b600080604083850312156127e357600080fd5b60006127f1858286016125e4565b9250506020612802858286016125f9565b9150509250929050565b6000806040838503121561281f57600080fd5b600061282d858286016125e4565b925050602061283e8582860161268c565b9150509250929050565b60006020828403121561285a57600080fd5b6000612868848285016125f9565b91505092915050565b60006020828403121561288357600080fd5b60006128918482850161260e565b91505092915050565b6000602082840312156128ac57600080fd5b60006128ba84828501612623565b91505092915050565b6000602082840312156128d557600080fd5b600082013567ffffffffffffffff8111156128ef57600080fd5b6128fb84828501612662565b91505092915050565b60006020828403121561291657600080fd5b60006129248482850161268c565b91505092915050565b61293e612939826133a8565b61351c565b82525050565b61294d81613396565b82525050565b61296461295f82613396565b61350a565b82525050565b612973816133ba565b82525050565b60006129848261323e565b61298e8185613254565b935061299e81856020860161342b565b6129a781613637565b840191505092915050565b60006129bd82613249565b6129c78185613265565b93506129d781856020860161342b565b6129e081613637565b840191505092915050565b60006129f682613249565b612a008185613276565b9350612a1081856020860161342b565b80840191505092915050565b6000612a29600e83613265565b9150612a3482613655565b602082019050919050565b6000612a4c603283613265565b9150612a578261367e565b604082019050919050565b6000612a6f602683613265565b9150612a7a826136cd565b604082019050919050565b6000612a92601c83613265565b9150612a9d8261371c565b602082019050919050565b6000612ab5600e83613265565b9150612ac082613745565b602082019050919050565b6000612ad8602583613265565b9150612ae38261376e565b604082019050919050565b6000612afb602d83613265565b9150612b06826137bd565b604082019050919050565b6000612b1e602483613265565b9150612b298261380c565b604082019050919050565b6000612b41601983613265565b9150612b4c8261385b565b602082019050919050565b6000612b64601883613265565b9150612b6f82613884565b602082019050919050565b6000612b87602c83613265565b9150612b92826138ad565b604082019050919050565b6000612baa603883613265565b9150612bb5826138fc565b604082019050919050565b6000612bcd602a83613265565b9150612bd88261394b565b604082019050919050565b6000612bf0602983613265565b9150612bfb8261399a565b604082019050919050565b6000612c13602783613265565b9150612c1e826139e9565b604082019050919050565b6000612c36602083613265565b9150612c4182613a38565b602082019050919050565b6000612c59602c83613265565b9150612c6482613a61565b604082019050919050565b6000612c7c600583613276565b9150612c8782613ab0565b600582019050919050565b6000612c9f602083613265565b9150612caa82613ad9565b602082019050919050565b6000612cc2602f83613265565b9150612ccd82613b02565b604082019050919050565b6000612ce5602983613265565b9150612cf082613b51565b604082019050919050565b6000612d08602283613265565b9150612d1382613ba0565b604082019050919050565b6000612d2b602183613265565b9150612d3682613bef565b604082019050919050565b6000612d4e603183613265565b9150612d5982613c3e565b604082019050919050565b612d6d81613412565b82525050565b612d84612d7f82613412565b613540565b82525050565b6000612d968288612953565b601482019150612da6828761292d565b601482019150612db68286612d73565b602082019150612dc68285612d73565b602082019150612dd68284612d73565b6020820191508190509695505050505050565b6000612df582856129eb565b9150612e0182846129eb565b9150612e0c82612c6f565b91508190509392505050565b6000602082019050612e2d6000830184612944565b92915050565b6000608082019050612e486000830187612944565b612e556020830186612944565b612e626040830185612d64565b8181036060830152612e748184612979565b905095945050505050565b6000602082019050612e94600083018461296a565b92915050565b60006020820190508181036000830152612eb481846129b2565b905092915050565b60006020820190508181036000830152612ed581612a1c565b9050919050565b60006020820190508181036000830152612ef581612a3f565b9050919050565b60006020820190508181036000830152612f1581612a62565b9050919050565b60006020820190508181036000830152612f3581612a85565b9050919050565b60006020820190508181036000830152612f5581612aa8565b9050919050565b60006020820190508181036000830152612f7581612acb565b9050919050565b60006020820190508181036000830152612f9581612aee565b9050919050565b60006020820190508181036000830152612fb581612b11565b9050919050565b60006020820190508181036000830152612fd581612b34565b9050919050565b60006020820190508181036000830152612ff581612b57565b9050919050565b6000602082019050818103600083015261301581612b7a565b9050919050565b6000602082019050818103600083015261303581612b9d565b9050919050565b6000602082019050818103600083015261305581612bc0565b9050919050565b6000602082019050818103600083015261307581612be3565b9050919050565b6000602082019050818103600083015261309581612c06565b9050919050565b600060208201905081810360008301526130b581612c29565b9050919050565b600060208201905081810360008301526130d581612c4c565b9050919050565b600060208201905081810360008301526130f581612c92565b9050919050565b6000602082019050818103600083015261311581612cb5565b9050919050565b6000602082019050818103600083015261313581612cd8565b9050919050565b6000602082019050818103600083015261315581612cfb565b9050919050565b6000602082019050818103600083015261317581612d1e565b9050919050565b6000602082019050818103600083015261319581612d41565b9050919050565b60006020820190506131b16000830184612d64565b92915050565b60006131c16131d2565b90506131cd8282613490565b919050565b6000604051905090565b600067ffffffffffffffff8211156131f7576131f6613608565b5b61320082613637565b9050602081019050919050565b600067ffffffffffffffff82111561322857613227613608565b5b61323182613637565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061328c82613412565b915061329783613412565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156132cc576132cb61357b565b5b828201905092915050565b60006132e282613412565b91506132ed83613412565b9250826132fd576132fc6135aa565b5b828204905092915050565b600061331382613412565b915061331e83613412565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156133575761335661357b565b5b828202905092915050565b600061336d82613412565b915061337883613412565b92508282101561338b5761338a61357b565b5b828203905092915050565b60006133a1826133f2565b9050919050565b60006133b3826133f2565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561344957808201518184015260208101905061342e565b83811115613458576000848401525b50505050565b6000600282049050600182168061347657607f821691505b6020821081141561348a576134896135d9565b5b50919050565b61349982613637565b810181811067ffffffffffffffff821117156134b8576134b7613608565b5b80604052505050565b60006134cc82613412565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156134ff576134fe61357b565b5b600182019050919050565b60006135158261352e565b9050919050565b60006135278261352e565b9050919050565b600061353982613648565b9050919050565b6000819050919050565b600061355582613412565b915061356083613412565b9250826135705761356f6135aa565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4d494e54494e4720504155534544000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e4f5420454e4f55474820464545000000000000000000000000000000000000600082015250565b7f43414e4e4f54204d494e54205448524f554748204120435553544f4d20434f4e60008201527f5452414354000000000000000000000000000000000000000000000000000000602082015250565b7f594f552043414e2754204d494e54204d4f5245205448414e204156414c41424c60008201527f4520544f4b454e20434f554e5400000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4e6f206d6f726520746f6b656e7320617661696c61626c650000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f594f552043414e2754204d494e54204d4f5245205448414e204d4158494d554d60008201527f20535550504c5900000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374616e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f43414e2754204d494e54204d4f5245205448414e203230205045522057414c4c60008201527f4554000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b613c9681613396565b8114613ca157600080fd5b50565b613cad816133ba565b8114613cb857600080fd5b50565b613cc4816133c6565b8114613ccf57600080fd5b50565b613cdb81613412565b8114613ce657600080fd5b5056fea2646970667358221220915da2894fb344aa98c9cd78eb8981611e800f626ecc1284dd8ae35df297340a64736f6c63430008020033

Deployed Bytecode

0x60806040526004361061019c5760003560e01c8063715018a6116100ec578063a22cb4651161008a578063dbaae91311610064578063dbaae91314610586578063e14ca353146105c3578063e985e9c5146105ee578063f2fde38b1461062b5761019c565b8063a22cb465146104f7578063b88d4fde14610520578063c87b56dd146105495761019c565b806395d89b41116100c657806395d89b411461045c5780639f181b5e14610487578063a0712d68146104b2578063a0bcfc7f146104ce5761019c565b8063715018a6146103ef578063771282f6146104065780638da5cb5b146104315761019c565b806323b872dd116101595780635c975abb116101335780635c975abb1461031f5780636352211e1461034a5780636c0360eb1461038757806370a08231146103b25761019c565b806323b872dd146102c35780633ccfd60b146102ec57806342842e0e146102f65761019c565b806301ffc9a7146101a157806302329a29146101de57806306fdde0314610207578063081812fc14610232578063095ea7b31461026f57806318160ddd14610298575b600080fd5b3480156101ad57600080fd5b506101c860048036038101906101c39190612871565b610654565b6040516101d59190612e7f565b60405180910390f35b3480156101ea57600080fd5b5061020560048036038101906102009190612848565b610736565b005b34801561021357600080fd5b5061021c6107cf565b6040516102299190612e9a565b60405180910390f35b34801561023e57600080fd5b5061025960048036038101906102549190612904565b610861565b6040516102669190612e18565b60405180910390f35b34801561027b57600080fd5b506102966004803603810190610291919061280c565b6108e6565b005b3480156102a457600080fd5b506102ad6109fe565b6040516102ba919061319c565b60405180910390f35b3480156102cf57600080fd5b506102ea60048036038101906102e59190612706565b610a08565b005b6102f4610a68565b005b34801561030257600080fd5b5061031d60048036038101906103189190612706565b610b24565b005b34801561032b57600080fd5b50610334610b44565b6040516103419190612e7f565b60405180910390f35b34801561035657600080fd5b50610371600480360381019061036c9190612904565b610b57565b60405161037e9190612e18565b60405180910390f35b34801561039357600080fd5b5061039c610c09565b6040516103a99190612e9a565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906126a1565b610c97565b6040516103e6919061319c565b60405180910390f35b3480156103fb57600080fd5b50610404610d4f565b005b34801561041257600080fd5b5061041b610dd7565b604051610428919061319c565b60405180910390f35b34801561043d57600080fd5b50610446610ddd565b6040516104539190612e18565b60405180910390f35b34801561046857600080fd5b50610471610e07565b60405161047e9190612e9a565b60405180910390f35b34801561049357600080fd5b5061049c610e99565b6040516104a9919061319c565b60405180910390f35b6104cc60048036038101906104c79190612904565b610eaa565b005b3480156104da57600080fd5b506104f560048036038101906104f091906128c3565b6111e4565b005b34801561050357600080fd5b5061051e600480360381019061051991906127d0565b61127a565b005b34801561052c57600080fd5b5061054760048036038101906105429190612755565b611290565b005b34801561055557600080fd5b50610570600480360381019061056b9190612904565b6112f2565b60405161057d9190612e9a565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a891906126a1565b611399565b6040516105ba919061319c565b60405180910390f35b3480156105cf57600080fd5b506105d86113b1565b6040516105e5919061319c565b60405180910390f35b3480156105fa57600080fd5b50610615600480360381019061061091906126ca565b6113d2565b6040516106229190612e7f565b60405180910390f35b34801561063757600080fd5b50610652600480360381019061064d91906126a1565b611466565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061071f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061072f575061072e8261155e565b5b9050919050565b61073e6115c8565b73ffffffffffffffffffffffffffffffffffffffff1661075c610ddd565b73ffffffffffffffffffffffffffffffffffffffff16146107b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a9906130dc565b60405180910390fd5b80600e60006101000a81548160ff02191690831515021790555050565b6060600080546107de9061345e565b80601f016020809104026020016040519081016040528092919081815260200182805461080a9061345e565b80156108575780601f1061082c57610100808354040283529160200191610857565b820191906000526020600020905b81548152906001019060200180831161083a57829003601f168201915b5050505050905090565b600061086c826115d0565b6108ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a2906130bc565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108f182610b57565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610962576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109599061315c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109816115c8565b73ffffffffffffffffffffffffffffffffffffffff1614806109b057506109af816109aa6115c8565b6113d2565b5b6109ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e69061301c565b60405180910390fd5b6109f9838361163c565b505050565b6000600854905090565b610a19610a136115c8565b826116f5565b610a58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4f9061317c565b60405180910390fd5b610a638383836117d3565b505050565b610a706115c8565b73ffffffffffffffffffffffffffffffffffffffff16610a8e610ddd565b73ffffffffffffffffffffffffffffffffffffffff1614610ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adb906130dc565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610b2257600080fd5b565b610b3f83838360405180602001604052806000815250611290565b505050565b600e60009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf79061305c565b60405180910390fd5b80915050919050565b600c8054610c169061345e565b80601f0160208091040260200160405190810160405280929190818152602001828054610c429061345e565b8015610c8f5780601f10610c6457610100808354040283529160200191610c8f565b820191906000526020600020905b815481529060010190602001808311610c7257829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cff9061303c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d576115c8565b73ffffffffffffffffffffffffffffffffffffffff16610d75610ddd565b73ffffffffffffffffffffffffffffffffffffffff1614610dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc2906130dc565b60405180910390fd5b610dd56000611a2f565b565b600b5481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610e169061345e565b80601f0160208091040260200160405190810160405280929190818152602001828054610e429061345e565b8015610e8f5780601f10610e6457610100808354040283529160200191610e8f565b820191906000526020600020905b815481529060010190602001808311610e7257829003601f168201915b5050505050905090565b6000610ea56007611af5565b905090565b610eb26109fe565b81610ebb610e99565b610ec59190613281565b1115610f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efd9061307c565b60405180910390fd5b600081610f116113b1565b610f1b9190613362565b1015610f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5390612f7c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610fca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc190612f5c565b60405180910390fd5b610fd2610ddd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461113e576618838370f34000816110179190613308565b341015611059576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105090612f3c565b60405180910390fd5b601481600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110a69190613281565b11156110e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110de9061313c565b60405180910390fd5b60001515600e60009054906101000a900460ff1615151461113d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113490612ebc565b60405180910390fd5b5b60005b818110156111e057600b600081548092919061115c906134c1565b9190505550600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906111b1906134c1565b919050555060006111c0611b03565b90506111cc3382611c91565b5080806111d8906134c1565b915050611141565b5050565b6111ec6115c8565b73ffffffffffffffffffffffffffffffffffffffff1661120a610ddd565b73ffffffffffffffffffffffffffffffffffffffff1614611260576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611257906130dc565b60405180910390fd5b80600c90805190602001906112769291906124c5565b5050565b61128c6112856115c8565b8383611caf565b5050565b6112a161129b6115c8565b836116f5565b6112e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d79061317c565b60405180910390fd5b6112ec84848484611e1c565b50505050565b60606112fd826115d0565b61133c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611333906130fc565b60405180910390fd5b6000611346611e78565b905060008151116113665760405180602001604052806000815250611391565b8061137084611f0a565b604051602001611381929190612de9565b6040516020818303038152906040525b915050919050565b600d6020528060005260406000206000915090505481565b60006113bb610e99565b6113c36109fe565b6113cd9190613362565b905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61146e6115c8565b73ffffffffffffffffffffffffffffffffffffffff1661148c610ddd565b73ffffffffffffffffffffffffffffffffffffffff16146114e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d9906130dc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611552576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154990612efc565b60405180910390fd5b61155b81611a2f565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166116af83610b57565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611700826115d0565b61173f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173690612ffc565b60405180910390fd5b600061174a83610b57565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806117b957508373ffffffffffffffffffffffffffffffffffffffff166117a184610861565b73ffffffffffffffffffffffffffffffffffffffff16145b806117ca57506117c981856113d2565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166117f382610b57565b73ffffffffffffffffffffffffffffffffffffffff1614611849576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118409061311c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b090612f9c565b60405180910390fd5b6118c48383836120b7565b6118cf60008261163c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461191f9190613362565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119769190613281565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b600080611b0e6113b1565b11611b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4590612fdc565b60405180910390fd5b6000611b58610e99565b611b606109fe565b611b6a9190613362565b90506000813341444542604051602001611b88959493929190612d8a565b6040516020818303038152906040528051906020012060001c611bab919061354a565b905060008060096000848152602001908152602001600020541415611bd257819050611be9565b600960008381526020019081526020016000205490505b600060096000600186611bfc9190613362565b8152602001908152602001600020541415611c3a57600183611c1e9190613362565b6009600084815260200190815260200160002081905550611c72565b60096000600185611c4b9190613362565b81526020019081526020016000205460096000848152602001908152602001600020819055505b611c7a6120bc565b50600a5481611c899190613281565b935050505090565b611cab8282604051806020016040528060008152506120dc565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1590612fbc565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e0f9190612e7f565b60405180910390a3505050565b611e278484846117d3565b611e3384848484612137565b611e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6990612edc565b60405180910390fd5b50505050565b6060600c8054611e879061345e565b80601f0160208091040260200160405190810160405280929190818152602001828054611eb39061345e565b8015611f005780601f10611ed557610100808354040283529160200191611f00565b820191906000526020600020905b815481529060010190602001808311611ee357829003601f168201915b5050505050905090565b60606000821415611f52576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506120b2565b600082905060005b60008214611f84578080611f6d906134c1565b915050600a82611f7d91906132d7565b9150611f5a565b60008167ffffffffffffffff811115611fc6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611ff85781602001600182028036833780820191505090505b5090505b600085146120ab576001826120119190613362565b9150600a85612020919061354a565b603061202c9190613281565b60f81b818381518110612068577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120a491906132d7565b9450611ffc565b8093505050505b919050565b505050565b6000806120c96007611af5565b90506120d560076122ce565b8091505090565b6120e683836122e4565b6120f36000848484612137565b612132576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212990612edc565b60405180910390fd5b505050565b60006121588473ffffffffffffffffffffffffffffffffffffffff166124b2565b156122c1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121816115c8565b8786866040518563ffffffff1660e01b81526004016121a39493929190612e33565b602060405180830381600087803b1580156121bd57600080fd5b505af19250505080156121ee57506040513d601f19601f820116820180604052508101906121eb919061289a565b60015b612271573d806000811461221e576040519150601f19603f3d011682016040523d82523d6000602084013e612223565b606091505b50600081511415612269576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226090612edc565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506122c6565b600190505b949350505050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234b9061309c565b60405180910390fd5b61235d816115d0565b1561239d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239490612f1c565b60405180910390fd5b6123a9600083836120b7565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123f99190613281565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546124d19061345e565b90600052602060002090601f0160209004810192826124f3576000855561253a565b82601f1061250c57805160ff191683800117855561253a565b8280016001018555821561253a579182015b8281111561253957825182559160200191906001019061251e565b5b509050612547919061254b565b5090565b5b8082111561256457600081600090555060010161254c565b5090565b600061257b612576846131dc565b6131b7565b90508281526020810184848401111561259357600080fd5b61259e84828561341c565b509392505050565b60006125b96125b48461320d565b6131b7565b9050828152602081018484840111156125d157600080fd5b6125dc84828561341c565b509392505050565b6000813590506125f381613c8d565b92915050565b60008135905061260881613ca4565b92915050565b60008135905061261d81613cbb565b92915050565b60008151905061263281613cbb565b92915050565b600082601f83011261264957600080fd5b8135612659848260208601612568565b91505092915050565b600082601f83011261267357600080fd5b81356126838482602086016125a6565b91505092915050565b60008135905061269b81613cd2565b92915050565b6000602082840312156126b357600080fd5b60006126c1848285016125e4565b91505092915050565b600080604083850312156126dd57600080fd5b60006126eb858286016125e4565b92505060206126fc858286016125e4565b9150509250929050565b60008060006060848603121561271b57600080fd5b6000612729868287016125e4565b935050602061273a868287016125e4565b925050604061274b8682870161268c565b9150509250925092565b6000806000806080858703121561276b57600080fd5b6000612779878288016125e4565b945050602061278a878288016125e4565b935050604061279b8782880161268c565b925050606085013567ffffffffffffffff8111156127b857600080fd5b6127c487828801612638565b91505092959194509250565b600080604083850312156127e357600080fd5b60006127f1858286016125e4565b9250506020612802858286016125f9565b9150509250929050565b6000806040838503121561281f57600080fd5b600061282d858286016125e4565b925050602061283e8582860161268c565b9150509250929050565b60006020828403121561285a57600080fd5b6000612868848285016125f9565b91505092915050565b60006020828403121561288357600080fd5b60006128918482850161260e565b91505092915050565b6000602082840312156128ac57600080fd5b60006128ba84828501612623565b91505092915050565b6000602082840312156128d557600080fd5b600082013567ffffffffffffffff8111156128ef57600080fd5b6128fb84828501612662565b91505092915050565b60006020828403121561291657600080fd5b60006129248482850161268c565b91505092915050565b61293e612939826133a8565b61351c565b82525050565b61294d81613396565b82525050565b61296461295f82613396565b61350a565b82525050565b612973816133ba565b82525050565b60006129848261323e565b61298e8185613254565b935061299e81856020860161342b565b6129a781613637565b840191505092915050565b60006129bd82613249565b6129c78185613265565b93506129d781856020860161342b565b6129e081613637565b840191505092915050565b60006129f682613249565b612a008185613276565b9350612a1081856020860161342b565b80840191505092915050565b6000612a29600e83613265565b9150612a3482613655565b602082019050919050565b6000612a4c603283613265565b9150612a578261367e565b604082019050919050565b6000612a6f602683613265565b9150612a7a826136cd565b604082019050919050565b6000612a92601c83613265565b9150612a9d8261371c565b602082019050919050565b6000612ab5600e83613265565b9150612ac082613745565b602082019050919050565b6000612ad8602583613265565b9150612ae38261376e565b604082019050919050565b6000612afb602d83613265565b9150612b06826137bd565b604082019050919050565b6000612b1e602483613265565b9150612b298261380c565b604082019050919050565b6000612b41601983613265565b9150612b4c8261385b565b602082019050919050565b6000612b64601883613265565b9150612b6f82613884565b602082019050919050565b6000612b87602c83613265565b9150612b92826138ad565b604082019050919050565b6000612baa603883613265565b9150612bb5826138fc565b604082019050919050565b6000612bcd602a83613265565b9150612bd88261394b565b604082019050919050565b6000612bf0602983613265565b9150612bfb8261399a565b604082019050919050565b6000612c13602783613265565b9150612c1e826139e9565b604082019050919050565b6000612c36602083613265565b9150612c4182613a38565b602082019050919050565b6000612c59602c83613265565b9150612c6482613a61565b604082019050919050565b6000612c7c600583613276565b9150612c8782613ab0565b600582019050919050565b6000612c9f602083613265565b9150612caa82613ad9565b602082019050919050565b6000612cc2602f83613265565b9150612ccd82613b02565b604082019050919050565b6000612ce5602983613265565b9150612cf082613b51565b604082019050919050565b6000612d08602283613265565b9150612d1382613ba0565b604082019050919050565b6000612d2b602183613265565b9150612d3682613bef565b604082019050919050565b6000612d4e603183613265565b9150612d5982613c3e565b604082019050919050565b612d6d81613412565b82525050565b612d84612d7f82613412565b613540565b82525050565b6000612d968288612953565b601482019150612da6828761292d565b601482019150612db68286612d73565b602082019150612dc68285612d73565b602082019150612dd68284612d73565b6020820191508190509695505050505050565b6000612df582856129eb565b9150612e0182846129eb565b9150612e0c82612c6f565b91508190509392505050565b6000602082019050612e2d6000830184612944565b92915050565b6000608082019050612e486000830187612944565b612e556020830186612944565b612e626040830185612d64565b8181036060830152612e748184612979565b905095945050505050565b6000602082019050612e94600083018461296a565b92915050565b60006020820190508181036000830152612eb481846129b2565b905092915050565b60006020820190508181036000830152612ed581612a1c565b9050919050565b60006020820190508181036000830152612ef581612a3f565b9050919050565b60006020820190508181036000830152612f1581612a62565b9050919050565b60006020820190508181036000830152612f3581612a85565b9050919050565b60006020820190508181036000830152612f5581612aa8565b9050919050565b60006020820190508181036000830152612f7581612acb565b9050919050565b60006020820190508181036000830152612f9581612aee565b9050919050565b60006020820190508181036000830152612fb581612b11565b9050919050565b60006020820190508181036000830152612fd581612b34565b9050919050565b60006020820190508181036000830152612ff581612b57565b9050919050565b6000602082019050818103600083015261301581612b7a565b9050919050565b6000602082019050818103600083015261303581612b9d565b9050919050565b6000602082019050818103600083015261305581612bc0565b9050919050565b6000602082019050818103600083015261307581612be3565b9050919050565b6000602082019050818103600083015261309581612c06565b9050919050565b600060208201905081810360008301526130b581612c29565b9050919050565b600060208201905081810360008301526130d581612c4c565b9050919050565b600060208201905081810360008301526130f581612c92565b9050919050565b6000602082019050818103600083015261311581612cb5565b9050919050565b6000602082019050818103600083015261313581612cd8565b9050919050565b6000602082019050818103600083015261315581612cfb565b9050919050565b6000602082019050818103600083015261317581612d1e565b9050919050565b6000602082019050818103600083015261319581612d41565b9050919050565b60006020820190506131b16000830184612d64565b92915050565b60006131c16131d2565b90506131cd8282613490565b919050565b6000604051905090565b600067ffffffffffffffff8211156131f7576131f6613608565b5b61320082613637565b9050602081019050919050565b600067ffffffffffffffff82111561322857613227613608565b5b61323182613637565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061328c82613412565b915061329783613412565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156132cc576132cb61357b565b5b828201905092915050565b60006132e282613412565b91506132ed83613412565b9250826132fd576132fc6135aa565b5b828204905092915050565b600061331382613412565b915061331e83613412565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156133575761335661357b565b5b828202905092915050565b600061336d82613412565b915061337883613412565b92508282101561338b5761338a61357b565b5b828203905092915050565b60006133a1826133f2565b9050919050565b60006133b3826133f2565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561344957808201518184015260208101905061342e565b83811115613458576000848401525b50505050565b6000600282049050600182168061347657607f821691505b6020821081141561348a576134896135d9565b5b50919050565b61349982613637565b810181811067ffffffffffffffff821117156134b8576134b7613608565b5b80604052505050565b60006134cc82613412565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156134ff576134fe61357b565b5b600182019050919050565b60006135158261352e565b9050919050565b60006135278261352e565b9050919050565b600061353982613648565b9050919050565b6000819050919050565b600061355582613412565b915061356083613412565b9250826135705761356f6135aa565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4d494e54494e4720504155534544000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e4f5420454e4f55474820464545000000000000000000000000000000000000600082015250565b7f43414e4e4f54204d494e54205448524f554748204120435553544f4d20434f4e60008201527f5452414354000000000000000000000000000000000000000000000000000000602082015250565b7f594f552043414e2754204d494e54204d4f5245205448414e204156414c41424c60008201527f4520544f4b454e20434f554e5400000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4e6f206d6f726520746f6b656e7320617661696c61626c650000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f594f552043414e2754204d494e54204d4f5245205448414e204d4158494d554d60008201527f20535550504c5900000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374616e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f43414e2754204d494e54204d4f5245205448414e203230205045522057414c4c60008201527f4554000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b613c9681613396565b8114613ca157600080fd5b50565b613cad816133ba565b8114613cb857600080fd5b50565b613cc4816133c6565b8114613ccf57600080fd5b50565b613cdb81613412565b8114613ce657600080fd5b5056fea2646970667358221220915da2894fb344aa98c9cd78eb8981611e800f626ecc1284dd8ae35df297340a64736f6c63430008020033

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.