ETH Price: $2,990.78 (-2.22%)
Gas: 2 Gwei

Token

Based Walrus Collective (BWC)
 

Overview

Max Total Supply

544 BWC

Holders

241

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 BWC
0xbde18331833a5836e181e78c3b830ffc4e201a0b
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BasedWalrusCollective

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : BWC_Contract.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

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

contract BasedWalrusCollective is ERC721, Ownable {

	using ECDSA for bytes32;
	using Strings for uint;
    
    uint constant MAX_BWC = 3333;
    uint constant maxPurchase = 10;
    uint constant maxPresalePurchase = 2;
    uint constant maxPerWallet = 50;
    uint constant maxPerWalletPresale = 2;
	uint constant basePrice = 40000000000000000; // 0.04 ETH
	
	uint public bwcPrice = 40000000000000000; // 0.04 ETH
	uint public preSalePrice = 30000000000000000; // 0.03 ETH
	uint public totalSupply;
    
	mapping(address => uint) public addressMintedAmount;
    bool public revealed = false;
	uint8 public saleStatus = 0;
	
	address private authorizedSigner;
	address private projectManager;
	address private developer;
	
    string private baseURI;
	string private baseExtension = ".json";
	string private notRevealedUri;
	
	modifier overallSupplyCheck() {
		
        require(totalSupply < MAX_BWC, "All NFTs have been minted");
        _;
    }
	
	modifier onlyTeam() {
		
        require(
			msg.sender == owner() ||
			msg.sender == projectManager ||
			msg.sender == developer,
			"Not a team member"
		);
        _;
    }

    constructor(address pm, address dev) ERC721("Based Walrus Collective", "BWC") {
		        
		projectManager = pm;
		developer = dev;
    }
	
	function remainingNFTs() private view returns (string memory) {
		
        return string(abi.encodePacked("There are only ", (MAX_BWC - totalSupply).toString(), " NFTs left in supply"));
    }
	
	function tokenURI(uint tokenId) public view virtual override returns (string memory) {
		
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        
        if(!revealed) {
            return notRevealedUri;
        }

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

	function hashTransaction(address minter) private pure returns (bytes32) {
		
        bytes32 argsHash = keccak256(abi.encodePacked(minter));
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", argsHash));
    }

    function recoverSignerAddress(address minter, bytes memory signature) private pure returns (address) {
		
        bytes32 hash = hashTransaction(minter);
        return hash.recover(signature);
    }

    function presale(uint amount, bytes memory signature) external payable overallSupplyCheck {
		
		require(saleStatus == 1, "Presale is not active");
		require(recoverSignerAddress(msg.sender, signature) == authorizedSigner, "Wallet not authorized to mint during presale");
		require(amount > 0 && amount <= maxPresalePurchase, "Must mint between 1 and 2 NFTs during presale");
		require(addressMintedAmount[msg.sender] + amount <= maxPerWalletPresale, "Maximum 2 NFTs per wallet during presale");

        mintBWC(amount);
    }

    function mint(uint amount) external payable overallSupplyCheck {
		
        require(saleStatus == 2, "Public sale is not active");
		require(amount > 0 && amount <= maxPurchase, "Must mint between 1 and 10 NFTs");
		require(addressMintedAmount[msg.sender] + amount <= maxPerWallet, "Maximum 50 NFTs per wallet during presale");

        mintBWC(amount);
    }

    function mintBWC(uint mintAmount) internal {
        
        require(totalSupply + mintAmount <= MAX_BWC, remainingNFTs());
        require(msg.value >= (bwcPrice * mintAmount), string(abi.encodePacked("Incorrect ether amount for ", mintAmount.toString(), " NFT", (mintAmount > 1 ? "s" : ""))));
        
		uint currSupply = totalSupply;
		
		totalSupply += mintAmount;
		
        for (uint i = 1; i <= mintAmount; i++) {
            addressMintedAmount[msg.sender]++;
            _safeMint(msg.sender, currSupply + i);
        }
    }
	
	// onlyTeam
	function configureURIS(string memory newBaseURI, string memory notRevealedURI) external onlyTeam {
		
        setBaseURI(newBaseURI);
        setNotRevealedURI(notRevealedURI);
    }	
	
    function setBaseURI(string memory newBaseURI) public onlyTeam {
		
        baseURI = newBaseURI;
    }
	
	function setNotRevealedURI(string memory notRevealedURI) public onlyTeam {
		
        notRevealedUri = notRevealedURI;
    }
	
	function setAuthorizedSigner(address authSigner) external onlyTeam {
		
        authorizedSigner = authSigner;
    }
	
	function setPrice(uint price) external onlyTeam {
		
        require(price > 10000000000000000, "Price must be greater than 0.01 ether, set in wei");

        bwcPrice = price;
    }

    function setBaseExtension(string memory newBaseExtension) external onlyTeam {
		
        baseExtension = newBaseExtension;
    }
    
    function setRevealed() external onlyTeam {
		
        revealed = true;
    }
    
    function setSaleStatus(uint8 status) external onlyTeam {
		
		require(status == 0 || status == 1 || status == 2, "Invalid sale status");
		if (status == 0 || status == 2) { // Reset to base price
			bwcPrice = basePrice;
		}
		else { // Presale price
			bwcPrice = preSalePrice;
		}
        saleStatus = status;
    }
    
    function withdraw() external onlyTeam {
        
		uint balance = address(this).balance;
        uint splitBalance = balance * 50 / 100;
        payable(projectManager).transfer(splitBalance);
        payable(developer).transfer(balance - splitBalance);
    }
	
	// onlyOwner
	// Used to set aside a specified number of NFTs to transfer to mods, grandma and grandpa, other pillars of the community, etc.
	
    function mintGifts(uint giftAmount) external onlyOwner overallSupplyCheck {
				
        require(giftAmount > 0 && giftAmount <= 20, "Can only mint between 1 and 20 gift NFTs at a time");
		require(totalSupply + giftAmount <= MAX_BWC, remainingNFTs());

		uint currSupply = totalSupply;
		
		totalSupply += giftAmount;
		
        for (uint i = 1; i <= giftAmount; i++) {
            _safeMint(msg.sender, currSupply + i);
        }
    }
}

File 2 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 12 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 4 of 12 : ERC721.sol
// SPDX-License-Identifier: MIT

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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

File 5 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 6 of 12 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 7 of 12 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 8 of 12 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 12 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 11 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT

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":"address","name":"pm","type":"address"},{"internalType":"address","name":"dev","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"","type":"address"}],"name":"addressMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bwcPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"},{"internalType":"string","name":"notRevealedURI","type":"string"}],"name":"configureURIS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"giftAmount","type":"uint256"}],"name":"mintGifts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"presale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleStatus","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"authSigner","type":"address"}],"name":"setAuthorizedSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"status","type":"uint8"}],"name":"setSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

