ETH Price: $3,349.77 (-0.52%)

Token

Genesis 2052 Passport (205Z)
 

Overview

Max Total Supply

979 205Z

Holders

873

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
kotaa.eth
Balance
1 205Z
0x65504a44Ad0ec00F0b14D0b4E1554745c4bF954D
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:
Genesis2052Passport

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : Genesis2052Passport.sol
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

/*

Genesis2052Passport.sol

Written by: mousedev.eth

*/

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

contract Genesis2052Passport is ERC721, Ownable {
    using Strings for uint256;

    address public signer;
    string public baseURI;
    string public contractURI;
    uint256 public nextTokenId = 1;

    mapping(address => bool) public walletHasMinted;

    //EIP2981
    uint256 private _royaltyBps;
    address private _royaltyRecipient;
    bytes4 private constant _INTERFACE_ID_ROYALTIES_EIP2981 = 0x2a55205a;

    //Custom errors
    error MaxSupplyExceeded();
    error WalletAlreadyMinted();
    error SignatureNotValid();

    constructor() ERC721("Genesis 2052 Passport", "205Z") {}

    /*

   __  __                  ______                 __  _
  / / / /_______  _____   / ____/_  ______  _____/ /_(_)___  ____  _____
 / / / / ___/ _ \/ ___/  / /_  / / / / __ \/ ___/ __/ / __ \/ __ \/ ___/
/ /_/ (__  )  __/ /     / __/ / /_/ / / / / /__/ /_/ / /_/ / / / (__  )
\____/____/\___/_/     /_/    \__,_/_/ /_/\___/\__/_/\____/_/ /_/____/


*/

    function mintPassport(
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external {
        if (nextTokenId > 1111) revert MaxSupplyExceeded();
        if (walletHasMinted[msg.sender]) revert WalletAlreadyMinted();
        if (
            verifyHash(keccak256(abi.encodePacked(msg.sender)), v, r, s) !=
            signer
        ) revert SignatureNotValid();

        //Mark minted before minting.
        walletHasMinted[msg.sender] = true;
        _mint(msg.sender, nextTokenId);

        unchecked {
            ++nextTokenId;
        }
    }

    /*

    _____   __________________  _   _____    __       ________  ___   ______________________  _   _______
   /  _/ | / /_  __/ ____/ __ \/ | / /   |  / /      / ____/ / / / | / / ____/_  __/  _/ __ \/ | / / ___/
   / //  |/ / / / / __/ / /_/ /  |/ / /| | / /      / /_  / / / /  |/ / /     / /  / // / / /  |/ /\__ \
 _/ // /|  / / / / /___/ _, _/ /|  / ___ |/ /___   / __/ / /_/ / /|  / /___  / / _/ // /_/ / /|  /___/ /
/___/_/ |_/ /_/ /_____/_/ |_/_/ |_/_/  |_/_____/  /_/    \____/_/ |_/\____/ /_/ /___/\____/_/ |_//____/


*/

    function verifyHash(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        bytes32 messageDigest = keccak256(
            abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)
        );

        return ecrecover(messageDigest, v, r, s);
    }

    /*
 _    ___                 ______                 __  _
| |  / (_)__ _      __   / ____/_  ______  _____/ /_(_)___  ____  _____
| | / / / _ \ | /| / /  / /_  / / / / __ \/ ___/ __/ / __ \/ __ \/ ___/
| |/ / /  __/ |/ |/ /  / __/ / /_/ / / / / /__/ /_/ / /_/ / / / (__  )
|___/_/\___/|__/|__/  /_/    \__,_/_/ /_/\___/\__/_/\____/_/ /_/____/

*/

    function walletOfOwner(address _address)
        public
        view
        virtual
        returns (uint256[] memory)
    {
        //Thanks 0xinuarashi for da inspo

        uint256 _balance = balanceOf(_address);
        uint256[] memory _tokens = new uint256[](_balance);
        uint256 _addedTokens;
        for (uint256 i = 1; i <= totalSupply(); i++) {
            if (ownerOf(i) == _address) {
                _tokens[_addedTokens] = i;
                _addedTokens++;
                }

            if (_addedTokens == _balance) break;
        }
        return _tokens;
    }

    function totalSupply() public view returns (uint256) {
        return nextTokenId - 1;
    }

    function tokenURI(uint256 id) public view override returns (string memory) {
        require(_exists(id), "Token does not exist!");
        return string(abi.encodePacked(baseURI, id.toString()));
    }

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

    function royaltyInfo(uint256, uint256 value)
        external
        view
        returns (address, uint256)
    {
        return (_royaltyRecipient, (value * _royaltyBps) / 10000);
    }

    /*
   ____                              ______                 __  _
  / __ \_      ______  ___  _____   / ____/_  ______  _____/ /_(_)___  ____  _____
 / / / / | /| / / __ \/ _ \/ ___/  / /_  / / / / __ \/ ___/ __/ / __ \/ __ \/ ___/
/ /_/ /| |/ |/ / / / /  __/ /     / __/ / /_/ / / / / /__/ /_/ / /_/ / / / (__  )
\____/ |__/|__/_/ /_/\___/_/     /_/    \__,_/_/ /_/\___/\__/_/\____/_/ /_/____/

*/

    function setBaseURI(string calldata _baseURI) external onlyOwner {
        baseURI = _baseURI;
    }

    function setSigner(address _signer) external onlyOwner {
        signer = _signer;
    }

    function setContractURI(string calldata _contractURI) external onlyOwner {
        contractURI = _contractURI;
    }

    /**
     * ROYALTY FUNCTIONS
     */
    function updateRoyalties(address payable recipient, uint256 bps)
        external
        onlyOwner
    {
        _royaltyRecipient = recipient;
        _royaltyBps = bps;
    }
}

