ETH Price: $2,858.50 (-0.53%)
 

Overview

Max Total Supply

0 ELFDAO

Holders

26

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
Juicebox: Deployer
Balance
1 ELFDAO
0x823b92d6a4b2aed4b15675c7917c9f922ea8adad
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:
ElfDAO

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : elf.sol
/*
........................................................................................................
................................ffff...................................................OOOOOOOO.........
...................llllll....fffffff..DDDDDDDDDDDDDD.............AAAAAAA.............OOOOOOOOOOOO.......
...................llllll...ffffffff..DDDDDDDDDDDDDDDD...........AAAAAAAA..........OOOOOOOOOOOOOOOO.....
...................llllll...ffffffff..DDDDDDDDDDDDDDDDD..........AAAAAAAA..........OOOOOOOOOOOOOOOOO....
...................llllll...ffffffff..DDDDDDDDDDDDDDDDDD........AAAAAAAAA.........OOOOOOOOOOOOOOOOOO....
...................llllll...ffffff....DDDDDDDDDDDDDDDDDD........AAAAAAAAAA.......OOOOOOOO....OOOOOOOO...
.....eeeeeeee......llllll.lfffffffff..DDDDD......DDDDDDD.......AAAAAAAAAAA.......OOOOOOO......OOOOOOO...
....eeeeeeeeeee....llllll.lfffffffff..DDDDD.......DDDDDDD......AAAAAAAAAAA.......OOOOOO........OOOOOOO..
...eeeeeeeeeeeee...llllll.lfffffffff..DDDDD........DDDDDD......AAAAAAAAAAAA.....OOOOOOO........OOOOOOO..
..eeeeeeeeeeeeee...llllll.lfffffffff..DDDDD........DDDDDD.....AAAAAA.AAAAAA.....OOOOOO..........OOOOOO..
..eeeeeeeeeeeeeee..llllll.lfffffffff..DDDDD........DDDDDD.....AAAAAA.AAAAAA.....OOOOOO..........OOOOOO..
.eeeeeee...eeeeee..llllll...fffff.....DDDDD........DDDDDD.....AAAAAA..AAAAAA....OOOOOO..........OOOOOO..
.eeeeee....eeeeee..llllll...fffff.....DDDDD........DDDDDD....AAAAAA...AAAAAA....OOOOOO..........OOOOOO..
.eeeeeeeeeeeeeeee..llllll...fffff.....DDDDD........DDDDDD....AAAAAA...AAAAAAA...OOOOOO..........OOOOOO..
.eeeeeeeeeeeeeeee..llllll...fffff.....DDDDD........DDDDDD....AAAAAAAAAAAAAAAA...OOOOOO..........OOOOOO..
.eeeeeeeeeeeeeeee..llllll...fffff.....DDDDD.......DDDDDDD...AAAAAAAAAAAAAAAAA...OOOOOOO........OOOOOOO..
.eeeeeeeeeeeeeeee..llllll...fffff.....DDDDD.......DDDDDDD...AAAAAAAAAAAAAAAAAA...OOOOOO........OOOOOO...
.eeeeee.....eeeee..llllll...fffff.....DDDDD......DDDDDDD....AAAAAAAAAAAAAAAAAA...OOOOOOO......OOOOOOO...
.eeeeeee...eeeeee..llllll...fffff.....DDDDDDDDDDDDDDDDDD...AAAAAAAAAAAAAAAAAAA...OOOOOOOO....OOOOOOOO...
..eeeeeeeeeeeeeee..llllll...fffff.....DDDDDDDDDDDDDDDDD....AAAAAA.......AAAAAAA...OOOOOOOOOOOOOOOOOO....
..eeeeeeeeeeeeeee..llllll...fffff.....DDDDDDDDDDDDDDDDD...AAAAAAA........AAAAAA....OOOOOOOOOOOOOOOO.....
...eeeeeeeeeeeee...llllll...fffff.....DDDDDDDDDDDDDDDD....AAAAAAA........AAAAAA....OOOOOOOOOOOOOOOO.....
....eeeeeeeeeee....llllll...fffff.....DDDDDDDDDDDDDD......AAAAAA.........AAAAAAA.....OOOOOOOOOOOO.......
......eeeeeee..........................................................................OOOOOOOO.........
........................................................................................................

The inaugural web3 toy drive - elfDAO.eth

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

import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";


contract ElfDAO is ERC721URIStorage, Ownable, ReentrancyGuard{
    string private _collectionURI;
    string public baseURI;

    /**
      * santa are from 1-5 (5 max supply)
      * worker elves from 6-30 (25 max supply)
      * reindeer from 31-1000 (970 max supply)
      * elves are from 1001 onwards (unlimited supply)
    **/

    uint256 immutable public maxSantaId = 5;
    uint256 public santaId = 1;

    uint256 immutable public maxWorkerElfId = 25;
    uint256 public workerElfId = 6;

    uint256 immutable public maxReindeerId = 1000;
    uint256 public reindeerId = 31;

    uint256 public elfId = 1001;

    // used to validate whitelists
    bytes32 public workerElfMerkleRoot;
    bytes32 public reindeerMerkleRoot;
    bytes32 public elfMerkleRoot;

    // keep track of those who have claimed their NFT
    mapping(address => bool) public claimed;

    constructor(string memory _baseURI, string memory collectionURI) ERC721("elfDAO NFT", "ELFDAO") {
        setBaseURI(_baseURI);
        setCollectionURI(collectionURI);
    }

    /**
     * @dev validates merkleProof
     */
    modifier isValidMerkleProof(bytes32[] calldata merkleProof, bytes32 root) {
        require(
            MerkleProof.verify(
                merkleProof,
                root,
                keccak256(abi.encodePacked(msg.sender))
            ),
            "Address does not exist in list"
        );
        _;
    }

    // ============ PUBLIC FUNCTIONS FOR MINTING ============

    /**
    * @dev does not charge a fee
    * Max supply: 5 (token ids: 1-5)
    * will be minted and airdropped to santa recipients
    */
    function mintSanta()
        public
        nonReentrant
        onlyOwner
    {
      require(santaId <= maxSantaId);
      _mint(msg.sender, santaId);
      santaId++;
    }

    /**
    * @dev mints 1 token per whitelisted address, does not charge a fee
    * Max supply: 25 (token ids: 6-30)
    */
    function mintWorkerElf(
      bytes32[] calldata merkleProof
    )
        public
        isValidMerkleProof(merkleProof, workerElfMerkleRoot)
        nonReentrant
    {
        require(workerElfId <= maxWorkerElfId, "minted the maximum # of elves");
        require(!claimed[msg.sender], "Worker elf is already claimed by this wallet");
        _mint(msg.sender, workerElfId);
        workerElfId++;
        claimed[msg.sender] = true;
    }

    /**
    * @dev mints 1 token per whitelisted reindeer address, does not charge a fee
    * Max supply: 970 (token ids: 31-1000)
    */
    function mintReindeer(
      bytes32[] calldata merkleProof
    )
        public
        isValidMerkleProof(merkleProof, reindeerMerkleRoot)
        nonReentrant
    {
        require(reindeerId <= maxReindeerId);
        require(!claimed[msg.sender], "Reindeer is already claimed by this wallet");
        _mint(msg.sender, reindeerId);
        reindeerId++;
        claimed[msg.sender] = true;
    }

    /**
    * @dev mints 1 token per whitelisted elf address, does not charge a fee
    * no max supply
    */
    function mintElf(
      bytes32[] calldata merkleProof
    )
        public
        isValidMerkleProof(merkleProof, elfMerkleRoot)
        nonReentrant
    {
        require(!claimed[msg.sender], "Elf is already claimed by this wallet");
        _mint(msg.sender, elfId);
        elfId++;
        claimed[msg.sender] = true;
    }

    // ============ PUBLIC READ-ONLY FUNCTIONS ============
    function tokenURI(uint256 tokenId)
      public
      view
      virtual
      override
      returns (string memory)
    {
      require(_exists(tokenId), "ERC721Metadata: query for nonexistent token");
      return string(abi.encodePacked(baseURI, Strings.toString(tokenId), ".json"));
    }

    /**
    * @dev collection URI for marketplace display
    */
    function contractURI() public view returns (string memory) {
        return _collectionURI;
    }


    // ============ OWNER-ONLY ADMIN FUNCTIONS ============
    function setBaseURI(string memory _baseURI) public onlyOwner {
      baseURI = _baseURI;
    }

    /**
    * @dev set collection URI for marketplace display
    */
    function setCollectionURI(string memory collectionURI) internal virtual onlyOwner {
        _collectionURI = collectionURI;
    }

    function setWorkerElfMerkleRoot(bytes32 merkleRoot) external onlyOwner {
        workerElfMerkleRoot = merkleRoot;
    }

    function setReindeerMerkleRoot(bytes32 merkleRoot) external onlyOwner {
        reindeerMerkleRoot = merkleRoot;
    }

    function setElfMerkleRoot(bytes32 merkleRoot) external onlyOwner {
        elfMerkleRoot = merkleRoot;
    }

    /**
     * @dev withdraw funds for elf dao to specified account
     * should not be needed ever
     */
    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function withdrawTokens(IERC20 token) public onlyOwner {
        uint256 balance = token.balanceOf(address(this));
        token.transfer(msg.sender, balance);
    }
}

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

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 4 of 16 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 6 of 16 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 7 of 16 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

