ETH Price: $1,973.49 (+3.47%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...242894642026-01-22 9:34:5938 days ago1769074499IN
C Buddha: CB Token
0 ETH0.000094662.05070209
Set Approval For...233384852025-09-11 7:59:47171 days ago1757577587IN
C Buddha: CB Token
0 ETH0.000030390.65714005
Set Approval For...212766162024-11-27 4:11:23459 days ago1732680683IN
C Buddha: CB Token
0 ETH0.00033137.1638414
Set Approval For...212766142024-11-27 4:10:59459 days ago1732680659IN
C Buddha: CB Token
0 ETH0.000317586.87957281
Set Approval For...206330312024-08-29 8:25:11549 days ago1724919911IN
C Buddha: CB Token
0 ETH0.000076661.6580846
Set Approval For...182894482023-10-06 5:42:47877 days ago1696570967IN
C Buddha: CB Token
0 ETH0.000304636.59916278
Set Approval For...179604102023-08-21 3:25:35923 days ago1692588335IN
C Buddha: CB Token
0 ETH0.0006407513.87299211
Set Approval For...166681742023-02-20 7:07:591105 days ago1676876879IN
C Buddha: CB Token
0 ETH0.0009824121.2813655
Set Approval For...166681742023-02-20 7:07:591105 days ago1676876879IN
C Buddha: CB Token
0 ETH0.0009829221.2813655
Set Approval For...166614022023-02-19 8:18:351106 days ago1676794715IN
C Buddha: CB Token
0 ETH0.0009760721.13303437
Set Approval For...166401712023-02-16 8:43:111109 days ago1676536991IN
C Buddha: CB Token
0 ETH0.0013582829.37015442
Set Approval For...166401702023-02-16 8:42:591109 days ago1676536979IN
C Buddha: CB Token
0 ETH0.0013603729.41540776
Set Approval For...165778662023-02-07 15:42:351118 days ago1675784555IN
C Buddha: CB Token
0 ETH0.0008904136.7166606
Set Approval For...161266292022-12-06 15:24:231181 days ago1670340263IN
C Buddha: CB Token
0 ETH0.0008874419.18928809
Set Approval For...159103362022-11-06 10:19:471211 days ago1667729987IN
C Buddha: CB Token
0 ETH0.00044099.55100701
Set Approval For...158224802022-10-25 3:42:351223 days ago1666669355IN
C Buddha: CB Token
0 ETH0.0006604214.28035307
Set Approval For...157973132022-10-21 15:16:111227 days ago1666365371IN
C Buddha: CB Token
0 ETH0.0015322833.17577747
Set Approval For...157888192022-10-20 10:49:231228 days ago1666262963IN
C Buddha: CB Token
0 ETH0.000992321.48443902
Set Approval For...157867082022-10-20 3:45:471228 days ago1666237547IN
C Buddha: CB Token
0 ETH0.0008580118.57698738
Set Approval For...156017762022-09-24 7:38:351254 days ago1664005115IN
C Buddha: CB Token
0 ETH0.000268925.81500047
Set Approval For...154357782022-08-29 18:53:271279 days ago1661799207IN
C Buddha: CB Token
0 ETH0.0005568712.06320359
Set Approval For...154138382022-08-26 6:37:311283 days ago1661495851IN
C Buddha: CB Token
0 ETH0.000311386.74541396
Set Approval For...154138362022-08-26 6:36:111283 days ago1661495771IN
C Buddha: CB Token
0 ETH0.000272225.8862315
Set Approval For...153859672022-08-21 19:59:431287 days ago1661111983IN
C Buddha: CB Token
0 ETH0.000118644.5176622
Set Approval For...153859662022-08-21 19:59:331287 days ago1661111973IN
C Buddha: CB Token
0 ETH0.000193084.18259313
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer150281742022-06-26 8:50:581344 days ago1656233458
C Buddha: CB Token
2.32 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CBuddha

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
// SPDX-License-Identifier: MIT

pragma solidity 0.8.9;

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

contract CBuddha is Ownable, ERC721Enumerable {
    using ECDSA for bytes32;

    uint public immutable MAX_TOTAL_SUPPLY;     // 9490
    uint public immutable MAX_COMMUNITY_TOKEN_ID; // 9990
    uint public immutable PRE_MINT_END_TIME;
    uint public immutable MINT_END_TIME;
    uint  _priceToMint;
    uint _idCounter = 1;
    uint _communityIdCounter;
    address _verifyAddress;

    string _baseUri;
    string  _contractUri;

    mapping(uint => uint) _destinies;
    // record for public offering
    mapping(address => uint) _mintRecord;
    // record for pre mint
    mapping(address => bool) _preMintRecord;

    event Destiny(address indexed owner, uint tokenId, uint destiny);
    event PriceToMintChanged(uint newPriceToMint, uint prePriceToMint);
    event VerifyAddressChanged(address newVerifyAddress, address preVerifyAddress);

    constructor(
        uint priceToMint,
        uint maxTotalSupply,
        uint communityTotalSupply,
        uint preMintEndTime,
        uint mintEndTime,
        address verifyAddress
    )ERC721("C Buddha", "CB"){
        require(priceToMint > 0, "zero price");
        _priceToMint = priceToMint;
        require(maxTotalSupply > 0, "zero total supply");
        MAX_TOTAL_SUPPLY = maxTotalSupply;
    unchecked{
        _communityIdCounter = maxTotalSupply + 1;
    }
        require(communityTotalSupply > 0, "zero community total supply");
        MAX_COMMUNITY_TOKEN_ID = maxTotalSupply + communityTotalSupply;
        _verifyAddress = verifyAddress;
        require(preMintEndTime > block.timestamp, "invalid pre mint end time");
        require(mintEndTime > preMintEndTime, "invalid mint end time");
        PRE_MINT_END_TIME = preMintEndTime;
        MINT_END_TIME = mintEndTime;
    }

    function preMint(bytes calldata signature) external {
        require(block.timestamp < PRE_MINT_END_TIME, "pre mint ends");
        address minter = msg.sender;
        require(!_preMintRecord[minter], "already pre minted");
        _preMintRecord[minter] = true;
        // verify signature
        require(
            _verifyAddress == keccak256(abi.encodePacked(minter)).toEthSignedMessageHash().recover(signature),
            "invalid signature");

        // pre mint for one
        uint currentTokenId = _idCounter;
    unchecked{
        ++_idCounter;
    }
        require(currentTokenId <= MAX_TOTAL_SUPPLY, "exceed max total supply");
        _mintWithDestiny(minter, currentTokenId);
    }

    function mintByCommunity(address[] calldata receivers) external onlyOwner {
        uint len = receivers.length;
        require(len > 0, "zero len");

        uint currentCommunityTokenId = _communityIdCounter;
        for (uint i = 0; i < len; ++i) {
            _mintWithDestiny(receivers[i], currentCommunityTokenId);
        unchecked{
            ++currentCommunityTokenId;
        }
        }
        require(currentCommunityTokenId - 1 <= MAX_COMMUNITY_TOKEN_ID, "exceed max community token id");
        _communityIdCounter = currentCommunityTokenId;
    }

    function mint(uint amount) external payable {
        uint currentTimestamp = block.timestamp;
        require(currentTimestamp >= PRE_MINT_END_TIME, "mint not start");
        require(currentTimestamp < MINT_END_TIME, "mint ends");

        // check mint record
        address minter = msg.sender;
        uint mintRecord = _mintRecord[minter] + amount;
        require(mintRecord <= 10, "exceed max limit to mint");
        if (amount != 10) {
            _mintRecord[minter] = mintRecord;
        } else {
            // buy 10 and mint 11
            _mintRecord[minter] = 11;
        }

        // mint
        uint currentTokenId = _idCounter;
        uint endTokenId = currentTokenId + amount;
        if (amount != 10) {
            // buy 10 and mint 11
        unchecked{
            --endTokenId;
        }
        }
        require(endTokenId <= MAX_TOTAL_SUPPLY, "exceed max total supply");
        for (; currentTokenId <= endTokenId; ++currentTokenId) {
            _mintWithDestiny(minter, currentTokenId);
        }
        _idCounter = currentTokenId;

        uint refund = msg.value - _priceToMint * amount;
        if (refund > 0) {
            payable(minter).transfer(refund);
        }
    }

    function setBaseURI(string memory baseURI) external onlyOwner {
        _baseUri = baseURI;
    }

    function withdraw() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }

    function setPriceToMint(uint newPriceToMint) external onlyOwner {
        uint prePriceToMint = _priceToMint;
        _priceToMint = newPriceToMint;
        emit PriceToMintChanged(newPriceToMint, prePriceToMint);
    }

    function setVerifyAddress(address newVerifyAddress) external onlyOwner {
        address preVerifyAddress = _verifyAddress;
        _verifyAddress = newVerifyAddress;
        emit VerifyAddressChanged(newVerifyAddress, preVerifyAddress);
    }

    function setContractURI(string memory newContractUri) external onlyOwner {
        _contractUri = newContractUri;
    }

    function contractURI() public view returns (string memory) {
        return _contractUri;
    }

    function getMintRecord(address account) public view returns (uint){
        return _mintRecord[account];
    }

    function getPriceToMint() public view returns (uint){
        return _priceToMint;
    }

    function getDestiny(uint tokenId) public view returns (uint){
        require(_exists(tokenId), "nonexistent token");
        return _destinies[tokenId];
    }

    function getVerifyAddress() public view returns (address){
        return _verifyAddress;
    }

    function getPreMintRecord(address account) public view returns (bool){
        return _preMintRecord[account];
    }

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

    function _mintWithDestiny(address minter, uint tokenId) private {
        uint destiny = _reincarnate(minter, tokenId);
        _destinies[tokenId] = destiny;
        _mint(minter, tokenId);
        emit Destiny(minter, tokenId, destiny);
    }

    function _reincarnate(address owner, uint tokenId) private view returns (uint){
        return uint(keccak256(
                abi.encodePacked(
                    owner,
                    block.timestamp,
                    blockhash(block.number - tokenId % 256)
                )
            )
        );
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @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 = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 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 Message, created from `s`. 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(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @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));
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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;

    /**
     * @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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);
}

File 8 of 19 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens 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 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

// SPDX-License-Identifier: MIT

pragma solidity 0.8.9;

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

contract TestERC20 is Ownable, ERC20 {
    struct A {
        string name;
        uint age;
        bytes32 hash;
        bytes message;
    }

    uint[] numbers;
    bytes[] bytesArray;
    A a;
    address addr;
    uint number;

    // test for verification of contract
    constructor(
        string memory name,
        string memory symbol,
        address addr_,
        uint number_,
        uint[] memory numbers_,
        bytes[] memory bz,
        A[] memory aArray_
    )ERC20(name, symbol){
        a = aArray_[1];
        addr = addr_;
        number = number_;
        numbers = numbers_;
        bytesArray = bz;
    }

    function mint(uint amount) external onlyOwner {
        _mint(msg.sender, amount);
    }
}

// SPDX-License-Identifier: MIT

pragma solidity 0.8.9;

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

contract TestERC20_SIMPLE is Ownable, ERC20 {
    // test for verification of contract
    constructor(
        string memory name,
        string memory symbol
    )ERC20(name, symbol){}

    function mint(uint amount) external onlyOwner {
        _mint(msg.sender, amount);
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"uint256","name":"priceToMint","type":"uint256"},{"internalType":"uint256","name":"maxTotalSupply","type":"uint256"},{"internalType":"uint256","name":"communityTotalSupply","type":"uint256"},{"internalType":"uint256","name":"preMintEndTime","type":"uint256"},{"internalType":"uint256","name":"mintEndTime","type":"uint256"},{"internalType":"address","name":"verifyAddress","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":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"destiny","type":"uint256"}],"name":"Destiny","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":false,"internalType":"uint256","name":"newPriceToMint","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"prePriceToMint","type":"uint256"}],"name":"PriceToMintChanged","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newVerifyAddress","type":"address"},{"indexed":false,"internalType":"address","name":"preVerifyAddress","type":"address"}],"name":"VerifyAddressChanged","type":"event"},{"inputs":[],"name":"MAX_COMMUNITY_TOKEN_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_END_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRE_MINT_END_TIME","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":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getDestiny","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getMintRecord","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getPreMintRecord","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPriceToMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getVerifyAddress","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":"address[]","name":"receivers","type":"address[]"}],"name":"mintByCommunity","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":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"preMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractUri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPriceToMint","type":"uint256"}],"name":"setPriceToMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newVerifyAddress","type":"address"}],"name":"setVerifyAddress","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101006040526001600c553480156200001757600080fd5b5060405162003158380380620031588339810160408190526200003a916200037e565b60405180604001604052806008815260200167432042756464686160c01b8152506040518060400160405280600281526020016121a160f11b815250620000906200008a6200028460201b60201c565b62000288565b8151620000a5906001906020850190620002d8565b508051620000bb906002906020840190620002d8565b50505060008611620001015760405162461bcd60e51b815260206004820152600a6024820152697a65726f20707269636560b01b60448201526064015b60405180910390fd5b600b86905584620001495760405162461bcd60e51b81526020600482015260116024820152707a65726f20746f74616c20737570706c7960781b6044820152606401620000f8565b608085905260018501600d5583620001a45760405162461bcd60e51b815260206004820152601b60248201527f7a65726f20636f6d6d756e69747920746f74616c20737570706c7900000000006044820152606401620000f8565b620001b08486620003e4565b60a052600e80546001600160a01b0319166001600160a01b0383161790554283116200021f5760405162461bcd60e51b815260206004820152601960248201527f696e76616c696420707265206d696e7420656e642074696d65000000000000006044820152606401620000f8565b828211620002705760405162461bcd60e51b815260206004820152601560248201527f696e76616c6964206d696e7420656e642074696d6500000000000000000000006044820152606401620000f8565b5060c09190915260e0525062000448915050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620002e6906200040b565b90600052602060002090601f0160209004810192826200030a576000855562000355565b82601f106200032557805160ff191683800117855562000355565b8280016001018555821562000355579182015b828111156200035557825182559160200191906001019062000338565b506200036392915062000367565b5090565b5b8082111562000363576000815560010162000368565b60008060008060008060c087890312156200039857600080fd5b86516020880151604089015160608a015160808b015160a08c0151949a50929850909650945092506001600160a01b0381168114620003d657600080fd5b809150509295509295509295565b600082198211156200040657634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200042057607f821691505b602082108114156200044257634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e051612cac620004ac600039600081816102b6015261124e01526000818161050b01528181610dee01526111ed0152600081816103ed015261116a0152600081816103b901528181610fec015261137a0152612cac6000f3fe60806040526004361061021a5760003560e01c8063715018a6116101235780639e1e7952116100ab578063be90cb3e1161006f578063be90cb3e1461067f578063c87b56dd146106b5578063e8a3d485146106d5578063e985e9c5146106ea578063f2fde38b1461073357600080fd5b80639e1e7952146105f7578063a0712d681461060c578063a22cb4651461061f578063b6e66b161461063f578063b88d4fde1461065f57600080fd5b80638ddc8ab9116100f25780638ddc8ab91461054b578063938e3d7b1461058457806393b50f40146105a457806395d89b41146105c2578063992fd7ad146105d757600080fd5b8063715018a6146104c4578063801b2eba146104d9578063881f32ed146104f95780638da5cb5b1461052d57600080fd5b80632f745c59116101a657806342842e0e1161017557806342842e0e146104245780634f6ccce71461044457806355f804b3146104645780636352211e1461048457806370a08231146104a457600080fd5b80632f745c591461038757806333039d3d146103a7578063364d4285146103db5780633ccfd60b1461040f57600080fd5b8063081812fc116101ed578063081812fc146102d8578063095ea7b31461031057806318160ddd1461033257806323b872dd1461034757806329e0a2ac1461036757600080fd5b806301ffc9a71461021f57806305c92b751461025457806306fdde031461028257806307bd6322146102a4575b600080fd5b34801561022b57600080fd5b5061023f61023a366004612608565b610753565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b5061027461026f366004612625565b61077e565b60405190815260200161024b565b34801561028e57600080fd5b506102976107ee565b60405161024b9190612696565b3480156102b057600080fd5b506102747f000000000000000000000000000000000000000000000000000000000000000081565b3480156102e457600080fd5b506102f86102f3366004612625565b610880565b6040516001600160a01b03909116815260200161024b565b34801561031c57600080fd5b5061033061032b3660046126c5565b610915565b005b34801561033e57600080fd5b50600954610274565b34801561035357600080fd5b506103306103623660046126ef565b610a2b565b34801561037357600080fd5b50610330610382366004612625565b610a5c565b34801561039357600080fd5b506102746103a23660046126c5565b610acc565b3480156103b357600080fd5b506102747f000000000000000000000000000000000000000000000000000000000000000081565b3480156103e757600080fd5b506102747f000000000000000000000000000000000000000000000000000000000000000081565b34801561041b57600080fd5b50610330610b62565b34801561043057600080fd5b5061033061043f3660046126ef565b610bc9565b34801561045057600080fd5b5061027461045f366004612625565b610be4565b34801561047057600080fd5b5061033061047f3660046127b7565b610c77565b34801561049057600080fd5b506102f861049f366004612625565b610cb8565b3480156104b057600080fd5b506102746104bf366004612800565b610d2f565b3480156104d057600080fd5b50610330610db6565b3480156104e557600080fd5b506103306104f436600461281b565b610dec565b34801561050557600080fd5b506102747f000000000000000000000000000000000000000000000000000000000000000081565b34801561053957600080fd5b506000546001600160a01b03166102f8565b34801561055757600080fd5b5061023f610566366004612800565b6001600160a01b031660009081526013602052604090205460ff1690565b34801561059057600080fd5b5061033061059f3660046127b7565b611064565b3480156105b057600080fd5b50600e546001600160a01b03166102f8565b3480156105ce57600080fd5b506102976110a1565b3480156105e357600080fd5b506103306105f236600461288d565b6110b0565b34801561060357600080fd5b50600b54610274565b61033061061a366004612625565b6111ea565b34801561062b57600080fd5b5061033061063a3660046128f0565b61146c565b34801561064b57600080fd5b5061033061065a366004612800565b611477565b34801561066b57600080fd5b5061033061067a36600461292c565b6114f9565b34801561068b57600080fd5b5061027461069a366004612800565b6001600160a01b031660009081526012602052604090205490565b3480156106c157600080fd5b506102976106d0366004612625565b61152b565b3480156106e157600080fd5b50610297611606565b3480156106f657600080fd5b5061023f6107053660046129a8565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561073f57600080fd5b5061033061074e366004612800565b611615565b60006001600160e01b0319821663780e9d6360e01b14806107785750610778826116ad565b92915050565b6000818152600360205260408120546001600160a01b03166107db5760405162461bcd60e51b81526020600482015260116024820152703737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064015b60405180910390fd5b5060009081526011602052604090205490565b6060600180546107fd906129db565b80601f0160208091040260200160405190810160405280929190818152602001828054610829906129db565b80156108765780601f1061084b57610100808354040283529160200191610876565b820191906000526020600020905b81548152906001019060200180831161085957829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b03166108f95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107d2565b506000908152600560205260409020546001600160a01b031690565b600061092082610cb8565b9050806001600160a01b0316836001600160a01b0316141561098e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107d2565b336001600160a01b03821614806109aa57506109aa8133610705565b610a1c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107d2565b610a2683836116fd565b505050565b610a35338261176b565b610a515760405162461bcd60e51b81526004016107d290612a16565b610a26838383611862565b6000546001600160a01b03163314610a865760405162461bcd60e51b81526004016107d290612a67565b600b80549082905560408051838152602081018390527f0543a67787ad4f7dfe6d08f63c09cc793f349a0eba46df043574f3ed57eaa7da91015b60405180910390a15050565b6000610ad783610d2f565b8210610b395760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107d2565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6000546001600160a01b03163314610b8c5760405162461bcd60e51b81526004016107d290612a67565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015610bc6573d6000803e3d6000fd5b50565b610a26838383604051806020016040528060008152506114f9565b6000610bef60095490565b8210610c525760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107d2565b60098281548110610c6557610c65612a9c565b90600052602060002001549050919050565b6000546001600160a01b03163314610ca15760405162461bcd60e51b81526004016107d290612a67565b8051610cb490600f906020840190612559565b5050565b6000818152600360205260408120546001600160a01b0316806107785760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107d2565b60006001600160a01b038216610d9a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107d2565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314610de05760405162461bcd60e51b81526004016107d290612a67565b610dea6000611a09565b565b7f00000000000000000000000000000000000000000000000000000000000000004210610e4b5760405162461bcd60e51b815260206004820152600d60248201526c707265206d696e7420656e647360981b60448201526064016107d2565b3360008181526013602052604090205460ff1615610ea05760405162461bcd60e51b8152602060048201526012602482015271185b1c9958591e481c1c99481b5a5b9d195960721b60448201526064016107d2565b6001600160a01b038116600090815260136020908152604091829020805460ff191660011790558151601f8501829004820281018201909252838252610f8e91908590859081908401838280828437600092019190915250506040516bffffffffffffffffffffffff19606087901b166020820152610f8892506034019050604051602081830303815290604052805190602001206040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b90611a59565b600e546001600160a01b03908116911614610fdf5760405162461bcd60e51b8152602060048201526011602482015270696e76616c6964207369676e617475726560781b60448201526064016107d2565b600c8054600181019091557f00000000000000000000000000000000000000000000000000000000000000008111156110545760405162461bcd60e51b8152602060048201526017602482015276657863656564206d617820746f74616c20737570706c7960481b60448201526064016107d2565b61105e8282611a7d565b50505050565b6000546001600160a01b0316331461108e5760405162461bcd60e51b81526004016107d290612a67565b8051610cb4906010906020840190612559565b6060600280546107fd906129db565b6000546001600160a01b031633146110da5760405162461bcd60e51b81526004016107d290612a67565b80806111135760405162461bcd60e51b81526020600482015260086024820152673d32b937903632b760c11b60448201526064016107d2565b600d5460005b828110156111675761115185858381811061113657611136612a9c565b905060200201602081019061114b9190612800565b83611a7d565b60019091019061116081612ac8565b9050611119565b507f0000000000000000000000000000000000000000000000000000000000000000611194600183612ae3565b11156111e25760405162461bcd60e51b815260206004820152601d60248201527f657863656564206d617820636f6d6d756e69747920746f6b656e20696400000060448201526064016107d2565b600d55505050565b427f000000000000000000000000000000000000000000000000000000000000000081101561124c5760405162461bcd60e51b815260206004820152600e60248201526d1b5a5b9d081b9bdd081cdd185c9d60921b60448201526064016107d2565b7f000000000000000000000000000000000000000000000000000000000000000081106112a75760405162461bcd60e51b81526020600482015260096024820152686d696e7420656e647360b81b60448201526064016107d2565b336000818152601260205260408120546112c2908590612afa565b9050600a8111156113155760405162461bcd60e51b815260206004820152601860248201527f657863656564206d6178206c696d697420746f206d696e74000000000000000060448201526064016107d2565b83600a1461133d576001600160a01b038216600090815260126020526040902081905561135a565b6001600160a01b0382166000908152601260205260409020600b90555b600c5460006113698683612afa565b905085600a1461137857600019015b7f00000000000000000000000000000000000000000000000000000000000000008111156113e25760405162461bcd60e51b8152602060048201526017602482015276657863656564206d617820746f74616c20737570706c7960481b60448201526064016107d2565b808211611403576113f38483611a7d565b6113fc82612ac8565b91506113e2565b600c829055600b54600090611419908890612b12565b6114239034612ae3565b90508015611463576040516001600160a01b0386169082156108fc029083906000818181858888f19350505050158015611461573d6000803e3d6000fd5b505b50505050505050565b610cb4338383611aef565b6000546001600160a01b031633146114a15760405162461bcd60e51b81526004016107d290612a67565b600e80546001600160a01b038381166001600160a01b03198316811790935560408051938452911660208301819052917f51bdba917774b64a0f33b8c36f4d035afb056f6adbb96bd3cb0d21cc4403e0629101610ac0565b611503338361176b565b61151f5760405162461bcd60e51b81526004016107d290612a16565b61105e84848484611bbe565b6000818152600360205260409020546060906001600160a01b03166115aa5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107d2565b60006115b4611bf1565b905060008151116115d457604051806020016040528060008152506115ff565b806115de84611c00565b6040516020016115ef929190612b31565b6040516020818303038152906040525b9392505050565b6060601080546107fd906129db565b6000546001600160a01b0316331461163f5760405162461bcd60e51b81526004016107d290612a67565b6001600160a01b0381166116a45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107d2565b610bc681611a09565b60006001600160e01b031982166380ac58cd60e01b14806116de57506001600160e01b03198216635b5e139f60e01b145b8061077857506301ffc9a760e01b6001600160e01b0319831614610778565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061173282610cb8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b03166117e45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107d2565b60006117ef83610cb8565b9050806001600160a01b0316846001600160a01b0316148061183657506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b8061185a5750836001600160a01b031661184f84610880565b6001600160a01b0316145b949350505050565b826001600160a01b031661187582610cb8565b6001600160a01b0316146118d95760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016107d2565b6001600160a01b03821661193b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107d2565b611946838383611cfe565b6119516000826116fd565b6001600160a01b038316600090815260046020526040812080546001929061197a908490612ae3565b90915550506001600160a01b03821660009081526004602052604081208054600192906119a8908490612afa565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806000611a688585611db6565b91509150611a7581611e26565b509392505050565b6000611a898383611fe1565b60008381526011602052604090208190559050611aa68383612048565b60408051838152602081018390526001600160a01b038516917fcb83f7676dc7c5828762fe5a077bb11fcdf66e07dee2edfd0293deead956383b910160405180910390a2505050565b816001600160a01b0316836001600160a01b03161415611b515760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107d2565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611bc9848484611862565b611bd584848484612196565b61105e5760405162461bcd60e51b81526004016107d290612b60565b6060600f80546107fd906129db565b606081611c245750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611c4e5780611c3881612ac8565b9150611c479050600a83612bc8565b9150611c28565b60008167ffffffffffffffff811115611c6957611c6961272b565b6040519080825280601f01601f191660200182016040528015611c93576020820181803683370190505b5090505b841561185a57611ca8600183612ae3565b9150611cb5600a86612bdc565b611cc0906030612afa565b60f81b818381518110611cd557611cd5612a9c565b60200101906001600160f81b031916908160001a905350611cf7600a86612bc8565b9450611c97565b6001600160a01b038316611d5957611d5481600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b611d7c565b816001600160a01b0316836001600160a01b031614611d7c57611d7c83826122a3565b6001600160a01b038216611d9357610a2681612340565b826001600160a01b0316826001600160a01b031614610a2657610a2682826123ef565b600080825160411415611ded5760208301516040840151606085015160001a611de187828585612433565b94509450505050611e1f565b825160401415611e175760208301516040840151611e0c868383612520565b935093505050611e1f565b506000905060025b9250929050565b6000816004811115611e3a57611e3a612bf0565b1415611e435750565b6001816004811115611e5757611e57612bf0565b1415611ea55760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016107d2565b6002816004811115611eb957611eb9612bf0565b1415611f075760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107d2565b6003816004811115611f1b57611f1b612bf0565b1415611f745760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107d2565b6004816004811115611f8857611f88612bf0565b1415610bc65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016107d2565b60008242611ff161010085612bdc565b611ffb9043612ae3565b60405160609390931b6bffffffffffffffffffffffff19166020840152603483019190915240605482015260740160408051601f1981840301815291905280516020909101209392505050565b6001600160a01b03821661209e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107d2565b6000818152600360205260409020546001600160a01b0316156121035760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107d2565b61210f60008383611cfe565b6001600160a01b0382166000908152600460205260408120805460019290612138908490612afa565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b1561229857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906121da903390899088908890600401612c06565b602060405180830381600087803b1580156121f457600080fd5b505af1925050508015612224575060408051601f3d908101601f1916820190925261222191810190612c43565b60015b61227e573d808015612252576040519150601f19603f3d011682016040523d82523d6000602084013e612257565b606091505b5080516122765760405162461bcd60e51b81526004016107d290612b60565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061185a565b506001949350505050565b600060016122b084610d2f565b6122ba9190612ae3565b60008381526008602052604090205490915080821461230d576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061235290600190612ae3565b6000838152600a60205260408120546009805493945090928490811061237a5761237a612a9c565b90600052602060002001549050806009838154811061239b5761239b612a9c565b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806123d3576123d3612c60565b6001900381819060005260206000200160009055905550505050565b60006123fa83610d2f565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561246a5750600090506003612517565b8460ff16601b1415801561248257508460ff16601c14155b156124935750600090506004612517565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156124e7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661251057600060019250925050612517565b9150600090505b94509492505050565b6000806001600160ff1b0383168161253d60ff86901c601b612afa565b905061254b87828885612433565b935093505050935093915050565b828054612565906129db565b90600052602060002090601f01602090048101928261258757600085556125cd565b82601f106125a057805160ff19168380011785556125cd565b828001600101855582156125cd579182015b828111156125cd5782518255916020019190600101906125b2565b506125d99291506125dd565b5090565b5b808211156125d957600081556001016125de565b6001600160e01b031981168114610bc657600080fd5b60006020828403121561261a57600080fd5b81356115ff816125f2565b60006020828403121561263757600080fd5b5035919050565b60005b83811015612659578181015183820152602001612641565b8381111561105e5750506000910152565b6000815180845261268281602086016020860161263e565b601f01601f19169290920160200192915050565b6020815260006115ff602083018461266a565b80356001600160a01b03811681146126c057600080fd5b919050565b600080604083850312156126d857600080fd5b6126e1836126a9565b946020939093013593505050565b60008060006060848603121561270457600080fd5b61270d846126a9565b925061271b602085016126a9565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561275c5761275c61272b565b604051601f8501601f19908116603f011681019082821181831017156127845761278461272b565b8160405280935085815286868601111561279d57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156127c957600080fd5b813567ffffffffffffffff8111156127e057600080fd5b8201601f810184136127f157600080fd5b61185a84823560208401612741565b60006020828403121561281257600080fd5b6115ff826126a9565b6000806020838503121561282e57600080fd5b823567ffffffffffffffff8082111561284657600080fd5b818501915085601f83011261285a57600080fd5b81358181111561286957600080fd5b86602082850101111561287b57600080fd5b60209290920196919550909350505050565b600080602083850312156128a057600080fd5b823567ffffffffffffffff808211156128b857600080fd5b818501915085601f8301126128cc57600080fd5b8135818111156128db57600080fd5b8660208260051b850101111561287b57600080fd5b6000806040838503121561290357600080fd5b61290c836126a9565b91506020830135801515811461292157600080fd5b809150509250929050565b6000806000806080858703121561294257600080fd5b61294b856126a9565b9350612959602086016126a9565b925060408501359150606085013567ffffffffffffffff81111561297c57600080fd5b8501601f8101871361298d57600080fd5b61299c87823560208401612741565b91505092959194509250565b600080604083850312156129bb57600080fd5b6129c4836126a9565b91506129d2602084016126a9565b90509250929050565b600181811c908216806129ef57607f821691505b60208210811415612a1057634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415612adc57612adc612ab2565b5060010190565b600082821015612af557612af5612ab2565b500390565b60008219821115612b0d57612b0d612ab2565b500190565b6000816000190483118215151615612b2c57612b2c612ab2565b500290565b60008351612b4381846020880161263e565b835190830190612b5781836020880161263e565b01949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082612bd757612bd7612bb2565b500490565b600082612beb57612beb612bb2565b500690565b634e487b7160e01b600052602160045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c399083018461266a565b9695505050505050565b600060208284031215612c5557600080fd5b81516115ff816125f2565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220f6bad2b3fca0201a44f67661817bcbc9a55fc7b4599aab19031963e4766dd96464736f6c6343000809003300000000000000000000000000000000000000000000000000470de4df820000000000000000000000000000000000000000000000000000000000000000251200000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000062a8b07f0000000000000000000000000000000000000000000000000000000062b5df7f00000000000000000000000045ab1dfe2bc231f985fbe87fbd7f67baf3dabf85

Deployed Bytecode

0x60806040526004361061021a5760003560e01c8063715018a6116101235780639e1e7952116100ab578063be90cb3e1161006f578063be90cb3e1461067f578063c87b56dd146106b5578063e8a3d485146106d5578063e985e9c5146106ea578063f2fde38b1461073357600080fd5b80639e1e7952146105f7578063a0712d681461060c578063a22cb4651461061f578063b6e66b161461063f578063b88d4fde1461065f57600080fd5b80638ddc8ab9116100f25780638ddc8ab91461054b578063938e3d7b1461058457806393b50f40146105a457806395d89b41146105c2578063992fd7ad146105d757600080fd5b8063715018a6146104c4578063801b2eba146104d9578063881f32ed146104f95780638da5cb5b1461052d57600080fd5b80632f745c59116101a657806342842e0e1161017557806342842e0e146104245780634f6ccce71461044457806355f804b3146104645780636352211e1461048457806370a08231146104a457600080fd5b80632f745c591461038757806333039d3d146103a7578063364d4285146103db5780633ccfd60b1461040f57600080fd5b8063081812fc116101ed578063081812fc146102d8578063095ea7b31461031057806318160ddd1461033257806323b872dd1461034757806329e0a2ac1461036757600080fd5b806301ffc9a71461021f57806305c92b751461025457806306fdde031461028257806307bd6322146102a4575b600080fd5b34801561022b57600080fd5b5061023f61023a366004612608565b610753565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b5061027461026f366004612625565b61077e565b60405190815260200161024b565b34801561028e57600080fd5b506102976107ee565b60405161024b9190612696565b3480156102b057600080fd5b506102747f0000000000000000000000000000000000000000000000000000000062b5df7f81565b3480156102e457600080fd5b506102f86102f3366004612625565b610880565b6040516001600160a01b03909116815260200161024b565b34801561031c57600080fd5b5061033061032b3660046126c5565b610915565b005b34801561033e57600080fd5b50600954610274565b34801561035357600080fd5b506103306103623660046126ef565b610a2b565b34801561037357600080fd5b50610330610382366004612625565b610a5c565b34801561039357600080fd5b506102746103a23660046126c5565b610acc565b3480156103b357600080fd5b506102747f000000000000000000000000000000000000000000000000000000000000251281565b3480156103e757600080fd5b506102747f000000000000000000000000000000000000000000000000000000000000270681565b34801561041b57600080fd5b50610330610b62565b34801561043057600080fd5b5061033061043f3660046126ef565b610bc9565b34801561045057600080fd5b5061027461045f366004612625565b610be4565b34801561047057600080fd5b5061033061047f3660046127b7565b610c77565b34801561049057600080fd5b506102f861049f366004612625565b610cb8565b3480156104b057600080fd5b506102746104bf366004612800565b610d2f565b3480156104d057600080fd5b50610330610db6565b3480156104e557600080fd5b506103306104f436600461281b565b610dec565b34801561050557600080fd5b506102747f0000000000000000000000000000000000000000000000000000000062a8b07f81565b34801561053957600080fd5b506000546001600160a01b03166102f8565b34801561055757600080fd5b5061023f610566366004612800565b6001600160a01b031660009081526013602052604090205460ff1690565b34801561059057600080fd5b5061033061059f3660046127b7565b611064565b3480156105b057600080fd5b50600e546001600160a01b03166102f8565b3480156105ce57600080fd5b506102976110a1565b3480156105e357600080fd5b506103306105f236600461288d565b6110b0565b34801561060357600080fd5b50600b54610274565b61033061061a366004612625565b6111ea565b34801561062b57600080fd5b5061033061063a3660046128f0565b61146c565b34801561064b57600080fd5b5061033061065a366004612800565b611477565b34801561066b57600080fd5b5061033061067a36600461292c565b6114f9565b34801561068b57600080fd5b5061027461069a366004612800565b6001600160a01b031660009081526012602052604090205490565b3480156106c157600080fd5b506102976106d0366004612625565b61152b565b3480156106e157600080fd5b50610297611606565b3480156106f657600080fd5b5061023f6107053660046129a8565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561073f57600080fd5b5061033061074e366004612800565b611615565b60006001600160e01b0319821663780e9d6360e01b14806107785750610778826116ad565b92915050565b6000818152600360205260408120546001600160a01b03166107db5760405162461bcd60e51b81526020600482015260116024820152703737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064015b60405180910390fd5b5060009081526011602052604090205490565b6060600180546107fd906129db565b80601f0160208091040260200160405190810160405280929190818152602001828054610829906129db565b80156108765780601f1061084b57610100808354040283529160200191610876565b820191906000526020600020905b81548152906001019060200180831161085957829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b03166108f95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107d2565b506000908152600560205260409020546001600160a01b031690565b600061092082610cb8565b9050806001600160a01b0316836001600160a01b0316141561098e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107d2565b336001600160a01b03821614806109aa57506109aa8133610705565b610a1c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107d2565b610a2683836116fd565b505050565b610a35338261176b565b610a515760405162461bcd60e51b81526004016107d290612a16565b610a26838383611862565b6000546001600160a01b03163314610a865760405162461bcd60e51b81526004016107d290612a67565b600b80549082905560408051838152602081018390527f0543a67787ad4f7dfe6d08f63c09cc793f349a0eba46df043574f3ed57eaa7da91015b60405180910390a15050565b6000610ad783610d2f565b8210610b395760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107d2565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6000546001600160a01b03163314610b8c5760405162461bcd60e51b81526004016107d290612a67565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015610bc6573d6000803e3d6000fd5b50565b610a26838383604051806020016040528060008152506114f9565b6000610bef60095490565b8210610c525760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107d2565b60098281548110610c6557610c65612a9c565b90600052602060002001549050919050565b6000546001600160a01b03163314610ca15760405162461bcd60e51b81526004016107d290612a67565b8051610cb490600f906020840190612559565b5050565b6000818152600360205260408120546001600160a01b0316806107785760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107d2565b60006001600160a01b038216610d9a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107d2565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314610de05760405162461bcd60e51b81526004016107d290612a67565b610dea6000611a09565b565b7f0000000000000000000000000000000000000000000000000000000062a8b07f4210610e4b5760405162461bcd60e51b815260206004820152600d60248201526c707265206d696e7420656e647360981b60448201526064016107d2565b3360008181526013602052604090205460ff1615610ea05760405162461bcd60e51b8152602060048201526012602482015271185b1c9958591e481c1c99481b5a5b9d195960721b60448201526064016107d2565b6001600160a01b038116600090815260136020908152604091829020805460ff191660011790558151601f8501829004820281018201909252838252610f8e91908590859081908401838280828437600092019190915250506040516bffffffffffffffffffffffff19606087901b166020820152610f8892506034019050604051602081830303815290604052805190602001206040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b90611a59565b600e546001600160a01b03908116911614610fdf5760405162461bcd60e51b8152602060048201526011602482015270696e76616c6964207369676e617475726560781b60448201526064016107d2565b600c8054600181019091557f00000000000000000000000000000000000000000000000000000000000025128111156110545760405162461bcd60e51b8152602060048201526017602482015276657863656564206d617820746f74616c20737570706c7960481b60448201526064016107d2565b61105e8282611a7d565b50505050565b6000546001600160a01b0316331461108e5760405162461bcd60e51b81526004016107d290612a67565b8051610cb4906010906020840190612559565b6060600280546107fd906129db565b6000546001600160a01b031633146110da5760405162461bcd60e51b81526004016107d290612a67565b80806111135760405162461bcd60e51b81526020600482015260086024820152673d32b937903632b760c11b60448201526064016107d2565b600d5460005b828110156111675761115185858381811061113657611136612a9c565b905060200201602081019061114b9190612800565b83611a7d565b60019091019061116081612ac8565b9050611119565b507f0000000000000000000000000000000000000000000000000000000000002706611194600183612ae3565b11156111e25760405162461bcd60e51b815260206004820152601d60248201527f657863656564206d617820636f6d6d756e69747920746f6b656e20696400000060448201526064016107d2565b600d55505050565b427f0000000000000000000000000000000000000000000000000000000062a8b07f81101561124c5760405162461bcd60e51b815260206004820152600e60248201526d1b5a5b9d081b9bdd081cdd185c9d60921b60448201526064016107d2565b7f0000000000000000000000000000000000000000000000000000000062b5df7f81106112a75760405162461bcd60e51b81526020600482015260096024820152686d696e7420656e647360b81b60448201526064016107d2565b336000818152601260205260408120546112c2908590612afa565b9050600a8111156113155760405162461bcd60e51b815260206004820152601860248201527f657863656564206d6178206c696d697420746f206d696e74000000000000000060448201526064016107d2565b83600a1461133d576001600160a01b038216600090815260126020526040902081905561135a565b6001600160a01b0382166000908152601260205260409020600b90555b600c5460006113698683612afa565b905085600a1461137857600019015b7f00000000000000000000000000000000000000000000000000000000000025128111156113e25760405162461bcd60e51b8152602060048201526017602482015276657863656564206d617820746f74616c20737570706c7960481b60448201526064016107d2565b808211611403576113f38483611a7d565b6113fc82612ac8565b91506113e2565b600c829055600b54600090611419908890612b12565b6114239034612ae3565b90508015611463576040516001600160a01b0386169082156108fc029083906000818181858888f19350505050158015611461573d6000803e3d6000fd5b505b50505050505050565b610cb4338383611aef565b6000546001600160a01b031633146114a15760405162461bcd60e51b81526004016107d290612a67565b600e80546001600160a01b038381166001600160a01b03198316811790935560408051938452911660208301819052917f51bdba917774b64a0f33b8c36f4d035afb056f6adbb96bd3cb0d21cc4403e0629101610ac0565b611503338361176b565b61151f5760405162461bcd60e51b81526004016107d290612a16565b61105e84848484611bbe565b6000818152600360205260409020546060906001600160a01b03166115aa5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107d2565b60006115b4611bf1565b905060008151116115d457604051806020016040528060008152506115ff565b806115de84611c00565b6040516020016115ef929190612b31565b6040516020818303038152906040525b9392505050565b6060601080546107fd906129db565b6000546001600160a01b0316331461163f5760405162461bcd60e51b81526004016107d290612a67565b6001600160a01b0381166116a45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107d2565b610bc681611a09565b60006001600160e01b031982166380ac58cd60e01b14806116de57506001600160e01b03198216635b5e139f60e01b145b8061077857506301ffc9a760e01b6001600160e01b0319831614610778565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061173282610cb8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b03166117e45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107d2565b60006117ef83610cb8565b9050806001600160a01b0316846001600160a01b0316148061183657506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b8061185a5750836001600160a01b031661184f84610880565b6001600160a01b0316145b949350505050565b826001600160a01b031661187582610cb8565b6001600160a01b0316146118d95760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016107d2565b6001600160a01b03821661193b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107d2565b611946838383611cfe565b6119516000826116fd565b6001600160a01b038316600090815260046020526040812080546001929061197a908490612ae3565b90915550506001600160a01b03821660009081526004602052604081208054600192906119a8908490612afa565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806000611a688585611db6565b91509150611a7581611e26565b509392505050565b6000611a898383611fe1565b60008381526011602052604090208190559050611aa68383612048565b60408051838152602081018390526001600160a01b038516917fcb83f7676dc7c5828762fe5a077bb11fcdf66e07dee2edfd0293deead956383b910160405180910390a2505050565b816001600160a01b0316836001600160a01b03161415611b515760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107d2565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611bc9848484611862565b611bd584848484612196565b61105e5760405162461bcd60e51b81526004016107d290612b60565b6060600f80546107fd906129db565b606081611c245750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611c4e5780611c3881612ac8565b9150611c479050600a83612bc8565b9150611c28565b60008167ffffffffffffffff811115611c6957611c6961272b565b6040519080825280601f01601f191660200182016040528015611c93576020820181803683370190505b5090505b841561185a57611ca8600183612ae3565b9150611cb5600a86612bdc565b611cc0906030612afa565b60f81b818381518110611cd557611cd5612a9c565b60200101906001600160f81b031916908160001a905350611cf7600a86612bc8565b9450611c97565b6001600160a01b038316611d5957611d5481600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b611d7c565b816001600160a01b0316836001600160a01b031614611d7c57611d7c83826122a3565b6001600160a01b038216611d9357610a2681612340565b826001600160a01b0316826001600160a01b031614610a2657610a2682826123ef565b600080825160411415611ded5760208301516040840151606085015160001a611de187828585612433565b94509450505050611e1f565b825160401415611e175760208301516040840151611e0c868383612520565b935093505050611e1f565b506000905060025b9250929050565b6000816004811115611e3a57611e3a612bf0565b1415611e435750565b6001816004811115611e5757611e57612bf0565b1415611ea55760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016107d2565b6002816004811115611eb957611eb9612bf0565b1415611f075760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107d2565b6003816004811115611f1b57611f1b612bf0565b1415611f745760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107d2565b6004816004811115611f8857611f88612bf0565b1415610bc65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016107d2565b60008242611ff161010085612bdc565b611ffb9043612ae3565b60405160609390931b6bffffffffffffffffffffffff19166020840152603483019190915240605482015260740160408051601f1981840301815291905280516020909101209392505050565b6001600160a01b03821661209e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107d2565b6000818152600360205260409020546001600160a01b0316156121035760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107d2565b61210f60008383611cfe565b6001600160a01b0382166000908152600460205260408120805460019290612138908490612afa565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b1561229857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906121da903390899088908890600401612c06565b602060405180830381600087803b1580156121f457600080fd5b505af1925050508015612224575060408051601f3d908101601f1916820190925261222191810190612c43565b60015b61227e573d808015612252576040519150601f19603f3d011682016040523d82523d6000602084013e612257565b606091505b5080516122765760405162461bcd60e51b81526004016107d290612b60565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061185a565b506001949350505050565b600060016122b084610d2f565b6122ba9190612ae3565b60008381526008602052604090205490915080821461230d576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061235290600190612ae3565b6000838152600a60205260408120546009805493945090928490811061237a5761237a612a9c565b90600052602060002001549050806009838154811061239b5761239b612a9c565b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806123d3576123d3612c60565b6001900381819060005260206000200160009055905550505050565b60006123fa83610d2f565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561246a5750600090506003612517565b8460ff16601b1415801561248257508460ff16601c14155b156124935750600090506004612517565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156124e7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661251057600060019250925050612517565b9150600090505b94509492505050565b6000806001600160ff1b0383168161253d60ff86901c601b612afa565b905061254b87828885612433565b935093505050935093915050565b828054612565906129db565b90600052602060002090601f01602090048101928261258757600085556125cd565b82601f106125a057805160ff19168380011785556125cd565b828001600101855582156125cd579182015b828111156125cd5782518255916020019190600101906125b2565b506125d99291506125dd565b5090565b5b808211156125d957600081556001016125de565b6001600160e01b031981168114610bc657600080fd5b60006020828403121561261a57600080fd5b81356115ff816125f2565b60006020828403121561263757600080fd5b5035919050565b60005b83811015612659578181015183820152602001612641565b8381111561105e5750506000910152565b6000815180845261268281602086016020860161263e565b601f01601f19169290920160200192915050565b6020815260006115ff602083018461266a565b80356001600160a01b03811681146126c057600080fd5b919050565b600080604083850312156126d857600080fd5b6126e1836126a9565b946020939093013593505050565b60008060006060848603121561270457600080fd5b61270d846126a9565b925061271b602085016126a9565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561275c5761275c61272b565b604051601f8501601f19908116603f011681019082821181831017156127845761278461272b565b8160405280935085815286868601111561279d57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156127c957600080fd5b813567ffffffffffffffff8111156127e057600080fd5b8201601f810184136127f157600080fd5b61185a84823560208401612741565b60006020828403121561281257600080fd5b6115ff826126a9565b6000806020838503121561282e57600080fd5b823567ffffffffffffffff8082111561284657600080fd5b818501915085601f83011261285a57600080fd5b81358181111561286957600080fd5b86602082850101111561287b57600080fd5b60209290920196919550909350505050565b600080602083850312156128a057600080fd5b823567ffffffffffffffff808211156128b857600080fd5b818501915085601f8301126128cc57600080fd5b8135818111156128db57600080fd5b8660208260051b850101111561287b57600080fd5b6000806040838503121561290357600080fd5b61290c836126a9565b91506020830135801515811461292157600080fd5b809150509250929050565b6000806000806080858703121561294257600080fd5b61294b856126a9565b9350612959602086016126a9565b925060408501359150606085013567ffffffffffffffff81111561297c57600080fd5b8501601f8101871361298d57600080fd5b61299c87823560208401612741565b91505092959194509250565b600080604083850312156129bb57600080fd5b6129c4836126a9565b91506129d2602084016126a9565b90509250929050565b600181811c908216806129ef57607f821691505b60208210811415612a1057634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415612adc57612adc612ab2565b5060010190565b600082821015612af557612af5612ab2565b500390565b60008219821115612b0d57612b0d612ab2565b500190565b6000816000190483118215151615612b2c57612b2c612ab2565b500290565b60008351612b4381846020880161263e565b835190830190612b5781836020880161263e565b01949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082612bd757612bd7612bb2565b500490565b600082612beb57612beb612bb2565b500690565b634e487b7160e01b600052602160045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c399083018461266a565b9695505050505050565b600060208284031215612c5557600080fd5b81516115ff816125f2565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220f6bad2b3fca0201a44f67661817bcbc9a55fc7b4599aab19031963e4766dd96464736f6c63430008090033

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

00000000000000000000000000000000000000000000000000470de4df820000000000000000000000000000000000000000000000000000000000000000251200000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000062a8b07f0000000000000000000000000000000000000000000000000000000062b5df7f00000000000000000000000045ab1dfe2bc231f985fbe87fbd7f67baf3dabf85

-----Decoded View---------------
Arg [0] : priceToMint (uint256): 20000000000000000
Arg [1] : maxTotalSupply (uint256): 9490
Arg [2] : communityTotalSupply (uint256): 500
Arg [3] : preMintEndTime (uint256): 1655222399
Arg [4] : mintEndTime (uint256): 1656086399
Arg [5] : verifyAddress (address): 0x45AB1dFe2Bc231F985fBE87fBd7F67bAF3daBf85

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000470de4df820000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000002512
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [3] : 0000000000000000000000000000000000000000000000000000000062a8b07f
Arg [4] : 0000000000000000000000000000000000000000000000000000000062b5df7f
Arg [5] : 00000000000000000000000045ab1dfe2bc231f985fbe87fbd7f67baf3dabf85


Deployed Bytecode Sourcemap

253:6445:16:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;990:222:7;;;;;;;;;;-1:-1:-1;990:222:7;;;;;:::i;:::-;;:::i;:::-;;;565:14:19;;558:22;540:41;;528:2;513:18;990:222:7;;;;;;;;5636:159:16;;;;;;;;;;-1:-1:-1;5636:159:16;;;;;:::i;:::-;;:::i;:::-;;;923:25:19;;;911:2;896:18;5636:159:16;777:177:19;2488:98:4;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;494:35:16:-;;;;;;;;;;;;;;;4000:217:4;;;;;;;;;;-1:-1:-1;4000:217:4;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1874:32:19;;;1856:51;;1844:2;1829:18;4000:217:4;1710:203:19;3538:401:4;;;;;;;;;;-1:-1:-1;3538:401:4;;;;;:::i;:::-;;:::i;:::-;;1615:111:7;;;;;;;;;;-1:-1:-1;1702:10:7;:17;1615:111;;4727:330:4;;;;;;;;;;-1:-1:-1;4727:330:4;;;;;:::i;:::-;;:::i;4726:219:16:-;;;;;;;;;;-1:-1:-1;4726:219:16;;;;;:::i;:::-;;:::i;1291:253:7:-;;;;;;;;;;-1:-1:-1;1291:253:7;;;;;:::i;:::-;;:::i;335:38:16:-;;;;;;;;;;;;;;;391:44;;;;;;;;;;;;;;;4616:104;;;;;;;;;;;;;:::i;5123:179:4:-;;;;;;;;;;-1:-1:-1;5123:179:4;;;;;:::i;:::-;;:::i;1798:230:7:-;;;;;;;;;;-1:-1:-1;1798:230:7;;;;;:::i;:::-;;:::i;4513:97:16:-;;;;;;;;;;-1:-1:-1;4513:97:16;;;;;:::i;:::-;;:::i;2191:235:4:-;;;;;;;;;;-1:-1:-1;2191:235:4;;;;;:::i;:::-;;:::i;1929:205::-;;;;;;;;;;-1:-1:-1;1929:205:4;;;;;:::i;:::-;;:::i;1668:101:0:-;;;;;;;;;;;;;:::i;2010:704:16:-;;;;;;;;;;-1:-1:-1;2010:704:16;;;;;:::i;:::-;;:::i;449:39::-;;;;;;;;;;;;;;;1036:85:0;;;;;;;;;;-1:-1:-1;1082:7:0;1108:6;-1:-1:-1;;;;;1108:6:0;1036:85;;5902:116:16;;;;;;;;;;-1:-1:-1;5902:116:16;;;;;:::i;:::-;-1:-1:-1;;;;;5988:23:16;5966:4;5988:23;;;:14;:23;;;;;;;;;5902:116;5200:119;;;;;;;;;;-1:-1:-1;5200:119:16;;;;;:::i;:::-;;:::i;5801:95::-;;;;;;;;;;-1:-1:-1;5875:14:16;;-1:-1:-1;;;;;5875:14:16;5801:95;;2650:102:4;;;;;;;;;;;;;:::i;2720:565:16:-;;;;;;;;;;-1:-1:-1;2720:565:16;;;;;:::i;:::-;;:::i;5542:88::-;;;;;;;;;;-1:-1:-1;5611:12:16;;5542:88;;3291:1216;;;;;;:::i;:::-;;:::i;4284:153:4:-;;;;;;;;;;-1:-1:-1;4284:153:4;;;;;:::i;:::-;;:::i;4951:243:16:-;;;;;;;;;;-1:-1:-1;4951:243:16;;;;;:::i;:::-;;:::i;5368:320:4:-;;;;;;;;;;-1:-1:-1;5368:320:4;;;;;:::i;:::-;;:::i;5426:110:16:-;;;;;;;;;;-1:-1:-1;5426:110:16;;;;;:::i;:::-;-1:-1:-1;;;;;5509:20:16;5487:4;5509:20;;;:11;:20;;;;;;;5426:110;2818:329:4;;;;;;;;;;-1:-1:-1;2818:329:4;;;;;:::i;:::-;;:::i;5325:95:16:-;;;;;;;;;;;;;:::i;4503:162:4:-;;;;;;;;;;-1:-1:-1;4503:162:4;;;;;:::i;:::-;-1:-1:-1;;;;;4623:25:4;;;4600:4;4623:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4503:162;1918:198:0;;;;;;;;;;-1:-1:-1;1918:198:0;;;;;:::i;:::-;;:::i;990:222:7:-;1092:4;-1:-1:-1;;;;;;1115:50:7;;-1:-1:-1;;;1115:50:7;;:90;;;1169:36;1193:11;1169:23;:36::i;:::-;1108:97;990:222;-1:-1:-1;;990:222:7:o;5636:159:16:-;5691:4;7248:16:4;;;:7;:16;;;;;;-1:-1:-1;;;;;7248:16:4;5706:46:16;;;;-1:-1:-1;;;5706:46:16;;6811:2:19;5706:46:16;;;6793:21:19;6850:2;6830:18;;;6823:30;-1:-1:-1;;;6869:18:19;;;6862:47;6926:18;;5706:46:16;;;;;;;;;-1:-1:-1;5769:19:16;;;;:10;:19;;;;;;;5636:159::o;2488:98:4:-;2542:13;2574:5;2567:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2488:98;:::o;4000:217::-;4076:7;7248:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7248:16:4;4095:73;;;;-1:-1:-1;;;4095:73:4;;7542:2:19;4095:73:4;;;7524:21:19;7581:2;7561:18;;;7554:30;7620:34;7600:18;;;7593:62;-1:-1:-1;;;7671:18:19;;;7664:42;7723:19;;4095:73:4;7340:408:19;4095:73:4;-1:-1:-1;4186:24:4;;;;:15;:24;;;;;;-1:-1:-1;;;;;4186:24:4;;4000:217::o;3538:401::-;3618:13;3634:23;3649:7;3634:14;:23::i;:::-;3618:39;;3681:5;-1:-1:-1;;;;;3675:11:4;:2;-1:-1:-1;;;;;3675:11:4;;;3667:57;;;;-1:-1:-1;;;3667:57:4;;7955:2:19;3667:57:4;;;7937:21:19;7994:2;7974:18;;;7967:30;8033:34;8013:18;;;8006:62;-1:-1:-1;;;8084:18:19;;;8077:31;8125:19;;3667:57:4;7753:397:19;3667:57:4;719:10:11;-1:-1:-1;;;;;3756:21:4;;;;:62;;-1:-1:-1;3781:37:4;3798:5;719:10:11;4503:162:4;:::i;3781:37::-;3735:165;;;;-1:-1:-1;;;3735:165:4;;8357:2:19;3735:165:4;;;8339:21:19;8396:2;8376:18;;;8369:30;8435:34;8415:18;;;8408:62;8506:26;8486:18;;;8479:54;8550:19;;3735:165:4;8155:420:19;3735:165:4;3911:21;3920:2;3924:7;3911:8;:21::i;:::-;3608:331;3538:401;;:::o;4727:330::-;4916:41;719:10:11;4949:7:4;4916:18;:41::i;:::-;4908:103;;;;-1:-1:-1;;;4908:103:4;;;;;;;:::i;:::-;5022:28;5032:4;5038:2;5042:7;5022:9;:28::i;4726:219:16:-;1082:7:0;1108:6;-1:-1:-1;;;;;1108:6:0;719:10:11;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;4822:12:16::1;::::0;;4844:29;;;;4888:50:::1;::::0;;9533:25:19;;;9589:2;9574:18;;9567:34;;;4888:50:16::1;::::0;9506:18:19;4888:50:16::1;;;;;;;;4790:155;4726:219:::0;:::o;1291:253:7:-;1388:7;1423:23;1440:5;1423:16;:23::i;:::-;1415:5;:31;1407:87;;;;-1:-1:-1;;;1407:87:7;;9814:2:19;1407:87:7;;;9796:21:19;9853:2;9833:18;;;9826:30;9892:34;9872:18;;;9865:62;-1:-1:-1;;;9943:18:19;;;9936:41;9994:19;;1407:87:7;9612:407:19;1407:87:7;-1:-1:-1;;;;;;1511:19:7;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1291:253::o;4616:104:16:-;1082:7:0;1108:6;-1:-1:-1;;;;;1108:6:0;719:10:11;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;1082:7;1108:6;;4665:48:16::1;::::0;-1:-1:-1;;;;;1108:6:0;;;;4691:21:16::1;4665:48:::0;::::1;;;::::0;4691:21;;4665:48;1082:7:0;4665:48:16;4691:21;1108:6:0;4665:48:16;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;4616:104::o:0;5123:179:4:-;5256:39;5273:4;5279:2;5283:7;5256:39;;;;;;;;;;;;:16;:39::i;1798:230:7:-;1873:7;1908:30;1702:10;:17;;1615:111;1908:30;1900:5;:38;1892:95;;;;-1:-1:-1;;;1892:95:7;;10226:2:19;1892:95:7;;;10208:21:19;10265:2;10245:18;;;10238:30;10304:34;10284:18;;;10277:62;-1:-1:-1;;;10355:18:19;;;10348:42;10407:19;;1892:95:7;10024:408:19;1892:95:7;2004:10;2015:5;2004:17;;;;;;;;:::i;:::-;;;;;;;;;1997:24;;1798:230;;;:::o;4513:97:16:-;1082:7:0;1108:6;-1:-1:-1;;;;;1108:6:0;719:10:11;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;4585:18:16;;::::1;::::0;:8:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;4513:97:::0;:::o;2191:235:4:-;2263:7;2298:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2298:16:4;2332:19;2324:73;;;;-1:-1:-1;;;2324:73:4;;10771:2:19;2324:73:4;;;10753:21:19;10810:2;10790:18;;;10783:30;10849:34;10829:18;;;10822:62;-1:-1:-1;;;10900:18:19;;;10893:39;10949:19;;2324:73:4;10569:405:19;1929:205:4;2001:7;-1:-1:-1;;;;;2028:19:4;;2020:74;;;;-1:-1:-1;;;2020:74:4;;11181:2:19;2020:74:4;;;11163:21:19;11220:2;11200:18;;;11193:30;11259:34;11239:18;;;11232:62;-1:-1:-1;;;11310:18:19;;;11303:40;11360:19;;2020:74:4;10979:406:19;2020:74:4;-1:-1:-1;;;;;;2111:16:4;;;;;:9;:16;;;;;;;1929:205::o;1668:101:0:-;1082:7;1108:6;-1:-1:-1;;;;;1108:6:0;719:10:11;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;1732:30:::1;1759:1;1732:18;:30::i;:::-;1668:101::o:0;2010:704:16:-;2098:17;2080:15;:35;2072:61;;;;-1:-1:-1;;;2072:61:16;;11592:2:19;2072:61:16;;;11574:21:19;11631:2;11611:18;;;11604:30;-1:-1:-1;;;11650:18:19;;;11643:43;11703:18;;2072:61:16;11390:337:19;2072:61:16;2160:10;2143:14;2189:22;;;:14;:22;;;;;;;;2188:23;2180:54;;;;-1:-1:-1;;;2180:54:16;;11934:2:19;2180:54:16;;;11916:21:19;11973:2;11953:18;;;11946:30;-1:-1:-1;;;11992:18:19;;;11985:48;12050:18;;2180:54:16;11732:342:19;2180:54:16;-1:-1:-1;;;;;2244:22:16;;;;;;:14;:22;;;;;;;;;:29;;-1:-1:-1;;2244:29:16;2269:4;2244:29;;;2350:79;;;;;;;;;;;;;;;;;;;;;;;2419:9;;;;;;2350:79;;2419:9;;;;2350:79;;;;;;;;;-1:-1:-1;;2360:24:16;;-1:-1:-1;;12228:2:19;12224:15;;;12220:53;2360:24:16;;;12208:66:19;2350:60:16;;-1:-1:-1;12290:12:19;;;-1:-1:-1;2360:24:16;;;;;;;;;;;;2350:35;;;;;;8211:58:13;;18519:66:19;8211:58:13;;;18507:79:19;18602:12;;;18595:28;;;8081:7:13;;18639:12:19;;8211:58:13;;;;;;;;;;;;8201:69;;;;;;8194:76;;8012:265;;;;2350:60:16;:68;;:79::i;:::-;2332:14;;-1:-1:-1;;;;;2332:14:16;;;:97;;;2311:152;;;;-1:-1:-1;;;2311:152:16;;12515:2:19;2311:152:16;;;12497:21:19;12554:2;12534:18;;;12527:30;-1:-1:-1;;;12573:18:19;;;12566:47;12630:18;;2311:152:16;12313:341:19;2311:152:16;2524:10;;;2559:12;;;;;;2613:16;2595:34;;;2587:70;;;;-1:-1:-1;;;2587:70:16;;12861:2:19;2587:70:16;;;12843:21:19;12900:2;12880:18;;;12873:30;-1:-1:-1;;;12919:18:19;;;12912:53;12982:18;;2587:70:16;12659:347:19;2587:70:16;2667:40;2684:6;2692:14;2667:16;:40::i;:::-;2062:652;;2010:704;;:::o;5200:119::-;1082:7:0;1108:6;-1:-1:-1;;;;;1108:6:0;719:10:11;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;5283:29:16;;::::1;::::0;:12:::1;::::0;:29:::1;::::0;::::1;::::0;::::1;:::i;2650:102:4:-:0;2706:13;2738:7;2731:14;;;;;:::i;2720:565:16:-;1082:7:0;1108:6;-1:-1:-1;;;;;1108:6:0;719:10:11;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;2815:9:16;2849:7;2841:28:::1;;;::::0;-1:-1:-1;;;2841:28:16;;13213:2:19;2841:28:16::1;::::0;::::1;13195:21:19::0;13252:1;13232:18;;;13225:29;-1:-1:-1;;;13270:18:19;;;13263:38;13318:18;;2841:28:16::1;13011:331:19::0;2841:28:16::1;2911:19;::::0;2880:28:::1;2940:179;2961:3;2957:1;:7;2940:179;;;2985:55;3002:9;;3012:1;3002:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;3016:23;2985:16;:55::i;:::-;3073:25;::::0;;::::1;::::0;2966:3:::1;::::0;::::1;:::i;:::-;;;2940:179;;;-1:-1:-1::0;3167:22:16::1;3136:27;3162:1;3136:23:::0;:27:::1;:::i;:::-;:53;;3128:95;;;::::0;-1:-1:-1;;;3128:95:16;;13951:2:19;3128:95:16::1;::::0;::::1;13933:21:19::0;13990:2;13970:18;;;13963:30;14029:31;14009:18;;;14002:59;14078:18;;3128:95:16::1;13749:353:19::0;3128:95:16::1;3233:19;:45:::0;-1:-1:-1;;;2720:565:16:o;3291:1216::-;3369:15;3422:17;3402:37;;;3394:64;;;;-1:-1:-1;;;3394:64:16;;14309:2:19;3394:64:16;;;14291:21:19;14348:2;14328:18;;;14321:30;-1:-1:-1;;;14367:18:19;;;14360:44;14421:18;;3394:64:16;14107:338:19;3394:64:16;3495:13;3476:16;:32;3468:54;;;;-1:-1:-1;;;3468:54:16;;14652:2:19;3468:54:16;;;14634:21:19;14691:1;14671:18;;;14664:29;-1:-1:-1;;;14709:18:19;;;14702:39;14758:18;;3468:54:16;14450:332:19;3468:54:16;3579:10;3562:14;3617:19;;;:11;:19;;;;;;:28;;3639:6;;3617:28;:::i;:::-;3599:46;;3677:2;3663:10;:16;;3655:53;;;;-1:-1:-1;;;3655:53:16;;15122:2:19;3655:53:16;;;15104:21:19;15161:2;15141:18;;;15134:30;15200:26;15180:18;;;15173:54;15244:18;;3655:53:16;14920:348:19;3655:53:16;3722:6;3732:2;3722:12;3718:164;;-1:-1:-1;;;;;3750:19:16;;;;;;:11;:19;;;;;:32;;;3718:164;;;-1:-1:-1;;;;;3847:19:16;;;;;;:11;:19;;;;;3869:2;3847:24;;3718:164;3930:10;;3908:19;3968:23;3985:6;3930:10;3968:23;:::i;:::-;3950:41;;4005:6;4015:2;4005:12;4001:118;;-1:-1:-1;;4086:12:16;4001:118;4150:16;4136:10;:30;;4128:66;;;;-1:-1:-1;;;4128:66:16;;12861:2:19;4128:66:16;;;12843:21:19;12900:2;12880:18;;;12873:30;-1:-1:-1;;;12919:18:19;;;12912:53;12982:18;;4128:66:16;12659:347:19;4128:66:16;4229:10;4211:14;:28;4204:120;;4273:40;4290:6;4298:14;4273:16;:40::i;:::-;4241:16;;;:::i;:::-;;;4204:120;;;4333:10;:27;;;4397:12;;4371:11;;4397:21;;4412:6;;4397:21;:::i;:::-;4385:33;;:9;:33;:::i;:::-;4371:47;-1:-1:-1;4432:10:16;;4428:73;;4458:32;;-1:-1:-1;;;;;4458:24:16;;;:32;;;;;4483:6;;4458:32;;;;4483:6;4458:24;:32;;;;;;;;;;;;;;;;;;;;;4428:73;3335:1172;;;;;;3291:1216;:::o;4284:153:4:-;4378:52;719:10:11;4411:8:4;4421;4378:18;:52::i;4951:243:16:-;1082:7:0;1108:6;-1:-1:-1;;;;;1108:6:0;719:10:11;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;5059:14:16::1;::::0;;-1:-1:-1;;;;;5083:33:16;;::::1;-1:-1:-1::0;;;;;;5083:33:16;::::1;::::0;::::1;::::0;;;5131:56:::1;::::0;;15658:34:19;;;5059:14:16;::::1;15723:2:19::0;15708:18;;15701:43;;;5059:14:16;5131:56:::1;::::0;15593:18:19;5131:56:16::1;15446:304:19::0;5368:320:4;5537:41;719:10:11;5570:7:4;5537:18;:41::i;:::-;5529:103;;;;-1:-1:-1;;;5529:103:4;;;;;;;:::i;:::-;5642:39;5656:4;5662:2;5666:7;5675:5;5642:13;:39::i;2818:329::-;7225:4;7248:16;;;:7;:16;;;;;;2891:13;;-1:-1:-1;;;;;7248:16:4;2916:76;;;;-1:-1:-1;;;2916:76:4;;15957:2:19;2916:76:4;;;15939:21:19;15996:2;15976:18;;;15969:30;16035:34;16015:18;;;16008:62;-1:-1:-1;;;16086:18:19;;;16079:45;16141:19;;2916:76:4;15755:411:19;2916:76:4;3003:21;3027:10;:8;:10::i;:::-;3003:34;;3078:1;3060:7;3054:21;:25;:86;;;;;;;;;;;;;;;;;3106:7;3115:18;:7;:16;:18::i;:::-;3089:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3054:86;3047:93;2818:329;-1:-1:-1;;;2818:329:4:o;5325:95:16:-;5369:13;5401:12;5394:19;;;;;:::i;1918:198:0:-;1082:7;1108:6;-1:-1:-1;;;;;1108:6:0;719:10:11;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2006:22:0;::::1;1998:73;;;::::0;-1:-1:-1;;;1998:73:0;;16848:2:19;1998:73:0::1;::::0;::::1;16830:21:19::0;16887:2;16867:18;;;16860:30;16926:34;16906:18;;;16899:62;-1:-1:-1;;;16977:18:19;;;16970:36;17023:19;;1998:73:0::1;16646:402:19::0;1998:73:0::1;2081:28;2100:8;2081:18;:28::i;1570:300:4:-:0;1672:4;-1:-1:-1;;;;;;1707:40:4;;-1:-1:-1;;;1707:40:4;;:104;;-1:-1:-1;;;;;;;1763:48:4;;-1:-1:-1;;;1763:48:4;1707:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:14;;;1827:36:4;829:155:14;11169:171:4;11243:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11243:29:4;-1:-1:-1;;;;;11243:29:4;;;;;;;;:24;;11296:23;11243:24;11296:14;:23::i;:::-;-1:-1:-1;;;;;11287:46:4;;;;;;;;;;;11169:171;;:::o;7443:344::-;7536:4;7248:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7248:16:4;7552:73;;;;-1:-1:-1;;;7552:73:4;;17255:2:19;7552:73:4;;;17237:21:19;17294:2;17274:18;;;17267:30;17333:34;17313:18;;;17306:62;-1:-1:-1;;;17384:18:19;;;17377:42;17436:19;;7552:73:4;17053:408:19;7552:73:4;7635:13;7651:23;7666:7;7651:14;:23::i;:::-;7635:39;;7703:5;-1:-1:-1;;;;;7692:16:4;:7;-1:-1:-1;;;;;7692:16:4;;:52;;;-1:-1:-1;;;;;;4623:25:4;;;4600:4;4623:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7712:32;7692:87;;;;7772:7;-1:-1:-1;;;;;7748:31:4;:20;7760:7;7748:11;:20::i;:::-;-1:-1:-1;;;;;7748:31:4;;7692:87;7684:96;7443:344;-1:-1:-1;;;;7443:344:4:o;10453:605::-;10607:4;-1:-1:-1;;;;;10580:31:4;:23;10595:7;10580:14;:23::i;:::-;-1:-1:-1;;;;;10580:31:4;;10572:81;;;;-1:-1:-1;;;10572:81:4;;17668:2:19;10572:81:4;;;17650:21:19;17707:2;17687:18;;;17680:30;17746:34;17726:18;;;17719:62;-1:-1:-1;;;17797:18:19;;;17790:35;17842:19;;10572:81:4;17466:401:19;10572:81:4;-1:-1:-1;;;;;10671:16:4;;10663:65;;;;-1:-1:-1;;;10663:65:4;;18074:2:19;10663:65:4;;;18056:21:19;18113:2;18093:18;;;18086:30;18152:34;18132:18;;;18125:62;-1:-1:-1;;;18203:18:19;;;18196:34;18247:19;;10663:65:4;17872:400:19;10663:65:4;10739:39;10760:4;10766:2;10770:7;10739:20;:39::i;:::-;10840:29;10857:1;10861:7;10840:8;:29::i;:::-;-1:-1:-1;;;;;10880:15:4;;;;;;:9;:15;;;;;:20;;10899:1;;10880:15;:20;;10899:1;;10880:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10910:13:4;;;;;;:9;:13;;;;;:18;;10927:1;;10910:13;:18;;10927:1;;10910:18;:::i;:::-;;;;-1:-1:-1;;10938:16:4;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10938:21:4;-1:-1:-1;;;;;10938:21:4;;;;;;;;;10975:27;;10938:16;;10975:27;;;;;;;3608:331;3538:401;;:::o;2270:187:0:-;2343:16;2362:6;;-1:-1:-1;;;;;2378:17:0;;;-1:-1:-1;;;;;;2378:17:0;;;;;;2410:40;;2362:6;;;;;;;2410:40;;2343:16;2410:40;2333:124;2270:187;:::o;4308:227:13:-;4386:7;4406:17;4425:18;4447:27;4458:4;4464:9;4447:10;:27::i;:::-;4405:69;;;;4484:18;4496:5;4484:11;:18::i;:::-;-1:-1:-1;4519:9:13;4308:227;-1:-1:-1;;;4308:227:13:o;6129:244:16:-;6203:12;6218:29;6231:6;6239:7;6218:12;:29::i;:::-;6257:19;;;;:10;:19;;;;;:29;;;6203:44;-1:-1:-1;6296:22:16;6302:6;6268:7;6296:5;:22::i;:::-;6333:33;;;9533:25:19;;;9589:2;9574:18;;9567:34;;;-1:-1:-1;;;;;6333:33:16;;;;;9506:18:19;6333:33:16;;;;;;;6193:180;6129:244;;:::o;11475:307:4:-;11625:8;-1:-1:-1;;;;;11616:17:4;:5;-1:-1:-1;;;;;11616:17:4;;;11608:55;;;;-1:-1:-1;;;11608:55:4;;18864:2:19;11608:55:4;;;18846:21:19;18903:2;18883:18;;;18876:30;18942:27;18922:18;;;18915:55;18987:18;;11608:55:4;18662:349:19;11608:55:4;-1:-1:-1;;;;;11673:25:4;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;11673:46:4;;;;;;;;;;11734:41;;540::19;;;11734::4;;513:18:19;11734:41:4;;;;;;;11475:307;;;:::o;6550:::-;6701:28;6711:4;6717:2;6721:7;6701:9;:28::i;:::-;6747:48;6770:4;6776:2;6780:7;6789:5;6747:22;:48::i;:::-;6739:111;;;;-1:-1:-1;;;6739:111:4;;;;;;;:::i;6024:99:16:-;6076:13;6108:8;6101:15;;;;;:::i;328:703:12:-;384:13;601:10;597:51;;-1:-1:-1;;627:10:12;;;;;;;;;;;;-1:-1:-1;;;627:10:12;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:12;;-1:-1:-1;773:2:12;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;817:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:12;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:12;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;902:56:12;;;;;;;;-1:-1:-1;972:11:12;981:2;972:11;;:::i;:::-;;;844:150;;2624:572:7;-1:-1:-1;;;;;2823:18:7;;2819:183;;2857:40;2889:7;4005:10;:17;;3978:24;;;;:15;:24;;;;;:44;;;4032:24;;;;;;;;;;;;3902:161;2857:40;2819:183;;;2926:2;-1:-1:-1;;;;;2918:10:7;:4;-1:-1:-1;;;;;2918:10:7;;2914:88;;2944:47;2977:4;2983:7;2944:32;:47::i;:::-;-1:-1:-1;;;;;3015:16:7;;3011:179;;3047:45;3084:7;3047:36;:45::i;3011:179::-;3119:4;-1:-1:-1;;;;;3113:10:7;:2;-1:-1:-1;;;;;3113:10:7;;3109:81;;3139:40;3167:2;3171:7;3139:27;:40::i;2243:1279:13:-;2324:7;2333:12;2554:9;:16;2574:2;2554:22;2550:966;;;2843:4;2828:20;;2822:27;2892:4;2877:20;;2871:27;2949:4;2934:20;;2928:27;2592:9;2920:36;2990:25;3001:4;2920:36;2822:27;2871;2990:10;:25::i;:::-;2983:32;;;;;;;;;2550:966;3036:9;:16;3056:2;3036:22;3032:484;;;3305:4;3290:20;;3284:27;3355:4;3340:20;;3334:27;3395:23;3406:4;3284:27;3334;3395:10;:23::i;:::-;3388:30;;;;;;;;3032:484;-1:-1:-1;3465:1:13;;-1:-1:-1;3469:35:13;3032:484;2243:1279;;;;;:::o;548:631::-;625:20;616:5;:29;;;;;;;;:::i;:::-;;612:561;;;548:631;:::o;612:561::-;721:29;712:5;:38;;;;;;;;:::i;:::-;;708:465;;;766:34;;-1:-1:-1;;;766:34:13;;20143:2:19;766:34:13;;;20125:21:19;20182:2;20162:18;;;20155:30;20221:26;20201:18;;;20194:54;20265:18;;766:34:13;19941:348:19;708:465:13;830:35;821:5;:44;;;;;;;;:::i;:::-;;817:356;;;881:41;;-1:-1:-1;;;881:41:13;;20496:2:19;881:41:13;;;20478:21:19;20535:2;20515:18;;;20508:30;20574:33;20554:18;;;20547:61;20625:18;;881:41:13;20294:355:19;817:356:13;952:30;943:5;:39;;;;;;;;:::i;:::-;;939:234;;;998:44;;-1:-1:-1;;;998:44:13;;20856:2:19;998:44:13;;;20838:21:19;20895:2;20875:18;;;20868:30;20934:34;20914:18;;;20907:62;-1:-1:-1;;;20985:18:19;;;20978:32;21027:19;;998:44:13;20654:398:19;939:234:13;1072:30;1063:5;:39;;;;;;;;:::i;:::-;;1059:114;;;1118:44;;-1:-1:-1;;;1118:44:13;;21259:2:19;1118:44:13;;;21241:21:19;21298:2;21278:18;;;21271:30;21337:34;21317:18;;;21310:62;-1:-1:-1;;;21388:18:19;;;21381:32;21430:19;;1118:44:13;21057:398:19;6379:317:16;6452:4;6544:5;6571:15;6633:13;6643:3;6633:7;:13;:::i;:::-;6618:28;;:12;:28;:::i;:::-;6506:159;;21665:2:19;21661:15;;;;-1:-1:-1;;21657:53:19;6506:159:16;;;21645:66:19;21727:12;;;21720:28;;;;6608:39:16;21764:12:19;;;21757:28;21801:12;;6506:159:16;;;-1:-1:-1;;6506:159:16;;;;;;;;;6479:200;;6506:159;6479:200;;;;;6379:317;-1:-1:-1;;;6379:317:16:o;9079:427:4:-;-1:-1:-1;;;;;9158:16:4;;9150:61;;;;-1:-1:-1;;;9150:61:4;;22026:2:19;9150:61:4;;;22008:21:19;;;22045:18;;;22038:30;22104:34;22084:18;;;22077:62;22156:18;;9150:61:4;21824:356:19;9150:61:4;7225:4;7248:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7248:16:4;:30;9221:58;;;;-1:-1:-1;;;9221:58:4;;22387:2:19;9221:58:4;;;22369:21:19;22426:2;22406:18;;;22399:30;22465;22445:18;;;22438:58;22513:18;;9221:58:4;22185:352:19;9221:58:4;9290:45;9319:1;9323:2;9327:7;9290:20;:45::i;:::-;-1:-1:-1;;;;;9346:13:4;;;;;;:9;:13;;;;;:18;;9363:1;;9346:13;:18;;9363:1;;9346:18;:::i;:::-;;;;-1:-1:-1;;9374:16:4;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9374:21:4;-1:-1:-1;;;;;9374:21:4;;;;;;;;9411:33;;9374:16;;;9411:33;;9374:16;;9411:33;4585:18:16::1;4513:97:::0;:::o;12335:778:4:-;12485:4;-1:-1:-1;;;;;12505:13:4;;1465:19:10;:23;12501:606:4;;12540:72;;-1:-1:-1;;;12540:72:4;;-1:-1:-1;;;;;12540:36:4;;;;;:72;;719:10:11;;12591:4:4;;12597:7;;12606:5;;12540:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12540:72:4;;;;;;;;-1:-1:-1;;12540:72:4;;;;;;;;;;;;:::i;:::-;;;12536:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12779:13:4;;12775:266;;12821:60;;-1:-1:-1;;;12821:60:4;;;;;;;:::i;12775:266::-;12993:6;12987:13;12978:6;12974:2;12970:15;12963:38;12536:519;-1:-1:-1;;;;;;12662:51:4;-1:-1:-1;;;12662:51:4;;-1:-1:-1;12655:58:4;;12501:606;-1:-1:-1;13092:4:4;12335:778;;;;;;:::o;4680:970:7:-;4942:22;4992:1;4967:22;4984:4;4967:16;:22::i;:::-;:26;;;;:::i;:::-;5003:18;5024:26;;;:17;:26;;;;;;4942:51;;-1:-1:-1;5154:28:7;;;5150:323;;-1:-1:-1;;;;;5220:18:7;;5198:19;5220:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5269:30;;;;;;:44;;;5385:30;;:17;:30;;;;;:43;;;5150:323;-1:-1:-1;5566:26:7;;;;:17;:26;;;;;;;;5559:33;;;-1:-1:-1;;;;;5609:18:7;;;;;:12;:18;;;;;:34;;;;;;;5602:41;4680:970::o;5938:1061::-;6212:10;:17;6187:22;;6212:21;;6232:1;;6212:21;:::i;:::-;6243:18;6264:24;;;:15;:24;;;;;;6632:10;:26;;6187:46;;-1:-1:-1;6264:24:7;;6187:46;;6632:26;;;;;;:::i;:::-;;;;;;;;;6610:48;;6694:11;6669:10;6680;6669:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;6773:28;;;:15;:28;;;;;;;:41;;;6942:24;;;;;6935:31;6976:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;6009:990;;;5938:1061;:::o;3490:217::-;3574:14;3591:20;3608:2;3591:16;:20::i;:::-;-1:-1:-1;;;;;3621:16:7;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3665:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3490:217:7:o;5716:1603:13:-;5842:7;;6766:66;6753:79;;6749:161;;;-1:-1:-1;6864:1:13;;-1:-1:-1;6868:30:13;6848:51;;6749:161;6923:1;:7;;6928:2;6923:7;;:18;;;;;6934:1;:7;;6939:2;6934:7;;6923:18;6919:100;;;-1:-1:-1;6973:1:13;;-1:-1:-1;6977:30:13;6957:51;;6919:100;7130:24;;;7113:14;7130:24;;;;;;;;;23649:25:19;;;23722:4;23710:17;;23690:18;;;23683:45;;;;23744:18;;;23737:34;;;23787:18;;;23780:34;;;7130:24:13;;23621:19:19;;7130:24:13;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7130:24:13;;-1:-1:-1;;7130:24:13;;;-1:-1:-1;;;;;;;7168:20:13;;7164:101;;7220:1;7224:29;7204:50;;;;;;;7164:101;7283:6;-1:-1:-1;7291:20:13;;-1:-1:-1;5716:1603:13;;;;;;;;:::o;4789:336::-;4899:7;;-1:-1:-1;;;;;4944:80:13;;4899:7;5050:25;5066:3;5051:18;;;5073:2;5050:25;:::i;:::-;5034:42;;5093:25;5104:4;5110:1;5113;5116;5093:10;:25::i;:::-;5086:32;;;;;;4789:336;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:19;-1:-1:-1;;;;;;88:32:19;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:180::-;651:6;704:2;692:9;683:7;679:23;675:32;672:52;;;720:1;717;710:12;672:52;-1:-1:-1;743:23:19;;592:180;-1:-1:-1;592:180:19:o;959:258::-;1031:1;1041:113;1055:6;1052:1;1049:13;1041:113;;;1131:11;;;1125:18;1112:11;;;1105:39;1077:2;1070:10;1041:113;;;1172:6;1169:1;1166:13;1163:48;;;-1:-1:-1;;1207:1:19;1189:16;;1182:27;959:258::o;1222:::-;1264:3;1302:5;1296:12;1329:6;1324:3;1317:19;1345:63;1401:6;1394:4;1389:3;1385:14;1378:4;1371:5;1367:16;1345:63;:::i;:::-;1462:2;1441:15;-1:-1:-1;;1437:29:19;1428:39;;;;1469:4;1424:50;;1222:258;-1:-1:-1;;1222:258:19:o;1485:220::-;1634:2;1623:9;1616:21;1597:4;1654:45;1695:2;1684:9;1680:18;1672:6;1654:45;:::i;1918:173::-;1986:20;;-1:-1:-1;;;;;2035:31:19;;2025:42;;2015:70;;2081:1;2078;2071:12;2015:70;1918:173;;;:::o;2096:254::-;2164:6;2172;2225:2;2213:9;2204:7;2200:23;2196:32;2193:52;;;2241:1;2238;2231:12;2193:52;2264:29;2283:9;2264:29;:::i;:::-;2254:39;2340:2;2325:18;;;;2312:32;;-1:-1:-1;;;2096:254:19:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:127::-;2749:10;2744:3;2740:20;2737:1;2730:31;2780:4;2777:1;2770:15;2804:4;2801:1;2794:15;2820:632;2885:5;2915:18;2956:2;2948:6;2945:14;2942:40;;;2962:18;;:::i;:::-;3037:2;3031:9;3005:2;3091:15;;-1:-1:-1;;3087:24:19;;;3113:2;3083:33;3079:42;3067:55;;;3137:18;;;3157:22;;;3134:46;3131:72;;;3183:18;;:::i;:::-;3223:10;3219:2;3212:22;3252:6;3243:15;;3282:6;3274;3267:22;3322:3;3313:6;3308:3;3304:16;3301:25;3298:45;;;3339:1;3336;3329:12;3298:45;3389:6;3384:3;3377:4;3369:6;3365:17;3352:44;3444:1;3437:4;3428:6;3420;3416:19;3412:30;3405:41;;;;2820:632;;;;;:::o;3457:451::-;3526:6;3579:2;3567:9;3558:7;3554:23;3550:32;3547:52;;;3595:1;3592;3585:12;3547:52;3635:9;3622:23;3668:18;3660:6;3657:30;3654:50;;;3700:1;3697;3690:12;3654:50;3723:22;;3776:4;3768:13;;3764:27;-1:-1:-1;3754:55:19;;3805:1;3802;3795:12;3754:55;3828:74;3894:7;3889:2;3876:16;3871:2;3867;3863:11;3828:74;:::i;3913:186::-;3972:6;4025:2;4013:9;4004:7;4000:23;3996:32;3993:52;;;4041:1;4038;4031:12;3993:52;4064:29;4083:9;4064:29;:::i;4104:591::-;4174:6;4182;4235:2;4223:9;4214:7;4210:23;4206:32;4203:52;;;4251:1;4248;4241:12;4203:52;4291:9;4278:23;4320:18;4361:2;4353:6;4350:14;4347:34;;;4377:1;4374;4367:12;4347:34;4415:6;4404:9;4400:22;4390:32;;4460:7;4453:4;4449:2;4445:13;4441:27;4431:55;;4482:1;4479;4472:12;4431:55;4522:2;4509:16;4548:2;4540:6;4537:14;4534:34;;;4564:1;4561;4554:12;4534:34;4609:7;4604:2;4595:6;4591:2;4587:15;4583:24;4580:37;4577:57;;;4630:1;4627;4620:12;4577:57;4661:2;4653:11;;;;;4683:6;;-1:-1:-1;4104:591:19;;-1:-1:-1;;;;4104:591:19:o;4700:615::-;4786:6;4794;4847:2;4835:9;4826:7;4822:23;4818:32;4815:52;;;4863:1;4860;4853:12;4815:52;4903:9;4890:23;4932:18;4973:2;4965:6;4962:14;4959:34;;;4989:1;4986;4979:12;4959:34;5027:6;5016:9;5012:22;5002:32;;5072:7;5065:4;5061:2;5057:13;5053:27;5043:55;;5094:1;5091;5084:12;5043:55;5134:2;5121:16;5160:2;5152:6;5149:14;5146:34;;;5176:1;5173;5166:12;5146:34;5229:7;5224:2;5214:6;5211:1;5207:14;5203:2;5199:23;5195:32;5192:45;5189:65;;;5250:1;5247;5240:12;5320:347;5385:6;5393;5446:2;5434:9;5425:7;5421:23;5417:32;5414:52;;;5462:1;5459;5452:12;5414:52;5485:29;5504:9;5485:29;:::i;:::-;5475:39;;5564:2;5553:9;5549:18;5536:32;5611:5;5604:13;5597:21;5590:5;5587:32;5577:60;;5633:1;5630;5623:12;5577:60;5656:5;5646:15;;;5320:347;;;;;:::o;5672:667::-;5767:6;5775;5783;5791;5844:3;5832:9;5823:7;5819:23;5815:33;5812:53;;;5861:1;5858;5851:12;5812:53;5884:29;5903:9;5884:29;:::i;:::-;5874:39;;5932:38;5966:2;5955:9;5951:18;5932:38;:::i;:::-;5922:48;;6017:2;6006:9;6002:18;5989:32;5979:42;;6072:2;6061:9;6057:18;6044:32;6099:18;6091:6;6088:30;6085:50;;;6131:1;6128;6121:12;6085:50;6154:22;;6207:4;6199:13;;6195:27;-1:-1:-1;6185:55:19;;6236:1;6233;6226:12;6185:55;6259:74;6325:7;6320:2;6307:16;6302:2;6298;6294:11;6259:74;:::i;:::-;6249:84;;;5672:667;;;;;;;:::o;6344:260::-;6412:6;6420;6473:2;6461:9;6452:7;6448:23;6444:32;6441:52;;;6489:1;6486;6479:12;6441:52;6512:29;6531:9;6512:29;:::i;:::-;6502:39;;6560:38;6594:2;6583:9;6579:18;6560:38;:::i;:::-;6550:48;;6344:260;;;;;:::o;6955:380::-;7034:1;7030:12;;;;7077;;;7098:61;;7152:4;7144:6;7140:17;7130:27;;7098:61;7205:2;7197:6;7194:14;7174:18;7171:38;7168:161;;;7251:10;7246:3;7242:20;7239:1;7232:31;7286:4;7283:1;7276:15;7314:4;7311:1;7304:15;7168:161;;6955:380;;;:::o;8580:413::-;8782:2;8764:21;;;8821:2;8801:18;;;8794:30;8860:34;8855:2;8840:18;;8833:62;-1:-1:-1;;;8926:2:19;8911:18;;8904:47;8983:3;8968:19;;8580:413::o;8998:356::-;9200:2;9182:21;;;9219:18;;;9212:30;9278:34;9273:2;9258:18;;9251:62;9345:2;9330:18;;8998:356::o;10437:127::-;10498:10;10493:3;10489:20;10486:1;10479:31;10529:4;10526:1;10519:15;10553:4;10550:1;10543:15;13347:127;13408:10;13403:3;13399:20;13396:1;13389:31;13439:4;13436:1;13429:15;13463:4;13460:1;13453:15;13479:135;13518:3;-1:-1:-1;;13539:17:19;;13536:43;;;13559:18;;:::i;:::-;-1:-1:-1;13606:1:19;13595:13;;13479:135::o;13619:125::-;13659:4;13687:1;13684;13681:8;13678:34;;;13692:18;;:::i;:::-;-1:-1:-1;13729:9:19;;13619:125::o;14787:128::-;14827:3;14858:1;14854:6;14851:1;14848:13;14845:39;;;14864:18;;:::i;:::-;-1:-1:-1;14900:9:19;;14787:128::o;15273:168::-;15313:7;15379:1;15375;15371:6;15367:14;15364:1;15361:21;15356:1;15349:9;15342:17;15338:45;15335:71;;;15386:18;;:::i;:::-;-1:-1:-1;15426:9:19;;15273:168::o;16171:470::-;16350:3;16388:6;16382:13;16404:53;16450:6;16445:3;16438:4;16430:6;16426:17;16404:53;:::i;:::-;16520:13;;16479:16;;;;16542:57;16520:13;16479:16;16576:4;16564:17;;16542:57;:::i;:::-;16615:20;;16171:470;-1:-1:-1;;;;16171:470:19:o;19016:414::-;19218:2;19200:21;;;19257:2;19237:18;;;19230:30;19296:34;19291:2;19276:18;;19269:62;-1:-1:-1;;;19362:2:19;19347:18;;19340:48;19420:3;19405:19;;19016:414::o;19435:127::-;19496:10;19491:3;19487:20;19484:1;19477:31;19527:4;19524:1;19517:15;19551:4;19548:1;19541:15;19567:120;19607:1;19633;19623:35;;19638:18;;:::i;:::-;-1:-1:-1;19672:9:19;;19567:120::o;19692:112::-;19724:1;19750;19740:35;;19755:18;;:::i;:::-;-1:-1:-1;19789:9:19;;19692:112::o;19809:127::-;19870:10;19865:3;19861:20;19858:1;19851:31;19901:4;19898:1;19891:15;19925:4;19922:1;19915:15;22542:489;-1:-1:-1;;;;;22811:15:19;;;22793:34;;22863:15;;22858:2;22843:18;;22836:43;22910:2;22895:18;;22888:34;;;22958:3;22953:2;22938:18;;22931:31;;;22736:4;;22979:46;;23005:19;;22997:6;22979:46;:::i;:::-;22971:54;22542:489;-1:-1:-1;;;;;;22542:489:19:o;23036:249::-;23105:6;23158:2;23146:9;23137:7;23133:23;23129:32;23126:52;;;23174:1;23171;23164:12;23126:52;23206:9;23200:16;23225:30;23249:5;23225:30;:::i;23290:127::-;23351:10;23346:3;23342:20;23339:1;23332:31;23382:4;23379:1;23372:15;23406:4;23403:1;23396:15

Swarm Source

ipfs://f6bad2b3fca0201a44f67661817bcbc9a55fc7b4599aab19031963e4766dd964

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

C Buddha is a Buddhist NFT, we devote to promote a Buddhism that matches the web3 era, break the religious control and idol worship of historical Buddhism.We hope to help modern people to remove the self-objectification which brought by instrumental rationality and technologi...

Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.