ETH Price: $3,313.25 (+1.88%)
 

Overview

ETH Balance

11 wei

Eth Value

Less Than $0.01 (@ $3,313.25/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...215361092025-01-02 10:12:3521 days ago1735812755IN
0xEDE5B530...06AC09585
0 ETH0.0005812212.60329881
Set Approval For...215029382024-12-28 19:05:3526 days ago1735412735IN
0xEDE5B530...06AC09585
0 ETH0.000286996.22471082
Set Approval For...214616342024-12-23 0:32:5932 days ago1734913979IN
0xEDE5B530...06AC09585
0 ETH0.000252365.47364108
Set Approval For...214577632024-12-22 11:33:1132 days ago1734867191IN
0xEDE5B530...06AC09585
0 ETH0.00027385.9388198
Set Approval For...213968182024-12-13 23:17:2341 days ago1734131843IN
0xEDE5B530...06AC09585
0 ETH0.0005597212.14026294
Set Approval For...213409602024-12-06 4:06:2348 days ago1733457983IN
0xEDE5B530...06AC09585
0 ETH0.0007807716.93474203
Transfer From208367852024-09-26 19:08:35119 days ago1727377715IN
0xEDE5B530...06AC09585
0 ETH0.0007311120.91058615
Set Approval For...207495672024-09-14 14:53:23131 days ago1726325603IN
0xEDE5B530...06AC09585
0 ETH0.000106592.31070018
Set Approval For...203967982024-07-27 8:50:59180 days ago1722070259IN
0xEDE5B530...06AC09585
0 ETH0.000074071.60413595
Set Approval For...198329652024-05-09 14:03:59259 days ago1715263439IN
0xEDE5B530...06AC09585
0 ETH0.000248195.38317761
Set Approval For...195379632024-03-29 6:45:47300 days ago1711694747IN
0xEDE5B530...06AC09585
0 ETH0.0008676118.81833727
Set Approval For...193380012024-03-01 4:40:35328 days ago1709268035IN
0xEDE5B530...06AC09585
0 ETH0.0012261450.50648863
Set Approval For...193379992024-03-01 4:40:11328 days ago1709268011IN
0xEDE5B530...06AC09585
0 ETH0.0011629547.90348968
Set Approval For...192571172024-02-18 20:41:35340 days ago1708288895IN
0xEDE5B530...06AC09585
0 ETH0.0005999322.83109316
Set Approval For...192571102024-02-18 20:40:11340 days ago1708288811IN
0xEDE5B530...06AC09585
0 ETH0.000576723.75532322
Set Approval For...192562852024-02-18 17:52:47340 days ago1708278767IN
0xEDE5B530...06AC09585
0 ETH0.0012152626.3108069
Set Approval For...192531332024-02-18 7:13:23340 days ago1708240403IN
0xEDE5B530...06AC09585
0 ETH0.0004345117.89820204
Set Approval For...191650942024-02-05 22:40:47353 days ago1707172847IN
0xEDE5B530...06AC09585
0 ETH0.0009112819.76542271
Set Approval For...190842352024-01-25 14:30:11364 days ago1706193011IN
0xEDE5B530...06AC09585
0 ETH0.0013923330.19926254
Set Approval For...190627542024-01-22 14:05:59367 days ago1705932359IN
0xEDE5B530...06AC09585
0 ETH0.0004138715.79367523
Set Approval For...190627502024-01-22 14:05:11367 days ago1705932311IN
0xEDE5B530...06AC09585
0 ETH0.0007561216.40007968
Set Approval For...189075252023-12-31 19:24:35389 days ago1704050675IN
0xEDE5B530...06AC09585
0 ETH0.000602413.04553515
Set Approval For...189073432023-12-31 18:47:59389 days ago1704048479IN
0xEDE5B530...06AC09585
0 ETH0.000560112.12644837
Set Approval For...188596792023-12-25 2:07:47395 days ago1703470067IN
0xEDE5B530...06AC09585
0 ETH0.0007730516.76724288
Set Approval For...186255132023-11-22 6:31:35428 days ago1700634695IN
0xEDE5B530...06AC09585
0 ETH0.0006161125.37843013
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
152707322022-08-03 17:13:50904 days ago1659546830
0xEDE5B530...06AC09585
0.02453333 ETH
152707322022-08-03 17:13:50904 days ago1659546830
0xEDE5B530...06AC09585
0.02453333 ETH
152707322022-08-03 17:13:50904 days ago1659546830
0xEDE5B530...06AC09585
0.02453333 ETH
152707322022-08-03 17:13:50904 days ago1659546830
0xEDE5B530...06AC09585
0.02453333 ETH
152707322022-08-03 17:13:50904 days ago1659546830
0xEDE5B530...06AC09585
0.02453333 ETH
152707322022-08-03 17:13:50904 days ago1659546830
0xEDE5B530...06AC09585
0.02453333 ETH
152707322022-08-03 17:13:50904 days ago1659546830
0xEDE5B530...06AC09585
0.02453333 ETH
152707322022-08-03 17:13:50904 days ago1659546830
0xEDE5B530...06AC09585
0.02453333 ETH
152707322022-08-03 17:13:50904 days ago1659546830
0xEDE5B530...06AC09585
0.02453333 ETH
152707322022-08-03 17:13:50904 days ago1659546830
0xEDE5B530...06AC09585
0.02453333 ETH
152707322022-08-03 17:13:50904 days ago1659546830
0xEDE5B530...06AC09585
0.02453333 ETH
152707322022-08-03 17:13:50904 days ago1659546830
0xEDE5B530...06AC09585
0.02453333 ETH
152707322022-08-03 17:13:50904 days ago1659546830
0xEDE5B530...06AC09585
0.02453333 ETH
152707322022-08-03 17:13:50904 days ago1659546830
0xEDE5B530...06AC09585
0.02453333 ETH
152707322022-08-03 17:13:50904 days ago1659546830
0xEDE5B530...06AC09585
0.02453333 ETH
152707322022-08-03 17:13:50904 days ago1659546830
0xEDE5B530...06AC09585
0.02453333 ETH
152707322022-08-03 17:13:50904 days ago1659546830
0xEDE5B530...06AC09585
0.02453333 ETH
152707322022-08-03 17:13:50904 days ago1659546830
0xEDE5B530...06AC09585
0.02453333 ETH
152707322022-08-03 17:13:50904 days ago1659546830
0xEDE5B530...06AC09585
0.0384 ETH
146541652022-04-25 13:52:001004 days ago1650894720
0xEDE5B530...06AC09585
0.0276 ETH
146541652022-04-25 13:52:001004 days ago1650894720
0xEDE5B530...06AC09585
0.0276 ETH
146541652022-04-25 13:52:001004 days ago1650894720
0xEDE5B530...06AC09585
0.0276 ETH
146541652022-04-25 13:52:001004 days ago1650894720
0xEDE5B530...06AC09585
0.0276 ETH
146541652022-04-25 13:52:001004 days ago1650894720
0xEDE5B530...06AC09585
0.0276 ETH
146541652022-04-25 13:52:001004 days ago1650894720
0xEDE5B530...06AC09585
0.0276 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MekaBae

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : MekaBae.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

contract MekaBae is ERC721, Ownable {

    using ECDSA for bytes32;

    uint constant public MAX_SUPPLY = 10000;
    uint constant public PRICE = 0.02 ether;

    string public baseURI;
    uint public maxFreeNFTPerWallet;
    uint public maxMintsPerWallet;

    address public authorizedSigner;
    uint public claimingStartTimestamp;
    uint public mintingStartTimestamp;

    uint public totalSupply;
    mapping(address => uint) public claimedNFTs;
    mapping(address => uint) public mintedNFTs;

    constructor() ERC721("One Day Mekabae", "ODB") {
        claimingStartTimestamp = 1635285600;
        mintingStartTimestamp = 1635292800;
        baseURI = "https://storage.googleapis.com/onedaybae/mekabae_meta/";
        maxFreeNFTPerWallet = 0;
        maxMintsPerWallet = 15;
        authorizedSigner = 0x4d7c6859B14464Af6c10E3Dff22a80B86fC26FD9;

        mintNFTs(1);
    }

    // Setters region
    function setBaseURI(string memory _baseURIArg) external onlyOwner {
        baseURI = _baseURIArg;
    }

    function setMaxFreeNFTPerWallet(uint _maxFreeNFTPerWallet) external onlyOwner {
        maxFreeNFTPerWallet = _maxFreeNFTPerWallet;
    }

    function setMaxMintsPerWallet(uint _maxMintsPerWallet) external onlyOwner {
        maxMintsPerWallet = _maxMintsPerWallet;
    }

    function setAuthorizedSigner(address _authorizedSigner) external onlyOwner {
        authorizedSigner = _authorizedSigner;
    }

    function setClaimingStartTimestamp(uint _claimingStartTimestamp) external onlyOwner {
        claimingStartTimestamp = _claimingStartTimestamp;
    }

    function setMintingStartTimestamp(uint _mintingStartTimestamp) external onlyOwner {
        mintingStartTimestamp = _mintingStartTimestamp;
    }

    function configure(
        uint _maxFreeNFTPerWallet,
        uint _maxMintsPerWallet,
        address _authorizedSigner,
        uint _claimingStartTimestamp,
        uint _mintingStartTimestamp
    ) external onlyOwner {
        maxFreeNFTPerWallet = _maxFreeNFTPerWallet;
        maxMintsPerWallet = _maxMintsPerWallet;
        authorizedSigner = _authorizedSigner;
        claimingStartTimestamp = _claimingStartTimestamp;
        mintingStartTimestamp = _mintingStartTimestamp;
    }
    // endregion

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

    // Mint and Claim functions
    function hashTransaction(address minter, uint claimsLimit) internal pure returns (bytes32) {
        bytes32 dataHash = keccak256(abi.encodePacked(minter, claimsLimit));
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", dataHash));
    }

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

    modifier maxSupplyCheck(uint amount)  {
        require(totalSupply + amount <= MAX_SUPPLY, "Tokens supply reached limit");
        _;
    }

    function claim(uint amount, uint claimsLimit, bytes memory signature) internal {
        require(block.timestamp >= claimingStartTimestamp, "Claiming is not available");
        require(recoverSignerAddress(msg.sender, claimsLimit, signature) == authorizedSigner, "Bad signature");
        require(claimedNFTs[msg.sender] + amount <= claimsLimit, "Can't claim such amount of tokens");
        claimedNFTs[msg.sender] += amount;
        mintNFTs(amount);
    }

    function findRemainingFreeMints() public view returns (uint) {
        uint minted = mintedNFTs[msg.sender];
        return maxFreeNFTPerWallet > minted ? maxFreeNFTPerWallet - minted : 0;
    }

    function mintPrice(uint amount) public view returns (uint) {
        uint remainingFreeMints = findRemainingFreeMints();
        if (remainingFreeMints >= amount) {
            return 0;
        } else {
            return (amount - remainingFreeMints) * PRICE;
        }
    }

    function mint(uint amount) internal {
        require(block.timestamp >= mintingStartTimestamp, "Minting is not available");
        require(mintedNFTs[msg.sender] + amount <= maxMintsPerWallet, "maxMintsPerWallet constraint violation");
        require(mintPrice(amount) == msg.value, "Wrong ethers value");
        mintedNFTs[msg.sender] += amount;
        mintNFTs(amount);
    }

    function publicMint(uint mintAmount, uint claimAmount, uint claimsLimit, bytes memory signature) external payable {
        if (mintAmount > 0) {
            mint(mintAmount);
        }
        if (claimAmount > 0) {
            claim(claimAmount, claimsLimit, signature);
        }
    }

    function mintNFTs(uint amount) internal maxSupplyCheck(amount) {
        uint fromToken = totalSupply + 1;
        totalSupply += amount;
        for (uint i = 0; i < amount; i++) {
            _mint(msg.sender, fromToken + i);
        }
    }

    receive() external payable {

    }

    function withdraw() external onlyOwner {
        uint balance = address(this).balance;
        payable(0xb5bE3a702ea2b3ac1e5D14dAcD9f2b1D5b76CF97).transfer(balance * 8 / 100);
        balance -= balance * 8 / 100;
        payable(0x50131231dE9E36B3838c5F4B9D80D07e45FDD7Ae).transfer(balance / 18);
        payable(0x216F2Cf67561ED5e9A2F31482158BFc4996037AE).transfer(balance / 18);
        payable(0x82C71278733e4F8B938594C90269486b88Fb03B6).transfer(balance / 18);
        payable(0x7C94FeA51887eEFaAc4D5e708Dc1Ab98A701250A).transfer(balance / 18);
        payable(0x9Edd6b63cFCd36c2937A0955b1f9F01547707e5B).transfer(balance / 18);
        payable(0xc47c0dccfbb4D1c20d53569A288738f22e32275B).transfer(balance / 18);
        payable(0x818ea5826A063E940Cd3a8C49efa00E1ac1ed78a).transfer(balance / 18);
        payable(0x913A9F335B3C43ad91C37d1c57C0C8B0AC2Bc7aC).transfer(balance / 18);
        payable(0xFeE836516a3Fc5f053F35964a2Bed9af65Da8159).transfer(balance / 18);
        payable(0xdf674A85F3E6e2f24beeFe9EF291F2c632Ef0f0E).transfer(balance / 18);
        payable(0x17301aA866A6FFEe762c51134934924d2727b35E).transfer(balance / 18);
        payable(0x2E8D42eeC83E5e9dFC3DF007F8CE890197a1d461).transfer(balance / 18);
        payable(0xC1aC82943c37CEE8427A7878e78086F8Eac12615).transfer(balance / 18);
        payable(0x446D8feD6c6124f8Df17ED19De46977a29C30FD8).transfer(balance / 18);
        payable(0xBc2a6780951a84CD33C266a5213948606A2a67d3).transfer(balance / 18);
        payable(0x80B69a849cEE64bCEF6c6dA5A809fA521Aef6091).transfer(balance / 18);
        payable(0xA12EEeAad1D13f0938FEBd6a1B0e8b10AB31dbD6).transfer(balance / 18);
        payable(0xc153FE99e6F09fbf52f7D1D84618E06e3d9495fD).transfer(balance / 18);
    }

}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","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":[],"name":"authorizedSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedNFTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimingStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFreeNFTPerWallet","type":"uint256"},{"internalType":"uint256","name":"_maxMintsPerWallet","type":"uint256"},{"internalType":"address","name":"_authorizedSigner","type":"address"},{"internalType":"uint256","name":"_claimingStartTimestamp","type":"uint256"},{"internalType":"uint256","name":"_mintingStartTimestamp","type":"uint256"}],"name":"configure","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"findRemainingFreeMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeNFTPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedNFTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"uint256","name":"mintAmount","type":"uint256"},{"internalType":"uint256","name":"claimAmount","type":"uint256"},{"internalType":"uint256","name":"claimsLimit","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"publicMint","outputs":[],"stateMutability":"payable","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":"address","name":"_authorizedSigner","type":"address"}],"name":"setAuthorizedSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURIArg","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_claimingStartTimestamp","type":"uint256"}],"name":"setClaimingStartTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFreeNFTPerWallet","type":"uint256"}],"name":"setMaxFreeNFTPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintsPerWallet","type":"uint256"}],"name":"setMaxMintsPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintingStartTimestamp","type":"uint256"}],"name":"setMintingStartTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b50604080518082018252600f81526e4f6e6520446179204d656b6162616560881b60208083019182528351808501909452600384526227a22160e91b90840152815191929162000064916000916200038c565b5080516200007a9060019060208401906200038c565b50505062000097620000916200011960201b60201c565b6200011d565b6361787a60600b556361789680600c55604080516060810190915260368082526200305060208301398051620000d6916007916020909101906200038c565b506000600855600f600955600a80546001600160a01b031916734d7c6859b14464af6c10e3dff22a80b86fc26fd91790556200011360016200016f565b620004be565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8061271081600d5462000183919062000432565b1115620001d75760405162461bcd60e51b815260206004820152601b60248201527f546f6b656e7320737570706c792072656163686564206c696d6974000000000060448201526064015b60405180910390fd5b6000600d546001620001ea919062000432565b905082600d600082825462000200919062000432565b90915550600090505b838110156200023e57620002293362000223838562000432565b62000244565b8062000235816200048a565b91505062000209565b50505050565b6001600160a01b0382166200029c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401620001ce565b6000818152600260205260409020546001600160a01b031615620003035760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401620001ce565b6001600160a01b03821660009081526003602052604081208054600192906200032e90849062000432565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546200039a906200044d565b90600052602060002090601f016020900481019282620003be576000855562000409565b82601f10620003d957805160ff191683800117855562000409565b8280016001018555821562000409579182015b8281111562000409578251825591602001919060010190620003ec565b50620004179291506200041b565b5090565b5b808211156200041757600081556001016200041c565b60008219821115620004485762000448620004a8565b500190565b600181811c908216806200046257607f821691505b602082108114156200048457634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415620004a157620004a1620004a8565b5060010190565b634e487b7160e01b600052601160045260246000fd5b612b8280620004ce6000396000f3fe6080604052600436106102295760003560e01c8063800fff6b11610123578063ba060bed116100ab578063e6a72acf1161006f578063e6a72acf14610631578063e985e9c514610651578063f266fd9b1461069a578063f2fde38b146106ba578063f516a2e6146106da57600080fd5b8063ba060bed14610584578063c771909c146105b1578063c87b56dd146105d1578063d279b0ca146105f1578063e16685ee1461061157600080fd5b8063963c3546116100f2578063963c3546146104f9578063991ee1d914610519578063a22cb4651461052e578063b7877ed41461054e578063b88d4fde1461056457600080fd5b8063800fff6b1461047e5780638d859f3e146104ab5780638da5cb5b146104c657806395d89b41146104e457600080fd5b806332cb6b0c116101b15780635d773f94116101755780635d773f94146103fe5780636352211e146104145780636c0360eb1461043457806370a0823114610449578063715018a61461046957600080fd5b806332cb6b0c1461037d5780633ccfd60b1461039357806342082fda146103a857806342842e0e146103be57806355f804b3146103de57600080fd5b8063095ea7b3116101f8578063095ea7b3146102e657806318160ddd146103065780632091798a1461032a57806323b872dd1461033d57806325977ec71461035d57600080fd5b806301ffc9a71461023557806306fdde031461026a578063081812fc1461028c57806309402534146102c457600080fd5b3661023057005b600080fd5b34801561024157600080fd5b5061025561025036600461272e565b6106f0565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061027f610742565b60405161026191906128eb565b34801561029857600080fd5b506102ac6102a73660046127b1565b6107d4565b6040516001600160a01b039091168152602001610261565b3480156102d057600080fd5b506102e46102df3660046127ca565b61086e565b005b3480156102f257600080fd5b506102e4610301366004612704565b6108cc565b34801561031257600080fd5b5061031c600d5481565b604051908152602001610261565b6102e4610338366004612811565b6109e2565b34801561034957600080fd5b506102e4610358366004612624565b610a08565b34801561036957600080fd5b506102e46103783660046127b1565b610a39565b34801561038957600080fd5b5061031c61271081565b34801561039f57600080fd5b506102e4610a68565b3480156103b457600080fd5b5061031c60085481565b3480156103ca57600080fd5b506102e46103d9366004612624565b611069565b3480156103ea57600080fd5b506102e46103f9366004612768565b611084565b34801561040a57600080fd5b5061031c600b5481565b34801561042057600080fd5b506102ac61042f3660046127b1565b6110c1565b34801561044057600080fd5b5061027f611138565b34801561045557600080fd5b5061031c6104643660046125d6565b6111c6565b34801561047557600080fd5b506102e461124d565b34801561048a57600080fd5b5061031c6104993660046125d6565b600e6020526000908152604090205481565b3480156104b757600080fd5b5061031c66470de4df82000081565b3480156104d257600080fd5b506006546001600160a01b03166102ac565b3480156104f057600080fd5b5061027f611283565b34801561050557600080fd5b506102e46105143660046127b1565b611292565b34801561052557600080fd5b5061031c6112c1565b34801561053a57600080fd5b506102e46105493660046126c8565b6112f5565b34801561055a57600080fd5b5061031c600c5481565b34801561057057600080fd5b506102e461057f366004612660565b6113ba565b34801561059057600080fd5b5061031c61059f3660046125d6565b600f6020526000908152604090205481565b3480156105bd57600080fd5b50600a546102ac906001600160a01b031681565b3480156105dd57600080fd5b5061027f6105ec3660046127b1565b6113ec565b3480156105fd57600080fd5b506102e461060c3660046125d6565b6114c7565b34801561061d57600080fd5b506102e461062c3660046127b1565b611513565b34801561063d57600080fd5b5061031c61064c3660046127b1565b611542565b34801561065d57600080fd5b5061025561066c3660046125f1565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106a657600080fd5b506102e46106b53660046127b1565b611581565b3480156106c657600080fd5b506102e46106d53660046125d6565b6115b0565b3480156106e657600080fd5b5061031c60095481565b60006001600160e01b031982166380ac58cd60e01b148061072157506001600160e01b03198216635b5e139f60e01b145b8061073c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461075190612a64565b80601f016020809104026020016040519081016040528092919081815260200182805461077d90612a64565b80156107ca5780601f1061079f576101008083540402835291602001916107ca565b820191906000526020600020905b8154815290600101906020018083116107ad57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108525760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6006546001600160a01b031633146108985760405162461bcd60e51b815260040161084990612950565b600894909455600992909255600a80546001600160a01b0319166001600160a01b0392909216919091179055600b55600c55565b60006108d7826110c1565b9050806001600160a01b0316836001600160a01b031614156109455760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610849565b336001600160a01b03821614806109615750610961813361066c565b6109d35760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610849565b6109dd838361164b565b505050565b83156109f1576109f1846116b9565b8215610a0257610a02838383611800565b50505050565b610a123382611952565b610a2e5760405162461bcd60e51b815260040161084990612985565b6109dd838383611a49565b6006546001600160a01b03163314610a635760405162461bcd60e51b815260040161084990612950565b600c55565b6006546001600160a01b03163314610a925760405162461bcd60e51b815260040161084990612950565b4773b5be3a702ea2b3ac1e5d14dacd9f2b1d5b76cf976108fc6064610ab8846008612a02565b610ac291906129ee565b6040518115909202916000818181858888f19350505050158015610aea573d6000803e3d6000fd5b506064610af8826008612a02565b610b0291906129ee565b610b0c9082612a21565b90507350131231de9e36b3838c5f4b9d80d07e45fdd7ae6108fc610b316012846129ee565b6040518115909202916000818181858888f19350505050158015610b59573d6000803e3d6000fd5b5073216f2cf67561ed5e9a2f31482158bfc4996037ae6108fc610b7d6012846129ee565b6040518115909202916000818181858888f19350505050158015610ba5573d6000803e3d6000fd5b507382c71278733e4f8b938594c90269486b88fb03b66108fc610bc96012846129ee565b6040518115909202916000818181858888f19350505050158015610bf1573d6000803e3d6000fd5b50737c94fea51887eefaac4d5e708dc1ab98a701250a6108fc610c156012846129ee565b6040518115909202916000818181858888f19350505050158015610c3d573d6000803e3d6000fd5b50739edd6b63cfcd36c2937a0955b1f9f01547707e5b6108fc610c616012846129ee565b6040518115909202916000818181858888f19350505050158015610c89573d6000803e3d6000fd5b5073c47c0dccfbb4d1c20d53569a288738f22e32275b6108fc610cad6012846129ee565b6040518115909202916000818181858888f19350505050158015610cd5573d6000803e3d6000fd5b5073818ea5826a063e940cd3a8c49efa00e1ac1ed78a6108fc610cf96012846129ee565b6040518115909202916000818181858888f19350505050158015610d21573d6000803e3d6000fd5b5073913a9f335b3c43ad91c37d1c57c0c8b0ac2bc7ac6108fc610d456012846129ee565b6040518115909202916000818181858888f19350505050158015610d6d573d6000803e3d6000fd5b5073fee836516a3fc5f053f35964a2bed9af65da81596108fc610d916012846129ee565b6040518115909202916000818181858888f19350505050158015610db9573d6000803e3d6000fd5b5073df674a85f3e6e2f24beefe9ef291f2c632ef0f0e6108fc610ddd6012846129ee565b6040518115909202916000818181858888f19350505050158015610e05573d6000803e3d6000fd5b507317301aa866a6ffee762c51134934924d2727b35e6108fc610e296012846129ee565b6040518115909202916000818181858888f19350505050158015610e51573d6000803e3d6000fd5b50732e8d42eec83e5e9dfc3df007f8ce890197a1d4616108fc610e756012846129ee565b6040518115909202916000818181858888f19350505050158015610e9d573d6000803e3d6000fd5b5073c1ac82943c37cee8427a7878e78086f8eac126156108fc610ec16012846129ee565b6040518115909202916000818181858888f19350505050158015610ee9573d6000803e3d6000fd5b5073446d8fed6c6124f8df17ed19de46977a29c30fd86108fc610f0d6012846129ee565b6040518115909202916000818181858888f19350505050158015610f35573d6000803e3d6000fd5b5073bc2a6780951a84cd33c266a5213948606a2a67d36108fc610f596012846129ee565b6040518115909202916000818181858888f19350505050158015610f81573d6000803e3d6000fd5b507380b69a849cee64bcef6c6da5a809fa521aef60916108fc610fa56012846129ee565b6040518115909202916000818181858888f19350505050158015610fcd573d6000803e3d6000fd5b5073a12eeeaad1d13f0938febd6a1b0e8b10ab31dbd66108fc610ff16012846129ee565b6040518115909202916000818181858888f19350505050158015611019573d6000803e3d6000fd5b5073c153fe99e6f09fbf52f7d1d84618e06e3d9495fd6108fc61103d6012846129ee565b6040518115909202916000818181858888f19350505050158015611065573d6000803e3d6000fd5b5050565b6109dd838383604051806020016040528060008152506113ba565b6006546001600160a01b031633146110ae5760405162461bcd60e51b815260040161084990612950565b805161106590600790602084019061248b565b6000818152600260205260408120546001600160a01b03168061073c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610849565b6007805461114590612a64565b80601f016020809104026020016040519081016040528092919081815260200182805461117190612a64565b80156111be5780601f10611193576101008083540402835291602001916111be565b820191906000526020600020905b8154815290600101906020018083116111a157829003601f168201915b505050505081565b60006001600160a01b0382166112315760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610849565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146112775760405162461bcd60e51b815260040161084990612950565b6112816000611be9565b565b60606001805461075190612a64565b6006546001600160a01b031633146112bc5760405162461bcd60e51b815260040161084990612950565b600955565b336000908152600f602052604081205460085481106112e15760006112ef565b806008546112ef9190612a21565b91505090565b6001600160a01b03821633141561134e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610849565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6113c43383611952565b6113e05760405162461bcd60e51b815260040161084990612985565b610a0284848484611c3b565b6000818152600260205260409020546060906001600160a01b031661146b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610849565b6000611475611c6e565b9050600081511161149557604051806020016040528060008152506114c0565b8061149f84611c7d565b6040516020016114b092919061287f565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146114f15760405162461bcd60e51b815260040161084990612950565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b0316331461153d5760405162461bcd60e51b815260040161084990612950565b600855565b60008061154d6112c1565b905082811061155f5750600092915050565b66470de4df8200006115718285612a21565b6114c09190612a02565b50919050565b6006546001600160a01b031633146115ab5760405162461bcd60e51b815260040161084990612950565b600b55565b6006546001600160a01b031633146115da5760405162461bcd60e51b815260040161084990612950565b6001600160a01b03811661163f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610849565b61164881611be9565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611680826110c1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600c5442101561170b5760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e67206973206e6f7420617661696c61626c6500000000000000006044820152606401610849565b600954336000908152600f60205260409020546117299083906129d6565b11156117865760405162461bcd60e51b815260206004820152602660248201527f6d61784d696e747350657257616c6c657420636f6e73747261696e742076696f6044820152653630ba34b7b760d11b6064820152608401610849565b3461179082611542565b146117d25760405162461bcd60e51b815260206004820152601260248201527157726f6e67206574686572732076616c756560701b6044820152606401610849565b336000908152600f6020526040812080548392906117f19084906129d6565b90915550611648905081611d7b565b600b544210156118525760405162461bcd60e51b815260206004820152601960248201527f436c61696d696e67206973206e6f7420617661696c61626c65000000000000006044820152606401610849565b600a546001600160a01b0316611869338484611e36565b6001600160a01b0316146118af5760405162461bcd60e51b815260206004820152600d60248201526c426164207369676e617475726560981b6044820152606401610849565b336000908152600e602052604090205482906118cc9085906129d6565b11156119245760405162461bcd60e51b815260206004820152602160248201527f43616e277420636c61696d207375636820616d6f756e74206f6620746f6b656e6044820152607360f81b6064820152608401610849565b336000908152600e6020526040812080548592906119439084906129d6565b909155506109dd905083611d7b565b6000818152600260205260408120546001600160a01b03166119cb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610849565b60006119d6836110c1565b9050806001600160a01b0316846001600160a01b03161480611a115750836001600160a01b0316611a06846107d4565b6001600160a01b0316145b80611a4157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611a5c826110c1565b6001600160a01b031614611ac45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610849565b6001600160a01b038216611b265760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610849565b611b3160008261164b565b6001600160a01b0383166000908152600360205260408120805460019290611b5a908490612a21565b90915550506001600160a01b0382166000908152600360205260408120805460019290611b889084906129d6565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611c46848484611a49565b611c5284848484611ed1565b610a025760405162461bcd60e51b8152600401610849906128fe565b60606007805461075190612a64565b606081611ca15750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ccb5780611cb581612a99565b9150611cc49050600a836129ee565b9150611ca5565b60008167ffffffffffffffff811115611ce657611ce6612b20565b6040519080825280601f01601f191660200182016040528015611d10576020820181803683370190505b5090505b8415611a4157611d25600183612a21565b9150611d32600a86612ab4565b611d3d9060306129d6565b60f81b818381518110611d5257611d52612b0a565b60200101906001600160f81b031916908160001a905350611d74600a866129ee565b9450611d14565b8061271081600d54611d8d91906129d6565b1115611ddb5760405162461bcd60e51b815260206004820152601b60248201527f546f6b656e7320737570706c792072656163686564206c696d697400000000006044820152606401610849565b6000600d546001611dec91906129d6565b905082600d6000828254611e0091906129d6565b90915550600090505b83811015610a0257611e2433611e1f83856129d6565b611fde565b80611e2e81612a99565b915050611e09565b604080516bffffffffffffffffffffffff19606086901b166020808301919091526034808301869052835180840390910181526054830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000060748401526090808401919091528351808403909101815260b09092019092528051910120600090611ec88184612120565b95945050505050565b60006001600160a01b0384163b15611fd357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611f159033908990889088906004016128ae565b602060405180830381600087803b158015611f2f57600080fd5b505af1925050508015611f5f575060408051601f3d908101601f19168201909252611f5c9181019061274b565b60015b611fb9573d808015611f8d576040519150601f19603f3d011682016040523d82523d6000602084013e611f92565b606091505b508051611fb15760405162461bcd60e51b8152600401610849906128fe565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a41565b506001949350505050565b6001600160a01b0382166120345760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610849565b6000818152600260205260409020546001600160a01b0316156120995760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610849565b6001600160a01b03821660009081526003602052604081208054600192906120c29084906129d6565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600080600061212f8585612144565b9150915061213c816121b4565b509392505050565b60008082516041141561217b5760208301516040840151606085015160001a61216f8782858561236f565b945094505050506121ad565b8251604014156121a5576020830151604084015161219a86838361245c565b9350935050506121ad565b506000905060025b9250929050565b60008160048111156121c8576121c8612af4565b14156121d15750565b60018160048111156121e5576121e5612af4565b14156122335760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610849565b600281600481111561224757612247612af4565b14156122955760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610849565b60038160048111156122a9576122a9612af4565b14156123025760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610849565b600481600481111561231657612316612af4565b14156116485760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610849565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156123a65750600090506003612453565b8460ff16601b141580156123be57508460ff16601c14155b156123cf5750600090506004612453565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612423573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661244c57600060019250925050612453565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b0161247d8782888561236f565b935093505050935093915050565b82805461249790612a64565b90600052602060002090601f0160209004810192826124b957600085556124ff565b82601f106124d257805160ff19168380011785556124ff565b828001600101855582156124ff579182015b828111156124ff5782518255916020019190600101906124e4565b5061250b92915061250f565b5090565b5b8082111561250b5760008155600101612510565b600067ffffffffffffffff8084111561253f5761253f612b20565b604051601f8501601f19908116603f0116810190828211818310171561256757612567612b20565b8160405280935085815286868601111561258057600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146125b157600080fd5b919050565b600082601f8301126125c757600080fd5b6114c083833560208501612524565b6000602082840312156125e857600080fd5b6114c08261259a565b6000806040838503121561260457600080fd5b61260d8361259a565b915061261b6020840161259a565b90509250929050565b60008060006060848603121561263957600080fd5b6126428461259a565b92506126506020850161259a565b9150604084013590509250925092565b6000806000806080858703121561267657600080fd5b61267f8561259a565b935061268d6020860161259a565b925060408501359150606085013567ffffffffffffffff8111156126b057600080fd5b6126bc878288016125b6565b91505092959194509250565b600080604083850312156126db57600080fd5b6126e48361259a565b9150602083013580151581146126f957600080fd5b809150509250929050565b6000806040838503121561271757600080fd5b6127208361259a565b946020939093013593505050565b60006020828403121561274057600080fd5b81356114c081612b36565b60006020828403121561275d57600080fd5b81516114c081612b36565b60006020828403121561277a57600080fd5b813567ffffffffffffffff81111561279157600080fd5b8201601f810184136127a257600080fd5b611a4184823560208401612524565b6000602082840312156127c357600080fd5b5035919050565b600080600080600060a086880312156127e257600080fd5b85359450602086013593506127f96040870161259a565b94979396509394606081013594506080013592915050565b6000806000806080858703121561282757600080fd5b843593506020850135925060408501359150606085013567ffffffffffffffff8111156126b057600080fd5b6000815180845261286b816020860160208601612a38565b601f01601f19169290920160200192915050565b60008351612891818460208801612a38565b8351908301906128a5818360208801612a38565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906128e190830184612853565b9695505050505050565b6020815260006114c06020830184612853565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156129e9576129e9612ac8565b500190565b6000826129fd576129fd612ade565b500490565b6000816000190483118215151615612a1c57612a1c612ac8565b500290565b600082821015612a3357612a33612ac8565b500390565b60005b83811015612a53578181015183820152602001612a3b565b83811115610a025750506000910152565b600181811c90821680612a7857607f821691505b6020821081141561157b57634e487b7160e01b600052602260045260246000fd5b6000600019821415612aad57612aad612ac8565b5060010190565b600082612ac357612ac3612ade565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461164857600080fdfea2646970667358221220ebc8c177b2adccd7194137b1fbe056e3860f6d43d4cd81ef13135b2a48f17e4764736f6c6343000806003368747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f6f6e656461796261652f6d656b616261655f6d6574612f