File 8 of 16 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"string","name":"collectionURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"elfId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"elfMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxReindeerId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSantaId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWorkerElfId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintElf","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintReindeer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintSanta","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintWorkerElf","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reindeerId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reindeerMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"santaId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setElfMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setReindeerMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setWorkerElfMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"workerElfId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"workerElfMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"}]

60e060405260056080908152506001600b55601960a0908152506006600c556103e860c090815250601f600d556103e9600e553480156200003f57600080fd5b5060405162004b3a38038062004b3a8339818101604052810190620000659190620004c7565b6040518060400160405280600a81526020017f656c6644414f204e4654000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f454c4644414f00000000000000000000000000000000000000000000000000008152508160009080519060200190620000e9929190620003a5565b50806001908051906020019062000102929190620003a5565b50505062000125620001196200015760201b60201c565b6200015f60201b60201c565b60016008819055506200013e826200022560201b60201c565b6200014f81620002d060201b60201c565b5050620006e0565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002356200015760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200025b6200037b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002b4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002ab906200057c565b60405180910390fd5b80600a9080519060200190620002cc929190620003a5565b5050565b620002e06200015760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003066200037b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200035f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000356906200057c565b60405180910390fd5b806009908051906020019062000377929190620003a5565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003b3906200064c565b90600052602060002090601f016020900481019282620003d7576000855562000423565b82601f10620003f257805160ff191683800117855562000423565b8280016001018555821562000423579182015b828111156200042257825182559160200191906001019062000405565b5b50905062000432919062000436565b5090565b5b808211156200045157600081600090555060010162000437565b5090565b60006200046c6200046684620005d2565b6200059e565b9050828152602081018484840111156200048557600080fd5b6200049284828562000616565b509392505050565b600082601f830112620004ac57600080fd5b8151620004be84826020860162000455565b91505092915050565b60008060408385031215620004db57600080fd5b600083015167ffffffffffffffff811115620004f657600080fd5b62000504858286016200049a565b925050602083015167ffffffffffffffff8111156200052257600080fd5b62000530858286016200049a565b9150509250929050565b60006200054960208362000605565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000602082019050818103600083015262000597816200053a565b9050919050565b6000604051905081810181811067ffffffffffffffff82111715620005c857620005c7620006b1565b5b8060405250919050565b600067ffffffffffffffff821115620005f057620005ef620006b1565b5b601f19601f8301169050602081019050919050565b600082825260208201905092915050565b60005b838110156200063657808201518184015260208101905062000619565b8381111562000646576000848401525b50505050565b600060028204905060018216806200066557607f821691505b602082108114156200067c576200067b62000682565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60805160a05160c051614415620007256000396000818161132301526118090152600081816106fc01526114610152600081816116a80152611b4401526144156000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c80638da5cb5b1161013b578063b79e9627116100b8578063cc0528d11161007c578063cc0528d114610654578063deee821714610672578063e8a3d48514610690578063e985e9c5146106ae578063f2fde38b146106de5761023d565b8063b79e96271461059e578063b88d4fde146105ba578063bbfdfe72146105d6578063c87b56dd146105f4578063c884ef83146106245761023d565b8063a4f36482116100ff578063a4f3648214610524578063a821bed614610540578063af49c9501461054a578063b2ce098214610566578063b4a6ed8d146105825761023d565b80638da5cb5b146104925780639353e048146104b057806395d89b41146104cc57806397b7efaa146104ea578063a22cb465146105085761023d565b80633ccfd60b116101c95780636352211e1161018d5780636352211e146103ec57806368d6078f1461041c5780636c0360eb1461043a57806370a0823114610458578063715018a6146104885761023d565b80633ccfd60b1461037057806342842e0e1461037a57806345e4829f1461039657806349df728c146103b457806355f804b3146103d05761023d565b8063095ea7b311610210578063095ea7b3146102de57806312289d49146102fa57806323b872dd146103185780632a406c9d1461033457806331f4d45d146103525761023d565b8063018e5d161461024257806301ffc9a71461026057806306fdde0314610290578063081812fc146102ae575b600080fd5b61024a6106fa565b6040516102579190613f10565b60405180910390f35b61027a6004803603810190610275919061305e565b61071e565b6040516102879190613bf8565b60405180910390f35b610298610800565b6040516102a59190613c2e565b60405180910390f35b6102c860048036038101906102c3919061311a565b610892565b6040516102d59190613b68565b60405180910390f35b6102f860048036038101906102f39190612f8b565b610917565b005b610302610a2f565b60405161030f9190613c13565b60405180910390f35b610332600480360381019061032d9190612e85565b610a35565b005b61033c610a95565b6040516103499190613f10565b60405180910390f35b61035a610a9b565b6040516103679190613f10565b60405180910390f35b610378610aa1565b005b610394600480360381019061038f9190612e85565b610b6c565b005b61039e610b8c565b6040516103ab9190613f10565b60405180910390f35b6103ce60048036038101906103c991906130b0565b610b92565b005b6103ea60048036038101906103e591906130d9565b610d2d565b005b6104066004803603810190610401919061311a565b610dc3565b6040516104139190613b68565b60405180910390f35b610424610e75565b6040516104319190613c13565b60405180910390f35b610442610e7b565b60405161044f9190613c2e565b60405180910390f35b610472600480360381019061046d9190612e20565b610f09565b60405161047f9190613f10565b60405180910390f35b610490610fc1565b005b61049a611049565b6040516104a79190613b68565b60405180910390f35b6104ca60048036038101906104c59190612fc7565b611073565b005b6104d461128f565b6040516104e19190613c2e565b60405180910390f35b6104f2611321565b6040516104ff9190613f10565b60405180910390f35b610522600480360381019061051d9190612f4f565b611345565b005b61053e60048036038101906105399190612fc7565b61135b565b005b6105486115dc565b005b610564600480360381019061055f9190612fc7565b611703565b005b610580600480360381019061057b9190613035565b61194e565b005b61059c60048036038101906105979190613035565b6119d4565b005b6105b860048036038101906105b39190613035565b611a5a565b005b6105d460048036038101906105cf9190612ed4565b611ae0565b005b6105de611b42565b6040516105eb9190613f10565b60405180910390f35b61060e6004803603810190610609919061311a565b611b66565b60405161061b9190613c2e565b60405180910390f35b61063e60048036038101906106399190612e20565b611be2565b60405161064b9190613bf8565b60405180910390f35b61065c611c02565b6040516106699190613c13565b60405180910390f35b61067a611c08565b6040516106879190613f10565b60405180910390f35b610698611c0e565b6040516106a59190613c2e565b60405180910390f35b6106c860048036038101906106c39190612e49565b611ca0565b6040516106d59190613bf8565b60405180910390f35b6106f860048036038101906106f39190612e20565b611d34565b005b7f000000000000000000000000000000000000000000000000000000000000000081565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107e957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107f957506107f882611e2c565b5b9050919050565b60606000805461080f906141a1565b80601f016020809104026020016040519081016040528092919081815260200182805461083b906141a1565b80156108885780601f1061085d57610100808354040283529160200191610888565b820191906000526020600020905b81548152906001019060200180831161086b57829003601f168201915b5050505050905090565b600061089d82611e96565b6108dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d390613e30565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061092282610dc3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610993576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098a90613e90565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109b2611f02565b73ffffffffffffffffffffffffffffffffffffffff1614806109e157506109e0816109db611f02565b611ca0565b5b610a20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1790613d50565b60405180910390fd5b610a2a8383611f0a565b505050565b60105481565b610a46610a40611f02565b82611fc3565b610a85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7c90613ed0565b60405180910390fd5b610a908383836120a1565b505050565b600d5481565b600b5481565b610aa9611f02565b73ffffffffffffffffffffffffffffffffffffffff16610ac7611049565b73ffffffffffffffffffffffffffffffffffffffff1614610b1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1490613e50565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610b68573d6000803e3d6000fd5b5050565b610b8783838360405180602001604052806000815250611ae0565b505050565b600c5481565b610b9a611f02565b73ffffffffffffffffffffffffffffffffffffffff16610bb8611049565b73ffffffffffffffffffffffffffffffffffffffff1614610c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0590613e50565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610c499190613b68565b60206040518083038186803b158015610c6157600080fd5b505afa158015610c75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c999190613143565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610cd6929190613bcf565b602060405180830381600087803b158015610cf057600080fd5b505af1158015610d04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d28919061300c565b505050565b610d35611f02565b73ffffffffffffffffffffffffffffffffffffffff16610d53611049565b73ffffffffffffffffffffffffffffffffffffffff1614610da9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da090613e50565b60405180910390fd5b80600a9080519060200190610dbf929190612ba6565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6390613db0565b60405180910390fd5b80915050919050565b60115481565b600a8054610e88906141a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb4906141a1565b8015610f015780601f10610ed657610100808354040283529160200191610f01565b820191906000526020600020905b815481529060010190602001808311610ee457829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7190613d70565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610fc9611f02565b73ffffffffffffffffffffffffffffffffffffffff16610fe7611049565b73ffffffffffffffffffffffffffffffffffffffff161461103d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103490613e50565b60405180910390fd5b61104760006122fd565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b81816011546110ea838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505082336040516020016110cf9190613af2565b604051602081830303815290604052805190602001206123c3565b611129576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112090613d30565b60405180910390fd5b6002600854141561116f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116690613ef0565b60405180910390fd5b6002600881905550601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fb90613d90565b60405180910390fd5b61121033600e546123da565b600e6000815480929190611223906141d3565b91905055506001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016008819055505050505050565b60606001805461129e906141a1565b80601f01602080910402602001604051908101604052809291908181526020018280546112ca906141a1565b80156113175780601f106112ec57610100808354040283529160200191611317565b820191906000526020600020905b8154815290600101906020018083116112fa57829003601f168201915b5050505050905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b611357611350611f02565b83836125a8565b5050565b8181600f546113d2838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505082336040516020016113b79190613af2565b604051602081830303815290604052805190602001206123c3565b611411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140890613d30565b60405180910390fd5b60026008541415611457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144e90613ef0565b60405180910390fd5b60026008819055507f0000000000000000000000000000000000000000000000000000000000000000600c5411156114c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bb90613c70565b60405180910390fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611551576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154890613eb0565b60405180910390fd5b61155d33600c546123da565b600c6000815480929190611570906141d3565b91905055506001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016008819055505050505050565b60026008541415611622576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161990613ef0565b60405180910390fd5b6002600881905550611632611f02565b73ffffffffffffffffffffffffffffffffffffffff16611650611049565b73ffffffffffffffffffffffffffffffffffffffff16146116a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169d90613e50565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000600b5411156116d557600080fd5b6116e133600b546123da565b600b60008154809291906116f4906141d3565b91905055506001600881905550565b818160105461177a838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050823360405160200161175f9190613af2565b604051602081830303815290604052805190602001206123c3565b6117b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b090613d30565b60405180910390fd5b600260085414156117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f690613ef0565b60405180910390fd5b60026008819055507f0000000000000000000000000000000000000000000000000000000000000000600d54111561183657600080fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156118c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ba90613dd0565b60405180910390fd5b6118cf33600d546123da565b600d60008154809291906118e2906141d3565b91905055506001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016008819055505050505050565b611956611f02565b73ffffffffffffffffffffffffffffffffffffffff16611974611049565b73ffffffffffffffffffffffffffffffffffffffff16146119ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c190613e50565b60405180910390fd5b8060108190555050565b6119dc611f02565b73ffffffffffffffffffffffffffffffffffffffff166119fa611049565b73ffffffffffffffffffffffffffffffffffffffff1614611a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4790613e50565b60405180910390fd5b80600f8190555050565b611a62611f02565b73ffffffffffffffffffffffffffffffffffffffff16611a80611049565b73ffffffffffffffffffffffffffffffffffffffff1614611ad6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acd90613e50565b60405180910390fd5b8060118190555050565b611af1611aeb611f02565b83611fc3565b611b30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2790613ed0565b60405180910390fd5b611b3c84848484612715565b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6060611b7182611e96565b611bb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba790613e10565b60405180910390fd5b600a611bbb83612771565b604051602001611bcc929190613b39565b6040516020818303038152906040529050919050565b60126020528060005260406000206000915054906101000a900460ff1681565b600f5481565b600e5481565b606060098054611c1d906141a1565b80601f0160208091040260200160405190810160405280929190818152602001828054611c49906141a1565b8015611c965780601f10611c6b57610100808354040283529160200191611c96565b820191906000526020600020905b815481529060010190602001808311611c7957829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d3c611f02565b73ffffffffffffffffffffffffffffffffffffffff16611d5a611049565b73ffffffffffffffffffffffffffffffffffffffff1614611db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da790613e50565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1790613c90565b60405180910390fd5b611e29816122fd565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f7d83610dc3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611fce82611e96565b61200d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200490613d10565b60405180910390fd5b600061201883610dc3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061208757508373ffffffffffffffffffffffffffffffffffffffff1661206f84610892565b73ffffffffffffffffffffffffffffffffffffffff16145b8061209857506120978185611ca0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166120c182610dc3565b73ffffffffffffffffffffffffffffffffffffffff1614612117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210e90613e70565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612187576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217e90613cd0565b60405180910390fd5b61219283838361291e565b61219d600082611f0a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121ed919061409b565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122449190614014565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000826123d08584612923565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561244a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244190613df0565b60405180910390fd5b61245381611e96565b15612493576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248a90613cb0565b60405180910390fd5b61249f6000838361291e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124ef9190614014565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260e90613cf0565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127089190613bf8565b60405180910390a3505050565b6127208484846120a1565b61272c848484846129fc565b61276b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276290613c50565b60405180910390fd5b50505050565b606060008214156127b9576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612919565b600082905060005b600082146127eb5780806127d4906141d3565b915050600a826127e4919061406a565b91506127c1565b60008167ffffffffffffffff81111561282d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561285f5781602001600182028036833780820191505090505b5090505b6000851461291257600182612878919061409b565b9150600a85612887919061424a565b60306128939190614014565b60f81b8183815181106128cf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561290b919061406a565b9450612863565b8093505050505b919050565b505050565b60008082905060005b84518110156129f1576000858281518110612970577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116129b1578281604051602001612994929190613b0d565b6040516020818303038152906040528051906020012092506129dd565b80836040516020016129c4929190613b0d565b6040516020818303038152906040528051906020012092505b5080806129e9906141d3565b91505061292c565b508091505092915050565b6000612a1d8473ffffffffffffffffffffffffffffffffffffffff16612b93565b15612b86578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a46611f02565b8786866040518563ffffffff1660e01b8152600401612a689493929190613b83565b602060405180830381600087803b158015612a8257600080fd5b505af1925050508015612ab357506040513d601f19601f82011682018060405250810190612ab09190613087565b60015b612b36573d8060008114612ae3576040519150601f19603f3d011682016040523d82523d6000602084013e612ae8565b606091505b50600081511415612b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2590613c50565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b8b565b600190505b949350505050565b600080823b905060008111915050919050565b828054612bb2906141a1565b90600052602060002090601f016020900481019282612bd45760008555612c1b565b82601f10612bed57805160ff1916838001178555612c1b565b82800160010185558215612c1b579182015b82811115612c1a578251825591602001919060010190612bff565b5b509050612c289190612c2c565b5090565b5b80821115612c45576000816000905550600101612c2d565b5090565b6000612c5c612c5784613f5c565b613f2b565b905082815260208101848484011115612c7457600080fd5b612c7f84828561415f565b509392505050565b6000612c9a612c9584613f8c565b613f2b565b905082815260208101848484011115612cb257600080fd5b612cbd84828561415f565b509392505050565b600081359050612cd481614355565b92915050565b60008083601f840112612cec57600080fd5b8235905067ffffffffffffffff811115612d0557600080fd5b602083019150836020820283011115612d1d57600080fd5b9250929050565b600081359050612d338161436c565b92915050565b600081519050612d488161436c565b92915050565b600081359050612d5d81614383565b92915050565b600081359050612d728161439a565b92915050565b600081519050612d878161439a565b92915050565b600082601f830112612d9e57600080fd5b8135612dae848260208601612c49565b91505092915050565b600081359050612dc6816143b1565b92915050565b600082601f830112612ddd57600080fd5b8135612ded848260208601612c87565b91505092915050565b600081359050612e05816143c8565b92915050565b600081519050612e1a816143c8565b92915050565b600060208284031215612e3257600080fd5b6000612e4084828501612cc5565b91505092915050565b60008060408385031215612e5c57600080fd5b6000612e6a85828601612cc5565b9250506020612e7b85828601612cc5565b9150509250929050565b600080600060608486031215612e9a57600080fd5b6000612ea886828701612cc5565b9350506020612eb986828701612cc5565b9250506040612eca86828701612df6565b9150509250925092565b60008060008060808587031215612eea57600080fd5b6000612ef887828801612cc5565b9450506020612f0987828801612cc5565b9350506040612f1a87828801612df6565b925050606085013567ffffffffffffffff811115612f3757600080fd5b612f4387828801612d8d565b91505092959194509250565b60008060408385031215612f6257600080fd5b6000612f7085828601612cc5565b9250506020612f8185828601612d24565b9150509250929050565b60008060408385031215612f9e57600080fd5b6000612fac85828601612cc5565b9250506020612fbd85828601612df6565b9150509250929050565b60008060208385031215612fda57600080fd5b600083013567ffffffffffffffff811115612ff457600080fd5b61300085828601612cda565b92509250509250929050565b60006020828403121561301e57600080fd5b600061302c84828501612d39565b91505092915050565b60006020828403121561304757600080fd5b600061305584828501612d4e565b91505092915050565b60006020828403121561307057600080fd5b600061307e84828501612d63565b91505092915050565b60006020828403121561309957600080fd5b60006130a784828501612d78565b91505092915050565b6000602082840312156130c257600080fd5b60006130d084828501612db7565b91505092915050565b6000602082840312156130eb57600080fd5b600082013567ffffffffffffffff81111561310557600080fd5b61311184828501612dcc565b91505092915050565b60006020828403121561312c57600080fd5b600061313a84828501612df6565b91505092915050565b60006020828403121561315557600080fd5b600061316384828501612e0b565b91505092915050565b613175816140cf565b82525050565b61318c613187826140cf565b61421c565b82525050565b61319b816140e1565b82525050565b6131aa816140ed565b82525050565b6131c16131bc826140ed565b61422e565b82525050565b60006131d282613fd1565b6131dc8185613fe7565b93506131ec81856020860161416e565b6131f581614337565b840191505092915050565b600061320b82613fdc565b6132158185613ff8565b935061322581856020860161416e565b61322e81614337565b840191505092915050565b600061324482613fdc565b61324e8185614009565b935061325e81856020860161416e565b80840191505092915050565b60008154613277816141a1565b6132818186614009565b9450600182166000811461329c57600181146132ad576132e0565b60ff198316865281860193506132e0565b6132b685613fbc565b60005b838110156132d8578154818901526001820191506020810190506132b9565b838801955050505b50505092915050565b60006132f6603283613ff8565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061335c601d83613ff8565b91507f6d696e74656420746865206d6178696d756d2023206f6620656c7665730000006000830152602082019050919050565b600061339c602683613ff8565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613402601c83613ff8565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613442602483613ff8565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006134a8601983613ff8565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006134e8602c83613ff8565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061354e601e83613ff8565b91507f4164647265737320646f6573206e6f7420657869737420696e206c69737400006000830152602082019050919050565b600061358e603883613ff8565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006135f4602a83613ff8565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061365a602583613ff8565b91507f456c6620697320616c726561647920636c61696d65642062792074686973207760008301527f616c6c65740000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006136c0602983613ff8565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613726602a83613ff8565b91507f5265696e6465657220697320616c726561647920636c61696d6564206279207460008301527f6869732077616c6c6574000000000000000000000000000000000000000000006020830152604082019050919050565b600061378c602083613ff8565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006137cc602b83613ff8565b91507f4552433732314d657461646174613a20717565727920666f72206e6f6e65786960008301527f7374656e7420746f6b656e0000000000000000000000000000000000000000006020830152604082019050919050565b6000613832602c83613ff8565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613898600583614009565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b60006138d8602083613ff8565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613918602983613ff8565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061397e602183613ff8565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006139e4602c83613ff8565b91507f576f726b657220656c6620697320616c726561647920636c61696d656420627960008301527f20746869732077616c6c657400000000000000000000000000000000000000006020830152604082019050919050565b6000613a4a603183613ff8565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613ab0601f83613ff8565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b613aec81614155565b82525050565b6000613afe828461317b565b60148201915081905092915050565b6000613b1982856131b0565b602082019150613b2982846131b0565b6020820191508190509392505050565b6000613b45828561326a565b9150613b518284613239565b9150613b5c8261388b565b91508190509392505050565b6000602082019050613b7d600083018461316c565b92915050565b6000608082019050613b98600083018761316c565b613ba5602083018661316c565b613bb26040830185613ae3565b8181036060830152613bc481846131c7565b905095945050505050565b6000604082019050613be4600083018561316c565b613bf16020830184613ae3565b9392505050565b6000602082019050613c0d6000830184613192565b92915050565b6000602082019050613c2860008301846131a1565b92915050565b60006020820190508181036000830152613c488184613200565b905092915050565b60006020820190508181036000830152613c69816132e9565b9050919050565b60006020820190508181036000830152613c898161334f565b9050919050565b60006020820190508181036000830152613ca98161338f565b9050919050565b60006020820190508181036000830152613cc9816133f5565b9050919050565b60006020820190508181036000830152613ce981613435565b9050919050565b60006020820190508181036000830152613d098161349b565b9050919050565b60006020820190508181036000830152613d29816134db565b9050919050565b60006020820190508181036000830152613d4981613541565b9050919050565b60006020820190508181036000830152613d6981613581565b9050919050565b60006020820190508181036000830152613d89816135e7565b9050919050565b60006020820190508181036000830152613da98161364d565b9050919050565b60006020820190508181036000830152613dc9816136b3565b9050919050565b60006020820190508181036000830152613de981613719565b9050919050565b60006020820190508181036000830152613e098161377f565b9050919050565b60006020820190508181036000830152613e29816137bf565b9050919050565b60006020820190508181036000830152613e4981613825565b9050919050565b60006020820190508181036000830152613e69816138cb565b9050919050565b60006020820190508181036000830152613e898161390b565b9050919050565b60006020820190508181036000830152613ea981613971565b9050919050565b60006020820190508181036000830152613ec9816139d7565b9050919050565b60006020820190508181036000830152613ee981613a3d565b9050919050565b60006020820190508181036000830152613f0981613aa3565b9050919050565b6000602082019050613f256000830184613ae3565b92915050565b6000604051905081810181811067ffffffffffffffff82111715613f5257613f51614308565b5b8060405250919050565b600067ffffffffffffffff821115613f7757613f76614308565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115613fa757613fa6614308565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061401f82614155565b915061402a83614155565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561405f5761405e61427b565b5b828201905092915050565b600061407582614155565b915061408083614155565b9250826140905761408f6142aa565b5b828204905092915050565b60006140a682614155565b91506140b183614155565b9250828210156140c4576140c361427b565b5b828203905092915050565b60006140da82614135565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061412e826140cf565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561418c578082015181840152602081019050614171565b8381111561419b576000848401525b50505050565b600060028204905060018216806141b957607f821691505b602082108114156141cd576141cc6142d9565b5b50919050565b60006141de82614155565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142115761421061427b565b5b600182019050919050565b600061422782614238565b9050919050565b6000819050919050565b600061424382614348565b9050919050565b600061425582614155565b915061426083614155565b9250826142705761426f6142aa565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b61435e816140cf565b811461436957600080fd5b50565b614375816140e1565b811461438057600080fd5b50565b61438c816140ed565b811461439757600080fd5b50565b6143a3816140f7565b81146143ae57600080fd5b50565b6143ba81614123565b81146143c557600080fd5b50565b6143d181614155565b81146143dc57600080fd5b5056fea26469706673582212208a89d3705b12cca1676ca10468c36b40e28f56b83f309e9bdd0a8b755ecd0cd164736f6c63430008000033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d53413539785165796161356931675571685369794d694267616d5a7177623542573655624c7970716d6a72422f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d543354357a62545a79316e374552506753635a6b384e69473146395a7976613764557448477653644645694b00000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061023d5760003560e01c80638da5cb5b1161013b578063b79e9627116100b8578063cc0528d11161007c578063cc0528d114610654578063deee821714610672578063e8a3d48514610690578063e985e9c5146106ae578063f2fde38b146106de5761023d565b8063b79e96271461059e578063b88d4fde146105ba578063bbfdfe72146105d6578063c87b56dd146105f4578063c884ef83146106245761023d565b8063a4f36482116100ff578063a4f3648214610524578063a821bed614610540578063af49c9501461054a578063b2ce098214610566578063b4a6ed8d146105825761023d565b80638da5cb5b146104925780639353e048146104b057806395d89b41146104cc57806397b7efaa146104ea578063a22cb465146105085761023d565b80633ccfd60b116101c95780636352211e1161018d5780636352211e146103ec57806368d6078f1461041c5780636c0360eb1461043a57806370a0823114610458578063715018a6146104885761023d565b80633ccfd60b1461037057806342842e0e1461037a57806345e4829f1461039657806349df728c146103b457806355f804b3146103d05761023d565b8063095ea7b311610210578063095ea7b3146102de57806312289d49146102fa57806323b872dd146103185780632a406c9d1461033457806331f4d45d146103525761023d565b8063018e5d161461024257806301ffc9a71461026057806306fdde0314610290578063081812fc146102ae575b600080fd5b61024a6106fa565b6040516102579190613f10565b60405180910390f35b61027a6004803603810190610275919061305e565b61071e565b6040516102879190613bf8565b60405180910390f35b610298610800565b6040516102a59190613c2e565b60405180910390f35b6102c860048036038101906102c3919061311a565b610892565b6040516102d59190613b68565b60405180910390f35b6102f860048036038101906102f39190612f8b565b610917565b005b610302610a2f565b60405161030f9190613c13565b60405180910390f35b610332600480360381019061032d9190612e85565b610a35565b005b61033c610a95565b6040516103499190613f10565b60405180910390f35b61035a610a9b565b6040516103679190613f10565b60405180910390f35b610378610aa1565b005b610394600480360381019061038f9190612e85565b610b6c565b005b61039e610b8c565b6040516103ab9190613f10565b60405180910390f35b6103ce60048036038101906103c991906130b0565b610b92565b005b6103ea60048036038101906103e591906130d9565b610d2d565b005b6104066004803603810190610401919061311a565b610dc3565b6040516104139190613b68565b60405180910390f35b610424610e75565b6040516104319190613c13565b60405180910390f35b610442610e7b565b60405161044f9190613c2e565b60405180910390f35b610472600480360381019061046d9190612e20565b610f09565b60405161047f9190613f10565b60405180910390f35b610490610fc1565b005b61049a611049565b6040516104a79190613b68565b60405180910390f35b6104ca60048036038101906104c59190612fc7565b611073565b005b6104d461128f565b6040516104e19190613c2e565b60405180910390f35b6104f2611321565b6040516104ff9190613f10565b60405180910390f35b610522600480360381019061051d9190612f4f565b611345565b005b61053e60048036038101906105399190612fc7565b61135b565b005b6105486115dc565b005b610564600480360381019061055f9190612fc7565b611703565b005b610580600480360381019061057b9190613035565b61194e565b005b61059c60048036038101906105979190613035565b6119d4565b005b6105b860048036038101906105b39190613035565b611a5a565b005b6105d460048036038101906105cf9190612ed4565b611ae0565b005b6105de611b42565b6040516105eb9190613f10565b60405180910390f35b61060e6004803603810190610609919061311a565b611b66565b60405161061b9190613c2e565b60405180910390f35b61063e60048036038101906106399190612e20565b611be2565b60405161064b9190613bf8565b60405180910390f35b61065c611c02565b6040516106699190613c13565b60405180910390f35b61067a611c08565b6040516106879190613f10565b60405180910390f35b610698611c0e565b6040516106a59190613c2e565b60405180910390f35b6106c860048036038101906106c39190612e49565b611ca0565b6040516106d59190613bf8565b60405180910390f35b6106f860048036038101906106f39190612e20565b611d34565b005b7f000000000000000000000000000000000000000000000000000000000000001981565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107e957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107f957506107f882611e2c565b5b9050919050565b60606000805461080f906141a1565b80601f016020809104026020016040519081016040528092919081815260200182805461083b906141a1565b80156108885780601f1061085d57610100808354040283529160200191610888565b820191906000526020600020905b81548152906001019060200180831161086b57829003601f168201915b5050505050905090565b600061089d82611e96565b6108dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d390613e30565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061092282610dc3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610993576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098a90613e90565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109b2611f02565b73ffffffffffffffffffffffffffffffffffffffff1614806109e157506109e0816109db611f02565b611ca0565b5b610a20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1790613d50565b60405180910390fd5b610a2a8383611f0a565b505050565b60105481565b610a46610a40611f02565b82611fc3565b610a85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7c90613ed0565b60405180910390fd5b610a908383836120a1565b505050565b600d5481565b600b5481565b610aa9611f02565b73ffffffffffffffffffffffffffffffffffffffff16610ac7611049565b73ffffffffffffffffffffffffffffffffffffffff1614610b1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1490613e50565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610b68573d6000803e3d6000fd5b5050565b610b8783838360405180602001604052806000815250611ae0565b505050565b600c5481565b610b9a611f02565b73ffffffffffffffffffffffffffffffffffffffff16610bb8611049565b73ffffffffffffffffffffffffffffffffffffffff1614610c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0590613e50565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610c499190613b68565b60206040518083038186803b158015610c6157600080fd5b505afa158015610c75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c999190613143565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610cd6929190613bcf565b602060405180830381600087803b158015610cf057600080fd5b505af1158015610d04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d28919061300c565b505050565b610d35611f02565b73ffffffffffffffffffffffffffffffffffffffff16610d53611049565b73ffffffffffffffffffffffffffffffffffffffff1614610da9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da090613e50565b60405180910390fd5b80600a9080519060200190610dbf929190612ba6565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6390613db0565b60405180910390fd5b80915050919050565b60115481565b600a8054610e88906141a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb4906141a1565b8015610f015780601f10610ed657610100808354040283529160200191610f01565b820191906000526020600020905b815481529060010190602001808311610ee457829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7190613d70565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610fc9611f02565b73ffffffffffffffffffffffffffffffffffffffff16610fe7611049565b73ffffffffffffffffffffffffffffffffffffffff161461103d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103490613e50565b60405180910390fd5b61104760006122fd565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b81816011546110ea838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505082336040516020016110cf9190613af2565b604051602081830303815290604052805190602001206123c3565b611129576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112090613d30565b60405180910390fd5b6002600854141561116f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116690613ef0565b60405180910390fd5b6002600881905550601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fb90613d90565b60405180910390fd5b61121033600e546123da565b600e6000815480929190611223906141d3565b91905055506001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016008819055505050505050565b60606001805461129e906141a1565b80601f01602080910402602001604051908101604052809291908181526020018280546112ca906141a1565b80156113175780601f106112ec57610100808354040283529160200191611317565b820191906000526020600020905b8154815290600101906020018083116112fa57829003601f168201915b5050505050905090565b7f00000000000000000000000000000000000000000000000000000000000003e881565b611357611350611f02565b83836125a8565b5050565b8181600f546113d2838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505082336040516020016113b79190613af2565b604051602081830303815290604052805190602001206123c3565b611411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140890613d30565b60405180910390fd5b60026008541415611457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144e90613ef0565b60405180910390fd5b60026008819055507f0000000000000000000000000000000000000000000000000000000000000019600c5411156114c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bb90613c70565b60405180910390fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611551576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154890613eb0565b60405180910390fd5b61155d33600c546123da565b600c6000815480929190611570906141d3565b91905055506001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016008819055505050505050565b60026008541415611622576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161990613ef0565b60405180910390fd5b6002600881905550611632611f02565b73ffffffffffffffffffffffffffffffffffffffff16611650611049565b73ffffffffffffffffffffffffffffffffffffffff16146116a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169d90613e50565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000005600b5411156116d557600080fd5b6116e133600b546123da565b600b60008154809291906116f4906141d3565b91905055506001600881905550565b818160105461177a838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050823360405160200161175f9190613af2565b604051602081830303815290604052805190602001206123c3565b6117b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b090613d30565b60405180910390fd5b600260085414156117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f690613ef0565b60405180910390fd5b60026008819055507f00000000000000000000000000000000000000000000000000000000000003e8600d54111561183657600080fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156118c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ba90613dd0565b60405180910390fd5b6118cf33600d546123da565b600d60008154809291906118e2906141d3565b91905055506001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016008819055505050505050565b611956611f02565b73ffffffffffffffffffffffffffffffffffffffff16611974611049565b73ffffffffffffffffffffffffffffffffffffffff16146119ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c190613e50565b60405180910390fd5b8060108190555050565b6119dc611f02565b73ffffffffffffffffffffffffffffffffffffffff166119fa611049565b73ffffffffffffffffffffffffffffffffffffffff1614611a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4790613e50565b60405180910390fd5b80600f8190555050565b611a62611f02565b73ffffffffffffffffffffffffffffffffffffffff16611a80611049565b73ffffffffffffffffffffffffffffffffffffffff1614611ad6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acd90613e50565b60405180910390fd5b8060118190555050565b611af1611aeb611f02565b83611fc3565b611b30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2790613ed0565b60405180910390fd5b611b3c84848484612715565b50505050565b7f000000000000000000000000000000000000000000000000000000000000000581565b6060611b7182611e96565b611bb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba790613e10565b60405180910390fd5b600a611bbb83612771565b604051602001611bcc929190613b39565b6040516020818303038152906040529050919050565b60126020528060005260406000206000915054906101000a900460ff1681565b600f5481565b600e5481565b606060098054611c1d906141a1565b80601f0160208091040260200160405190810160405280929190818152602001828054611c49906141a1565b8015611c965780601f10611c6b57610100808354040283529160200191611c96565b820191906000526020600020905b815481529060010190602001808311611c7957829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d3c611f02565b73ffffffffffffffffffffffffffffffffffffffff16611d5a611049565b73ffffffffffffffffffffffffffffffffffffffff1614611db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da790613e50565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1790613c90565b60405180910390fd5b611e29816122fd565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f7d83610dc3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611fce82611e96565b61200d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200490613d10565b60405180910390fd5b600061201883610dc3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061208757508373ffffffffffffffffffffffffffffffffffffffff1661206f84610892565b73ffffffffffffffffffffffffffffffffffffffff16145b8061209857506120978185611ca0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166120c182610dc3565b73ffffffffffffffffffffffffffffffffffffffff1614612117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210e90613e70565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612187576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217e90613cd0565b60405180910390fd5b61219283838361291e565b61219d600082611f0a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121ed919061409b565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122449190614014565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000826123d08584612923565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561244a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244190613df0565b60405180910390fd5b61245381611e96565b15612493576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248a90613cb0565b60405180910390fd5b61249f6000838361291e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124ef9190614014565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260e90613cf0565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127089190613bf8565b60405180910390a3505050565b6127208484846120a1565b61272c848484846129fc565b61276b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276290613c50565b60405180910390fd5b50505050565b606060008214156127b9576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612919565b600082905060005b600082146127eb5780806127d4906141d3565b915050600a826127e4919061406a565b91506127c1565b60008167ffffffffffffffff81111561282d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561285f5781602001600182028036833780820191505090505b5090505b6000851461291257600182612878919061409b565b9150600a85612887919061424a565b60306128939190614014565b60f81b8183815181106128cf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561290b919061406a565b9450612863565b8093505050505b919050565b505050565b60008082905060005b84518110156129f1576000858281518110612970577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116129b1578281604051602001612994929190613b0d565b6040516020818303038152906040528051906020012092506129dd565b80836040516020016129c4929190613b0d565b6040516020818303038152906040528051906020012092505b5080806129e9906141d3565b91505061292c565b508091505092915050565b6000612a1d8473ffffffffffffffffffffffffffffffffffffffff16612b93565b15612b86578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a46611f02565b8786866040518563ffffffff1660e01b8152600401612a689493929190613b83565b602060405180830381600087803b158015612a8257600080fd5b505af1925050508015612ab357506040513d601f19601f82011682018060405250810190612ab09190613087565b60015b612b36573d8060008114612ae3576040519150601f19603f3d011682016040523d82523d6000602084013e612ae8565b606091505b50600081511415612b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2590613c50565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b8b565b600190505b949350505050565b600080823b905060008111915050919050565b828054612bb2906141a1565b90600052602060002090601f016020900481019282612bd45760008555612c1b565b82601f10612bed57805160ff1916838001178555612c1b565b82800160010185558215612c1b579182015b82811115612c1a578251825591602001919060010190612bff565b5b509050612c289190612c2c565b5090565b5b80821115612c45576000816000905550600101612c2d565b5090565b6000612c5c612c5784613f5c565b613f2b565b905082815260208101848484011115612c7457600080fd5b612c7f84828561415f565b509392505050565b6000612c9a612c9584613f8c565b613f2b565b905082815260208101848484011115612cb257600080fd5b612cbd84828561415f565b509392505050565b600081359050612cd481614355565b92915050565b60008083601f840112612cec57600080fd5b8235905067ffffffffffffffff811115612d0557600080fd5b602083019150836020820283011115612d1d57600080fd5b9250929050565b600081359050612d338161436c565b92915050565b600081519050612d488161436c565b92915050565b600081359050612d5d81614383565b92915050565b600081359050612d728161439a565b92915050565b600081519050612d878161439a565b92915050565b600082601f830112612d9e57600080fd5b8135612dae848260208601612c49565b91505092915050565b600081359050612dc6816143b1565b92915050565b600082601f830112612ddd57600080fd5b8135612ded848260208601612c87565b91505092915050565b600081359050612e05816143c8565b92915050565b600081519050612e1a816143c8565b92915050565b600060208284031215612e3257600080fd5b6000612e4084828501612cc5565b91505092915050565b60008060408385031215612e5c57600080fd5b6000612e6a85828601612cc5565b9250506020612e7b85828601612cc5565b9150509250929050565b600080600060608486031215612e9a57600080fd5b6000612ea886828701612cc5565b9350506020612eb986828701612cc5565b9250506040612eca86828701612df6565b9150509250925092565b60008060008060808587031215612eea57600080fd5b6000612ef887828801612cc5565b9450506020612f0987828801612cc5565b9350506040612f1a87828801612df6565b925050606085013567ffffffffffffffff811115612f3757600080fd5b612f4387828801612d8d565b91505092959194509250565b60008060408385031215612f6257600080fd5b6000612f7085828601612cc5565b9250506020612f8185828601612d24565b9150509250929050565b60008060408385031215612f9e57600080fd5b6000612fac85828601612cc5565b9250506020612fbd85828601612df6565b9150509250929050565b60008060208385031215612fda57600080fd5b600083013567ffffffffffffffff811115612ff457600080fd5b61300085828601612cda565b92509250509250929050565b60006020828403121561301e57600080fd5b600061302c84828501612d39565b91505092915050565b60006020828403121561304757600080fd5b600061305584828501612d4e565b91505092915050565b60006020828403121561307057600080fd5b600061307e84828501612d63565b91505092915050565b60006020828403121561309957600080fd5b60006130a784828501612d78565b91505092915050565b6000602082840312156130c257600080fd5b60006130d084828501612db7565b91505092915050565b6000602082840312156130eb57600080fd5b600082013567ffffffffffffffff81111561310557600080fd5b61311184828501612dcc565b91505092915050565b60006020828403121561312c57600080fd5b600061313a84828501612df6565b91505092915050565b60006020828403121561315557600080fd5b600061316384828501612e0b565b91505092915050565b613175816140cf565b82525050565b61318c613187826140cf565b61421c565b82525050565b61319b816140e1565b82525050565b6131aa816140ed565b82525050565b6131c16131bc826140ed565b61422e565b82525050565b60006131d282613fd1565b6131dc8185613fe7565b93506131ec81856020860161416e565b6131f581614337565b840191505092915050565b600061320b82613fdc565b6132158185613ff8565b935061322581856020860161416e565b61322e81614337565b840191505092915050565b600061324482613fdc565b61324e8185614009565b935061325e81856020860161416e565b80840191505092915050565b60008154613277816141a1565b6132818186614009565b9450600182166000811461329c57600181146132ad576132e0565b60ff198316865281860193506132e0565b6132b685613fbc565b60005b838110156132d8578154818901526001820191506020810190506132b9565b838801955050505b50505092915050565b60006132f6603283613ff8565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061335c601d83613ff8565b91507f6d696e74656420746865206d6178696d756d2023206f6620656c7665730000006000830152602082019050919050565b600061339c602683613ff8565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613402601c83613ff8565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613442602483613ff8565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006134a8601983613ff8565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006134e8602c83613ff8565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061354e601e83613ff8565b91507f4164647265737320646f6573206e6f7420657869737420696e206c69737400006000830152602082019050919050565b600061358e603883613ff8565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006135f4602a83613ff8565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061365a602583613ff8565b91507f456c6620697320616c726561647920636c61696d65642062792074686973207760008301527f616c6c65740000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006136c0602983613ff8565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613726602a83613ff8565b91507f5265696e6465657220697320616c726561647920636c61696d6564206279207460008301527f6869732077616c6c6574000000000000000000000000000000000000000000006020830152604082019050919050565b600061378c602083613ff8565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006137cc602b83613ff8565b91507f4552433732314d657461646174613a20717565727920666f72206e6f6e65786960008301527f7374656e7420746f6b656e0000000000000000000000000000000000000000006020830152604082019050919050565b6000613832602c83613ff8565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613898600583614009565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b60006138d8602083613ff8565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613918602983613ff8565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061397e602183613ff8565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006139e4602c83613ff8565b91507f576f726b657220656c6620697320616c726561647920636c61696d656420627960008301527f20746869732077616c6c657400000000000000000000000000000000000000006020830152604082019050919050565b6000613a4a603183613ff8565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613ab0601f83613ff8565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b613aec81614155565b82525050565b6000613afe828461317b565b60148201915081905092915050565b6000613b1982856131b0565b602082019150613b2982846131b0565b6020820191508190509392505050565b6000613b45828561326a565b9150613b518284613239565b9150613b5c8261388b565b91508190509392505050565b6000602082019050613b7d600083018461316c565b92915050565b6000608082019050613b98600083018761316c565b613ba5602083018661316c565b613bb26040830185613ae3565b8181036060830152613bc481846131c7565b905095945050505050565b6000604082019050613be4600083018561316c565b613bf16020830184613ae3565b9392505050565b6000602082019050613c0d6000830184613192565b92915050565b6000602082019050613c2860008301846131a1565b92915050565b60006020820190508181036000830152613c488184613200565b905092915050565b60006020820190508181036000830152613c69816132e9565b9050919050565b60006020820190508181036000830152613c898161334f565b9050919050565b60006020820190508181036000830152613ca98161338f565b9050919050565b60006020820190508181036000830152613cc9816133f5565b9050919050565b60006020820190508181036000830152613ce981613435565b9050919050565b60006020820190508181036000830152613d098161349b565b9050919050565b60006020820190508181036000830152613d29816134db565b9050919050565b60006020820190508181036000830152613d4981613541565b9050919050565b60006020820190508181036000830152613d6981613581565b9050919050565b60006020820190508181036000830152613d89816135e7565b9050919050565b60006020820190508181036000830152613da98161364d565b9050919050565b60006020820190508181036000830152613dc9816136b3565b9050919050565b60006020820190508181036000830152613de981613719565b9050919050565b60006020820190508181036000830152613e098161377f565b9050919050565b60006020820190508181036000830152613e29816137bf565b9050919050565b60006020820190508181036000830152613e4981613825565b9050919050565b60006020820190508181036000830152613e69816138cb565b9050919050565b60006020820190508181036000830152613e898161390b565b9050919050565b60006020820190508181036000830152613ea981613971565b9050919050565b60006020820190508181036000830152613ec9816139d7565b9050919050565b60006020820190508181036000830152613ee981613a3d565b9050919050565b60006020820190508181036000830152613f0981613aa3565b9050919050565b6000602082019050613f256000830184613ae3565b92915050565b6000604051905081810181811067ffffffffffffffff82111715613f5257613f51614308565b5b8060405250919050565b600067ffffffffffffffff821115613f7757613f76614308565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115613fa757613fa6614308565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061401f82614155565b915061402a83614155565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561405f5761405e61427b565b5b828201905092915050565b600061407582614155565b915061408083614155565b9250826140905761408f6142aa565b5b828204905092915050565b60006140a682614155565b91506140b183614155565b9250828210156140c4576140c361427b565b5b828203905092915050565b60006140da82614135565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061412e826140cf565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561418c578082015181840152602081019050614171565b8381111561419b576000848401525b50505050565b600060028204905060018216806141b957607f821691505b602082108114156141cd576141cc6142d9565b5b50919050565b60006141de82614155565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142115761421061427b565b5b600182019050919050565b600061422782614238565b9050919050565b6000819050919050565b600061424382614348565b9050919050565b600061425582614155565b915061426083614155565b9250826142705761426f6142aa565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b61435e816140cf565b811461436957600080fd5b50565b614375816140e1565b811461438057600080fd5b50565b61438c816140ed565b811461439757600080fd5b50565b6143a3816140f7565b81146143ae57600080fd5b50565b6143ba81614123565b81146143c557600080fd5b50565b6143d181614155565b81146143dc57600080fd5b5056fea26469706673582212208a89d3705b12cca1676ca10468c36b40e28f56b83f309e9bdd0a8b755ecd0cd164736f6c63430008000033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d53413539785165796161356931675571685369794d694267616d5a7177623542573655624c7970716d6a72422f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d543354357a62545a79316e374552506753635a6b384e69473146395a7976613764557448477653644645694b00000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): https://gateway.pinata.cloud/ipfs/QmSA59xQeyaa5i1gUqhSiyMiBgamZqwb5BW6UbLypqmjrB/
Arg [1] : collectionURI (string): https://gateway.pinata.cloud/ipfs/QmT3T5zbTZy1n7ERPgScZk8NiG1F9Zyva7dUtHGvSdFEiK

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [3] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [4] : 732f516d53413539785165796161356931675571685369794d694267616d5a71
Arg [5] : 77623542573655624c7970716d6a72422f000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000050
Arg [7] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [8] : 732f516d543354357a62545a79316e374552506753635a6b384e69473146395a
Arg [9] : 7976613764557448477653644645694b00000000000000000000000000000000


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.