668e1bc9bf040000600755666a94d74f430000600855600b805461ffff1916905560c06040526005608081905264173539b7b760d91b60a09081526200004991600f919062000195565b503480156200005757600080fd5b5060405162002fa738038062002fa78339810160408190526200007a9162000258565b604080518082018252601781527f42617365642057616c72757320436f6c6c65637469766500000000000000000060208083019182528351808501909452600384526242574360e81b908401528151919291620000da9160009162000195565b508051620000f090600190602084019062000195565b5050506200010d620001076200013f60201b60201c565b62000143565b600c80546001600160a01b039384166001600160a01b031991821617909155600d8054929093169116179055620002cd565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001a39062000290565b90600052602060002090601f016020900481019282620001c7576000855562000212565b82601f10620001e257805160ff191683800117855562000212565b8280016001018555821562000212579182015b8281111562000212578251825591602001919060010190620001f5565b506200022092915062000224565b5090565b5b8082111562000220576000815560010162000225565b80516001600160a01b03811681146200025357600080fd5b919050565b600080604083850312156200026c57600080fd5b62000277836200023b565b915062000287602084016200023b565b90509250929050565b600181811c90821680620002a557607f821691505b60208210811415620002c757634e487b7160e01b600052602260045260246000fd5b50919050565b612cca80620002dd6000396000f3fe6080604052600436106101f95760003560e01c806370a082311161010d578063b88d4fde116100a0578063e757c17d1161006f578063e757c17d14610588578063e985e9c51461059e578063f2c4ce1e146105e7578063f2fde38b14610607578063f9020e331461062757600080fd5b8063b88d4fde14610508578063c87b56dd14610528578063d279b0ca14610548578063da3ef23f1461056857600080fd5b806395d89b41116100dc57806395d89b41146104a0578063a0712d68146104b5578063a22cb465146104c8578063a8557c90146104e857600080fd5b806370a082311461042d578063715018a61461044d5780638da5cb5b1461046257806391b7f5ed1461048057600080fd5b80633bd64968116101905780634891ad881161015f5780634891ad88146103a057806351830227146103c057806355f804b3146103da5780635f56028a146103fa5780636352211e1461040d57600080fd5b80633bd64968146103295780633ccfd60b1461033e5780633cd7b1521461035357806342842e0e1461038057600080fd5b8063095ea7b3116101cc578063095ea7b3146102af57806318160ddd146102cf57806319bbce54146102f357806323b872dd1461030957600080fd5b806301ffc9a7146101fe578063031c330f1461023357806306fdde0314610255578063081812fc14610277575b600080fd5b34801561020a57600080fd5b5061021e61021936600461249a565b610658565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061025361024e3660046124be565b6106aa565b005b34801561026157600080fd5b5061026a6107ff565b60405161022a919061252f565b34801561028357600080fd5b506102976102923660046124be565b610891565b6040516001600160a01b03909116815260200161022a565b3480156102bb57600080fd5b506102536102ca36600461255e565b610926565b3480156102db57600080fd5b506102e560095481565b60405190815260200161022a565b3480156102ff57600080fd5b506102e560075481565b34801561031557600080fd5b50610253610324366004612588565b610a37565b34801561033557600080fd5b50610253610a68565b34801561034a57600080fd5b50610253610acb565b34801561035f57600080fd5b506102e561036e3660046125c4565b600a6020526000908152604090205481565b34801561038c57600080fd5b5061025361039b366004612588565b610bb6565b3480156103ac57600080fd5b506102536103bb3660046125df565b610bd1565b3480156103cc57600080fd5b50600b5461021e9060ff1681565b3480156103e657600080fd5b506102536103f53660046126a5565b610cd3565b6102536104083660046126da565b610d3e565b34801561041957600080fd5b506102976104283660046124be565b610f34565b34801561043957600080fd5b506102e56104483660046125c4565b610fab565b34801561045957600080fd5b50610253611032565b34801561046e57600080fd5b506006546001600160a01b0316610297565b34801561048c57600080fd5b5061025361049b3660046124be565b611068565b3480156104ac57600080fd5b5061026a611131565b6102536104c33660046124be565b611140565b3480156104d457600080fd5b506102536104e3366004612721565b6112a4565b3480156104f457600080fd5b5061025361050336600461275d565b611369565b34801561051457600080fd5b506102536105233660046127b7565b6113cf565b34801561053457600080fd5b5061026a6105433660046124be565b611407565b34801561055457600080fd5b506102536105633660046125c4565b611581565b34801561057457600080fd5b506102536105833660046126a5565b6115ff565b34801561059457600080fd5b506102e560085481565b3480156105aa57600080fd5b5061021e6105b936600461281f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156105f357600080fd5b506102536106023660046126a5565b611666565b34801561061357600080fd5b506102536106223660046125c4565b6116cd565b34801561063357600080fd5b50600b5461064690610100900460ff1681565b60405160ff909116815260200161022a565b60006001600160e01b031982166380ac58cd60e01b148061068957506001600160e01b03198216635b5e139f60e01b145b806106a457506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546001600160a01b031633146106dd5760405162461bcd60e51b81526004016106d490612852565b60405180910390fd5b610d05600954106107005760405162461bcd60e51b81526004016106d490612887565b600081118015610711575060148111155b6107785760405162461bcd60e51b815260206004820152603260248201527f43616e206f6e6c79206d696e74206265747765656e203120616e642032302067604482015271696674204e46547320617420612074696d6560701b60648201526084016106d4565b610d058160095461078991906128d4565b1115610793611765565b906107b15760405162461bcd60e51b81526004016106d4919061252f565b506009805490829060006107c583856128d4565b90915550600190505b8281116107fa576107e8336107e383856128d4565b6117a3565b806107f2816128ec565b9150506107ce565b505050565b60606000805461080e90612907565b80601f016020809104026020016040519081016040528092919081815260200182805461083a90612907565b80156108875780601f1061085c57610100808354040283529160200191610887565b820191906000526020600020905b81548152906001019060200180831161086a57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661090a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106d4565b506000908152600460205260409020546001600160a01b031690565b600061093182610f34565b9050806001600160a01b0316836001600160a01b0316141561099f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106d4565b336001600160a01b03821614806109bb57506109bb81336105b9565b610a2d5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106d4565b6107fa83836117bd565b610a41338261182b565b610a5d5760405162461bcd60e51b81526004016106d490612942565b6107fa838383611922565b6006546001600160a01b0316331480610a8b5750600c546001600160a01b031633145b80610aa05750600d546001600160a01b031633145b610abc5760405162461bcd60e51b81526004016106d490612993565b600b805460ff19166001179055565b6006546001600160a01b0316331480610aee5750600c546001600160a01b031633145b80610b035750600d546001600160a01b031633145b610b1f5760405162461bcd60e51b81526004016106d490612993565b4760006064610b2f8360326129be565b610b3991906129f3565b600c546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015610b74573d6000803e3d6000fd5b50600d546001600160a01b03166108fc610b8e8385612a07565b6040518115909202916000818181858888f193505050501580156107fa573d6000803e3d6000fd5b6107fa838383604051806020016040528060008152506113cf565b6006546001600160a01b0316331480610bf45750600c546001600160a01b031633145b80610c095750600d546001600160a01b031633145b610c255760405162461bcd60e51b81526004016106d490612993565b60ff81161580610c3857508060ff166001145b80610c4657508060ff166002145b610c885760405162461bcd60e51b8152602060048201526013602482015272496e76616c69642073616c652073746174757360681b60448201526064016106d4565b60ff81161580610c9b57508060ff166002145b15610cb057668e1bc9bf040000600755610cb7565b6008546007555b600b805460ff9092166101000261ff0019909216919091179055565b6006546001600160a01b0316331480610cf65750600c546001600160a01b031633145b80610d0b5750600d546001600160a01b031633145b610d275760405162461bcd60e51b81526004016106d490612993565b8051610d3a90600e9060208401906123eb565b5050565b610d0560095410610d615760405162461bcd60e51b81526004016106d490612887565b600b5460ff61010090910416600114610db45760405162461bcd60e51b815260206004820152601560248201527450726573616c65206973206e6f742061637469766560581b60448201526064016106d4565b600b546201000090046001600160a01b0316610dd03383611ac2565b6001600160a01b031614610e3b5760405162461bcd60e51b815260206004820152602c60248201527f57616c6c6574206e6f7420617574686f72697a656420746f206d696e7420647560448201526b72696e672070726573616c6560a01b60648201526084016106d4565b600082118015610e4c575060028211155b610eae5760405162461bcd60e51b815260206004820152602d60248201527f4d757374206d696e74206265747765656e203120616e642032204e465473206460448201526c7572696e672070726573616c6560981b60648201526084016106d4565b336000908152600a6020526040902054600290610ecc9084906128d4565b1115610f2b5760405162461bcd60e51b815260206004820152602860248201527f4d6178696d756d2032204e465473207065722077616c6c657420647572696e676044820152672070726573616c6560c01b60648201526084016106d4565b610d3a82611b4c565b6000818152600260205260408120546001600160a01b0316806106a45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106d4565b60006001600160a01b0382166110165760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106d4565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461105c5760405162461bcd60e51b81526004016106d490612852565b6110666000611c7b565b565b6006546001600160a01b031633148061108b5750600c546001600160a01b031633145b806110a05750600d546001600160a01b031633145b6110bc5760405162461bcd60e51b81526004016106d490612993565b662386f26fc10000811161112c5760405162461bcd60e51b815260206004820152603160248201527f5072696365206d7573742062652067726561746572207468616e20302e30312060448201527065746865722c2073657420696e2077656960781b60648201526084016106d4565b600755565b60606001805461080e90612907565b610d05600954106111635760405162461bcd60e51b81526004016106d490612887565b600b54610100900460ff166002146111bd5760405162461bcd60e51b815260206004820152601960248201527f5075626c69632073616c65206973206e6f74206163746976650000000000000060448201526064016106d4565b6000811180156111ce5750600a8111155b61121a5760405162461bcd60e51b815260206004820152601f60248201527f4d757374206d696e74206265747765656e203120616e64203130204e4654730060448201526064016106d4565b336000908152600a60205260409020546032906112389083906128d4565b11156112985760405162461bcd60e51b815260206004820152602960248201527f4d6178696d756d203530204e465473207065722077616c6c657420647572696e604482015268672070726573616c6560b81b60648201526084016106d4565b6112a181611b4c565b50565b6001600160a01b0382163314156112fd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106d4565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6006546001600160a01b031633148061138c5750600c546001600160a01b031633145b806113a15750600d546001600160a01b031633145b6113bd5760405162461bcd60e51b81526004016106d490612993565b6113c682610cd3565b610d3a81611666565b6113d9338361182b565b6113f55760405162461bcd60e51b81526004016106d490612942565b61140184848484611ccd565b50505050565b6000818152600260205260409020546060906001600160a01b03166114865760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106d4565b600b5460ff16611522576010805461149d90612907565b80601f01602080910402602001604051908101604052809291908181526020018280546114c990612907565b80156115165780601f106114eb57610100808354040283529160200191611516565b820191906000526020600020905b8154815290600101906020018083116114f957829003601f168201915b50505050509050919050565b6000600e805461153190612907565b90501161154d57604051806020016040528060008152506106a4565b600e61155883611d00565b600f60405160200161156c93929190612ab8565b60405160208183030381529060405292915050565b6006546001600160a01b03163314806115a45750600c546001600160a01b031633145b806115b95750600d546001600160a01b031633145b6115d55760405162461bcd60e51b81526004016106d490612993565b600b80546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b6006546001600160a01b03163314806116225750600c546001600160a01b031633145b806116375750600d546001600160a01b031633145b6116535760405162461bcd60e51b81526004016106d490612993565b8051610d3a90600f9060208401906123eb565b6006546001600160a01b03163314806116895750600c546001600160a01b031633145b8061169e5750600d546001600160a01b031633145b6116ba5760405162461bcd60e51b81526004016106d490612993565b8051610d3a9060109060208401906123eb565b6006546001600160a01b031633146116f75760405162461bcd60e51b81526004016106d490612852565b6001600160a01b03811661175c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106d4565b6112a181611c7b565b606061177f600954610d0561177a9190612a07565b611d00565b60405160200161178f9190612aeb565b604051602081830303815290604052905090565b610d3a828260405180602001604052806000815250611dfe565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906117f282610f34565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166118a45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106d4565b60006118af83610f34565b9050806001600160a01b0316846001600160a01b031614806118ea5750836001600160a01b03166118df84610891565b6001600160a01b0316145b8061191a57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661193582610f34565b6001600160a01b03161461199d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106d4565b6001600160a01b0382166119ff5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106d4565b611a0a6000826117bd565b6001600160a01b0383166000908152600360205260408120805460019290611a33908490612a07565b90915550506001600160a01b0382166000908152600360205260408120805460019290611a619084906128d4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b604080516bffffffffffffffffffffffff19606085901b16602080830191909152825180830360140181526034830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a3332000000006054840152607080840191909152835180840390910181526090909201909252805191012060009061191a8184611e31565b610d0581600954611b5d91906128d4565b1115611b67611765565b90611b855760405162461bcd60e51b81526004016106d4919061252f565b5080600754611b9491906129be565b341015611ba082611d00565b60018311611bbd5760405180602001604052806000815250611bd8565b604051806040016040528060018152602001607360f81b8152505b604051602001611be9929190612b40565b60405160208183030381529060405290611c165760405162461bcd60e51b81526004016106d4919061252f565b50600980549082906000611c2a83856128d4565b90915550600190505b8281116107fa57336000908152600a60205260408120805491611c55836128ec565b90915550611c699050336107e383856128d4565b80611c73816128ec565b915050611c33565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611cd8848484611922565b611ce484848484611e55565b6114015760405162461bcd60e51b81526004016106d490612ba8565b606081611d245750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d4e5780611d38816128ec565b9150611d479050600a836129f3565b9150611d28565b60008167ffffffffffffffff811115611d6957611d69612602565b6040519080825280601f01601f191660200182016040528015611d93576020820181803683370190505b5090505b841561191a57611da8600183612a07565b9150611db5600a86612bfa565b611dc09060306128d4565b60f81b818381518110611dd557611dd5612c0e565b60200101906001600160f81b031916908160001a905350611df7600a866129f3565b9450611d97565b611e088383611f62565b611e156000848484611e55565b6107fa5760405162461bcd60e51b81526004016106d490612ba8565b6000806000611e4085856120a4565b91509150611e4d81612114565b509392505050565b60006001600160a01b0384163b15611f5757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e99903390899088908890600401612c24565b602060405180830381600087803b158015611eb357600080fd5b505af1925050508015611ee3575060408051601f3d908101601f19168201909252611ee091810190612c61565b60015b611f3d573d808015611f11576040519150601f19603f3d011682016040523d82523d6000602084013e611f16565b606091505b508051611f355760405162461bcd60e51b81526004016106d490612ba8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061191a565b506001949350505050565b6001600160a01b038216611fb85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106d4565b6000818152600260205260409020546001600160a01b03161561201d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106d4565b6001600160a01b03821660009081526003602052604081208054600192906120469084906128d4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000808251604114156120db5760208301516040840151606085015160001a6120cf878285856122cf565b9450945050505061210d565b82516040141561210557602083015160408401516120fa8683836123bc565b93509350505061210d565b506000905060025b9250929050565b600081600481111561212857612128612c7e565b14156121315750565b600181600481111561214557612145612c7e565b14156121935760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016106d4565b60028160048111156121a7576121a7612c7e565b14156121f55760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016106d4565b600381600481111561220957612209612c7e565b14156122625760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016106d4565b600481600481111561227657612276612c7e565b14156112a15760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016106d4565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561230657506000905060036123b3565b8460ff16601b1415801561231e57508460ff16601c14155b1561232f57506000905060046123b3565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612383573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166123ac576000600192509250506123b3565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b016123dd878288856122cf565b935093505050935093915050565b8280546123f790612907565b90600052602060002090601f016020900481019282612419576000855561245f565b82601f1061243257805160ff191683800117855561245f565b8280016001018555821561245f579182015b8281111561245f578251825591602001919060010190612444565b5061246b92915061246f565b5090565b5b8082111561246b5760008155600101612470565b6001600160e01b0319811681146112a157600080fd5b6000602082840312156124ac57600080fd5b81356124b781612484565b9392505050565b6000602082840312156124d057600080fd5b5035919050565b60005b838110156124f25781810151838201526020016124da565b838111156114015750506000910152565b6000815180845261251b8160208601602086016124d7565b601f01601f19169290920160200192915050565b6020815260006124b76020830184612503565b80356001600160a01b038116811461255957600080fd5b919050565b6000806040838503121561257157600080fd5b61257a83612542565b946020939093013593505050565b60008060006060848603121561259d57600080fd5b6125a684612542565b92506125b460208501612542565b9150604084013590509250925092565b6000602082840312156125d657600080fd5b6124b782612542565b6000602082840312156125f157600080fd5b813560ff811681146124b757600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261262957600080fd5b813567ffffffffffffffff8082111561264457612644612602565b604051601f8301601f19908116603f0116810190828211818310171561266c5761266c612602565b8160405283815286602085880101111561268557600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000602082840312156126b757600080fd5b813567ffffffffffffffff8111156126ce57600080fd5b61191a84828501612618565b600080604083850312156126ed57600080fd5b82359150602083013567ffffffffffffffff81111561270b57600080fd5b61271785828601612618565b9150509250929050565b6000806040838503121561273457600080fd5b61273d83612542565b91506020830135801515811461275257600080fd5b809150509250929050565b6000806040838503121561277057600080fd5b823567ffffffffffffffff8082111561278857600080fd5b61279486838701612618565b935060208501359150808211156127aa57600080fd5b5061271785828601612618565b600080600080608085870312156127cd57600080fd5b6127d685612542565b93506127e460208601612542565b925060408501359150606085013567ffffffffffffffff81111561280757600080fd5b61281387828801612618565b91505092959194509250565b6000806040838503121561283257600080fd5b61283b83612542565b915061284960208401612542565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526019908201527f416c6c204e4654732068617665206265656e206d696e74656400000000000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156128e7576128e76128be565b500190565b6000600019821415612900576129006128be565b5060010190565b600181811c9082168061291b57607f821691505b6020821081141561293c57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601190820152702737ba1030903a32b0b69036b2b6b132b960791b604082015260600190565b60008160001904831182151516156129d8576129d86128be565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612a0257612a026129dd565b500490565b600082821015612a1957612a196128be565b500390565b8054600090600181811c9080831680612a3857607f831692505b6020808410821415612a5a57634e487b7160e01b600052602260045260246000fd5b818015612a6e5760018114612a7f57612aac565b60ff19861689528489019650612aac565b60008881526020902060005b86811015612aa45781548b820152908501908301612a8b565b505084890196505b50505050505092915050565b6000612ac48286612a1e565b8451612ad48183602089016124d7565b612ae081830186612a1e565b979650505050505050565b6e02a3432b9329030b9329037b7363c9608d1b815260008251612b1581600f8501602087016124d7565b73204e465473206c65667420696e20737570706c7960601b600f939091019283015250602301919050565b7f496e636f727265637420657468657220616d6f756e7420666f72200000000000815260008351612b7881601b8501602088016124d7565b630813919560e21b601b918401918201528351612b9c81601f8401602088016124d7565b01601f01949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082612c0957612c096129dd565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c5790830184612503565b9695505050505050565b600060208284031215612c7357600080fd5b81516124b781612484565b634e487b7160e01b600052602160045260246000fdfea26469706673582212200780c8c4c8fc1363378f51b6f713577ecc6d112cc54cfdf6aa4389e5c04bddfe64736f6c63430008090033000000000000000000000000159a0a058b5c1ba82d3b6471c73f21936d88a3f0000000000000000000000000b63c9fcd6b84bd25a1e78230bbc5a5ad89056573