File 2 of 11 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

File 3 of 11 : 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 11 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 11 : 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 6 of 11 : 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 7 of 11 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 11 : 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 9 of 11 : 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 10 of 11 : 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 11 of 11 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"MaxSupplyExceeded","type":"error"},{"inputs":[],"name":"SignatureNotValid","type":"error"},{"inputs":[],"name":"WalletAlreadyMinted","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"mintPassport","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","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":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"updateRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletHasMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"}]

60806040526001600a553480156200001657600080fd5b506040518060400160405280601581526020017f47656e6573697320323035322050617373706f727400000000000000000000008152506040518060400160405280600481526020017f3230355a0000000000000000000000000000000000000000000000000000000081525081600090805190602001906200009b929190620001ab565b508060019080519060200190620000b4929190620001ab565b505050620000d7620000cb620000dd60201b60201c565b620000e560201b60201c565b620002c0565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001b9906200025b565b90600052602060002090601f016020900481019282620001dd576000855562000229565b82601f10620001f857805160ff191683800117855562000229565b8280016001018555821562000229579182015b82811115620002285782518255916020019190600101906200020b565b5b5090506200023891906200023c565b5090565b5b80821115620002575760008160009055506001016200023d565b5090565b600060028204905060018216806200027457607f821691505b602082108114156200028b576200028a62000291565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b613b1180620002d06000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80636c19e7831161010457806395d89b41116100a2578063e8a3d48511610071578063e8a3d4851461052d578063e985e9c51461054b578063f2fde38b1461057b578063f6c023a514610597576101cf565b806395d89b41146104a7578063a22cb465146104c5578063b88d4fde146104e1578063c87b56dd146104fd576101cf565b8063715018a6116100de578063715018a61461044557806375794a3c1461044f5780638da5cb5b1461046d578063938e3d7b1461048b576101cf565b80636c19e783146103dd5780636c2f5acd146103f957806370a0823114610415576101cf565b806323b872dd11610171578063438b63001161014b578063438b63001461034357806355f804b3146103735780636352211e1461038f5780636c0360eb146103bf576101cf565b806323b872dd146102da5780632a55205a146102f657806342842e0e14610327576101cf565b8063095ea7b3116101ad578063095ea7b31461025257806313a8d6b01461026e57806318160ddd1461029e578063238ac933146102bc576101cf565b806301ffc9a7146101d457806306fdde0314610204578063081812fc14610222575b600080fd5b6101ee60048036038101906101e991906127ad565b6105b3565b6040516101fb9190612e82565b60405180910390f35b61020c610614565b6040516102199190612ee2565b60405180910390f35b61023c60048036038101906102379190612844565b6106a6565b6040516102499190612dd0565b60405180910390f35b61026c60048036038101906102679190612771565b61072b565b005b610288600480360381019061028391906125ca565b610843565b6040516102959190612e82565b60405180910390f35b6102a6610863565b6040516102b39190613104565b60405180910390f35b6102c4610879565b6040516102d19190612dd0565b60405180910390f35b6102f460048036038101906102ef919061266b565b61089f565b005b610310600480360381019061030b919061286d565b6108ff565b60405161031e929190612e37565b60405180910390f35b610341600480360381019061033c919061266b565b61094b565b005b61035d600480360381019061035891906125ca565b61096b565b60405161036a9190612e60565b60405180910390f35b61038d600480360381019061038891906127ff565b610ac0565b005b6103a960048036038101906103a49190612844565b610b52565b6040516103b69190612dd0565b60405180910390f35b6103c7610c04565b6040516103d49190612ee2565b60405180910390f35b6103f760048036038101906103f291906125ca565b610c92565b005b610413600480360381019061040e91906125f3565b610d52565b005b61042f600480360381019061042a91906125ca565b610e1a565b60405161043c9190613104565b60405180910390f35b61044d610ed2565b005b610457610f5a565b6040516104649190613104565b60405180910390f35b610475610f60565b6040516104829190612dd0565b60405180910390f35b6104a560048036038101906104a091906127ff565b610f8a565b005b6104af61101c565b6040516104bc9190612ee2565b60405180910390f35b6104df60048036038101906104da9190612735565b6110ae565b005b6104fb60048036038101906104f691906126ba565b6110c4565b005b61051760048036038101906105129190612844565b611126565b6040516105249190612ee2565b60405180910390f35b6105356111a2565b6040516105429190612ee2565b60405180910390f35b6105656004803603810190610560919061262f565b611230565b6040516105729190612e82565b60405180910390f35b610595600480360381019061059091906125ca565b6112c4565b005b6105b160048036038101906105ac91906128a9565b6113bc565b005b60006105be826115af565b8061060d5750632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060008054610623906133fa565b80601f016020809104026020016040519081016040528092919081815260200182805461064f906133fa565b801561069c5780601f106106715761010080835404028352916020019161069c565b820191906000526020600020905b81548152906001019060200180831161067f57829003601f168201915b5050505050905090565b60006106b182611691565b6106f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e790613064565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061073682610b52565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079e906130a4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107c66116fd565b73ffffffffffffffffffffffffffffffffffffffff1614806107f557506107f4816107ef6116fd565b611230565b5b610834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082b90612fe4565b60405180910390fd5b61083e8383611705565b505050565b600b6020528060005260406000206000915054906101000a900460ff1681565b60006001600a5461087491906132e7565b905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6108b06108aa6116fd565b826117be565b6108ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e6906130c4565b60405180910390fd5b6108fa83838361189c565b505050565b600080600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710600c5485610936919061328d565b610940919061325c565b915091509250929050565b610966838383604051806020016040528060008152506110c4565b505050565b6060600061097883610e1a565b905060008167ffffffffffffffff8111156109bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156109ea5781602001602082028036833780820191505090505b509050600080600190505b6109fd610863565b8111610ab4578573ffffffffffffffffffffffffffffffffffffffff16610a2382610b52565b73ffffffffffffffffffffffffffffffffffffffff161415610a945780838381518110610a79577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508180610a909061345d565b9250505b83821415610aa157610ab4565b8080610aac9061345d565b9150506109f5565b50819350505050919050565b610ac86116fd565b73ffffffffffffffffffffffffffffffffffffffff16610ae6610f60565b73ffffffffffffffffffffffffffffffffffffffff1614610b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3390613084565b60405180910390fd5b818160089190610b4d9291906123cd565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf290613024565b60405180910390fd5b80915050919050565b60088054610c11906133fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3d906133fa565b8015610c8a5780601f10610c5f57610100808354040283529160200191610c8a565b820191906000526020600020905b815481529060010190602001808311610c6d57829003601f168201915b505050505081565b610c9a6116fd565b73ffffffffffffffffffffffffffffffffffffffff16610cb8610f60565b73ffffffffffffffffffffffffffffffffffffffff1614610d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0590613084565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610d5a6116fd565b73ffffffffffffffffffffffffffffffffffffffff16610d78610f60565b73ffffffffffffffffffffffffffffffffffffffff1614610dce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc590613084565b60405180910390fd5b81600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600c819055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8290613004565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610eda6116fd565b73ffffffffffffffffffffffffffffffffffffffff16610ef8610f60565b73ffffffffffffffffffffffffffffffffffffffff1614610f4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4590613084565b60405180910390fd5b610f586000611b03565b565b600a5481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f926116fd565b73ffffffffffffffffffffffffffffffffffffffff16610fb0610f60565b73ffffffffffffffffffffffffffffffffffffffff1614611006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffd90613084565b60405180910390fd5b8181600991906110179291906123cd565b505050565b60606001805461102b906133fa565b80601f0160208091040260200160405190810160405280929190818152602001828054611057906133fa565b80156110a45780601f10611079576101008083540402835291602001916110a4565b820191906000526020600020905b81548152906001019060200180831161108757829003601f168201915b5050505050905090565b6110c06110b96116fd565b8383611bc9565b5050565b6110d56110cf6116fd565b836117be565b611114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110b906130c4565b60405180910390fd5b61112084848484611d36565b50505050565b606061113182611691565b611170576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611167906130e4565b60405180910390fd5b600861117b83611d92565b60405160200161118c929190612d86565b6040516020818303038152906040529050919050565b600980546111af906133fa565b80601f01602080910402602001604051908101604052809291908181526020018280546111db906133fa565b80156112285780601f106111fd57610100808354040283529160200191611228565b820191906000526020600020905b81548152906001019060200180831161120b57829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6112cc6116fd565b73ffffffffffffffffffffffffffffffffffffffff166112ea610f60565b73ffffffffffffffffffffffffffffffffffffffff1614611340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133790613084565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a790612f24565b60405180910390fd5b6113b981611b03565b50565b610457600a5411156113fa576040517f8a164f6300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561147e576040517fb88ec8ed00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166114e9336040516020016114cb9190612d6b565b60405160208183030381529060405280519060200120858585611f3f565b73ffffffffffffffffffffffffffffffffffffffff1614611536576040517f401b4d9700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061159a33600a54611fc5565b600a6000815460010191905081905550505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061167a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061168a57506116898261219f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661177883610b52565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006117c982611691565b611808576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ff90612fc4565b60405180910390fd5b600061181383610b52565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061188257508373ffffffffffffffffffffffffffffffffffffffff1661186a846106a6565b73ffffffffffffffffffffffffffffffffffffffff16145b8061189357506118928185611230565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166118bc82610b52565b73ffffffffffffffffffffffffffffffffffffffff1614611912576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190990612f44565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611982576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197990612f84565b60405180910390fd5b61198d838383612209565b611998600082611705565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119e891906132e7565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a3f9190613206565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611afe83838361220e565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611c38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2f90612fa4565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d299190612e82565b60405180910390a3505050565b611d4184848461189c565b611d4d84848484612213565b611d8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8390612f04565b60405180910390fd5b50505050565b60606000821415611dda576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611f3a565b600082905060005b60008214611e0c578080611df59061345d565b915050600a82611e05919061325c565b9150611de2565b60008167ffffffffffffffff811115611e4e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611e805781602001600182028036833780820191505090505b5090505b60008514611f3357600182611e9991906132e7565b9150600a85611ea891906134d4565b6030611eb49190613206565b60f81b818381518110611ef0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611f2c919061325c565b9450611e84565b8093505050505b919050565b60008085604051602001611f539190612daa565b60405160208183030381529060405280519060200120905060018186868660405160008152602001604052604051611f8e9493929190612e9d565b6020604051602081039080840390855afa158015611fb0573d6000803e3d6000fd5b50505060206040510351915050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202c90613044565b60405180910390fd5b61203e81611691565b1561207e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207590612f64565b60405180910390fd5b61208a60008383612209565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120da9190613206565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461219b6000838361220e565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b505050565b60006122348473ffffffffffffffffffffffffffffffffffffffff166123aa565b1561239d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261225d6116fd565b8786866040518563ffffffff1660e01b815260040161227f9493929190612deb565b602060405180830381600087803b15801561229957600080fd5b505af19250505080156122ca57506040513d601f19601f820116820180604052508101906122c791906127d6565b60015b61234d573d80600081146122fa576040519150601f19603f3d011682016040523d82523d6000602084013e6122ff565b606091505b50600081511415612345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233c90612f04565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506123a2565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546123d9906133fa565b90600052602060002090601f0160209004810192826123fb5760008555612442565b82601f1061241457803560ff1916838001178555612442565b82800160010185558215612442579182015b82811115612441578235825591602001919060010190612426565b5b50905061244f9190612453565b5090565b5b8082111561246c576000816000905550600101612454565b5090565b600061248361247e84613144565b61311f565b90508281526020810184848401111561249b57600080fd5b6124a68482856133b8565b509392505050565b6000813590506124bd81613a3a565b92915050565b6000813590506124d281613a51565b92915050565b6000813590506124e781613a68565b92915050565b6000813590506124fc81613a7f565b92915050565b60008135905061251181613a96565b92915050565b60008151905061252681613a96565b92915050565b600082601f83011261253d57600080fd5b813561254d848260208601612470565b91505092915050565b60008083601f84011261256857600080fd5b8235905067ffffffffffffffff81111561258157600080fd5b60208301915083600182028301111561259957600080fd5b9250929050565b6000813590506125af81613aad565b92915050565b6000813590506125c481613ac4565b92915050565b6000602082840312156125dc57600080fd5b60006125ea848285016124ae565b91505092915050565b6000806040838503121561260657600080fd5b6000612614858286016124c3565b9250506020612625858286016125a0565b9150509250929050565b6000806040838503121561264257600080fd5b6000612650858286016124ae565b9250506020612661858286016124ae565b9150509250929050565b60008060006060848603121561268057600080fd5b600061268e868287016124ae565b935050602061269f868287016124ae565b92505060406126b0868287016125a0565b9150509250925092565b600080600080608085870312156126d057600080fd5b60006126de878288016124ae565b94505060206126ef878288016124ae565b9350506040612700878288016125a0565b925050606085013567ffffffffffffffff81111561271d57600080fd5b6127298782880161252c565b91505092959194509250565b6000806040838503121561274857600080fd5b6000612756858286016124ae565b9250506020612767858286016124d8565b9150509250929050565b6000806040838503121561278457600080fd5b6000612792858286016124ae565b92505060206127a3858286016125a0565b9150509250929050565b6000602082840312156127bf57600080fd5b60006127cd84828501612502565b91505092915050565b6000602082840312156127e857600080fd5b60006127f684828501612517565b91505092915050565b6000806020838503121561281257600080fd5b600083013567ffffffffffffffff81111561282c57600080fd5b61283885828601612556565b92509250509250929050565b60006020828403121561285657600080fd5b6000612864848285016125a0565b91505092915050565b6000806040838503121561288057600080fd5b600061288e858286016125a0565b925050602061289f858286016125a0565b9150509250929050565b6000806000606084860312156128be57600080fd5b60006128cc868287016125b5565b93505060206128dd868287016124ed565b92505060406128ee868287016124ed565b9150509250925092565b60006129048383612d3e565b60208301905092915050565b6129198161331b565b82525050565b61293061292b8261331b565b6134a6565b82525050565b60006129418261319a565b61294b81856131c8565b935061295683613175565b8060005b8381101561298757815161296e88826128f8565b9750612979836131bb565b92505060018101905061295a565b5085935050505092915050565b61299d8161333f565b82525050565b6129ac8161334b565b82525050565b6129c36129be8261334b565b6134b8565b82525050565b60006129d4826131a5565b6129de81856131d9565b93506129ee8185602086016133c7565b6129f7816135c1565b840191505092915050565b6000612a0d826131b0565b612a1781856131ea565b9350612a278185602086016133c7565b612a30816135c1565b840191505092915050565b6000612a46826131b0565b612a5081856131fb565b9350612a608185602086016133c7565b80840191505092915050565b60008154612a79816133fa565b612a8381866131fb565b94506001821660008114612a9e5760018114612aaf57612ae2565b60ff19831686528186019350612ae2565b612ab885613185565b60005b83811015612ada57815481890152600182019150602081019050612abb565b838801955050505b50505092915050565b6000612af8601c836131fb565b9150612b03826135df565b601c82019050919050565b6000612b1b6032836131ea565b9150612b2682613608565b604082019050919050565b6000612b3e6026836131ea565b9150612b4982613657565b604082019050919050565b6000612b616025836131ea565b9150612b6c826136a6565b604082019050919050565b6000612b84601c836131ea565b9150612b8f826136f5565b602082019050919050565b6000612ba76024836131ea565b9150612bb28261371e565b604082019050919050565b6000612bca6019836131ea565b9150612bd58261376d565b602082019050919050565b6000612bed602c836131ea565b9150612bf882613796565b604082019050919050565b6000612c106038836131ea565b9150612c1b826137e5565b604082019050919050565b6000612c33602a836131ea565b9150612c3e82613834565b604082019050919050565b6000612c566029836131ea565b9150612c6182613883565b604082019050919050565b6000612c796020836131ea565b9150612c84826138d2565b602082019050919050565b6000612c9c602c836131ea565b9150612ca7826138fb565b604082019050919050565b6000612cbf6020836131ea565b9150612cca8261394a565b602082019050919050565b6000612ce26021836131ea565b9150612ced82613973565b604082019050919050565b6000612d056031836131ea565b9150612d10826139c2565b604082019050919050565b6000612d286015836131ea565b9150612d3382613a11565b602082019050919050565b612d47816133a1565b82525050565b612d56816133a1565b82525050565b612d65816133ab565b82525050565b6000612d77828461291f565b60148201915081905092915050565b6000612d928285612a6c565b9150612d9e8284612a3b565b91508190509392505050565b6000612db582612aeb565b9150612dc182846129b2565b60208201915081905092915050565b6000602082019050612de56000830184612910565b92915050565b6000608082019050612e006000830187612910565b612e0d6020830186612910565b612e1a6040830185612d4d565b8181036060830152612e2c81846129c9565b905095945050505050565b6000604082019050612e4c6000830185612910565b612e596020830184612d4d565b9392505050565b60006020820190508181036000830152612e7a8184612936565b905092915050565b6000602082019050612e976000830184612994565b92915050565b6000608082019050612eb260008301876129a3565b612ebf6020830186612d5c565b612ecc60408301856129a3565b612ed960608301846129a3565b95945050505050565b60006020820190508181036000830152612efc8184612a02565b905092915050565b60006020820190508181036000830152612f1d81612b0e565b9050919050565b60006020820190508181036000830152612f3d81612b31565b9050919050565b60006020820190508181036000830152612f5d81612b54565b9050919050565b60006020820190508181036000830152612f7d81612b77565b9050919050565b60006020820190508181036000830152612f9d81612b9a565b9050919050565b60006020820190508181036000830152612fbd81612bbd565b9050919050565b60006020820190508181036000830152612fdd81612be0565b9050919050565b60006020820190508181036000830152612ffd81612c03565b9050919050565b6000602082019050818103600083015261301d81612c26565b9050919050565b6000602082019050818103600083015261303d81612c49565b9050919050565b6000602082019050818103600083015261305d81612c6c565b9050919050565b6000602082019050818103600083015261307d81612c8f565b9050919050565b6000602082019050818103600083015261309d81612cb2565b9050919050565b600060208201905081810360008301526130bd81612cd5565b9050919050565b600060208201905081810360008301526130dd81612cf8565b9050919050565b600060208201905081810360008301526130fd81612d1b565b9050919050565b60006020820190506131196000830184612d4d565b92915050565b600061312961313a565b9050613135828261342c565b919050565b6000604051905090565b600067ffffffffffffffff82111561315f5761315e613592565b5b613168826135c1565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613211826133a1565b915061321c836133a1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561325157613250613505565b5b828201905092915050565b6000613267826133a1565b9150613272836133a1565b92508261328257613281613534565b5b828204905092915050565b6000613298826133a1565b91506132a3836133a1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156132dc576132db613505565b5b828202905092915050565b60006132f2826133a1565b91506132fd836133a1565b9250828210156133105761330f613505565b5b828203905092915050565b600061332682613381565b9050919050565b600061333882613381565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156133e55780820151818401526020810190506133ca565b838111156133f4576000848401525b50505050565b6000600282049050600182168061341257607f821691505b6020821081141561342657613425613563565b5b50919050565b613435826135c1565b810181811067ffffffffffffffff8211171561345457613453613592565b5b80604052505050565b6000613468826133a1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561349b5761349a613505565b5b600182019050919050565b60006134b1826134c2565b9050919050565b6000819050919050565b60006134cd826135d2565b9050919050565b60006134df826133a1565b91506134ea836133a1565b9250826134fa576134f9613534565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f546f6b656e20646f6573206e6f74206578697374210000000000000000000000600082015250565b613a438161331b565b8114613a4e57600080fd5b50565b613a5a8161332d565b8114613a6557600080fd5b50565b613a718161333f565b8114613a7c57600080fd5b50565b613a888161334b565b8114613a9357600080fd5b50565b613a9f81613355565b8114613aaa57600080fd5b50565b613ab6816133a1565b8114613ac157600080fd5b50565b613acd816133ab565b8114613ad857600080fd5b5056fea2646970667358221220ba23226493b3b5a8a4290363727675e6516ad2b64962ed1f0a9b7d2afa781ba364736f6c63430008040033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c80636c19e7831161010457806395d89b41116100a2578063e8a3d48511610071578063e8a3d4851461052d578063e985e9c51461054b578063f2fde38b1461057b578063f6c023a514610597576101cf565b806395d89b41146104a7578063a22cb465146104c5578063b88d4fde146104e1578063c87b56dd146104fd576101cf565b8063715018a6116100de578063715018a61461044557806375794a3c1461044f5780638da5cb5b1461046d578063938e3d7b1461048b576101cf565b80636c19e783146103dd5780636c2f5acd146103f957806370a0823114610415576101cf565b806323b872dd11610171578063438b63001161014b578063438b63001461034357806355f804b3146103735780636352211e1461038f5780636c0360eb146103bf576101cf565b806323b872dd146102da5780632a55205a146102f657806342842e0e14610327576101cf565b8063095ea7b3116101ad578063095ea7b31461025257806313a8d6b01461026e57806318160ddd1461029e578063238ac933146102bc576101cf565b806301ffc9a7146101d457806306fdde0314610204578063081812fc14610222575b600080fd5b6101ee60048036038101906101e991906127ad565b6105b3565b6040516101fb9190612e82565b60405180910390f35b61020c610614565b6040516102199190612ee2565b60405180910390f35b61023c60048036038101906102379190612844565b6106a6565b6040516102499190612dd0565b60405180910390f35b61026c60048036038101906102679190612771565b61072b565b005b610288600480360381019061028391906125ca565b610843565b6040516102959190612e82565b60405180910390f35b6102a6610863565b6040516102b39190613104565b60405180910390f35b6102c4610879565b6040516102d19190612dd0565b60405180910390f35b6102f460048036038101906102ef919061266b565b61089f565b005b610310600480360381019061030b919061286d565b6108ff565b60405161031e929190612e37565b60405180910390f35b610341600480360381019061033c919061266b565b61094b565b005b61035d600480360381019061035891906125ca565b61096b565b60405161036a9190612e60565b60405180910390f35b61038d600480360381019061038891906127ff565b610ac0565b005b6103a960048036038101906103a49190612844565b610b52565b6040516103b69190612dd0565b60405180910390f35b6103c7610c04565b6040516103d49190612ee2565b60405180910390f35b6103f760048036038101906103f291906125ca565b610c92565b005b610413600480360381019061040e91906125f3565b610d52565b005b61042f600480360381019061042a91906125ca565b610e1a565b60405161043c9190613104565b60405180910390f35b61044d610ed2565b005b610457610f5a565b6040516104649190613104565b60405180910390f35b610475610f60565b6040516104829190612dd0565b60405180910390f35b6104a560048036038101906104a091906127ff565b610f8a565b005b6104af61101c565b6040516104bc9190612ee2565b60405180910390f35b6104df60048036038101906104da9190612735565b6110ae565b005b6104fb60048036038101906104f691906126ba565b6110c4565b005b61051760048036038101906105129190612844565b611126565b6040516105249190612ee2565b60405180910390f35b6105356111a2565b6040516105429190612ee2565b60405180910390f35b6105656004803603810190610560919061262f565b611230565b6040516105729190612e82565b60405180910390f35b610595600480360381019061059091906125ca565b6112c4565b005b6105b160048036038101906105ac91906128a9565b6113bc565b005b60006105be826115af565b8061060d5750632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060008054610623906133fa565b80601f016020809104026020016040519081016040528092919081815260200182805461064f906133fa565b801561069c5780601f106106715761010080835404028352916020019161069c565b820191906000526020600020905b81548152906001019060200180831161067f57829003601f168201915b5050505050905090565b60006106b182611691565b6106f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e790613064565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061073682610b52565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079e906130a4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107c66116fd565b73ffffffffffffffffffffffffffffffffffffffff1614806107f557506107f4816107ef6116fd565b611230565b5b610834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082b90612fe4565b60405180910390fd5b61083e8383611705565b505050565b600b6020528060005260406000206000915054906101000a900460ff1681565b60006001600a5461087491906132e7565b905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6108b06108aa6116fd565b826117be565b6108ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e6906130c4565b60405180910390fd5b6108fa83838361189c565b505050565b600080600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710600c5485610936919061328d565b610940919061325c565b915091509250929050565b610966838383604051806020016040528060008152506110c4565b505050565b6060600061097883610e1a565b905060008167ffffffffffffffff8111156109bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156109ea5781602001602082028036833780820191505090505b509050600080600190505b6109fd610863565b8111610ab4578573ffffffffffffffffffffffffffffffffffffffff16610a2382610b52565b73ffffffffffffffffffffffffffffffffffffffff161415610a945780838381518110610a79577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508180610a909061345d565b9250505b83821415610aa157610ab4565b8080610aac9061345d565b9150506109f5565b50819350505050919050565b610ac86116fd565b73ffffffffffffffffffffffffffffffffffffffff16610ae6610f60565b73ffffffffffffffffffffffffffffffffffffffff1614610b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3390613084565b60405180910390fd5b818160089190610b4d9291906123cd565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf290613024565b60405180910390fd5b80915050919050565b60088054610c11906133fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3d906133fa565b8015610c8a5780601f10610c5f57610100808354040283529160200191610c8a565b820191906000526020600020905b815481529060010190602001808311610c6d57829003601f168201915b505050505081565b610c9a6116fd565b73ffffffffffffffffffffffffffffffffffffffff16610cb8610f60565b73ffffffffffffffffffffffffffffffffffffffff1614610d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0590613084565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610d5a6116fd565b73ffffffffffffffffffffffffffffffffffffffff16610d78610f60565b73ffffffffffffffffffffffffffffffffffffffff1614610dce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc590613084565b60405180910390fd5b81600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600c819055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8290613004565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610eda6116fd565b73ffffffffffffffffffffffffffffffffffffffff16610ef8610f60565b73ffffffffffffffffffffffffffffffffffffffff1614610f4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4590613084565b60405180910390fd5b610f586000611b03565b565b600a5481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f926116fd565b73ffffffffffffffffffffffffffffffffffffffff16610fb0610f60565b73ffffffffffffffffffffffffffffffffffffffff1614611006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffd90613084565b60405180910390fd5b8181600991906110179291906123cd565b505050565b60606001805461102b906133fa565b80601f0160208091040260200160405190810160405280929190818152602001828054611057906133fa565b80156110a45780601f10611079576101008083540402835291602001916110a4565b820191906000526020600020905b81548152906001019060200180831161108757829003601f168201915b5050505050905090565b6110c06110b96116fd565b8383611bc9565b5050565b6110d56110cf6116fd565b836117be565b611114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110b906130c4565b60405180910390fd5b61112084848484611d36565b50505050565b606061113182611691565b611170576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611167906130e4565b60405180910390fd5b600861117b83611d92565b60405160200161118c929190612d86565b6040516020818303038152906040529050919050565b600980546111af906133fa565b80601f01602080910402602001604051908101604052809291908181526020018280546111db906133fa565b80156112285780601f106111fd57610100808354040283529160200191611228565b820191906000526020600020905b81548152906001019060200180831161120b57829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6112cc6116fd565b73ffffffffffffffffffffffffffffffffffffffff166112ea610f60565b73ffffffffffffffffffffffffffffffffffffffff1614611340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133790613084565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a790612f24565b60405180910390fd5b6113b981611b03565b50565b610457600a5411156113fa576040517f8a164f6300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561147e576040517fb88ec8ed00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166114e9336040516020016114cb9190612d6b565b60405160208183030381529060405280519060200120858585611f3f565b73ffffffffffffffffffffffffffffffffffffffff1614611536576040517f401b4d9700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061159a33600a54611fc5565b600a6000815460010191905081905550505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061167a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061168a57506116898261219f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661177883610b52565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006117c982611691565b611808576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ff90612fc4565b60405180910390fd5b600061181383610b52565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061188257508373ffffffffffffffffffffffffffffffffffffffff1661186a846106a6565b73ffffffffffffffffffffffffffffffffffffffff16145b8061189357506118928185611230565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166118bc82610b52565b73ffffffffffffffffffffffffffffffffffffffff1614611912576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190990612f44565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611982576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197990612f84565b60405180910390fd5b61198d838383612209565b611998600082611705565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119e891906132e7565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a3f9190613206565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611afe83838361220e565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611c38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2f90612fa4565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d299190612e82565b60405180910390a3505050565b611d4184848461189c565b611d4d84848484612213565b611d8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8390612f04565b60405180910390fd5b50505050565b60606000821415611dda576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611f3a565b600082905060005b60008214611e0c578080611df59061345d565b915050600a82611e05919061325c565b9150611de2565b60008167ffffffffffffffff811115611e4e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611e805781602001600182028036833780820191505090505b5090505b60008514611f3357600182611e9991906132e7565b9150600a85611ea891906134d4565b6030611eb49190613206565b60f81b818381518110611ef0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611f2c919061325c565b9450611e84565b8093505050505b919050565b60008085604051602001611f539190612daa565b60405160208183030381529060405280519060200120905060018186868660405160008152602001604052604051611f8e9493929190612e9d565b6020604051602081039080840390855afa158015611fb0573d6000803e3d6000fd5b50505060206040510351915050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202c90613044565b60405180910390fd5b61203e81611691565b1561207e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207590612f64565b60405180910390fd5b61208a60008383612209565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120da9190613206565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461219b6000838361220e565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b505050565b60006122348473ffffffffffffffffffffffffffffffffffffffff166123aa565b1561239d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261225d6116fd565b8786866040518563ffffffff1660e01b815260040161227f9493929190612deb565b602060405180830381600087803b15801561229957600080fd5b505af19250505080156122ca57506040513d601f19601f820116820180604052508101906122c791906127d6565b60015b61234d573d80600081146122fa576040519150601f19603f3d011682016040523d82523d6000602084013e6122ff565b606091505b50600081511415612345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233c90612f04565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506123a2565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546123d9906133fa565b90600052602060002090601f0160209004810192826123fb5760008555612442565b82601f1061241457803560ff1916838001178555612442565b82800160010185558215612442579182015b82811115612441578235825591602001919060010190612426565b5b50905061244f9190612453565b5090565b5b8082111561246c576000816000905550600101612454565b5090565b600061248361247e84613144565b61311f565b90508281526020810184848401111561249b57600080fd5b6124a68482856133b8565b509392505050565b6000813590506124bd81613a3a565b92915050565b6000813590506124d281613a51565b92915050565b6000813590506124e781613a68565b92915050565b6000813590506124fc81613a7f565b92915050565b60008135905061251181613a96565b92915050565b60008151905061252681613a96565b92915050565b600082601f83011261253d57600080fd5b813561254d848260208601612470565b91505092915050565b60008083601f84011261256857600080fd5b8235905067ffffffffffffffff81111561258157600080fd5b60208301915083600182028301111561259957600080fd5b9250929050565b6000813590506125af81613aad565b92915050565b6000813590506125c481613ac4565b92915050565b6000602082840312156125dc57600080fd5b60006125ea848285016124ae565b91505092915050565b6000806040838503121561260657600080fd5b6000612614858286016124c3565b9250506020612625858286016125a0565b9150509250929050565b6000806040838503121561264257600080fd5b6000612650858286016124ae565b9250506020612661858286016124ae565b9150509250929050565b60008060006060848603121561268057600080fd5b600061268e868287016124ae565b935050602061269f868287016124ae565b92505060406126b0868287016125a0565b9150509250925092565b600080600080608085870312156126d057600080fd5b60006126de878288016124ae565b94505060206126ef878288016124ae565b9350506040612700878288016125a0565b925050606085013567ffffffffffffffff81111561271d57600080fd5b6127298782880161252c565b91505092959194509250565b6000806040838503121561274857600080fd5b6000612756858286016124ae565b9250506020612767858286016124d8565b9150509250929050565b6000806040838503121561278457600080fd5b6000612792858286016124ae565b92505060206127a3858286016125a0565b9150509250929050565b6000602082840312156127bf57600080fd5b60006127cd84828501612502565b91505092915050565b6000602082840312156127e857600080fd5b60006127f684828501612517565b91505092915050565b6000806020838503121561281257600080fd5b600083013567ffffffffffffffff81111561282c57600080fd5b61283885828601612556565b92509250509250929050565b60006020828403121561285657600080fd5b6000612864848285016125a0565b91505092915050565b6000806040838503121561288057600080fd5b600061288e858286016125a0565b925050602061289f858286016125a0565b9150509250929050565b6000806000606084860312156128be57600080fd5b60006128cc868287016125b5565b93505060206128dd868287016124ed565b92505060406128ee868287016124ed565b9150509250925092565b60006129048383612d3e565b60208301905092915050565b6129198161331b565b82525050565b61293061292b8261331b565b6134a6565b82525050565b60006129418261319a565b61294b81856131c8565b935061295683613175565b8060005b8381101561298757815161296e88826128f8565b9750612979836131bb565b92505060018101905061295a565b5085935050505092915050565b61299d8161333f565b82525050565b6129ac8161334b565b82525050565b6129c36129be8261334b565b6134b8565b82525050565b60006129d4826131a5565b6129de81856131d9565b93506129ee8185602086016133c7565b6129f7816135c1565b840191505092915050565b6000612a0d826131b0565b612a1781856131ea565b9350612a278185602086016133c7565b612a30816135c1565b840191505092915050565b6000612a46826131b0565b612a5081856131fb565b9350612a608185602086016133c7565b80840191505092915050565b60008154612a79816133fa565b612a8381866131fb565b94506001821660008114612a9e5760018114612aaf57612ae2565b60ff19831686528186019350612ae2565b612ab885613185565b60005b83811015612ada57815481890152600182019150602081019050612abb565b838801955050505b50505092915050565b6000612af8601c836131fb565b9150612b03826135df565b601c82019050919050565b6000612b1b6032836131ea565b9150612b2682613608565b604082019050919050565b6000612b3e6026836131ea565b9150612b4982613657565b604082019050919050565b6000612b616025836131ea565b9150612b6c826136a6565b604082019050919050565b6000612b84601c836131ea565b9150612b8f826136f5565b602082019050919050565b6000612ba76024836131ea565b9150612bb28261371e565b604082019050919050565b6000612bca6019836131ea565b9150612bd58261376d565b602082019050919050565b6000612bed602c836131ea565b9150612bf882613796565b604082019050919050565b6000612c106038836131ea565b9150612c1b826137e5565b604082019050919050565b6000612c33602a836131ea565b9150612c3e82613834565b604082019050919050565b6000612c566029836131ea565b9150612c6182613883565b604082019050919050565b6000612c796020836131ea565b9150612c84826138d2565b602082019050919050565b6000612c9c602c836131ea565b9150612ca7826138fb565b604082019050919050565b6000612cbf6020836131ea565b9150612cca8261394a565b602082019050919050565b6000612ce26021836131ea565b9150612ced82613973565b604082019050919050565b6000612d056031836131ea565b9150612d10826139c2565b604082019050919050565b6000612d286015836131ea565b9150612d3382613a11565b602082019050919050565b612d47816133a1565b82525050565b612d56816133a1565b82525050565b612d65816133ab565b82525050565b6000612d77828461291f565b60148201915081905092915050565b6000612d928285612a6c565b9150612d9e8284612a3b565b91508190509392505050565b6000612db582612aeb565b9150612dc182846129b2565b60208201915081905092915050565b6000602082019050612de56000830184612910565b92915050565b6000608082019050612e006000830187612910565b612e0d6020830186612910565b612e1a6040830185612d4d565b8181036060830152612e2c81846129c9565b905095945050505050565b6000604082019050612e4c6000830185612910565b612e596020830184612d4d565b9392505050565b60006020820190508181036000830152612e7a8184612936565b905092915050565b6000602082019050612e976000830184612994565b92915050565b6000608082019050612eb260008301876129a3565b612ebf6020830186612d5c565b612ecc60408301856129a3565b612ed960608301846129a3565b95945050505050565b60006020820190508181036000830152612efc8184612a02565b905092915050565b60006020820190508181036000830152612f1d81612b0e565b9050919050565b60006020820190508181036000830152612f3d81612b31565b9050919050565b60006020820190508181036000830152612f5d81612b54565b9050919050565b60006020820190508181036000830152612f7d81612b77565b9050919050565b60006020820190508181036000830152612f9d81612b9a565b9050919050565b60006020820190508181036000830152612fbd81612bbd565b9050919050565b60006020820190508181036000830152612fdd81612be0565b9050919050565b60006020820190508181036000830152612ffd81612c03565b9050919050565b6000602082019050818103600083015261301d81612c26565b9050919050565b6000602082019050818103600083015261303d81612c49565b9050919050565b6000602082019050818103600083015261305d81612c6c565b9050919050565b6000602082019050818103600083015261307d81612c8f565b9050919050565b6000602082019050818103600083015261309d81612cb2565b9050919050565b600060208201905081810360008301526130bd81612cd5565b9050919050565b600060208201905081810360008301526130dd81612cf8565b9050919050565b600060208201905081810360008301526130fd81612d1b565b9050919050565b60006020820190506131196000830184612d4d565b92915050565b600061312961313a565b9050613135828261342c565b919050565b6000604051905090565b600067ffffffffffffffff82111561315f5761315e613592565b5b613168826135c1565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613211826133a1565b915061321c836133a1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561325157613250613505565b5b828201905092915050565b6000613267826133a1565b9150613272836133a1565b92508261328257613281613534565b5b828204905092915050565b6000613298826133a1565b91506132a3836133a1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156132dc576132db613505565b5b828202905092915050565b60006132f2826133a1565b91506132fd836133a1565b9250828210156133105761330f613505565b5b828203905092915050565b600061332682613381565b9050919050565b600061333882613381565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156133e55780820151818401526020810190506133ca565b838111156133f4576000848401525b50505050565b6000600282049050600182168061341257607f821691505b6020821081141561342657613425613563565b5b50919050565b613435826135c1565b810181811067ffffffffffffffff8211171561345457613453613592565b5b80604052505050565b6000613468826133a1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561349b5761349a613505565b5b600182019050919050565b60006134b1826134c2565b9050919050565b6000819050919050565b60006134cd826135d2565b9050919050565b60006134df826133a1565b91506134ea836133a1565b9250826134fa576134f9613534565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f546f6b656e20646f6573206e6f74206578697374210000000000000000000000600082015250565b613a438161331b565b8114613a4e57600080fd5b50565b613a5a8161332d565b8114613a6557600080fd5b50565b613a718161333f565b8114613a7c57600080fd5b50565b613a888161334b565b8114613a9357600080fd5b50565b613a9f81613355565b8114613aaa57600080fd5b50565b613ab6816133a1565b8114613ac157600080fd5b50565b613acd816133ab565b8114613ad857600080fd5b5056fea2646970667358221220ba23226493b3b5a8a4290363727675e6516ad2b64962ed1f0a9b7d2afa781ba364736f6c63430008040033

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.