Deployed Bytecode

0x6080604052600436106102295760003560e01c8063800fff6b11610123578063ba060bed116100ab578063e6a72acf1161006f578063e6a72acf14610631578063e985e9c514610651578063f266fd9b1461069a578063f2fde38b146106ba578063f516a2e6146106da57600080fd5b8063ba060bed14610584578063c771909c146105b1578063c87b56dd146105d1578063d279b0ca146105f1578063e16685ee1461061157600080fd5b8063963c3546116100f2578063963c3546146104f9578063991ee1d914610519578063a22cb4651461052e578063b7877ed41461054e578063b88d4fde1461056457600080fd5b8063800fff6b1461047e5780638d859f3e146104ab5780638da5cb5b146104c657806395d89b41146104e457600080fd5b806332cb6b0c116101b15780635d773f94116101755780635d773f94146103fe5780636352211e146104145780636c0360eb1461043457806370a0823114610449578063715018a61461046957600080fd5b806332cb6b0c1461037d5780633ccfd60b1461039357806342082fda146103a857806342842e0e146103be57806355f804b3146103de57600080fd5b8063095ea7b3116101f8578063095ea7b3146102e657806318160ddd146103065780632091798a1461032a57806323b872dd1461033d57806325977ec71461035d57600080fd5b806301ffc9a71461023557806306fdde031461026a578063081812fc1461028c57806309402534146102c457600080fd5b3661023057005b600080fd5b34801561024157600080fd5b5061025561025036600461272e565b6106f0565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061027f610742565b60405161026191906128eb565b34801561029857600080fd5b506102ac6102a73660046127b1565b6107d4565b6040516001600160a01b039091168152602001610261565b3480156102d057600080fd5b506102e46102df3660046127ca565b61086e565b005b3480156102f257600080fd5b506102e4610301366004612704565b6108cc565b34801561031257600080fd5b5061031c600d5481565b604051908152602001610261565b6102e4610338366004612811565b6109e2565b34801561034957600080fd5b506102e4610358366004612624565b610a08565b34801561036957600080fd5b506102e46103783660046127b1565b610a39565b34801561038957600080fd5b5061031c61271081565b34801561039f57600080fd5b506102e4610a68565b3480156103b457600080fd5b5061031c60085481565b3480156103ca57600080fd5b506102e46103d9366004612624565b611069565b3480156103ea57600080fd5b506102e46103f9366004612768565b611084565b34801561040a57600080fd5b5061031c600b5481565b34801561042057600080fd5b506102ac61042f3660046127b1565b6110c1565b34801561044057600080fd5b5061027f611138565b34801561045557600080fd5b5061031c6104643660046125d6565b6111c6565b34801561047557600080fd5b506102e461124d565b34801561048a57600080fd5b5061031c6104993660046125d6565b600e6020526000908152604090205481565b3480156104b757600080fd5b5061031c66470de4df82000081565b3480156104d257600080fd5b506006546001600160a01b03166102ac565b3480156104f057600080fd5b5061027f611283565b34801561050557600080fd5b506102e46105143660046127b1565b611292565b34801561052557600080fd5b5061031c6112c1565b34801561053a57600080fd5b506102e46105493660046126c8565b6112f5565b34801561055a57600080fd5b5061031c600c5481565b34801561057057600080fd5b506102e461057f366004612660565b6113ba565b34801561059057600080fd5b5061031c61059f3660046125d6565b600f6020526000908152604090205481565b3480156105bd57600080fd5b50600a546102ac906001600160a01b031681565b3480156105dd57600080fd5b5061027f6105ec3660046127b1565b6113ec565b3480156105fd57600080fd5b506102e461060c3660046125d6565b6114c7565b34801561061d57600080fd5b506102e461062c3660046127b1565b611513565b34801561063d57600080fd5b5061031c61064c3660046127b1565b611542565b34801561065d57600080fd5b5061025561066c3660046125f1565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106a657600080fd5b506102e46106b53660046127b1565b611581565b3480156106c657600080fd5b506102e46106d53660046125d6565b6115b0565b3480156106e657600080fd5b5061031c60095481565b60006001600160e01b031982166380ac58cd60e01b148061072157506001600160e01b03198216635b5e139f60e01b145b8061073c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461075190612a64565b80601f016020809104026020016040519081016040528092919081815260200182805461077d90612a64565b80156107ca5780601f1061079f576101008083540402835291602001916107ca565b820191906000526020600020905b8154815290600101906020018083116107ad57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108525760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6006546001600160a01b031633146108985760405162461bcd60e51b815260040161084990612950565b600894909455600992909255600a80546001600160a01b0319166001600160a01b0392909216919091179055600b55600c55565b60006108d7826110c1565b9050806001600160a01b0316836001600160a01b031614156109455760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610849565b336001600160a01b03821614806109615750610961813361066c565b6109d35760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610849565b6109dd838361164b565b505050565b83156109f1576109f1846116b9565b8215610a0257610a02838383611800565b50505050565b610a123382611952565b610a2e5760405162461bcd60e51b815260040161084990612985565b6109dd838383611a49565b6006546001600160a01b03163314610a635760405162461bcd60e51b815260040161084990612950565b600c55565b6006546001600160a01b03163314610a925760405162461bcd60e51b815260040161084990612950565b4773b5be3a702ea2b3ac1e5d14dacd9f2b1d5b76cf976108fc6064610ab8846008612a02565b610ac291906129ee565b6040518115909202916000818181858888f19350505050158015610aea573d6000803e3d6000fd5b506064610af8826008612a02565b610b0291906129ee565b610b0c9082612a21565b90507350131231de9e36b3838c5f4b9d80d07e45fdd7ae6108fc610b316012846129ee565b6040518115909202916000818181858888f19350505050158015610b59573d6000803e3d6000fd5b5073216f2cf67561ed5e9a2f31482158bfc4996037ae6108fc610b7d6012846129ee565b6040518115909202916000818181858888f19350505050158015610ba5573d6000803e3d6000fd5b507382c71278733e4f8b938594c90269486b88fb03b66108fc610bc96012846129ee565b6040518115909202916000818181858888f19350505050158015610bf1573d6000803e3d6000fd5b50737c94fea51887eefaac4d5e708dc1ab98a701250a6108fc610c156012846129ee565b6040518115909202916000818181858888f19350505050158015610c3d573d6000803e3d6000fd5b50739edd6b63cfcd36c2937a0955b1f9f01547707e5b6108fc610c616012846129ee565b6040518115909202916000818181858888f19350505050158015610c89573d6000803e3d6000fd5b5073c47c0dccfbb4d1c20d53569a288738f22e32275b6108fc610cad6012846129ee565b6040518115909202916000818181858888f19350505050158015610cd5573d6000803e3d6000fd5b5073818ea5826a063e940cd3a8c49efa00e1ac1ed78a6108fc610cf96012846129ee565b6040518115909202916000818181858888f19350505050158015610d21573d6000803e3d6000fd5b5073913a9f335b3c43ad91c37d1c57c0c8b0ac2bc7ac6108fc610d456012846129ee565b6040518115909202916000818181858888f19350505050158015610d6d573d6000803e3d6000fd5b5073fee836516a3fc5f053f35964a2bed9af65da81596108fc610d916012846129ee565b6040518115909202916000818181858888f19350505050158015610db9573d6000803e3d6000fd5b5073df674a85f3e6e2f24beefe9ef291f2c632ef0f0e6108fc610ddd6012846129ee565b6040518115909202916000818181858888f19350505050158015610e05573d6000803e3d6000fd5b507317301aa866a6ffee762c51134934924d2727b35e6108fc610e296012846129ee565b6040518115909202916000818181858888f19350505050158015610e51573d6000803e3d6000fd5b50732e8d42eec83e5e9dfc3df007f8ce890197a1d4616108fc610e756012846129ee565b6040518115909202916000818181858888f19350505050158015610e9d573d6000803e3d6000fd5b5073c1ac82943c37cee8427a7878e78086f8eac126156108fc610ec16012846129ee565b6040518115909202916000818181858888f19350505050158015610ee9573d6000803e3d6000fd5b5073446d8fed6c6124f8df17ed19de46977a29c30fd86108fc610f0d6012846129ee565b6040518115909202916000818181858888f19350505050158015610f35573d6000803e3d6000fd5b5073bc2a6780951a84cd33c266a5213948606a2a67d36108fc610f596012846129ee565b6040518115909202916000818181858888f19350505050158015610f81573d6000803e3d6000fd5b507380b69a849cee64bcef6c6da5a809fa521aef60916108fc610fa56012846129ee565b6040518115909202916000818181858888f19350505050158015610fcd573d6000803e3d6000fd5b5073a12eeeaad1d13f0938febd6a1b0e8b10ab31dbd66108fc610ff16012846129ee565b6040518115909202916000818181858888f19350505050158015611019573d6000803e3d6000fd5b5073c153fe99e6f09fbf52f7d1d84618e06e3d9495fd6108fc61103d6012846129ee565b6040518115909202916000818181858888f19350505050158015611065573d6000803e3d6000fd5b5050565b6109dd838383604051806020016040528060008152506113ba565b6006546001600160a01b031633146110ae5760405162461bcd60e51b815260040161084990612950565b805161106590600790602084019061248b565b6000818152600260205260408120546001600160a01b03168061073c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610849565b6007805461114590612a64565b80601f016020809104026020016040519081016040528092919081815260200182805461117190612a64565b80156111be5780601f10611193576101008083540402835291602001916111be565b820191906000526020600020905b8154815290600101906020018083116111a157829003601f168201915b505050505081565b60006001600160a01b0382166112315760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610849565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146112775760405162461bcd60e51b815260040161084990612950565b6112816000611be9565b565b60606001805461075190612a64565b6006546001600160a01b031633146112bc5760405162461bcd60e51b815260040161084990612950565b600955565b336000908152600f602052604081205460085481106112e15760006112ef565b806008546112ef9190612a21565b91505090565b6001600160a01b03821633141561134e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610849565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6113c43383611952565b6113e05760405162461bcd60e51b815260040161084990612985565b610a0284848484611c3b565b6000818152600260205260409020546060906001600160a01b031661146b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610849565b6000611475611c6e565b9050600081511161149557604051806020016040528060008152506114c0565b8061149f84611c7d565b6040516020016114b092919061287f565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146114f15760405162461bcd60e51b815260040161084990612950565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b0316331461153d5760405162461bcd60e51b815260040161084990612950565b600855565b60008061154d6112c1565b905082811061155f5750600092915050565b66470de4df8200006115718285612a21565b6114c09190612a02565b50919050565b6006546001600160a01b031633146115ab5760405162461bcd60e51b815260040161084990612950565b600b55565b6006546001600160a01b031633146115da5760405162461bcd60e51b815260040161084990612950565b6001600160a01b03811661163f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610849565b61164881611be9565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611680826110c1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600c5442101561170b5760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e67206973206e6f7420617661696c61626c6500000000000000006044820152606401610849565b600954336000908152600f60205260409020546117299083906129d6565b11156117865760405162461bcd60e51b815260206004820152602660248201527f6d61784d696e747350657257616c6c657420636f6e73747261696e742076696f6044820152653630ba34b7b760d11b6064820152608401610849565b3461179082611542565b146117d25760405162461bcd60e51b815260206004820152601260248201527157726f6e67206574686572732076616c756560701b6044820152606401610849565b336000908152600f6020526040812080548392906117f19084906129d6565b90915550611648905081611d7b565b600b544210156118525760405162461bcd60e51b815260206004820152601960248201527f436c61696d696e67206973206e6f7420617661696c61626c65000000000000006044820152606401610849565b600a546001600160a01b0316611869338484611e36565b6001600160a01b0316146118af5760405162461bcd60e51b815260206004820152600d60248201526c426164207369676e617475726560981b6044820152606401610849565b336000908152600e602052604090205482906118cc9085906129d6565b11156119245760405162461bcd60e51b815260206004820152602160248201527f43616e277420636c61696d207375636820616d6f756e74206f6620746f6b656e6044820152607360f81b6064820152608401610849565b336000908152600e6020526040812080548592906119439084906129d6565b909155506109dd905083611d7b565b6000818152600260205260408120546001600160a01b03166119cb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610849565b60006119d6836110c1565b9050806001600160a01b0316846001600160a01b03161480611a115750836001600160a01b0316611a06846107d4565b6001600160a01b0316145b80611a4157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611a5c826110c1565b6001600160a01b031614611ac45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610849565b6001600160a01b038216611b265760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610849565b611b3160008261164b565b6001600160a01b0383166000908152600360205260408120805460019290611b5a908490612a21565b90915550506001600160a01b0382166000908152600360205260408120805460019290611b889084906129d6565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611c46848484611a49565b611c5284848484611ed1565b610a025760405162461bcd60e51b8152600401610849906128fe565b60606007805461075190612a64565b606081611ca15750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ccb5780611cb581612a99565b9150611cc49050600a836129ee565b9150611ca5565b60008167ffffffffffffffff811115611ce657611ce6612b20565b6040519080825280601f01601f191660200182016040528015611d10576020820181803683370190505b5090505b8415611a4157611d25600183612a21565b9150611d32600a86612ab4565b611d3d9060306129d6565b60f81b818381518110611d5257611d52612b0a565b60200101906001600160f81b031916908160001a905350611d74600a866129ee565b9450611d14565b8061271081600d54611d8d91906129d6565b1115611ddb5760405162461bcd60e51b815260206004820152601b60248201527f546f6b656e7320737570706c792072656163686564206c696d697400000000006044820152606401610849565b6000600d546001611dec91906129d6565b905082600d6000828254611e0091906129d6565b90915550600090505b83811015610a0257611e2433611e1f83856129d6565b611fde565b80611e2e81612a99565b915050611e09565b604080516bffffffffffffffffffffffff19606086901b166020808301919091526034808301869052835180840390910181526054830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000060748401526090808401919091528351808403909101815260b09092019092528051910120600090611ec88184612120565b95945050505050565b60006001600160a01b0384163b15611fd357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611f159033908990889088906004016128ae565b602060405180830381600087803b158015611f2f57600080fd5b505af1925050508015611f5f575060408051601f3d908101601f19168201909252611f5c9181019061274b565b60015b611fb9573d808015611f8d576040519150601f19603f3d011682016040523d82523d6000602084013e611f92565b606091505b508051611fb15760405162461bcd60e51b8152600401610849906128fe565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a41565b506001949350505050565b6001600160a01b0382166120345760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610849565b6000818152600260205260409020546001600160a01b0316156120995760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610849565b6001600160a01b03821660009081526003602052604081208054600192906120c29084906129d6565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600080600061212f8585612144565b9150915061213c816121b4565b509392505050565b60008082516041141561217b5760208301516040840151606085015160001a61216f8782858561236f565b945094505050506121ad565b8251604014156121a5576020830151604084015161219a86838361245c565b9350935050506121ad565b506000905060025b9250929050565b60008160048111156121c8576121c8612af4565b14156121d15750565b60018160048111156121e5576121e5612af4565b14156122335760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610849565b600281600481111561224757612247612af4565b14156122955760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610849565b60038160048111156122a9576122a9612af4565b14156123025760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610849565b600481600481111561231657612316612af4565b14156116485760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610849565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156123a65750600090506003612453565b8460ff16601b141580156123be57508460ff16601c14155b156123cf5750600090506004612453565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612423573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661244c57600060019250925050612453565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b0161247d8782888561236f565b935093505050935093915050565b82805461249790612a64565b90600052602060002090601f0160209004810192826124b957600085556124ff565b82601f106124d257805160ff19168380011785556124ff565b828001600101855582156124ff579182015b828111156124ff5782518255916020019190600101906124e4565b5061250b92915061250f565b5090565b5b8082111561250b5760008155600101612510565b600067ffffffffffffffff8084111561253f5761253f612b20565b604051601f8501601f19908116603f0116810190828211818310171561256757612567612b20565b8160405280935085815286868601111561258057600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146125b157600080fd5b919050565b600082601f8301126125c757600080fd5b6114c083833560208501612524565b6000602082840312156125e857600080fd5b6114c08261259a565b6000806040838503121561260457600080fd5b61260d8361259a565b915061261b6020840161259a565b90509250929050565b60008060006060848603121561263957600080fd5b6126428461259a565b92506126506020850161259a565b9150604084013590509250925092565b6000806000806080858703121561267657600080fd5b61267f8561259a565b935061268d6020860161259a565b925060408501359150606085013567ffffffffffffffff8111156126b057600080fd5b6126bc878288016125b6565b91505092959194509250565b600080604083850312156126db57600080fd5b6126e48361259a565b9150602083013580151581146126f957600080fd5b809150509250929050565b6000806040838503121561271757600080fd5b6127208361259a565b946020939093013593505050565b60006020828403121561274057600080fd5b81356114c081612b36565b60006020828403121561275d57600080fd5b81516114c081612b36565b60006020828403121561277a57600080fd5b813567ffffffffffffffff81111561279157600080fd5b8201601f810184136127a257600080fd5b611a4184823560208401612524565b6000602082840312156127c357600080fd5b5035919050565b600080600080600060a086880312156127e257600080fd5b85359450602086013593506127f96040870161259a565b94979396509394606081013594506080013592915050565b6000806000806080858703121561282757600080fd5b843593506020850135925060408501359150606085013567ffffffffffffffff8111156126b057600080fd5b6000815180845261286b816020860160208601612a38565b601f01601f19169290920160200192915050565b60008351612891818460208801612a38565b8351908301906128a5818360208801612a38565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906128e190830184612853565b9695505050505050565b6020815260006114c06020830184612853565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156129e9576129e9612ac8565b500190565b6000826129fd576129fd612ade565b500490565b6000816000190483118215151615612a1c57612a1c612ac8565b500290565b600082821015612a3357612a33612ac8565b500390565b60005b83811015612a53578181015183820152602001612a3b565b83811115610a025750506000910152565b600181811c90821680612a7857607f821691505b6020821081141561157b57634e487b7160e01b600052602260045260246000fd5b6000600019821415612aad57612aad612ac8565b5060010190565b600082612ac357612ac3612ade565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461164857600080fdfea2646970667358221220ebc8c177b2adccd7194137b1fbe056e3860f6d43d4cd81ef13135b2a48f17e4764736f6c63430008060033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.