Deployed Bytecode

0x6080604052600436106101f95760003560e01c806370a082311161010d578063b88d4fde116100a0578063e757c17d1161006f578063e757c17d14610588578063e985e9c51461059e578063f2c4ce1e146105e7578063f2fde38b14610607578063f9020e331461062757600080fd5b8063b88d4fde14610508578063c87b56dd14610528578063d279b0ca14610548578063da3ef23f1461056857600080fd5b806395d89b41116100dc57806395d89b41146104a0578063a0712d68146104b5578063a22cb465146104c8578063a8557c90146104e857600080fd5b806370a082311461042d578063715018a61461044d5780638da5cb5b1461046257806391b7f5ed1461048057600080fd5b80633bd64968116101905780634891ad881161015f5780634891ad88146103a057806351830227146103c057806355f804b3146103da5780635f56028a146103fa5780636352211e1461040d57600080fd5b80633bd64968146103295780633ccfd60b1461033e5780633cd7b1521461035357806342842e0e1461038057600080fd5b8063095ea7b3116101cc578063095ea7b3146102af57806318160ddd146102cf57806319bbce54146102f357806323b872dd1461030957600080fd5b806301ffc9a7146101fe578063031c330f1461023357806306fdde0314610255578063081812fc14610277575b600080fd5b34801561020a57600080fd5b5061021e61021936600461249a565b610658565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061025361024e3660046124be565b6106aa565b005b34801561026157600080fd5b5061026a6107ff565b60405161022a919061252f565b34801561028357600080fd5b506102976102923660046124be565b610891565b6040516001600160a01b03909116815260200161022a565b3480156102bb57600080fd5b506102536102ca36600461255e565b610926565b3480156102db57600080fd5b506102e560095481565b60405190815260200161022a565b3480156102ff57600080fd5b506102e560075481565b34801561031557600080fd5b50610253610324366004612588565b610a37565b34801561033557600080fd5b50610253610a68565b34801561034a57600080fd5b50610253610acb565b34801561035f57600080fd5b506102e561036e3660046125c4565b600a6020526000908152604090205481565b34801561038c57600080fd5b5061025361039b366004612588565b610bb6565b3480156103ac57600080fd5b506102536103bb3660046125df565b610bd1565b3480156103cc57600080fd5b50600b5461021e9060ff1681565b3480156103e657600080fd5b506102536103f53660046126a5565b610cd3565b6102536104083660046126da565b610d3e565b34801561041957600080fd5b506102976104283660046124be565b610f34565b34801561043957600080fd5b506102e56104483660046125c4565b610fab565b34801561045957600080fd5b50610253611032565b34801561046e57600080fd5b506006546001600160a01b0316610297565b34801561048c57600080fd5b5061025361049b3660046124be565b611068565b3480156104ac57600080fd5b5061026a611131565b6102536104c33660046124be565b611140565b3480156104d457600080fd5b506102536104e3366004612721565b6112a4565b3480156104f457600080fd5b5061025361050336600461275d565b611369565b34801561051457600080fd5b506102536105233660046127b7565b6113cf565b34801561053457600080fd5b5061026a6105433660046124be565b611407565b34801561055457600080fd5b506102536105633660046125c4565b611581565b34801561057457600080fd5b506102536105833660046126a5565b6115ff565b34801561059457600080fd5b506102e560085481565b3480156105aa57600080fd5b5061021e6105b936600461281f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156105f357600080fd5b506102536106023660046126a5565b611666565b34801561061357600080fd5b506102536106223660046125c4565b6116cd565b34801561063357600080fd5b50600b5461064690610100900460ff1681565b60405160ff909116815260200161022a565b60006001600160e01b031982166380ac58cd60e01b148061068957506001600160e01b03198216635b5e139f60e01b145b806106a457506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546001600160a01b031633146106dd5760405162461bcd60e51b81526004016106d490612852565b60405180910390fd5b610d05600954106107005760405162461bcd60e51b81526004016106d490612887565b600081118015610711575060148111155b6107785760405162461bcd60e51b815260206004820152603260248201527f43616e206f6e6c79206d696e74206265747765656e203120616e642032302067604482015271696674204e46547320617420612074696d6560701b60648201526084016106d4565b610d058160095461078991906128d4565b1115610793611765565b906107b15760405162461bcd60e51b81526004016106d4919061252f565b506009805490829060006107c583856128d4565b90915550600190505b8281116107fa576107e8336107e383856128d4565b6117a3565b806107f2816128ec565b9150506107ce565b505050565b60606000805461080e90612907565b80601f016020809104026020016040519081016040528092919081815260200182805461083a90612907565b80156108875780601f1061085c57610100808354040283529160200191610887565b820191906000526020600020905b81548152906001019060200180831161086a57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661090a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106d4565b506000908152600460205260409020546001600160a01b031690565b600061093182610f34565b9050806001600160a01b0316836001600160a01b0316141561099f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106d4565b336001600160a01b03821614806109bb57506109bb81336105b9565b610a2d5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106d4565b6107fa83836117bd565b610a41338261182b565b610a5d5760405162461bcd60e51b81526004016106d490612942565b6107fa838383611922565b6006546001600160a01b0316331480610a8b5750600c546001600160a01b031633145b80610aa05750600d546001600160a01b031633145b610abc5760405162461bcd60e51b81526004016106d490612993565b600b805460ff19166001179055565b6006546001600160a01b0316331480610aee5750600c546001600160a01b031633145b80610b035750600d546001600160a01b031633145b610b1f5760405162461bcd60e51b81526004016106d490612993565b4760006064610b2f8360326129be565b610b3991906129f3565b600c546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015610b74573d6000803e3d6000fd5b50600d546001600160a01b03166108fc610b8e8385612a07565b6040518115909202916000818181858888f193505050501580156107fa573d6000803e3d6000fd5b6107fa838383604051806020016040528060008152506113cf565b6006546001600160a01b0316331480610bf45750600c546001600160a01b031633145b80610c095750600d546001600160a01b031633145b610c255760405162461bcd60e51b81526004016106d490612993565b60ff81161580610c3857508060ff166001145b80610c4657508060ff166002145b610c885760405162461bcd60e51b8152602060048201526013602482015272496e76616c69642073616c652073746174757360681b60448201526064016106d4565b60ff81161580610c9b57508060ff166002145b15610cb057668e1bc9bf040000600755610cb7565b6008546007555b600b805460ff9092166101000261ff0019909216919091179055565b6006546001600160a01b0316331480610cf65750600c546001600160a01b031633145b80610d0b5750600d546001600160a01b031633145b610d275760405162461bcd60e51b81526004016106d490612993565b8051610d3a90600e9060208401906123eb565b5050565b610d0560095410610d615760405162461bcd60e51b81526004016106d490612887565b600b5460ff61010090910416600114610db45760405162461bcd60e51b815260206004820152601560248201527450726573616c65206973206e6f742061637469766560581b60448201526064016106d4565b600b546201000090046001600160a01b0316610dd03383611ac2565b6001600160a01b031614610e3b5760405162461bcd60e51b815260206004820152602c60248201527f57616c6c6574206e6f7420617574686f72697a656420746f206d696e7420647560448201526b72696e672070726573616c6560a01b60648201526084016106d4565b600082118015610e4c575060028211155b610eae5760405162461bcd60e51b815260206004820152602d60248201527f4d757374206d696e74206265747765656e203120616e642032204e465473206460448201526c7572696e672070726573616c6560981b60648201526084016106d4565b336000908152600a6020526040902054600290610ecc9084906128d4565b1115610f2b5760405162461bcd60e51b815260206004820152602860248201527f4d6178696d756d2032204e465473207065722077616c6c657420647572696e676044820152672070726573616c6560c01b60648201526084016106d4565b610d3a82611b4c565b6000818152600260205260408120546001600160a01b0316806106a45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106d4565b60006001600160a01b0382166110165760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106d4565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461105c5760405162461bcd60e51b81526004016106d490612852565b6110666000611c7b565b565b6006546001600160a01b031633148061108b5750600c546001600160a01b031633145b806110a05750600d546001600160a01b031633145b6110bc5760405162461bcd60e51b81526004016106d490612993565b662386f26fc10000811161112c5760405162461bcd60e51b815260206004820152603160248201527f5072696365206d7573742062652067726561746572207468616e20302e30312060448201527065746865722c2073657420696e2077656960781b60648201526084016106d4565b600755565b60606001805461080e90612907565b610d05600954106111635760405162461bcd60e51b81526004016106d490612887565b600b54610100900460ff166002146111bd5760405162461bcd60e51b815260206004820152601960248201527f5075626c69632073616c65206973206e6f74206163746976650000000000000060448201526064016106d4565b6000811180156111ce5750600a8111155b61121a5760405162461bcd60e51b815260206004820152601f60248201527f4d757374206d696e74206265747765656e203120616e64203130204e4654730060448201526064016106d4565b336000908152600a60205260409020546032906112389083906128d4565b11156112985760405162461bcd60e51b815260206004820152602960248201527f4d6178696d756d203530204e465473207065722077616c6c657420647572696e604482015268672070726573616c6560b81b60648201526084016106d4565b6112a181611b4c565b50565b6001600160a01b0382163314156112fd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106d4565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6006546001600160a01b031633148061138c5750600c546001600160a01b031633145b806113a15750600d546001600160a01b031633145b6113bd5760405162461bcd60e51b81526004016106d490612993565b6113c682610cd3565b610d3a81611666565b6113d9338361182b565b6113f55760405162461bcd60e51b81526004016106d490612942565b61140184848484611ccd565b50505050565b6000818152600260205260409020546060906001600160a01b03166114865760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106d4565b600b5460ff16611522576010805461149d90612907565b80601f01602080910402602001604051908101604052809291908181526020018280546114c990612907565b80156115165780601f106114eb57610100808354040283529160200191611516565b820191906000526020600020905b8154815290600101906020018083116114f957829003601f168201915b50505050509050919050565b6000600e805461153190612907565b90501161154d57604051806020016040528060008152506106a4565b600e61155883611d00565b600f60405160200161156c93929190612ab8565b60405160208183030381529060405292915050565b6006546001600160a01b03163314806115a45750600c546001600160a01b031633145b806115b95750600d546001600160a01b031633145b6115d55760405162461bcd60e51b81526004016106d490612993565b600b80546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b6006546001600160a01b03163314806116225750600c546001600160a01b031633145b806116375750600d546001600160a01b031633145b6116535760405162461bcd60e51b81526004016106d490612993565b8051610d3a90600f9060208401906123eb565b6006546001600160a01b03163314806116895750600c546001600160a01b031633145b8061169e5750600d546001600160a01b031633145b6116ba5760405162461bcd60e51b81526004016106d490612993565b8051610d3a9060109060208401906123eb565b6006546001600160a01b031633146116f75760405162461bcd60e51b81526004016106d490612852565b6001600160a01b03811661175c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106d4565b6112a181611c7b565b606061177f600954610d0561177a9190612a07565b611d00565b60405160200161178f9190612aeb565b604051602081830303815290604052905090565b610d3a828260405180602001604052806000815250611dfe565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906117f282610f34565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166118a45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106d4565b60006118af83610f34565b9050806001600160a01b0316846001600160a01b031614806118ea5750836001600160a01b03166118df84610891565b6001600160a01b0316145b8061191a57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661193582610f34565b6001600160a01b03161461199d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106d4565b6001600160a01b0382166119ff5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106d4565b611a0a6000826117bd565b6001600160a01b0383166000908152600360205260408120805460019290611a33908490612a07565b90915550506001600160a01b0382166000908152600360205260408120805460019290611a619084906128d4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b604080516bffffffffffffffffffffffff19606085901b16602080830191909152825180830360140181526034830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a3332000000006054840152607080840191909152835180840390910181526090909201909252805191012060009061191a8184611e31565b610d0581600954611b5d91906128d4565b1115611b67611765565b90611b855760405162461bcd60e51b81526004016106d4919061252f565b5080600754611b9491906129be565b341015611ba082611d00565b60018311611bbd5760405180602001604052806000815250611bd8565b604051806040016040528060018152602001607360f81b8152505b604051602001611be9929190612b40565b60405160208183030381529060405290611c165760405162461bcd60e51b81526004016106d4919061252f565b50600980549082906000611c2a83856128d4565b90915550600190505b8281116107fa57336000908152600a60205260408120805491611c55836128ec565b90915550611c699050336107e383856128d4565b80611c73816128ec565b915050611c33565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611cd8848484611922565b611ce484848484611e55565b6114015760405162461bcd60e51b81526004016106d490612ba8565b606081611d245750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d4e5780611d38816128ec565b9150611d479050600a836129f3565b9150611d28565b60008167ffffffffffffffff811115611d6957611d69612602565b6040519080825280601f01601f191660200182016040528015611d93576020820181803683370190505b5090505b841561191a57611da8600183612a07565b9150611db5600a86612bfa565b611dc09060306128d4565b60f81b818381518110611dd557611dd5612c0e565b60200101906001600160f81b031916908160001a905350611df7600a866129f3565b9450611d97565b611e088383611f62565b611e156000848484611e55565b6107fa5760405162461bcd60e51b81526004016106d490612ba8565b6000806000611e4085856120a4565b91509150611e4d81612114565b509392505050565b60006001600160a01b0384163b15611f5757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e99903390899088908890600401612c24565b602060405180830381600087803b158015611eb357600080fd5b505af1925050508015611ee3575060408051601f3d908101601f19168201909252611ee091810190612c61565b60015b611f3d573d808015611f11576040519150601f19603f3d011682016040523d82523d6000602084013e611f16565b606091505b508051611f355760405162461bcd60e51b81526004016106d490612ba8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061191a565b506001949350505050565b6001600160a01b038216611fb85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106d4565b6000818152600260205260409020546001600160a01b03161561201d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106d4565b6001600160a01b03821660009081526003602052604081208054600192906120469084906128d4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000808251604114156120db5760208301516040840151606085015160001a6120cf878285856122cf565b9450945050505061210d565b82516040141561210557602083015160408401516120fa8683836123bc565b93509350505061210d565b506000905060025b9250929050565b600081600481111561212857612128612c7e565b14156121315750565b600181600481111561214557612145612c7e565b14156121935760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016106d4565b60028160048111156121a7576121a7612c7e565b14156121f55760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016106d4565b600381600481111561220957612209612c7e565b14156122625760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016106d4565b600481600481111561227657612276612c7e565b14156112a15760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016106d4565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561230657506000905060036123b3565b8460ff16601b1415801561231e57508460ff16601c14155b1561232f57506000905060046123b3565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612383573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166123ac576000600192509250506123b3565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b016123dd878288856122cf565b935093505050935093915050565b8280546123f790612907565b90600052602060002090601f016020900481019282612419576000855561245f565b82601f1061243257805160ff191683800117855561245f565b8280016001018555821561245f579182015b8281111561245f578251825591602001919060010190612444565b5061246b92915061246f565b5090565b5b8082111561246b5760008155600101612470565b6001600160e01b0319811681146112a157600080fd5b6000602082840312156124ac57600080fd5b81356124b781612484565b9392505050565b6000602082840312156124d057600080fd5b5035919050565b60005b838110156124f25781810151838201526020016124da565b838111156114015750506000910152565b6000815180845261251b8160208601602086016124d7565b601f01601f19169290920160200192915050565b6020815260006124b76020830184612503565b80356001600160a01b038116811461255957600080fd5b919050565b6000806040838503121561257157600080fd5b61257a83612542565b946020939093013593505050565b60008060006060848603121561259d57600080fd5b6125a684612542565b92506125b460208501612542565b9150604084013590509250925092565b6000602082840312156125d657600080fd5b6124b782612542565b6000602082840312156125f157600080fd5b813560ff811681146124b757600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261262957600080fd5b813567ffffffffffffffff8082111561264457612644612602565b604051601f8301601f19908116603f0116810190828211818310171561266c5761266c612602565b8160405283815286602085880101111561268557600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000602082840312156126b757600080fd5b813567ffffffffffffffff8111156126ce57600080fd5b61191a84828501612618565b600080604083850312156126ed57600080fd5b82359150602083013567ffffffffffffffff81111561270b57600080fd5b61271785828601612618565b9150509250929050565b6000806040838503121561273457600080fd5b61273d83612542565b91506020830135801515811461275257600080fd5b809150509250929050565b6000806040838503121561277057600080fd5b823567ffffffffffffffff8082111561278857600080fd5b61279486838701612618565b935060208501359150808211156127aa57600080fd5b5061271785828601612618565b600080600080608085870312156127cd57600080fd5b6127d685612542565b93506127e460208601612542565b925060408501359150606085013567ffffffffffffffff81111561280757600080fd5b61281387828801612618565b91505092959194509250565b6000806040838503121561283257600080fd5b61283b83612542565b915061284960208401612542565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526019908201527f416c6c204e4654732068617665206265656e206d696e74656400000000000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156128e7576128e76128be565b500190565b6000600019821415612900576129006128be565b5060010190565b600181811c9082168061291b57607f821691505b6020821081141561293c57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601190820152702737ba1030903a32b0b69036b2b6b132b960791b604082015260600190565b60008160001904831182151516156129d8576129d86128be565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612a0257612a026129dd565b500490565b600082821015612a1957612a196128be565b500390565b8054600090600181811c9080831680612a3857607f831692505b6020808410821415612a5a57634e487b7160e01b600052602260045260246000fd5b818015612a6e5760018114612a7f57612aac565b60ff19861689528489019650612aac565b60008881526020902060005b86811015612aa45781548b820152908501908301612a8b565b505084890196505b50505050505092915050565b6000612ac48286612a1e565b8451612ad48183602089016124d7565b612ae081830186612a1e565b979650505050505050565b6e02a3432b9329030b9329037b7363c9608d1b815260008251612b1581600f8501602087016124d7565b73204e465473206c65667420696e20737570706c7960601b600f939091019283015250602301919050565b7f496e636f727265637420657468657220616d6f756e7420666f72200000000000815260008351612b7881601b8501602088016124d7565b630813919560e21b601b918401918201528351612b9c81601f8401602088016124d7565b01601f01949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082612c0957612c096129dd565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c5790830184612503565b9695505050505050565b600060208284031215612c7357600080fd5b81516124b781612484565b634e487b7160e01b600052602160045260246000fdfea26469706673582212200780c8c4c8fc1363378f51b6f713577ecc6d112cc54cfdf6aa4389e5c04bddfe64736f6c63430008090033

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

000000000000000000000000159a0a058b5c1ba82d3b6471c73f21936d88a3f0000000000000000000000000b63c9fcd6b84bd25a1e78230bbc5a5ad89056573

-----Decoded View---------------
Arg [0] : pm (address): 0x159A0A058b5c1ba82D3b6471C73f21936D88a3f0
Arg [1] : dev (address): 0xB63c9FCd6b84bD25a1E78230bBc5A5ad89056573

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000159a0a058b5c1ba82d3b6471c73f21936d88a3f0
Arg [1] : 000000000000000000000000b63c9fcd6b84bd25a1e78230bbc5a5ad89056573


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.