ETH Price: $3,667.49 (+1.85%)

Token

Doodories (DD)
 

Overview

Max Total Supply

7,777 DD

Holders

2,660

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
9 DD
0x13c75cfbc769b53139593f8b0966539a92204d58
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Doodories is a collection of 7777 unique, randomly generated NFTs created by the owner of CM #7961. Each Doodorie comes with exclusive access to community perks, metaverse assets, and good vibes. We are not associated in any way with any other projects.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Doodories

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : doods.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.7;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

contract Doodories is ERC721, Ownable {
    using Counters for Counters.Counter;
    using Strings for uint256;

    //Counters
    Counters.Counter private supply;

    address breedingContract;
    address[]   testingAddresses = [
        0xbb4Ff96304821CD58da8e9A972e5f8687121e9Cb,
        0x15719D4418782d406Ed9Ff2F9465944347D601Fe,
        0x88571ea30D357C4b8b138E4995F4E46CFc419dEb,
        0xa8c9877a77eBbE637DD6Ad3AD3851181CEE9a3E9,
        0xA1800E99Af77f9b1d1477f70e37ff46d3c67D1fc,
        0x6a21865b141843490530A741CD2869BE3CF6e4b8,
        0x8CfB25F46917D2DbDCff15694c49fe1c7bC1858F,
        0x542BfA00cd1AEB8Fa1dd64353b087CCBf3548E2D,
        0xdaAC0e8b62aDD34064295fA4068bcB73aE2DA28f,
        0x00D0bF452a2CBDC7D63cf7f3325a8a7bB6e04F4A,
        0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2
    ];
    string public baseURI;
    bytes32 private whitelistRoot;
     bytes32 private whitelistRootChimps;

    //Inventory
    uint16 public maxMintAmountPerTransaction = 20;
    uint16 public maxMintAmountPerWallet = 5;
    uint16 public maxMintAmountPerWhitelist = 8;
    uint16 public maxMintAmountperWhitelistChimps = 20;
    uint256 public maxSupply = 7397;

    //Prices
    uint256 public cost = 0.042 ether;
    uint256 public whitelistCost = 0.042 ether;

    //Utility
    bool public paused = false;
    bool public whiteListingSale = true;

    //mapping
    mapping(address => uint256) private whitelistedMints;

    constructor(string memory _baseUrl) ERC721("Doodories", "DD") {
        baseURI = _baseUrl;
        // uint256 supply = totalSupply();
        // for (uint256 i = 1; i <= 10; i++) {
        //     _safeMint(msg.sender, supply + i);
        // }
    }

    function isTester(address _addr) public view returns (bool){
        for(uint256 i = 1; i< testingAddresses.length; i++){
            if(testingAddresses[i] == _addr){
                return true;
            }
        }
        return false;
    }

    function setBreedingContractAddress(address _bAddress) public onlyOwner {
        breedingContract = _bAddress;
    }

    function totalSupply() public view returns (uint256) {
        return supply.current();
    }

    function walletOfOwner(address _owner)
        public
        view
        returns (uint256[] memory)
    {
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
        uint256 currentTokenId = 1;
        uint256 ownedTokenIndex = 0;

        while (
            ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply
        ) {
            address currentTokenOwner = ownerOf(currentTokenId);

            if (currentTokenOwner == _owner) {
                ownedTokenIds[ownedTokenIndex] = currentTokenId;

                ownedTokenIndex++;
            }

            currentTokenId++;
        }

        return ownedTokenIds;
    }

    function mintExternal(address _address, uint256 _tokenId) external {
        require(
            msg.sender == breedingContract,
            "Sorry you dont have permission to mint"
        );
        _safeMint(_address, _tokenId);
    }

    function setWhitelistingRoot(bytes32 _root) public onlyOwner {
        whitelistRoot = _root;
    }

    function setWhitelistingChimpsRoot(bytes32 _root) public onlyOwner {
        whitelistRootChimps = _root;
    }

    // Verify that a given leaf is in the tree.
    function _verify(bool _isChimp, bytes32 _leafNode, bytes32[] memory proof)
        internal
        view
        returns (bool)
    {
        if(_isChimp){
                return MerkleProof.verify(proof, whitelistRootChimps, _leafNode);
        }else{
            return MerkleProof.verify(proof, whitelistRoot, _leafNode);
        }
    }

    // Generate the leaf node (just the hash of tokenID concatenated with the account address)
    function _leaf(address account) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(account));
    }

    //whitelist mint
    function mintWhitelist(bytes32[] calldata proof, uint256 _mintAmount, bool isChimp)
        public
        payable
    {
        if (msg.sender != owner()) {
            require(!paused);
            require(whiteListingSale, "Whitelisting not enabled");
            
            if(isChimp){
                require(_verify(true, _leaf(msg.sender), proof), "Invalid proof");
            require(
                (whitelistedMints[msg.sender] + _mintAmount) <=
                    maxMintAmountperWhitelistChimps,
                "Exceeds Max Mint amount"
            );
            }else{
                require(_verify(false, _leaf(msg.sender), proof), "Invalid proof");
            require(
                (whitelistedMints[msg.sender] + _mintAmount) <=
                    maxMintAmountPerWhitelist,
                "Exceeds Max Mint amount"
            );
            }

            if(!isTester(msg.sender)){
                require(
                msg.value >= (whitelistCost * _mintAmount),
                "Insuffient funds"
            );
            }
            
        }

        _mintLoop(msg.sender, _mintAmount);
        whitelistedMints[msg.sender] =
            whitelistedMints[msg.sender] +
            _mintAmount;
    }

    // public
    function mint(uint256 _mintAmount) public payable {
        if (msg.sender != owner()) {
            uint256 ownerTokenCount = balanceOf(msg.sender);

            require(!paused);
            require(!whiteListingSale, "You cant mint on Presale");
            require(_mintAmount > 0, "Mint amount should be greater than 0");
            require(
                _mintAmount <= maxMintAmountPerTransaction,
                "Sorry you cant mint this amount at once"
            );
            require(
                supply.current() + _mintAmount <= maxSupply,
                "Exceeds Max Supply"
            );
            require(
                (ownerTokenCount + _mintAmount) <= maxMintAmountPerWallet,
                "Sorry you cant mint more"
            );

            if(!isTester(msg.sender)){
                require(msg.value >= cost * _mintAmount, "Insuffient funds");
            }
            
        }

        _mintLoop(msg.sender, _mintAmount);
    }

    function gift(address _to, uint256 _mintAmount) public onlyOwner {
        _mintLoop(_to, _mintAmount);
    }

    function airdrop(address[] memory _airdropAddresses) public onlyOwner {
        for (uint256 i = 0; i < _airdropAddresses.length; i++) {
            address to = _airdropAddresses[i];
            _mintLoop(to, 1);
        }
    }

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

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        string memory currentBaseURI = _baseURI();
        return
            bytes(currentBaseURI).length > 0
                ? string(abi.encodePacked(currentBaseURI, tokenId.toString()))
                : "";
    }

    function setCost(uint256 _newCost) public onlyOwner {
        cost = _newCost;
    }

    function setWhitelistingCost(uint256 _newCost) public onlyOwner {
        whitelistCost = _newCost;
    }

    function setmaxMintAmountPerTransaction(uint16 _amount) public onlyOwner {
        maxMintAmountPerTransaction = _amount;
    }

    function setMaxMintAmountPerWallet(uint16 _amount) public onlyOwner {
        maxMintAmountPerWallet = _amount;
    }

    function setMaxMintAmountPerWhitelist(uint16 _amount) public onlyOwner {
        maxMintAmountPerWhitelist = _amount;
    }

    function setMaxMintAmountPerChimpWhitelist(uint16 _amount) public onlyOwner{
        maxMintAmountperWhitelistChimps = _amount;
    }

    function setMaxSupply(uint256 _supply) public onlyOwner {
        maxSupply = _supply;
    }

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }

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

    function toggleWhiteSale() public onlyOwner {
        whiteListingSale = !whiteListingSale;
    }

    function _mintLoop(address _receiver, uint256 _mintAmount) internal {
        for (uint256 i = 0; i < _mintAmount; i++) {
            supply.increment();
            _safeMint(_receiver, supply.current());
        }
    }

    function withdraw() public payable onlyOwner {
        (bool os, ) = payable(owner()).call{value: address(this).balance}("");
        require(os);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 13 : 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 5 of 13 : 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 6 of 13 : 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 7 of 13 : 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 8 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 9 of 13 : 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 10 of 13 : 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 11 of 13 : 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 13 : 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 13 of 13 : 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": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseUrl","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":"_airdropAddresses","type":"address[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"isTester","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTransaction","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerWallet","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerWhitelist","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountperWhitelistChimps","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"mintExternal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bool","name":"isChimp","type":"bool"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bAddress","type":"address"}],"name":"setBreedingContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_amount","type":"uint16"}],"name":"setMaxMintAmountPerChimpWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_amount","type":"uint16"}],"name":"setMaxMintAmountPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_amount","type":"uint16"}],"name":"setMaxMintAmountPerWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setWhitelistingChimpsRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setWhitelistingCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setWhitelistingRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_amount","type":"uint16"}],"name":"setmaxMintAmountPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWhiteSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whiteListingSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

6101e060405273bb4ff96304821cd58da8e9a972e5f8687121e9cb60809081527315719d4418782d406ed9ff2f9465944347d601fe60a0527388571ea30d357c4b8b138e4995f4e46cfc419deb60c05273a8c9877a77ebbe637dd6ad3ad3851181cee9a3e960e05273a1800e99af77f9b1d1477f70e37ff46d3c67d1fc61010052736a21865b141843490530a741cd2869be3cf6e4b861012052738cfb25f46917d2dbdcff15694c49fe1c7bc1858f6101405273542bfa00cd1aeb8fa1dd64353b087ccbf3548e2d6101605273daac0e8b62add34064295fa4068bcb73ae2da28f6101805272d0bf452a2cbdc7d63cf7f3325a8a7bb6e04f4a6101a05273ab8483f64d9c6d1ecf9b849ae677dd3315835cb26101c0526200012590600990600b62000287565b50600d805466140008000500146001600160401b0319909116179055611ce5600e55669536c708910000600f8190556010556011805461ffff19166101001790553480156200017357600080fd5b50604051620030a0380380620030a0833981016040819052620001969162000385565b6040805180820182526009815268446f6f646f7269657360b81b602080830191825283518085019094526002845261111160f21b908401528151919291620001e191600091620002f1565b508051620001f7906001906020840190620002f1565b505050620002146200020e6200023160201b60201c565b62000235565b80516200022990600a906020840190620002f1565b5050620004b4565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054828255906000526020600020908101928215620002df579160200282015b82811115620002df57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620002a8565b50620002ed9291506200036e565b5090565b828054620002ff9062000461565b90600052602060002090601f016020900481019282620003235760008555620002df565b82601f106200033e57805160ff1916838001178555620002df565b82800160010185558215620002df579182015b82811115620002df57825182559160200191906001019062000351565b5b80821115620002ed57600081556001016200036f565b600060208083850312156200039957600080fd5b82516001600160401b0380821115620003b157600080fd5b818501915085601f830112620003c657600080fd5b815181811115620003db57620003db6200049e565b604051601f8201601f19908116603f011681019083821181831017156200040657620004066200049e565b8160405282815288868487010111156200041f57600080fd5b600093505b8284101562000443578484018601518185018701529285019262000424565b82841115620004555760008684830101525b98975050505050505050565b600181811c908216806200047657607f821691505b602082108114156200049857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612bdc80620004c46000396000f3fe6080604052600436106102935760003560e01c806395d89b411161015a578063d5abeb01116100c1578063ea4446221161007a578063ea444622146107de578063ed2950b7146107fe578063ed81617914610811578063ee89121214610826578063f2fde38b14610846578063f4da18461461086657600080fd5b8063d5abeb011461070a578063dfc33dd114610720578063e5a88cdb14610740578063e7b99ec71461075f578063e97800cb14610775578063e985e9c51461079557600080fd5b8063bc951b9111610113578063bc951b9114610654578063bd630dc714610675578063c4ae316814610695578063c87b56dd146106aa578063cbce4c97146106ca578063cef11729146106ea57600080fd5b806395d89b41146105b1578063a0712d68146105c6578063a1a74640146105d9578063a22cb465146105f9578063b88d4fde14610619578063bbb897441461063957600080fd5b806344a0d68a116101fe5780636c0360eb116101b75780636c0360eb146105095780636f8b44b01461051e57806370a082311461053e578063715018a61461055e578063729ad39e146105735780638da5cb5b1461059357600080fd5b806344a0d68a1461044d57806355f804b31461046d5780635c975abb1461048d5780635dd6b99f146104a75780636352211e146104c957806368570bd6146104e957600080fd5b806323b872dd1161025057806323b872dd146103825780632cefffa7146103a25780633ccfd60b146103d85780633e26ca07146103e057806342842e0e14610400578063438b63001461042057600080fd5b806301ffc9a71461029857806306fdde03146102cd578063081812fc146102ef578063095ea7b31461032757806313faede61461034957806318160ddd1461036d575b600080fd5b3480156102a457600080fd5b506102b86102b33660046127a1565b610886565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102e26108d8565b6040516102c49190612924565b3480156102fb57600080fd5b5061030f61030a366004612788565b61096a565b6040516001600160a01b0390911681526020016102c4565b34801561033357600080fd5b5061034761034236600461261e565b610a04565b005b34801561035557600080fd5b5061035f600f5481565b6040519081526020016102c4565b34801561037957600080fd5b5061035f610b1a565b34801561038e57600080fd5b5061034761039d36600461253c565b610b2a565b3480156103ae57600080fd5b50600d546103c590640100000000900461ffff1681565b60405161ffff90911681526020016102c4565b610347610b5b565b3480156103ec57600080fd5b506103476103fb366004612788565b610bf9565b34801561040c57600080fd5b5061034761041b36600461253c565b610c28565b34801561042c57600080fd5b5061044061043b3660046124ee565b610c43565b6040516102c491906128e0565b34801561045957600080fd5b50610347610468366004612788565b610d24565b34801561047957600080fd5b506103476104883660046127db565b610d53565b34801561049957600080fd5b506011546102b89060ff1681565b3480156104b357600080fd5b50600d546103c590600160301b900461ffff1681565b3480156104d557600080fd5b5061030f6104e4366004612788565b610d94565b3480156104f557600080fd5b506103476105043660046124ee565b610e0b565b34801561051557600080fd5b506102e2610e57565b34801561052a57600080fd5b50610347610539366004612788565b610ee5565b34801561054a57600080fd5b5061035f6105593660046124ee565b610f14565b34801561056a57600080fd5b50610347610f9b565b34801561057f57600080fd5b5061034761058e366004612648565b610fd1565b34801561059f57600080fd5b506006546001600160a01b031661030f565b3480156105bd57600080fd5b506102e2611043565b6103476105d4366004612788565b611052565b3480156105e557600080fd5b506103476105f4366004612824565b6112c4565b34801561060557600080fd5b506103476106143660046125f4565b611313565b34801561062557600080fd5b50610347610634366004612578565b61131e565b34801561064557600080fd5b50600d546103c59061ffff1681565b34801561066057600080fd5b50600d546103c59062010000900461ffff1681565b34801561068157600080fd5b506102b86106903660046124ee565b611356565b3480156106a157600080fd5b506103476113c1565b3480156106b657600080fd5b506102e26106c5366004612788565b6113ff565b3480156106d657600080fd5b506103476106e536600461261e565b6114da565b3480156106f657600080fd5b50610347610705366004612824565b61150e565b34801561071657600080fd5b5061035f600e5481565b34801561072c57600080fd5b5061034761073b366004612788565b611558565b34801561074c57600080fd5b506011546102b890610100900460ff1681565b34801561076b57600080fd5b5061035f60105481565b34801561078157600080fd5b50610347610790366004612824565b611587565b3480156107a157600080fd5b506102b86107b0366004612509565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107ea57600080fd5b506103476107f9366004612824565b6115c9565b61034761080c3660046126fc565b611617565b34801561081d57600080fd5b506103476118e7565b34801561083257600080fd5b50610347610841366004612788565b61192e565b34801561085257600080fd5b506103476108613660046124ee565b61195d565b34801561087257600080fd5b5061034761088136600461261e565b6119f5565b60006001600160e01b031982166380ac58cd60e01b14806108b757506001600160e01b03198216635b5e139f60e01b145b806108d257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546108e790612ace565b80601f016020809104026020016040519081016040528092919081815260200182805461091390612ace565b80156109605780601f1061093557610100808354040283529160200191610960565b820191906000526020600020905b81548152906001019060200180831161094357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109e85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a0f82610d94565b9050806001600160a01b0316836001600160a01b03161415610a7d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109df565b336001600160a01b0382161480610a995750610a9981336107b0565b610b0b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109df565b610b158383611a68565b505050565b6000610b2560075490565b905090565b610b343382611ad6565b610b505760405162461bcd60e51b81526004016109df906129be565b610b15838383611bcd565b6006546001600160a01b03163314610b855760405162461bcd60e51b81526004016109df90612989565b6000610b996006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610be3576040519150601f19603f3d011682016040523d82523d6000602084013e610be8565b606091505b5050905080610bf657600080fd5b50565b6006546001600160a01b03163314610c235760405162461bcd60e51b81526004016109df90612989565b600c55565b610b158383836040518060200160405280600081525061131e565b60606000610c5083610f14565b905060008167ffffffffffffffff811115610c6d57610c6d612b7a565b604051908082528060200260200182016040528015610c96578160200160208202803683370190505b509050600160005b8381108015610caf5750600e548211155b15610d1a576000610cbf83610d94565b9050866001600160a01b0316816001600160a01b03161415610d075782848381518110610cee57610cee612b64565b602090810291909101015281610d0381612b09565b9250505b82610d1181612b09565b93505050610c9e565b5090949350505050565b6006546001600160a01b03163314610d4e5760405162461bcd60e51b81526004016109df90612989565b600f55565b6006546001600160a01b03163314610d7d5760405162461bcd60e51b81526004016109df90612989565b8051610d9090600a9060208401906123d1565b5050565b6000818152600260205260408120546001600160a01b0316806108d25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109df565b6006546001600160a01b03163314610e355760405162461bcd60e51b81526004016109df90612989565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b600a8054610e6490612ace565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9090612ace565b8015610edd5780601f10610eb257610100808354040283529160200191610edd565b820191906000526020600020905b815481529060010190602001808311610ec057829003601f168201915b505050505081565b6006546001600160a01b03163314610f0f5760405162461bcd60e51b81526004016109df90612989565b600e55565b60006001600160a01b038216610f7f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016109df565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610fc55760405162461bcd60e51b81526004016109df90612989565b610fcf6000611d6d565b565b6006546001600160a01b03163314610ffb5760405162461bcd60e51b81526004016109df90612989565b60005b8151811015610d9057600082828151811061101b5761101b612b64565b60200260200101519050611030816001611dbf565b508061103b81612b09565b915050610ffe565b6060600180546108e790612ace565b6006546001600160a01b031633146112ba57600061106f33610f14565b60115490915060ff161561108257600080fd5b601154610100900460ff16156110da5760405162461bcd60e51b815260206004820152601860248201527f596f752063616e74206d696e74206f6e2050726573616c65000000000000000060448201526064016109df565b600082116111365760405162461bcd60e51b8152602060048201526024808201527f4d696e7420616d6f756e742073686f756c6420626520677265617465722074686044820152630616e20360e41b60648201526084016109df565b600d5461ffff1682111561119c5760405162461bcd60e51b815260206004820152602760248201527f536f72727920796f752063616e74206d696e74207468697320616d6f756e74206044820152666174206f6e636560c81b60648201526084016109df565b600e54826111a960075490565b6111b39190612a40565b11156111f65760405162461bcd60e51b815260206004820152601260248201527145786365656473204d617820537570706c7960701b60448201526064016109df565b600d5462010000900461ffff1661120d8383612a40565b111561125b5760405162461bcd60e51b815260206004820152601860248201527f536f72727920796f752063616e74206d696e74206d6f7265000000000000000060448201526064016109df565b61126433611356565b6112b85781600f546112769190612a6c565b3410156112b85760405162461bcd60e51b815260206004820152601060248201526f496e7375666669656e742066756e647360801b60448201526064016109df565b505b610bf63382611dbf565b6006546001600160a01b031633146112ee5760405162461bcd60e51b81526004016109df90612989565b600d805461ffff909216600160301b0267ffff00000000000019909216919091179055565b610d90338383611dfc565b6113283383611ad6565b6113445760405162461bcd60e51b81526004016109df906129be565b61135084848484611ecb565b50505050565b600060015b6009548110156113b857826001600160a01b03166009828154811061138257611382612b64565b6000918252602090912001546001600160a01b031614156113a65750600192915050565b806113b081612b09565b91505061135b565b50600092915050565b6006546001600160a01b031633146113eb5760405162461bcd60e51b81526004016109df90612989565b6011805460ff19811660ff90911615179055565b6000818152600260205260409020546060906001600160a01b031661147e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109df565b6000611488611efe565b905060008151116114a857604051806020016040528060008152506114d3565b806114b284611f0d565b6040516020016114c3929190612874565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146115045760405162461bcd60e51b81526004016109df90612989565b610d908282611dbf565b6006546001600160a01b031633146115385760405162461bcd60e51b81526004016109df90612989565b600d805461ffff909216620100000263ffff000019909216919091179055565b6006546001600160a01b031633146115825760405162461bcd60e51b81526004016109df90612989565b601055565b6006546001600160a01b031633146115b15760405162461bcd60e51b81526004016109df90612989565b600d805461ffff191661ffff92909216919091179055565b6006546001600160a01b031633146115f35760405162461bcd60e51b81526004016109df90612989565b600d805461ffff9092166401000000000265ffff0000000019909216919091179055565b6006546001600160a01b031633146118ac5760115460ff161561163957600080fd5b601154610100900460ff166116905760405162461bcd60e51b815260206004820152601860248201527f57686974656c697374696e67206e6f7420656e61626c6564000000000000000060448201526064016109df565b8015611791576116dd60016116a43361200b565b86868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061204a92505050565b6117195760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b60448201526064016109df565b600d5433600090815260126020526040902054600160301b90910461ffff1690611744908490612a40565b111561178c5760405162461bcd60e51b8152602060048201526017602482015276115e18d959591cc813585e08135a5b9d08185b5bdd5b9d604a1b60448201526064016109df565b61184f565b61179f60006116a43361200b565b6117db5760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b60448201526064016109df565b600d543360009081526012602052604090205464010000000090910461ffff1690611807908490612a40565b111561184f5760405162461bcd60e51b8152602060048201526017602482015276115e18d959591cc813585e08135a5b9d08185b5bdd5b9d604a1b60448201526064016109df565b61185833611356565b6118ac578160105461186a9190612a6c565b3410156118ac5760405162461bcd60e51b815260206004820152601060248201526f496e7375666669656e742066756e647360801b60448201526064016109df565b6118b63383611dbf565b336000908152601260205260409020546118d1908390612a40565b3360009081526012602052604090205550505050565b6006546001600160a01b031633146119115760405162461bcd60e51b81526004016109df90612989565b6011805461ff001981166101009182900460ff1615909102179055565b6006546001600160a01b031633146119585760405162461bcd60e51b81526004016109df90612989565b600b55565b6006546001600160a01b031633146119875760405162461bcd60e51b81526004016109df90612989565b6001600160a01b0381166119ec5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109df565b610bf681611d6d565b6008546001600160a01b03163314611a5e5760405162461bcd60e51b815260206004820152602660248201527f536f72727920796f7520646f6e742068617665207065726d697373696f6e20746044820152651bc81b5a5b9d60d21b60648201526084016109df565b610d908282612073565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611a9d82610d94565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611b4f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109df565b6000611b5a83610d94565b9050806001600160a01b0316846001600160a01b03161480611b955750836001600160a01b0316611b8a8461096a565b6001600160a01b0316145b80611bc557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611be082610d94565b6001600160a01b031614611c485760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016109df565b6001600160a01b038216611caa5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109df565b611cb5600082611a68565b6001600160a01b0383166000908152600360205260408120805460019290611cde908490612a8b565b90915550506001600160a01b0382166000908152600360205260408120805460019290611d0c908490612a40565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005b81811015610b1557611dd8600780546001019055565b611dea83611de560075490565b612073565b80611df481612b09565b915050611dc2565b816001600160a01b0316836001600160a01b03161415611e5e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109df565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611ed6848484611bcd565b611ee28484848461208d565b6113505760405162461bcd60e51b81526004016109df90612937565b6060600a80546108e790612ace565b606081611f315750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f5b5780611f4581612b09565b9150611f549050600a83612a58565b9150611f35565b60008167ffffffffffffffff811115611f7657611f76612b7a565b6040519080825280601f01601f191660200182016040528015611fa0576020820181803683370190505b5090505b8415611bc557611fb5600183612a8b565b9150611fc2600a86612b24565b611fcd906030612a40565b60f81b818381518110611fe257611fe2612b64565b60200101906001600160f81b031916908160001a905350612004600a86612a58565b9450611fa4565b6040516bffffffffffffffffffffffff19606083901b166020820152600090603401604051602081830303815290604052805190602001209050919050565b600083156120665761205f82600c548561219a565b90506114d3565b61205f82600b548561219a565b610d908282604051806020016040528060008152506121b0565b60006001600160a01b0384163b1561218f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120d19033908990889088906004016128a3565b602060405180830381600087803b1580156120eb57600080fd5b505af192505050801561211b575060408051601f3d908101601f19168201909252612118918101906127be565b60015b612175573d808015612149576040519150601f19603f3d011682016040523d82523d6000602084013e61214e565b606091505b50805161216d5760405162461bcd60e51b81526004016109df90612937565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611bc5565b506001949350505050565b6000826121a785846121e3565b14949350505050565b6121ba838361228f565b6121c7600084848461208d565b610b155760405162461bcd60e51b81526004016109df90612937565b600081815b845181101561228757600085828151811061220557612205612b64565b60200260200101519050808311612247576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612274565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061227f81612b09565b9150506121e8565b509392505050565b6001600160a01b0382166122e55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109df565b6000818152600260205260409020546001600160a01b03161561234a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109df565b6001600160a01b0382166000908152600360205260408120805460019290612373908490612a40565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546123dd90612ace565b90600052602060002090601f0160209004810192826123ff5760008555612445565b82601f1061241857805160ff1916838001178555612445565b82800160010185558215612445579182015b8281111561244557825182559160200191906001019061242a565b50612451929150612455565b5090565b5b808211156124515760008155600101612456565b600067ffffffffffffffff83111561248457612484612b7a565b612497601f8401601f1916602001612a0f565b90508281528383830111156124ab57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146124d957600080fd5b919050565b803580151581146124d957600080fd5b60006020828403121561250057600080fd5b6114d3826124c2565b6000806040838503121561251c57600080fd5b612525836124c2565b9150612533602084016124c2565b90509250929050565b60008060006060848603121561255157600080fd5b61255a846124c2565b9250612568602085016124c2565b9150604084013590509250925092565b6000806000806080858703121561258e57600080fd5b612597856124c2565b93506125a5602086016124c2565b925060408501359150606085013567ffffffffffffffff8111156125c857600080fd5b8501601f810187136125d957600080fd5b6125e88782356020840161246a565b91505092959194509250565b6000806040838503121561260757600080fd5b612610836124c2565b9150612533602084016124de565b6000806040838503121561263157600080fd5b61263a836124c2565b946020939093013593505050565b6000602080838503121561265b57600080fd5b823567ffffffffffffffff8082111561267357600080fd5b818501915085601f83011261268757600080fd5b81358181111561269957612699612b7a565b8060051b91506126aa848301612a0f565b8181528481019084860184860187018a10156126c557600080fd5b600095505b838610156126ef576126db816124c2565b8352600195909501949186019186016126ca565b5098975050505050505050565b6000806000806060858703121561271257600080fd5b843567ffffffffffffffff8082111561272a57600080fd5b818701915087601f83011261273e57600080fd5b81358181111561274d57600080fd5b8860208260051b850101111561276257600080fd5b60209283019650945050850135915061277d604086016124de565b905092959194509250565b60006020828403121561279a57600080fd5b5035919050565b6000602082840312156127b357600080fd5b81356114d381612b90565b6000602082840312156127d057600080fd5b81516114d381612b90565b6000602082840312156127ed57600080fd5b813567ffffffffffffffff81111561280457600080fd5b8201601f8101841361281557600080fd5b611bc58482356020840161246a565b60006020828403121561283657600080fd5b813561ffff811681146114d357600080fd5b60008151808452612860816020860160208601612aa2565b601f01601f19169290920160200192915050565b60008351612886818460208801612aa2565b83519083019061289a818360208801612aa2565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906128d690830184612848565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612918578351835292840192918401916001016128fc565b50909695505050505050565b6020815260006114d36020830184612848565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612a3857612a38612b7a565b604052919050565b60008219821115612a5357612a53612b38565b500190565b600082612a6757612a67612b4e565b500490565b6000816000190483118215151615612a8657612a86612b38565b500290565b600082821015612a9d57612a9d612b38565b500390565b60005b83811015612abd578181015183820152602001612aa5565b838111156113505750506000910152565b600181811c90821680612ae257607f821691505b60208210811415612b0357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612b1d57612b1d612b38565b5060010190565b600082612b3357612b33612b4e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610bf657600080fdfea264697066735822122080a42c8ee9cebff93d5a65d8db1b80fd8cfcf3551b995d95bbb2eba958f1c9ec64736f6c634300080700330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003b68747470733a2f2f75732d63656e7472616c312d646f6f646f726965732e636c6f756466756e6374696f6e732e6e65742f6170702f746f6b656e2f0000000000

Deployed Bytecode

0x6080604052600436106102935760003560e01c806395d89b411161015a578063d5abeb01116100c1578063ea4446221161007a578063ea444622146107de578063ed2950b7146107fe578063ed81617914610811578063ee89121214610826578063f2fde38b14610846578063f4da18461461086657600080fd5b8063d5abeb011461070a578063dfc33dd114610720578063e5a88cdb14610740578063e7b99ec71461075f578063e97800cb14610775578063e985e9c51461079557600080fd5b8063bc951b9111610113578063bc951b9114610654578063bd630dc714610675578063c4ae316814610695578063c87b56dd146106aa578063cbce4c97146106ca578063cef11729146106ea57600080fd5b806395d89b41146105b1578063a0712d68146105c6578063a1a74640146105d9578063a22cb465146105f9578063b88d4fde14610619578063bbb897441461063957600080fd5b806344a0d68a116101fe5780636c0360eb116101b75780636c0360eb146105095780636f8b44b01461051e57806370a082311461053e578063715018a61461055e578063729ad39e146105735780638da5cb5b1461059357600080fd5b806344a0d68a1461044d57806355f804b31461046d5780635c975abb1461048d5780635dd6b99f146104a75780636352211e146104c957806368570bd6146104e957600080fd5b806323b872dd1161025057806323b872dd146103825780632cefffa7146103a25780633ccfd60b146103d85780633e26ca07146103e057806342842e0e14610400578063438b63001461042057600080fd5b806301ffc9a71461029857806306fdde03146102cd578063081812fc146102ef578063095ea7b31461032757806313faede61461034957806318160ddd1461036d575b600080fd5b3480156102a457600080fd5b506102b86102b33660046127a1565b610886565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102e26108d8565b6040516102c49190612924565b3480156102fb57600080fd5b5061030f61030a366004612788565b61096a565b6040516001600160a01b0390911681526020016102c4565b34801561033357600080fd5b5061034761034236600461261e565b610a04565b005b34801561035557600080fd5b5061035f600f5481565b6040519081526020016102c4565b34801561037957600080fd5b5061035f610b1a565b34801561038e57600080fd5b5061034761039d36600461253c565b610b2a565b3480156103ae57600080fd5b50600d546103c590640100000000900461ffff1681565b60405161ffff90911681526020016102c4565b610347610b5b565b3480156103ec57600080fd5b506103476103fb366004612788565b610bf9565b34801561040c57600080fd5b5061034761041b36600461253c565b610c28565b34801561042c57600080fd5b5061044061043b3660046124ee565b610c43565b6040516102c491906128e0565b34801561045957600080fd5b50610347610468366004612788565b610d24565b34801561047957600080fd5b506103476104883660046127db565b610d53565b34801561049957600080fd5b506011546102b89060ff1681565b3480156104b357600080fd5b50600d546103c590600160301b900461ffff1681565b3480156104d557600080fd5b5061030f6104e4366004612788565b610d94565b3480156104f557600080fd5b506103476105043660046124ee565b610e0b565b34801561051557600080fd5b506102e2610e57565b34801561052a57600080fd5b50610347610539366004612788565b610ee5565b34801561054a57600080fd5b5061035f6105593660046124ee565b610f14565b34801561056a57600080fd5b50610347610f9b565b34801561057f57600080fd5b5061034761058e366004612648565b610fd1565b34801561059f57600080fd5b506006546001600160a01b031661030f565b3480156105bd57600080fd5b506102e2611043565b6103476105d4366004612788565b611052565b3480156105e557600080fd5b506103476105f4366004612824565b6112c4565b34801561060557600080fd5b506103476106143660046125f4565b611313565b34801561062557600080fd5b50610347610634366004612578565b61131e565b34801561064557600080fd5b50600d546103c59061ffff1681565b34801561066057600080fd5b50600d546103c59062010000900461ffff1681565b34801561068157600080fd5b506102b86106903660046124ee565b611356565b3480156106a157600080fd5b506103476113c1565b3480156106b657600080fd5b506102e26106c5366004612788565b6113ff565b3480156106d657600080fd5b506103476106e536600461261e565b6114da565b3480156106f657600080fd5b50610347610705366004612824565b61150e565b34801561071657600080fd5b5061035f600e5481565b34801561072c57600080fd5b5061034761073b366004612788565b611558565b34801561074c57600080fd5b506011546102b890610100900460ff1681565b34801561076b57600080fd5b5061035f60105481565b34801561078157600080fd5b50610347610790366004612824565b611587565b3480156107a157600080fd5b506102b86107b0366004612509565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107ea57600080fd5b506103476107f9366004612824565b6115c9565b61034761080c3660046126fc565b611617565b34801561081d57600080fd5b506103476118e7565b34801561083257600080fd5b50610347610841366004612788565b61192e565b34801561085257600080fd5b506103476108613660046124ee565b61195d565b34801561087257600080fd5b5061034761088136600461261e565b6119f5565b60006001600160e01b031982166380ac58cd60e01b14806108b757506001600160e01b03198216635b5e139f60e01b145b806108d257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546108e790612ace565b80601f016020809104026020016040519081016040528092919081815260200182805461091390612ace565b80156109605780601f1061093557610100808354040283529160200191610960565b820191906000526020600020905b81548152906001019060200180831161094357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109e85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a0f82610d94565b9050806001600160a01b0316836001600160a01b03161415610a7d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109df565b336001600160a01b0382161480610a995750610a9981336107b0565b610b0b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109df565b610b158383611a68565b505050565b6000610b2560075490565b905090565b610b343382611ad6565b610b505760405162461bcd60e51b81526004016109df906129be565b610b15838383611bcd565b6006546001600160a01b03163314610b855760405162461bcd60e51b81526004016109df90612989565b6000610b996006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610be3576040519150601f19603f3d011682016040523d82523d6000602084013e610be8565b606091505b5050905080610bf657600080fd5b50565b6006546001600160a01b03163314610c235760405162461bcd60e51b81526004016109df90612989565b600c55565b610b158383836040518060200160405280600081525061131e565b60606000610c5083610f14565b905060008167ffffffffffffffff811115610c6d57610c6d612b7a565b604051908082528060200260200182016040528015610c96578160200160208202803683370190505b509050600160005b8381108015610caf5750600e548211155b15610d1a576000610cbf83610d94565b9050866001600160a01b0316816001600160a01b03161415610d075782848381518110610cee57610cee612b64565b602090810291909101015281610d0381612b09565b9250505b82610d1181612b09565b93505050610c9e565b5090949350505050565b6006546001600160a01b03163314610d4e5760405162461bcd60e51b81526004016109df90612989565b600f55565b6006546001600160a01b03163314610d7d5760405162461bcd60e51b81526004016109df90612989565b8051610d9090600a9060208401906123d1565b5050565b6000818152600260205260408120546001600160a01b0316806108d25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109df565b6006546001600160a01b03163314610e355760405162461bcd60e51b81526004016109df90612989565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b600a8054610e6490612ace565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9090612ace565b8015610edd5780601f10610eb257610100808354040283529160200191610edd565b820191906000526020600020905b815481529060010190602001808311610ec057829003601f168201915b505050505081565b6006546001600160a01b03163314610f0f5760405162461bcd60e51b81526004016109df90612989565b600e55565b60006001600160a01b038216610f7f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016109df565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610fc55760405162461bcd60e51b81526004016109df90612989565b610fcf6000611d6d565b565b6006546001600160a01b03163314610ffb5760405162461bcd60e51b81526004016109df90612989565b60005b8151811015610d9057600082828151811061101b5761101b612b64565b60200260200101519050611030816001611dbf565b508061103b81612b09565b915050610ffe565b6060600180546108e790612ace565b6006546001600160a01b031633146112ba57600061106f33610f14565b60115490915060ff161561108257600080fd5b601154610100900460ff16156110da5760405162461bcd60e51b815260206004820152601860248201527f596f752063616e74206d696e74206f6e2050726573616c65000000000000000060448201526064016109df565b600082116111365760405162461bcd60e51b8152602060048201526024808201527f4d696e7420616d6f756e742073686f756c6420626520677265617465722074686044820152630616e20360e41b60648201526084016109df565b600d5461ffff1682111561119c5760405162461bcd60e51b815260206004820152602760248201527f536f72727920796f752063616e74206d696e74207468697320616d6f756e74206044820152666174206f6e636560c81b60648201526084016109df565b600e54826111a960075490565b6111b39190612a40565b11156111f65760405162461bcd60e51b815260206004820152601260248201527145786365656473204d617820537570706c7960701b60448201526064016109df565b600d5462010000900461ffff1661120d8383612a40565b111561125b5760405162461bcd60e51b815260206004820152601860248201527f536f72727920796f752063616e74206d696e74206d6f7265000000000000000060448201526064016109df565b61126433611356565b6112b85781600f546112769190612a6c565b3410156112b85760405162461bcd60e51b815260206004820152601060248201526f496e7375666669656e742066756e647360801b60448201526064016109df565b505b610bf63382611dbf565b6006546001600160a01b031633146112ee5760405162461bcd60e51b81526004016109df90612989565b600d805461ffff909216600160301b0267ffff00000000000019909216919091179055565b610d90338383611dfc565b6113283383611ad6565b6113445760405162461bcd60e51b81526004016109df906129be565b61135084848484611ecb565b50505050565b600060015b6009548110156113b857826001600160a01b03166009828154811061138257611382612b64565b6000918252602090912001546001600160a01b031614156113a65750600192915050565b806113b081612b09565b91505061135b565b50600092915050565b6006546001600160a01b031633146113eb5760405162461bcd60e51b81526004016109df90612989565b6011805460ff19811660ff90911615179055565b6000818152600260205260409020546060906001600160a01b031661147e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109df565b6000611488611efe565b905060008151116114a857604051806020016040528060008152506114d3565b806114b284611f0d565b6040516020016114c3929190612874565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146115045760405162461bcd60e51b81526004016109df90612989565b610d908282611dbf565b6006546001600160a01b031633146115385760405162461bcd60e51b81526004016109df90612989565b600d805461ffff909216620100000263ffff000019909216919091179055565b6006546001600160a01b031633146115825760405162461bcd60e51b81526004016109df90612989565b601055565b6006546001600160a01b031633146115b15760405162461bcd60e51b81526004016109df90612989565b600d805461ffff191661ffff92909216919091179055565b6006546001600160a01b031633146115f35760405162461bcd60e51b81526004016109df90612989565b600d805461ffff9092166401000000000265ffff0000000019909216919091179055565b6006546001600160a01b031633146118ac5760115460ff161561163957600080fd5b601154610100900460ff166116905760405162461bcd60e51b815260206004820152601860248201527f57686974656c697374696e67206e6f7420656e61626c6564000000000000000060448201526064016109df565b8015611791576116dd60016116a43361200b565b86868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061204a92505050565b6117195760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b60448201526064016109df565b600d5433600090815260126020526040902054600160301b90910461ffff1690611744908490612a40565b111561178c5760405162461bcd60e51b8152602060048201526017602482015276115e18d959591cc813585e08135a5b9d08185b5bdd5b9d604a1b60448201526064016109df565b61184f565b61179f60006116a43361200b565b6117db5760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b60448201526064016109df565b600d543360009081526012602052604090205464010000000090910461ffff1690611807908490612a40565b111561184f5760405162461bcd60e51b8152602060048201526017602482015276115e18d959591cc813585e08135a5b9d08185b5bdd5b9d604a1b60448201526064016109df565b61185833611356565b6118ac578160105461186a9190612a6c565b3410156118ac5760405162461bcd60e51b815260206004820152601060248201526f496e7375666669656e742066756e647360801b60448201526064016109df565b6118b63383611dbf565b336000908152601260205260409020546118d1908390612a40565b3360009081526012602052604090205550505050565b6006546001600160a01b031633146119115760405162461bcd60e51b81526004016109df90612989565b6011805461ff001981166101009182900460ff1615909102179055565b6006546001600160a01b031633146119585760405162461bcd60e51b81526004016109df90612989565b600b55565b6006546001600160a01b031633146119875760405162461bcd60e51b81526004016109df90612989565b6001600160a01b0381166119ec5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109df565b610bf681611d6d565b6008546001600160a01b03163314611a5e5760405162461bcd60e51b815260206004820152602660248201527f536f72727920796f7520646f6e742068617665207065726d697373696f6e20746044820152651bc81b5a5b9d60d21b60648201526084016109df565b610d908282612073565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611a9d82610d94565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611b4f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109df565b6000611b5a83610d94565b9050806001600160a01b0316846001600160a01b03161480611b955750836001600160a01b0316611b8a8461096a565b6001600160a01b0316145b80611bc557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611be082610d94565b6001600160a01b031614611c485760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016109df565b6001600160a01b038216611caa5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109df565b611cb5600082611a68565b6001600160a01b0383166000908152600360205260408120805460019290611cde908490612a8b565b90915550506001600160a01b0382166000908152600360205260408120805460019290611d0c908490612a40565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005b81811015610b1557611dd8600780546001019055565b611dea83611de560075490565b612073565b80611df481612b09565b915050611dc2565b816001600160a01b0316836001600160a01b03161415611e5e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109df565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611ed6848484611bcd565b611ee28484848461208d565b6113505760405162461bcd60e51b81526004016109df90612937565b6060600a80546108e790612ace565b606081611f315750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f5b5780611f4581612b09565b9150611f549050600a83612a58565b9150611f35565b60008167ffffffffffffffff811115611f7657611f76612b7a565b6040519080825280601f01601f191660200182016040528015611fa0576020820181803683370190505b5090505b8415611bc557611fb5600183612a8b565b9150611fc2600a86612b24565b611fcd906030612a40565b60f81b818381518110611fe257611fe2612b64565b60200101906001600160f81b031916908160001a905350612004600a86612a58565b9450611fa4565b6040516bffffffffffffffffffffffff19606083901b166020820152600090603401604051602081830303815290604052805190602001209050919050565b600083156120665761205f82600c548561219a565b90506114d3565b61205f82600b548561219a565b610d908282604051806020016040528060008152506121b0565b60006001600160a01b0384163b1561218f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120d19033908990889088906004016128a3565b602060405180830381600087803b1580156120eb57600080fd5b505af192505050801561211b575060408051601f3d908101601f19168201909252612118918101906127be565b60015b612175573d808015612149576040519150601f19603f3d011682016040523d82523d6000602084013e61214e565b606091505b50805161216d5760405162461bcd60e51b81526004016109df90612937565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611bc5565b506001949350505050565b6000826121a785846121e3565b14949350505050565b6121ba838361228f565b6121c7600084848461208d565b610b155760405162461bcd60e51b81526004016109df90612937565b600081815b845181101561228757600085828151811061220557612205612b64565b60200260200101519050808311612247576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612274565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061227f81612b09565b9150506121e8565b509392505050565b6001600160a01b0382166122e55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109df565b6000818152600260205260409020546001600160a01b03161561234a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109df565b6001600160a01b0382166000908152600360205260408120805460019290612373908490612a40565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546123dd90612ace565b90600052602060002090601f0160209004810192826123ff5760008555612445565b82601f1061241857805160ff1916838001178555612445565b82800160010185558215612445579182015b8281111561244557825182559160200191906001019061242a565b50612451929150612455565b5090565b5b808211156124515760008155600101612456565b600067ffffffffffffffff83111561248457612484612b7a565b612497601f8401601f1916602001612a0f565b90508281528383830111156124ab57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146124d957600080fd5b919050565b803580151581146124d957600080fd5b60006020828403121561250057600080fd5b6114d3826124c2565b6000806040838503121561251c57600080fd5b612525836124c2565b9150612533602084016124c2565b90509250929050565b60008060006060848603121561255157600080fd5b61255a846124c2565b9250612568602085016124c2565b9150604084013590509250925092565b6000806000806080858703121561258e57600080fd5b612597856124c2565b93506125a5602086016124c2565b925060408501359150606085013567ffffffffffffffff8111156125c857600080fd5b8501601f810187136125d957600080fd5b6125e88782356020840161246a565b91505092959194509250565b6000806040838503121561260757600080fd5b612610836124c2565b9150612533602084016124de565b6000806040838503121561263157600080fd5b61263a836124c2565b946020939093013593505050565b6000602080838503121561265b57600080fd5b823567ffffffffffffffff8082111561267357600080fd5b818501915085601f83011261268757600080fd5b81358181111561269957612699612b7a565b8060051b91506126aa848301612a0f565b8181528481019084860184860187018a10156126c557600080fd5b600095505b838610156126ef576126db816124c2565b8352600195909501949186019186016126ca565b5098975050505050505050565b6000806000806060858703121561271257600080fd5b843567ffffffffffffffff8082111561272a57600080fd5b818701915087601f83011261273e57600080fd5b81358181111561274d57600080fd5b8860208260051b850101111561276257600080fd5b60209283019650945050850135915061277d604086016124de565b905092959194509250565b60006020828403121561279a57600080fd5b5035919050565b6000602082840312156127b357600080fd5b81356114d381612b90565b6000602082840312156127d057600080fd5b81516114d381612b90565b6000602082840312156127ed57600080fd5b813567ffffffffffffffff81111561280457600080fd5b8201601f8101841361281557600080fd5b611bc58482356020840161246a565b60006020828403121561283657600080fd5b813561ffff811681146114d357600080fd5b60008151808452612860816020860160208601612aa2565b601f01601f19169290920160200192915050565b60008351612886818460208801612aa2565b83519083019061289a818360208801612aa2565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906128d690830184612848565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612918578351835292840192918401916001016128fc565b50909695505050505050565b6020815260006114d36020830184612848565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612a3857612a38612b7a565b604052919050565b60008219821115612a5357612a53612b38565b500190565b600082612a6757612a67612b4e565b500490565b6000816000190483118215151615612a8657612a86612b38565b500290565b600082821015612a9d57612a9d612b38565b500390565b60005b83811015612abd578181015183820152602001612aa5565b838111156113505750506000910152565b600181811c90821680612ae257607f821691505b60208210811415612b0357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612b1d57612b1d612b38565b5060010190565b600082612b3357612b33612b4e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610bf657600080fdfea264697066735822122080a42c8ee9cebff93d5a65d8db1b80fd8cfcf3551b995d95bbb2eba958f1c9ec64736f6c63430008070033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003b68747470733a2f2f75732d63656e7472616c312d646f6f646f726965732e636c6f756466756e6374696f6e732e6e65742f6170702f746f6b656e2f0000000000

-----Decoded View---------------
Arg [0] : _baseUrl (string): https://us-central1-doodories.cloudfunctions.net/app/token/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000003b
Arg [2] : 68747470733a2f2f75732d63656e7472616c312d646f6f646f726965732e636c
Arg [3] : 6f756466756e6374696f6e732e6e65742f6170702f746f6b656e2f0000000000


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.